Fractal Tribute — Fractal Geometry in Art | fractal-tribute.com
Dimension arithmetic for the Sierpinski triangle, Koch snowflake and other exact examples.
A figure built from N copies of itself, each scaled by 1/s, has similarity dimension D = log(N)/log(s). The formula is exact for figures defined by an explicit replacement rule.
The Sierpinski triangle is three copies scaled by one half, so D = log 3 / log 2 = 1.585. The Koch snowflake is four copies scaled by one third, so D = log 4 / log 3 = 1.262.
On narrow screens, swipe or scroll the plate sideways.
Both values lie between 1 and 2, matching the geometric intuition that these curves are more than one-dimensional but do not fill an area.
Box-counting dimension gives the same values for these exact examples and can also be applied to figures that are not exactly self-similar, such as the boundary of the Mandelbrot set.
The dimension is a property of the figure, not of the rendering: changing the palette or the iteration cap does not change it.
Further reading