Generate Sierpinski Pentagon
Draw the Sierpinski pentagon (pentaflake) — a fractal built from recursive pentagon subdivision.
What is the Sierpinski Pentagon?
Punch in an iteration count and the pentaflake unfolds — each pentagon splits into five smaller copies scaled by the golden ratio, with the middle left empty. Push to 6 and you get 15,625 pentagons packed together. And everything runs in your browser. Nothing gets uploaded.
FAQ
What is the scaling factor?
Each sub-pentagon is scaled by 1/(1+φ) ≈ 0.382, where φ is the golden ratio.
How many pentagons at each iteration?
At iteration n, there are 5ⁿ pentagons.
What is the fractal dimension?
log(5)/log(1+φ) ≈ 1.862.
How is this related to the golden ratio?
The pentagon's geometry is deeply connected to φ, and the scaling factor for the fractal is derived from it.