January 10, 2010
Galactose - Emergent Behavior of Particles

I have added a new experiment called Galactose to my Incubator.


The motion of a particle field is controlled by the shape of the random clusters they form among each other. The orientation of the clusters control each particle's further motion which leads to all kind of interesting feedback effects and emergent patterns. The core algorithm which calculates the overall alignment and orientation of the clusters is written in Pixel Bender.

Posted at January 10, 2010 08:04 PM | Further reading

WoW!!! Very incredible work.
I wonder what kind of ideas and algorithms you used. It is clearly seen that particles have some interactions inside of their groups and between the groups so kind of 3 sets of rules but I wonder how it is done.
There is some discrete pressure/speed or something function which particles influenced and are influenced by? It is kind of hard to believe that those particles effect each other directly.
How many particles are there?

Posted by: wonderwhy-er on January 10, 2010 09:50 PM

The principle is relatively simple. Each particle is drawn as a semi-transparent pixel to a bitmap, so multiple particles at the same spot will create a brighter area. Then this bitmap is blurred - the blur radius is controlled by the horizontal mouse motion. This blurred bitmap is run trough my AngleMapper pixel bender filter which calculates an angle and its strength for each pixel dependent on the brightness of its surrounding pixels.

Now each particle adjusts its velocity based on the angle information at its position (which also gets adjusted by the vertical mouse position). In this example there are two groups of particles which interpret the angle information a bit different and thus show a different motion.

Posted by: Mario Klingemann on January 10, 2010 10:10 PM

Heh so simple :D I think I see it now when you said it. Inspires me to go and play with such stuff too :) Tough without PixelBender.

Posted by: wonderwhy-er on January 11, 2010 11:00 AM

Truly inspirational. Keep 'em coming.

Posted by: polyGeek on January 12, 2010 01:12 AM


Posted by: ron on January 14, 2010 05:49 AM

absolute great!

Posted by: manfred karrer on January 15, 2010 10:48 PM
Post a comment

Email Address:



Remember info?

Thank you!

Most Visited Entries
Sketches, Works & Source Code
In Love with
Powered by
Movable Type 2.661

© Copyright Mario Klingemann

Syndicate this site:
RSS 1.0 - RSS 2.0

Quasimondo @ flickr
Quasimondo @ LinkedIn
Quasimondo @ Twitter
Quasimondo @ Facebook
Quasimondo @ MySpace
Quasimondo is a Bright
Citizen of the TRansnational Republic
My other blog in german

My family name is written Klingemann,
not Klingelmann, Klingeman, Klingaman, Kingemann,
Kindermann, Killingaman, Klingman, Klingmann, Klingonman
Klingemman, Cleangerman, Klingerman or Kleangerman

profile for Quasimondo at Stack Overflow, Q&A for professional and enthusiast programmers