Draw particles with the mouse
LMB draws particles, RMB clears the screen.
When particles get near one another, they connect via a line.
When new connections are made, there is a particle burst.
Mainly just did it for fun, not very fast.
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.