The Sierpinski triangle is a fractal with the general shape of an equilateral triangle that has been subdivided recursively into smaller equilateral triangles. There are infinitely many different stages of the Sierpinski triangle, depending on how often you would like to subdivide the original triangle.
Create the first four stages of the Sierpinsky triangle.
[table][tr id=createEquilateralTriangle][td]1.[/td][td][icon]/images/ggb/toolbar/mode_regularpolygon.png[/icon][/td][td]Activate the [i]Regular Polygon[/i] tool and create an equilateral triangle.[/td][/tr][tr id=createMidpoints][td]2.[/td][td][icon]/images/ggb/toolbar/mode_midpoint.png[/icon][/td][td]Use the [i]Midpoint or Center[/i] tool in order to create the midpoints of the triangle's sides.[br][/td][/tr][tr id=createTriangle1][td]3.[/td][td][icon]/images/ggb/toolbar/mode_polygon.png[/icon][/td][td]Use the [i]Polygon [/i]tool in order to create a small triangle inside the equilateral triangle by using point [i]A[/i] and the two midpoints next to it as the vertices of the new triangle.[/td][/tr][tr id=create3Triangles][td]4.[/td][td][icon]/images/ggb/toolbar/mode_polygon.png[/icon][/td][td]In the same way, create two more triangles for vertices [i]B[/i] and [i]C[/i] respectively.[/td][/tr][tr id=create3Triangles][td][/td][td][/td][td][u]Note[/u]: You have now created stage 1 of the Sierpinsky triangle.[/td][/tr][/table]
[u]Note[/u]: We have created a custom tool called [img]https://wiki.geogebra.org/uploads/thumb/a/a9/Sierpinski-Tool-icon.png/16px-Sierpinski-Tool-icon.png[/img] Sierpinsky Triangle tool for you in order to simplify constructing the next stages for you. This tool recreates instruction steps 2 to 4 for you, i.e. constructing the midpoints as well as the additional three triangles in one instance.[br][br][table][tr id=selectSierpinskiTool][td]5.[/td][td][icon]https://wiki.geogebra.org/uploads/a/a9/Sierpinski-Tool-icon.png[/icon][/td][td]Activate the [i]Sierpinsky Triangle[/i] tool.[/td][/tr][tr id=FractalStage2][td]6.[/td][td][icon]https://wiki.geogebra.org/uploads/a/a9/Sierpinski-Tool-icon.png[/icon][/td][td]With the [i]Sierpinsky Triangle[/i] tool activated, successively select each of the smaller triangles you created in steps 3 and 4.[/td][/tr][tr id=FractalStage2][td][/td][td][/td][td][u]Note[/u]: You have now created stage 2 of the Sierpinski triangle.[/td][/tr][tr id=FractalStage3][td]7.[/td][td][icon]https://wiki.geogebra.org/uploads/a/a9/Sierpinski-Tool-icon.png[/icon][/td][td]Create stage 3 of the Sierpinski triangle.[/td][/tr][tr id=FractalStage3][td][/td][td][icon]/images/ggb/toolbar/mode_zoomin.png[/icon][/td][td][u]Hint[/u]: You might want to use the [i]Zoom In[/i] tool in order to reach the small triangles more easily.[/td][/tr][tr id=FractalStage4][td]8.[/td][td][icon]https://wiki.geogebra.org/uploads/a/a9/Sierpinski-Tool-icon.png[/icon][/td][td]Create stage 4 of the Sierpinski triangle.[/td][/tr][/table]
GeoGebra allows you to create custom tools that are not part of the default GeoGebra Graphics Toolbar. By providing a custom tool, certain steps of a constructions may become less tedious to recreate or new types of objects can be created on the fly (e.g. a rectangle).