I played around with my Particles class and wanted to see what blend() could do to a collection of PGraphics - using SUBSTRACT makes it look like ink or something. I love the effect, that's why I uploaded it.
Particles are attracted to your mouse, you may want to click the app to interact with it. Press any key to reset.
Credits go somewhat to Jean-no. I got inspired by his simple tree generator. I just thought it needed some blossom.
Click at about the center of the applet for the best results. Press any key to refresh.
Simple thing I wanted to try out. It randomly generates x;y positions into PVectors. Then these PVectors are connected to eachother when they are in a given range.
Press any key to refresh.
Just a tryout sketch on connecting particles with line();
The particles attract eachother but are also attracted by the location of your mouse. Positioning the mouse in front of the moving line will accelerate it. Try to brake it whit your mouse located just behind it.
(It may be necessary to click the applet in order to interact)
Particles are attracting each other (basic gravity), but are also attracted by two orbs in the middle of the screen that appear and disappear every 3 seconds. If an orb disappears, it repulses the particles.
Played around with the Vector3D class from Daniel Shiffman.
Idea is to click anywhere in the screen to create a particle object. Click again and they will attract each other. Click again and again and again and, yup, in the end all particles will attract each other (24 is max).