Source

pygame / examples / pixelarray.py

Author Commit Message Labels Comments Date
Lenard Lindstrom
all standard modules build with Python 3.1. Optional movie module adapted. setup.py skips unsupported files for Python 3
Lenard Lindstrom
some examples cleanup
Lenard Lindstrom
examples can be run from outside the examples directory
illume
added #\!/usr/bin/env python to the top of all examples that didn't have it.
marcus
Added PixelArray.compare().
marcus
Changed distance range to 0-1.
marcus
Added threshold recognition using weighted euclideance distances to PixelArray.replace() and PixelArray.extract(). Fixed slice assignment issue.
marcus
Added subscript support and make_surface() method to PixelArray.
marcus
Fixed pixelarray example.
marcus
Improved PixelArray docs, unittests and example
marcus
Fixed exception messages in PixelArray. Added unit tests for PixelArray. Fixed doc strings for PixelArray.
illume
Changes from Marcus. Added get_buffer() methods to Surface, and Sound. Added a BufferProxy - which is a buffer interface only class. Remember to change your Setup file - maybe just delete it if you have made no changes to it as there is a new .c file.
illume
A PixelArray class, which is meant to replace surfarray. It acts as a buffer for surface data. Written by Marcus. It's not quite complete, but basic functionality is implemented.