Icon

Koch Curve Snowflakes

A fun workflow for generating fractal snowflakes using an inverted Koch curve.

Generate Initial Polygon Fractal Iteration Display Results Koch Curve Fractal Snowflake GeneratorPaul Wisneskey (pwisneskey@nuwavesolutions.com)Edit the workflow variables to produce different snowflakes:Num_Sides : number of sides for the initial polyon.Radius : radius of the initial polygonIterations : number of iterations for snowflake generation (5 or less recommended) Initial FileNameCreate TempDirectoryWrite InitialShapeIterationLoopEmpty TableDetermineIterationFile ToReadLine SegmentXLine SegmentYDrop IncompleteFirst LineCalculateKoch CurveCondense NewPoint ColumnsReset ColumnLabel ValuesReassemblePointsDetermine NextIteration FileWrite NextIteration FileEnd IterationLoopRead IterationFileRemove ExtraColumnsShow SnowflakeColor Pointsby IterationCopy FirstRowAdd FirstRow To EndRenumberPointsEnsureOrderingEnsureOrderCreate NewSequence CounterRename CounterColumnsEmpty TableCalculatePointCoordinatesNumber PolygonPointsRepeat FirstPoint at endFirst PointRecordRemove OldCounter Java Edit Variable Create Temp Dir CSV Writer Counting Loop Start Empty Table Creator Java Edit Variable Lag Column Lag Column Row Filter Java Snippet Unpivoting Java Snippet Pivoting Java Edit Variable CSV Writer Loop End File Reader Column Filter Scatter Plot(JFreeChart) Color Manager Row Splitter Concatenate Counter Generation Sorter Sorter Counter Generation Column Rename Empty Table Creator Java Snippet Counter Generation Concatenate Table Creator Column Filter Generate Initial Polygon Fractal Iteration Display Results Koch Curve Fractal Snowflake GeneratorPaul Wisneskey (pwisneskey@nuwavesolutions.com)Edit the workflow variables to produce different snowflakes:Num_Sides : number of sides for the initial polyon.Radius : radius of the initial polygonIterations : number of iterations for snowflake generation (5 or less recommended) Initial FileNameCreate TempDirectoryWrite InitialShapeIterationLoopEmpty TableDetermineIterationFile ToReadLine SegmentXLine SegmentYDrop IncompleteFirst LineCalculateKoch CurveCondense NewPoint ColumnsReset ColumnLabel ValuesReassemblePointsDetermine NextIteration FileWrite NextIteration FileEnd IterationLoopRead IterationFileRemove ExtraColumnsShow SnowflakeColor Pointsby IterationCopy FirstRowAdd FirstRow To EndRenumberPointsEnsureOrderingEnsureOrderCreate NewSequence CounterRename CounterColumnsEmpty TableCalculatePointCoordinatesNumber PolygonPointsRepeat FirstPoint at endFirst PointRecordRemove OldCounter Java Edit Variable Create Temp Dir CSV Writer Counting Loop Start Empty Table Creator Java Edit Variable Lag Column Lag Column Row Filter Java Snippet Unpivoting Java Snippet Pivoting Java Edit Variable CSV Writer Loop End File Reader Column Filter Scatter Plot(JFreeChart) Color Manager Row Splitter Concatenate Counter Generation Sorter Sorter Counter Generation Column Rename Empty Table Creator Java Snippet Counter Generation Concatenate Table Creator Column Filter

Nodes

Extensions

Links