Report Tool or Give Us Suggestions

Sierpinski Pentagon Generator

Generate and render regular Sierpinski pentagon fractals (pentaflakes) with custom rotation, scaling, and optional center pentagons.

L ading . . .

Understanding the Sierpinski Pentagon: The Mathematics of Pentaflakes

The Sierpinski Pentagon, also widely known as the Pentaflake, is a beautiful regular polygon-based fractal. Created recursively by placing smaller, scaled-down copies of a regular pentagon inside its parent, it represents a remarkable convergence of regular geometry, golden ratio proportions, and self-similar contraction mappings.

The Golden Ratio and the Scaling Factor

To construct a standard pentaflake without the children overlapping, we must solve a precise geometric constraint: how much do we scale down each child so they touch perfectly at the edges?

The scaling factor $r$ is derived directly from the trigonometric properties of the regular pentagon and is intimately linked to the Golden Ratio ($\phi = \frac{1 + \sqrt{5}}{2} \approx 1.618033$):

Scaling Factor Formula:
$$r = \frac{3 - \sqrt{5}}{2} = 2 - \phi \approx 0.381966$$
This ensures that 5 child pentagons placed at the corners of the parent touch exactly, leaving a perfect central star-shaped empty gap.

Structure Variations: 5-Copy vs. 6-Copy

Our generator supports two major structural styles of the pentaflake:

  • Standard Pentaflake (5-Copy): Places child pentagons only in the five outer corners. This leaves a central star-shaped hole, yielding a beautiful airy geometric web.
  • Filled Pentaflake (6-Copy): Places a sixth child in the center. Because the scaling factor is $r \approx 0.3820$, the six copies pack beautifully, leaving only minor triangular spaces around the center.

Mathematical Properties

Using the self-similarity Hausdorff dimension formula: $$D = \frac{\log(N)}{\log(1/r)}$$ we can compute the fractional dimension of both variants:

Flake Variation Number of Copies ($N$) Hausdorff Dimension ($D$) Visual Characteristics
Standard Outer Pentaflake 5 Copies $$D \approx 1.672$$ Airy, star-shaped empty center gaps
Filled Central Pentaflake 6 Copies $$D \approx 1.861$$ Denser, heavily packed geometric layout

Frequently Asked Questions

Frequently Asked Questions

Why is the scaling factor for the pentagon not 1/2 like the triangle?

In an equilateral triangle, scaling down by $1/2$ and placing copies at the three corners causes them to touch exactly at the midpoints of the sides. In a regular pentagon, because the angle is $108^\circ$ instead of $60^\circ$, using a factor of $0.5$ would cause the child pentagons to overlap heavily. The exact non-overlapping scaling factor is $2 - \phi \approx 0.382$.

How many individual pentagons are drawn at iteration level 4?

For the 5-copy outer pentaflake, the number of leaf shapes at level $n$ is $5^n$. At level 4, this is $5^4 = 625$ pentagons. For the 6-copy version, it is $6^n$, meaning $6^4 = 1,296$ pentagons are calculated and drawn in real-time.

Can I rotate the generated pentaflake?

Yes! Our generator features a custom rotational orientation slider from $0^\circ$ to $360^\circ$. This allows you to rotate the entire pentaflake dynamically to explore its beautiful rotational symmetries in real-time.

logo OnlineMiniTools

OnlineMiniTools.com is your ultimate destination for a wide range of web-based tools, all available for free.

Feel free to reach out with any suggestions or improvements for any tool at admin@onlineminitools.com. We value your feedback and are continuously striving to enhance the tool's functionality.

© 2026 OnlineMiniTools . All rights reserved.

Hosted on Hostinger

v1.10.0