vectar - 1.0

Branden Brown (unsane)

Tags:

Description

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.

Links

Screenshot

Releases

vectar - 1.0

- Jun 15, 2009

Pygame.org account Comments

If you wish to leave a comment with your pygame.org account, please sign in first.

July 1, 2009 9:53am - Branden Brown - nickname: (unsane)

Definitely an oops somewhere... I'm planning another release soon with some more operations, better documentation, and more and better examples, though. I was originally planning to hold off on release until I could get a functioning collision detection function, but I can't seem to find any math well-suited to this.

June 18, 2009 8:06pm - Jess Hill - nickname: (jestermon)

Had to rename import vector to import vectar, and akk i get is a little dot flashing from green to red in the middle of the screen. Mouse clicks and keys do nothing.. An oops somewhere? :)