Ah, this takes me back. One year ago I started thinking about how I could help George Khut come up with the next generation of cardiomorphologies. My, how things have come a long way..
Tag Archive for processing
faking gravity
This time we’ll be faking gravity on our particles. Each time we redraw, we’ll add a velocity vector of (0,1,0), pushing the particles down the screen. I’ve drawn the force vectors for both particle and boundary interactions, as well as the boundary objects themselves, to (hopefully) make things a little bit clearer.Source Code
Related Posts:
particle interaction
Here we’ll see some chaotic interaction happening between our particles – we can tweak the interaction parameters (e.g. interact(particles_,1,false,-1,40) is where all the magic happens) to allow for different attraction and repulsion forces between each of the particles and their environment.Source Code
Related Posts:
particle attraction
This time round we’ll add an attraction force into the mix. Each particle has repulsion and attraction interactions with all other particles, which result in ‘path of least resistance’ geometric configurations. In this example we’ll be drawing both the particles and the forces.Source Code
Related Posts:
particle forces
Here’s a subtle variant on the last post – this time focussing more on the forces between the particles than the particles themselves. To do this, we’ll only make a few changes – firstly turn off the background(0); line, and make our particles smaller.Essentially what we’re drawing here are the particle motion paths, along with the repulsion forces acting on all of the particles.Source Code
Related Posts:
push
This time round we’ll assert some basic forces on our particles. First of all we’ll add a repulsion force between all particles, pushing them away from each other. Secondly we’ll insert some boundaries for the particles to remain within, with the walls of the sketch forming a boundary pressure keeping the particles constrained.Source Code