Simple but fast 2D lib for drawing pixels
Richard Jones
richardjones at optushome.com.au
Sun Oct 1 23:02:51 EDT 2006
Peter Mexbacher wrote:
> We thought Python would make a good choice for
> a first language; but where pretty stumped when
> we found out that there is no simple way to draw
> pixels to a screen. (This is needed for fractals,
> agent-based models etc -> like Conways Game of Life)
> [snip]
> -) easy to learn (newbs!)
> -) not too slow (after all, the models should simulate something)
> -) python :-)
http://www.pygame.org/ - it's not just for games :)
It'll do what you want (put pixels on the screen) easily. It'll even let you
work with numeric arrays and then put those arrays on screen. Sign up to
the pygame users list to ask more questions - they're always a helpful,
friendly bunch.
Richard
More information about the Python-list
mailing list