simple utilitary tools for animations, inspired from Processing API