Simple cache for the canvas code
Set a number of iterations to be compatible with Jukka's code
Better animation parameters