Skip to main content

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.

Changes

Links

Home Page
http://sexy.randomnetirc.org/~usane/python/vectar

Releases

vectar 1.0 — 15 Jun, 2009

Pygame.org account Comments

  • Drg 2012-07-09 07:55

    broken link

  • Arnaldur Bjarnason 2014-03-03 05:28

    Please remove, due to a broken link.