A GUI framework for running simulations

Nick Craig-Wood nick at craig-wood.com
Thu Jan 24 04:30:05 EST 2008


Martin Manns <mmanns at gmx.net> wrote:
>  If you want to keep things simple, pygame could be an alternative for
>  visualizing simulations and setting parameters even though it does not
>  provide all these fancy widgets around.

I'd second that.

pygame will give you a window you can draw on which you can plot the
result of your simulation.

You can draw a few buttons (like play and stop) and detect clicks in
them very easily.

If you want loads of parameters then you'll either need to reach for a
GUI toolkit or roll your own menuing system for pygame (which isn't
that hard).

-- 
Nick Craig-Wood <nick at craig-wood.com> -- http://www.craig-wood.com/nick



More information about the Python-list mailing list