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.
EDITEDIT:
Something like this:
JavaScript
x
7
1
frame = Frame()
2
frame.draw(0, 0, 'red')
3
frame.draw(0, 1, 'blue')
4
5
frame = Frame()
6
7
Would be awesome.
Advertisement
Answer
rcairo – ruby bindings for Cairo image library.