Tuesday, January 17, 2017

Particles - Fields Simulator

For Voronoi-pattern networks we can look at two different approaches with similar results:

The first one is a solid medium that shrinks and loses volume and where packed matter is converted into particles that can move freely in and out the space that is emerges. Think of the cracks in a soil where water is vaporised, steam is produced, and canals are formed.

The second are compressed grains where force chains show up, increase the pressure and these tense grains start to crumble and form smaller particles; or think of a grinder where juices are squeezed out of fruits by compressing them.

In both cases we end up with fields and moving particles in between.

The graph below shows 'heated' fields that expand, overlapping each other and creating regions where solid matter is converted into lose particles; or look the other way around, as regions where fields cools down, retract, and generate empty space for steam to be released.

The lose particles can start line up and form currents, pathways, canals, edges between the fields. The amount of current passing the fields can make the fields shrink or expand; adding or taking away pressure. Condensation vs. Vaporisation.

Some flows will be able to line up and form closed circuits, forming steady formations. In 2D these structures are simple loops; in 3D these loops can form tubes (strings); at a next step these strings form again closed-circuits -> knots.


One way to get this idea working is by using boids and fields. So recently I have developed with the help of The Guru a Particles - Fields Simulator in Processing.

Here is a link to download a Mac OS X version (turn down your security settings)
and/or use the Processing files that are included: 

The cool thing about this method is that it resembles Maxwell's model for:
'A Mechanical dynamical theory of the electromagnetic field'

The next step for this concept is to add a detector that computes a local density field of the particle flow within each field, causing them to shrink or expand accordingly. So the Fields can start to tumble over each other as currents of particle are being pushed around … getting the curling effect that Maxwell mentioned in his work.

A change in field-size due to the flowing currents, will change the 'normally' steady pathways. Steady horizontal paths == are bend into diagonal ones X redirecting flow while cutting it off at some intersections, having some fields shrink rapidly while others can quickly expand.
So the medium with particles and fields is like an elastic 'bouncy' foam.

Tuesday, January 12, 2016


by M.S.

Going for a new approach by using Graphs & Volumes.

Wednesday, September 16, 2015

Particle Simulators in Java Script

Two particle simulators for in your browser, made with Pete Baron:

A. Deflection-Angle Presets:
(Click-drag the area to centre the spiral)

(Note, preferable to use Google Chrome) 

B. With Attraction & Repulsion Forces:

This forces are similar to those of the Lenard-Jones and Morse Potential.

Box Particle Simulator In Unity

Download here the file to run the GasSimulator in Unity:
Developed with Joshua Pearce
Note: You'll need to download Unity to run the editing interface:
Version 4.6.4 was used, All you need is the free license.

To launch the program: Open Project go to tab Project > Scenes > Scene1 (main) > (Click) Open
Press Play at the top:

You can place particles by clicking in the area, or click-drag to give them a direction, or use the R-key to spawn a group of random particles. (Spacebar is for pause and up/down keys for speed)

