simpleParticle01

I 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.

  • You can download the zip of the Windows executable (32 bit) here.
    • Unzip to a directory, and run simpleParticle01.exe.
  • You can download the source Python module here.
    • It was built with Python 2.6.5 and Pygame 1.9.1.
    • This tool also uses the 2d vector library that’s on the PyGame site, you can access it from my blog here, or from their site here.
  1. No comments yet.

  1. No trackbacks yet.