welcome

This website uses cookies to ensure you get the best experience on our website.
Please scroll to the bottom of page to read the notice if you are coming from the European Union...

Wednesday, December 26, 2012


Everytime you visit or refresh this site you get a new snowflake.
The snowflakes are drawn using HTML5 canvas. Each of the six spokes of the snowflake have five bits that branch out and the properties of each of those are controlled by three random numbers. Once a spoke is generated, it’s repeated by rotating the canvas 60 degrees five times for a total of six spokes. Then, four pairs of hexagons, also controlled by random numbers are added on top. Altogether, you get a snowflake.

No comments:

Post a Comment