Graphical animation in Processing 2