vectar
A simple, lightweight library for creating and manipulating polar vectors, whether manually or automatically generated.
Branden Brown
(unsane)
Some trigonometry I put down now so I wouldn't have to again and again in the future. I figured I would release it since it seems there isn't anything of the kind already out here (though I thought there was).
Contains several classes for making and manipulating lists of polar coordinates, whether manually or automatically generated.
Each class has a convert method which returns the polar coordinates in rectangular form in a way suited for pygame.draw.polygon, pygame.draw.lines, or pygame.draw.aalines, or for iterating through for Surface.set_at or something.
I already explained all this stuff as I was doc'ing it, and I chose making this over sleep last night/this morning, so I'm done here.
Contains several classes for making and manipulating lists of polar coordinates, whether manually or automatically generated.
Each class has a convert method which returns the polar coordinates in rectangular form in a way suited for pygame.draw.polygon, pygame.draw.lines, or pygame.draw.aalines, or for iterating through for Surface.set_at or something.
I already explained all this stuff as I was doc'ing it, and I chose making this over sleep last night/this morning, so I'm done here.