how to show a bitmap?
Diez B. Roggisch
deets.nospaaam at web.de
Mon Dec 1 07:44:30 EST 2003
> Look in the code examples for some effects that utilize this - AFAIK there
> is something like a fire or motion blurring. These access pixel data. Just
> plug in your array, and you should be done.
http://www.pygame.org/pcr/numpy_flames/index.php
This is the flames example. The function in question is blit_array - look it
up in the docs. This example even deals with indexed_bitmap_data, which is
what you want, as you have a only one value per pixel.
Regards,
Diez
More information about the Python-list
mailing list