Try it yourself · Class 8 Mathematics · Exploring Some Geometric Themes

Sierpinski triangle and Koch snowflake: build each shape step by step

A fractal is made by repeating one simple rule again and again. The simulation draws the Sierpinski triangle (cut out the middle) and the Koch snowflake (add a bump on every side) at each step, with the numbers that go with it.

Sierpinski: at each step every blue triangle is split into 4 equal triangles and the middle one is cut out, so triangles are left, each with side of the big side. Koch: every side gets a bump on its middle third, so there are sides, each of the start.

The simulation needs JavaScript; everything it shows is explained below.

What to change

  • Tabs: the Sierpinski triangle or the Koch snowflake.
  • Step: from 0 to 5 for the Sierpinski triangle. The Koch snowflake stops at step 4 because it gets very detailed.
  • The dashed circle on the Koch picture is a boundary the snowflake never crosses.

What to watch

  • Sierpinski at step 2 (the start): triangles, each side is 1/4 of the big side, shaded area 9/16 = 56.3%, and 4 holes are cut.
  • Sierpinski at step 4: 81 triangles, each side 1/16, shaded area 81/256 = 31.6%. The shaded part keeps shrinking.
  • Koch at step 1: sides, each 1/3 of the start, and the perimeter is x 1.333 of the starting triangle.
  • Koch at step 4: 768 sides, each 1/81 of the start, perimeter x 3.160 (it keeps growing), but the area is only x 1.577 and the shape stays inside the circle.

The formula

is the perimeter of the starting triangle and is the step. For the Sierpinski triangle the shaded fraction is .

Try these questions

Work each one out with the simulation, tap to see the answer, then try the chapter quiz.

  1. CBSE

    A side of an equilateral triangle is cm long. A second equilateral triangle is inscribed in it by joining the mid-points of the sides of the first triangle. The process is continued as shown in the accompanying diagram. Find the perimeter of the sixth inscribed equilateral triangle.
    Show the answer
    cm for the sixth inscribed triangle (the printed key's cm counts the original triangle as the first)
  2. CBSE

    The longest side of a triangle is twice the shortest side and the third side is cm longer than the shortest side. If the perimeter of the triangle is more than cm, find the minimum length of the shortest side.
    Show the answer
    The shortest side must be greater than cm (smallest whole-centimetre value: cm)

More to try in Exploring Some Geometric Themes

Every simulation in the Lab