I’d like to generate an animation pixel by pixel programmatically. Preferably in Hi-Def, in Python or in Ruby. I thought about using PIL to make each frame and then convert the frames into video. Is there a better way to do this?
EDIT: Clarification, this is 2D and I need the pixels to be precise.
Something like this:
frame = Frame() frame.draw(0, 0, 'red') frame.draw(0, 1, 'blue') ... frame = Frame() ...
Would be awesome.
rcairo – ruby bindings for Cairo image library.