create  a gif animation by processing