• Select Hierarchy: Sim
(Note, the tap 'Clear on Play' may have to be selected at Console to activate this)
Go to Inspector :
File_name to give your simulation a name.
You can record a simulation by using Shift-S to start saving the stream. Shift-L will load a saved stream in correspondence to the File_name.
File_framecount shows the number of frames being recorded.
File_framepos the rate of the loaded stream (Shft-L).
(Note, to have it run/record a simulation in the background while using other programs you'll have to go to: Edit -> project settings -> player, then check "run in background" in the inspector window.)
Time Hertz gives the Iteration rate for how precise the collision detection is.
Cfg_Spawn Count let's use the number of particles you randomly spaw by using the R-key.
Cfg_Trail Size to set the tail of the particles.

• Select tab Hierarchy: Sim > Area1
Go to Inspector for adjusting the size of the Area and Boundary reaction.
Once the simulation is running you can check here the the amount of Particles > Size

• Select tab Hierarchy: Types > Type1
Go to Inspector for creating particles:
- Rotation-axis for how they pivot when colliding.
- Cfg_Mirror All Pieces to mirror the boxes -=I=-
- Pieces-Size for the number of boxes out of which a particle is made.
- For each box it is possible to define a Group Number
With the next options it is possible to define how it interacts with other Groups:
No collision / No reaction / Partial reaction (+value)
- Color each box.
- Width * Height of the box.
- Reaction_mul_head & Reaction mul_tail sets the lerp values.
- Reaction_ratelimit sets the deflection speed.
- Reaction_deflection_d sets the angle of deflection when made contact.
- Reaction_displacement gives a jump distance away from the collision point.

-Constant_speed: All the way at the bottom to set the speed. 

Sunday, June 14, 2015

Box Simulator

Tuesday, February 17, 2015

Reaction Diffusion Mutually - Catalytic Pinwheels

A variant of Tim Hutton's Mutually-Catalytic Spots system, in which small spots (highlighted in red) follow the contours of large spots, creating "pinwheels". Small spots in the interior of large spots travel clockwise, while small spots on the exterior travel counter-clockwise.

Two coupled Gray-Scott systems. The large spots can only replicate when full of small red spots. Likewise the red spots can only grow inside the large spots - outside of the large spots they die out. The large spots usually inherit their small spots when they replicate - those that don't will no longer replicate. In the starting pattern only the central spot is seeded with small spots. The other two spots don't replicate at all.

Saturday, January 17, 2015

Da Vinci's Tree of Life - Brain

'Tree of Life' with knots by Leonardo Da Vinci in the Sala delle Asse in Milan.

Similar to arabesque art: "The very term arabesque is a rather diffuse one, sometimes used broadly to denote almost any style of geometric ornamentation prevalent in Islamic nations, but here I will take it as referring more specifically to stylised vegetal decoration ‘in which plants and leaves grow according to the laws of geometry rather than nature,’ forming ‘interlaced straps, zizags, spirals, scrolls and knots’ which tend to fall into complicated polygonal shapes, in turn forming separate frames for other patterns inside them. Use of this type of decoration, which apparently originated in 10th-Century Baghdad, became widespread throughout the Islamic world in the following centuries." - www.spamula.net


Related to Knot theory: “In topology, knot theory is the study of mathematical knots. While inspired by knots which appear in daily life in shoelaces and rope, a mathematician's knot differs in that the ends are joined together so that it cannot be undone.” - http://en.wikipedia.org/wiki/Knot_theory


But probably an homage to the astonishing Albrecht Dürer, a German painter, mathematician, and theorist who was a friend of Leonardo.


Though it might also have been a subliminal expression of the knots, wires and connections in his brain ; p

Tuesday, December 16, 2014


This dancer comes close to how it feels when I'm imaging the motion of particles in my mind : )


On a funky sided note 'Akasha Tattva' is the 0val particle that is the Aether:

"Akasha (or Akash, Ākāśa, आकाश) is the Sanskrit word meaning "aether" in both its elemental and metaphysical senses.

Akasha is space in the Jain conception of the cosmos. It falls into the Ajiva category, divided into two parts: Loakasa (the part occupied by the material world) and Aloakasa (the space beyond it which is absolutely void and empty). In Loakasa the universe forms only a part. Akasha is that which gives space and makes room for the existence of all extended substances." http://en.wikipedia.org/wiki/Akasha

Akasha - Spirit - black or indigo vesica piscis or egg.

The mathematical ratio of the height of the vesica piscis to the width across its center is the square root of 3

Monday, December 15, 2014


(J. Lampel & F. Steinmetz)


Rough storyboard for the movie:

Animated gif version:
Check out this incredible animation by 'Aixponza' that has a similar vibe:

Tuesday, November 25, 2014

Sunday, November 16, 2014

Back Bone & Grid

Saturday, November 8, 2014


Particle Pair Creation

Torus Formation (Snake & Apple)