The Sierpinski Tetrahedron

Drag the mouse to rotate the tetrahedron.

Generally speaking, recursion occurs when something refers to, or is composed of, smaller copies of itself, such as the Sierpinski triangle. This triangle is made up of copies of itself, each scaled by a factor of 0.5 in both the x and y directions.
Your web browser does not support the canvas element! Sorry.