Koch Snowflake (recursive)
First three iterations of the Koch snowflake construction.
Rendering…
Make it your own.
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 600 220" width="600" height="220">
<style>
text { font:12px Inter, sans-serif; fill:#0f172a; font-weight:600; text-anchor:middle; }
polygon, polyline { fill:none; stroke:#3666ff; stroke-width:1.6; }
</style>
<text x="80" y="20">n = 0</text>
<polygon points="40,140 120,140 80,70"/>
<text x="240" y="20">n = 1</text>
<polyline points="180,140 200,140 213,117 226,140 240,140 253,117 240,93 220,93 213,80 207,93 187,93 173,117"/>
<polyline points="180,140 260,140 260,140 220,75 180,140"/>
<text x="440" y="20">n = 2 (approx)</text>
<polyline points="370,150 380,150 388,140 395,150 402,150 410,140 418,150 425,150 432,140 440,150 447,140 442,130 458,130 466,140 473,140 480,130 488,140 495,140 502,130 510,140 517,140 510,148 502,162 510,170 495,170 480,170 466,170 452,170 440,170 425,170 410,170 395,170 380,170 370,170 360,170 370,150"/>
<text x="300" y="210">Hausdorff dim = log4 / log3 ≈ 1.262</text>
</svg>