سؤال

I'm trying to write a program that creates a 2D grid in which the user chooses some 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.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top