Method 2: Download Snowflake 2.0 source code and Processing Method 1: Download the Snowflake 2.0 application directly for your choice of platform: The snowflake sketch can be either opened and run directly or from within the Processing environment. Programs written in Processing are called sketches. The current version is Snowflake 2.0, uploaded July 22,2009. So if you draw a shape with overlapping lines, you will see them in the output file. The PDF file is generated directly from the showflake shape that you have drawn. Note that the PDF file just has the outline path of the snowflake saved– it’s ready to use without any extraneous colors or text. Here’s a screenshot of a typical snowflake, along with a screenshot of the corresponding PDF output file. The file is automatically saved in the same folder as the snowflake program, under file name snowflake-#.pdf, where # is a number. The “Save” button on the other side saves your snowflake as a PDF file. Every other control point and new vertex can be dragged where ever you like.Īt the lower left corner of the window is a “Clear” button that erases your snowflake and restores the initial hexagon. The two “initial” vertices (from the hexagon) are constrained to stay along their respective radial lines. That new vertex also gets new control points at the midpoints to its neighbors. If you drag a control point that is the midpoint of a line segment, it turns that control point into a new vertex. There is control point at every vertex and at the midpoint of every line segment between two vertices. Within the editable slice, you can also see three highlighted control points that can be dragged around. The initial shape is an overall hexagon, which is generated by taking the editable slice– highlighted here and when you start the program– and reflecting and rotating it to complete the full pattern of the snowflake. Once you launch the program, you are presented with a window that looks like this: It is written in the Processing development environment which is a wonderfully simple environment for designing cross-platform applications, particularly ones that manipulate graphics. Our program is called “snowflake” (creative, ain’t we?), and you can follow the links at the end of this article to download it. And there is a growing community of fab labs and online sites like thingiverse where people share patterns for making physical things. That last part is - not coincidentally– interesting because surely everyone with a CNC machine, laser cutter, 3D fabber, vinyl cutter, or so forth would then be able to produce their own snowflakes from the pattern. What you really want is a vector drawing so that the design has infinite resolution and is suitable for importing and editing in Inkscape, Corel, Illustrator, and so forth. While many of the programs do let you save an image of snowflake design, that’s actually of limited utility. So while there are some nice snowflake program out there, we didn’t actually come across any that were both (1) cross platform (2) open-source, and (3) able to export a vector drawing with a closed path. (As you can see we’re primarily interested in illustrative snowflakes, not anatomically correct or fractal snowflakes, although there is some wonderful crossover.) Ze Frank also has a great and very different online appwhere you can draw a flake out of translucent shapes and spin it in 3D. Some of these are pretty good– like Make-a-Flake and Snowdays which both have a neat interface like cutting a piece of paper. If you look around on the web, you’ll find any number of nifty programs to generate paper snowflakes. Clean, cross-platform, open-source, and able to generate closed-polygon vector shape output. A new application to draw your own snowflakes and save them in PDF format.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |