|
pygame is
pygame.org is
|
Cubic Bézier curves demo - 1.1David (animatinator)Tags:DescriptionMy attempt at implementing cubic Bézier curves in Pygame.
You can drag the points around with the mouse, and use the up and down arrow keys to move the little blob thingy along the path (a quick example of Bézier curves being used as paths). Use the C key to toggle the blob-thing on and off, and the D key to show or hide funky intermediate lines (used in calculating the points on the curve). ChangesA quick minor update; now you can drag the curve (I used an incredibly hackish method of checking the distance between the mouse and various points along the curve for this :P). LinksScreenshot click to view original size
ReleasesCommentsIf you wish to leave a comment, please sign in first.
|
| spotlight |
|
|
|
| our projects |
|
pygame.org welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
|
|
|
| recent releases |
|
Feb 13, 2012
Jul 5, 2011
Apr 17, 2011
Apr 16, 2011
Apr 15, 2011
Apr 14, 2011
Apr 12, 2011
Apr 11, 2011
... more!
|
|