Blizzard of Unique Snowflakes

I'm making a unique line of 2014 Kickstarter snowflakes. If you'd like to back the project, see https://www.kickstarter.com/projects/laird/snowburst-2014 .

Snowflakes are unique. So why not be able to generate and print unique snowflakes? I've seen a snowflake generator that generates gcode, but I wanted one that generated 3D geometry, which I could then slice and print, so I wrote one.

The code is a bit strange, as OpenSCAD doesn't support recursion, and barely supports arrays. But with persistence I think I've come up with something pretty cool.

I've uploaded 8 ready-to-print snowflakes! And you can generate all you like!

So let's make a million unique snowflakes!

Inspired by (though no code from) Dave Menninger's Parametric Snowflakes.

Updated: added bash script to generate a blizzard of snowflakes, and modified script to run with proper randomness.

Updated: created http://www.thingiverse.com/thing:40959 which is Customizable.