script moved to be able to be launched in processing
indentation and clean