Interactive 2D plotting in python
I'm trying to write a program that creates a 2D grid in which the user chooses so开发者_开发百科me edges between the points in the grid. Then the program dynamically manipulate those edges(eg. flip them, connect them, ...) till it converges to a particular shape.
- Now my question is there any particular module that suits this kind of interactive plotting.
So far I've looked into PyQwt, GuiQwt, and Chaco but cannot figure out which one is more applicable for my program. It be great if someone could compare and contrast them, or suggest new modules.
Thanks
Have you tried PyGame or SFML?
Both support 'setting pixels' on a canvas.
精彩评论