GENERATORS
Koch Snowflake
The code make_koch_snowflake
generates instances of Koch’s snowflake curve,
optionally in a nested variant, and make_koch_snowflake_quad
generates
instances of Koch’s rectilinear snowflake.
Source code for genpoly-koch-snowflake and genpoly-koch-snowflake-quad is available.
For the (triangle-based, classic) snowflake, see /db/wip/polygons/contrived/koch-snowflake/ for polygons and /db/wip/polygons-with-holes/contrived/koch-snowflake-nested/ for polygons with holes.
For the rectilinear snowflake, see see /db/wip/polygons/contrived/koch-snowflake_quad/ for grid-aligned and /db/wip/polygons/contrived/koch-snowflake_quad_perturbed/ for randomly perturbed.