Draw a snowflake by shaping just one wedge. Drag the dots to move the points of the outline; drag a faint dot between two points to add a new corner. The rest of the flake is the same wedge, mirrored and turned all the way round. On the right, the wedge path carried half way round (3 turns of 60 degrees for 6 sides) is spun round the vertical axis into a solid you can turn with the mouse. The dots show while the pointer is over the picture and fade away a few seconds after it leaves.

Loading three.js. If this note stays, the browser could not load or start it (WebGL may be switched off: Settings > System > "Use graphics acceleration when available").

This is a port of Snowflake 2.0, a Processing sketch written by Windell H. Oskay of Evil Mad Scientist Laboratories (2009, distributed under the GPL 3.0), rebuilt as plain JavaScript on a canvas. Save SVG takes the place of the original's PDF button: it downloads the outline of your snowflake as a true vector file, with a black line on white, ready for Inkscape, a laser cutter or a paper-cutting plotter. Mirror turns off the reflection, so each wedge is only turned, which gives a pinwheel. Corners that cross over each other make a self-intersecting outline, which is fine for looking at but worth tidying before you cut it. The first and last points are held to the top axis and the 30 degree line, so the wedges meet cleanly. 3D steps is how many steps the half flake is turned through for the solid (3 gives a triangular prism-like ring, 72 looks round); Smooth shading blends the faces, and Show edges draws their outlines. Free-form lathe sets Sides to 1, so the picture is just your path and its mirror image, and lets the last point go anywhere, so you can draw any vase or spindle profile and spin it. Slab gives the whole flake a thickness instead (as a fraction of its radius), so it is the real six-fold shape to turn round.

This page was created with Claude Code.