[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Passing pionts through a matrix.

campbell barton wrote:
Hi, I am thinking about making a program where you can pass a list of points (x,y) through a rotation/scale/distortion matrix.
This could be done through python but I was wondering if numeric would be better?

It would be a polyline - Not a image.
- Cam
There are a few bits of code floating around that do this already. Here's one I wrote that is an OpenGL workalike:


Also, check out the Geometry module at:


There must be more, but I can't find them right now.


Attachment: pgp00000.pgp
Description: PGP signature