[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[pygame] new 'transform' module



i've finished the new pygame.transform module. from
the testing i've done it works at all bit depths.

the transform module provides functions to move the
image around. it includes: scale, rotate, and flip.

the functions are pretty self explanatory. i've got
my crude docs in place, but still need to do really
write them. you can see the crude version here...
http://www.pygame.org/docs/ref/pygame_transform.html


i've thrown the little app i was using to test it
all right here, http://www.pygame.org/ftp/contrib/xform.py
this tests the different transform calls and features a
spinning monkey (wow)


anyways, this week i should be able to do more concrete
testing of endian issues and whatnot. for now i'd hope
anyone working with the latest cvs code can update and
maybe run the test? perhaps even devise something more
thorough? :]

the code is pretty strongly optimized for C. i'm sure an
assembler-head could come in and crunch the runtime speed,
but this is about the best i can do without getting into
some crazy exotic stuff.



____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org