Salzburg Database of Geometric Inputs
  • Input Classes
  • Generators
  • Credits

Koch Snowflake

Salzburg Database

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. Triangle-based, classic snowflake kn00000096

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. Rectilinear Snowflake kq00000256

    © Salzburg Database of Geometric Inputs 2025