Snowflake Dock

From the Binary Image Library homepage

Snowflake dock is a simple simulation of crystal growing.

The crystal is seeded with a single value. Particlaes then float about randomly, and dock when they come into contact with the structure. In order to allow the simulation to complete in reasonable time without introducing artifacts, we have a do-nut shaped creation and loss zone. The particle is created at a random point on the inner ring. It then floats randomly. If it goes beyond the outer ring, it is lost and replaced at its original position.

The result is a nice fractal.

Here's a simulation

To get decent speed you will of course need to use the C code.


Steps: step     Docked: 0