add animation support

Tested on bennet.

optimized fractal algorithm took 16.77 seconds