Digital crystal

Posted by Dan on Jul 31st, 2009
2009
Jul 31

 

ReddishBorderCrystalCropped Here’s an experiment inspired by some pottery with a crystal glaze.  I start with a single pixel and simulate crystal growth, adding new pixels next to old pixels.  I introduce a bit of randomness in the color to give some variation.  At the same time, if I add a new pixel next to two old pixels, I blend the colors of the old pixels to get the new pixel.  The randomness and blending cancel each other to some extent, giving me a palette of related colors (an analogous color scheme, in art-speak).

I add black (reduce the color values) based on elapsed time, giving a bit of a border to the crystal.