generate video pixel by pixel, programatically
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:
frame = Frame()
frame.draw(0, 0, 'red')
frame.draw(0, 1, 'blue')
...
frame = Frame()
...
Would be awesome.
checkout VPython. Its pretty easy and can do what you are looking for.
rcairo - ruby bindings for Cairo image library.
https://github.com/rcairo/rcairo
链接地址: http://www.djcxy.com/p/7066.html下一篇: 以编程方式逐像素生成视频