Martin Krzywinski / Genome Sciences Center / mkweb.bcgsc.ca Martin Krzywinski / Genome Sciences Center / mkweb.bcgsc.ca - contact me Martin Krzywinski / Genome Sciences Center / mkweb.bcgsc.ca on Twitter Martin Krzywinski / Genome Sciences Center / mkweb.bcgsc.ca - Lumondo Photography Martin Krzywinski / Genome Sciences Center / mkweb.bcgsc.ca - Pi Art Martin Krzywinski / Genome Sciences Center / mkweb.bcgsc.ca - Hilbertonians - Creatures on the Hilbert Curve
Where am I supposed to go? Where was I supposed to know?Violet Indianaget lost in questionsmore quotes

geometry: wet


In Silico Flurries: Computing a world of snow. Scientific American. 23 December 2017


thermodynamics + art

Explore the land of Neradia and meet the snowflake named Arenh Jerrus of Bosmen in the wintertime tale In Silico Flurries: Computing the world of snow,
a Scientific American "SA Visual" story about beauty, imagination and machine learning by Jake Lever and myself.

It's Snowing in my CPU — a Snowflake catalogue

Art is science in love.
— E.F. Weisslitz

Go ahead, meet some snowflakes.

shaci
shancel
randron
lioney
kickho
dorieda
shasyd


Somewhere in the world, it's snowing. But you don't need to go far—it's always snowing on this page. Explore light flurries, snowflake families and individual flakes. There are many unusual snowflakes and snowflake family 12 and family 46 are very interesting.

The snowflakes shown here are generated using the method described in Modeling Snow Crystal Growth II by Gravner and Griffeath (J. Gravner and D. Griffeath, Physica D 237, 385 (2008)). The authors provide a C/X11 implementation of the snowflake simulation.

Scientific American Visual blog article

The work here has been described in In Silico Flurries: Computing a world of snowflakes, a Scientific Americans SA Visual blog article, co-written with Jake Lever.

I'd like to extend my gratitude to Jake for tirelessly lending his machine learning expertise and thank Lisa Shiozaki and Rodrigo Goya for helpful discussions.

command-line Gravner-Griffeath snowflake simulation

I have modified the authors' code to remove dependency on X11 and to make simulating a large number of flakes easier.

# simulate a flake with specific parameters
snowflake [-a ...] [-b ...] [-k ...] [...] > snowflake.txt

# simulate a flake with some parameter values set and others default
snowflake [-a ...] [-b ...] > snowflake.txt

Download snowflake.c.

Using the mass values in the output (negative is vapor, positive is ice), it is up to you to generate the image of the flake. The blue in the images here was mapped onto mass `m=0..255` using `L=10..100`, `C=60` and `H=-80` in LCH space.