It's really super easy. I just use perl to generate a file of gnuplot command. That's read into gnuplot. Gnuplot does all the graphic work, and generates all the frames. I load those into a graphics program to glue them all together in an animation. Super easy, no brain pain.