|
pygame is
pygame.org is
|
simpleParticle01 - 1.0Eric Pavey (akeric)Tags:DescriptionI wrote this in couple afternoons. Hadn’t done any projects like this in a while, but this was a simple task I wanted to tackle: Draw particles with the mouse, when close generate an interaction, and when the interaction occurs trigger an event. In a nutshell, that’s what this does:
- LMB draws red, unfilled particles that slowly fall down the screen.
- When they get close together, a latticework of lines will draw between them:
- The more lines that connect them, the more opaque they get.
- When the lines are created, a ‘burst’ of smaller white particles will emit from the larger red particle that spawned the line.
The app was mainly just written for leisure, it’s not that speedy. But was a nice relaxing thing to do over the weekend. If you grab just the source, you'll also need a fixed-up version of the Pygame vec2d lib, which you can download from my site here:
LinksScreenshot click to view original size
Releases| simpleParticle01 - 1.0 | - Jun 21, 2010 |
CommentsIf 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!
|
|