Free Online Utility • Interactive Fractal Studio • 2× HiDPI + SVG Engine

Sierpinski Pyramid

Render interactive 3D Sierpinski Pyramids (Tetrix / Sierpinski Tetrahedra) from Depth 0 to 4 with 3D yaw & pitch rotation, depth-sorted shaded faces, wireframe mode, animation, zoom, and vector SVG/PNG export.

3D Subdivision Depth (n)3
3D Yaw Rotation32°
3D Pitch Elevation22°
Stroke / Detail1.8px
Rotation Angle0°
Mathematical Specification Fractal Studio
3D Sierpinski Tetrahedron (Tetrix)
Subdivide tetrahedron into 4 corner tetrahedra at r = 1/2
Remove central octahedron void
Count = 4^n  |  Exact D_H = ln(4) / ln(2) = 2.0000!
Tetrahedra Count4^n (1, 4, 16, 64, 256)
Hausdorff Dimensionln(4)/ln(2) = 2.0000 (Exact Integer!)
Surface Area LawConstant across ALL iterations!
INTERACTIVE 2× HIDPI CANVAS
Sierpinski Pyramid
100% • Scroll to Zoom • Drag to Pan
Client-side 2× HiDPI + Lossless SVG Engine Instant

Session Calculation Log

No entries recorded in this session yet.

Mathematical Foundations of Sierpinski Pyramid

The Sierpinski Pyramid (also known as the Tetrix or 3D Sierpinski Tetrahedron) is the three-dimensional analogue of the Sierpinski Triangle. At each step, a regular tetrahedron is halved along its six edge midpoints into four corner tetrahedra of scale 1/2 while the central regular octahedron cavity is removed.

Self-similar fractals exhibit recurring geometric structure across scales, governed by Iterated Function Systems (IFS), Lindenmayer L-System rewriting rules, or recursive spatial subdivisions. Every geometry calculation, 2× HiDPI canvas pass, progressive animation frame, and lossless SVG vector export executes natively inside your browser at 60 FPS with zero server latency.

Exact Integer Hausdorff Dimension in 3D Space

Number of self-similar corner copies: N = 4
Linear contraction factor: r = 1 / 2
Hausdorff Dimension: D_H = ln(4) / ln(2) = 2.0000
Volume at level n: V_0 · (4 / 8)^n = V_0 · (1/2)^n -> 0
Total Surface Area at level n: 4 · (1/4)^n · A_0 · 4^n = 4 · A_0 (Invariant!)

Remarkably, even though the Sierpinski Pyramid is a 3D porous foam whose solid volume shrinks by half every generation, its total exterior surface area remains strictly constant for all n ≥ 0, and its Hausdorff dimension is the exact integer 2.0000.

Iteration Scaling & Complexity Table

Iteration / SettingElements / SizeGeometric Property
Depth 01 tetrahedron (4 faces)Base regular 3D pyramid
Depth 14 tetrahedra (16 faces)First central octahedron cavity removed
Depth 216 tetrahedra (64 faces)Clear 3D tetrahedral truss lattice
Depth 364 tetrahedra (256 faces)Classic high-clarity 3D Tetrix
Depth 4256 tetrahedra (1,024 faces)Intricate depth-sorted 3D fractal pyramid

Applications in Science, Graphics & Engineering

3D Metamaterials & Space Trusses

Tetrix space frames achieve exceptional stiffness-to-weight ratios in aerospace masts and 3D-printed architectural domes.

Invariant Surface Catalysis

Provides a mathematically exact model of a 3D catalyst whose volume approaches zero while preserving 100% of its initial surface area.

Shadow Projection Geometry

Rotating the 3D Yaw and Pitch reveals that the shadow of a 3D Sierpinski Pyramid can form either a 2D Sierpinski Triangle or a solid filled square!

Vector 3D CAD Diagrams

Export the depth-sorted 3D projection directly to lossless SVG for textbooks, architectural plates, or laser etching.

Interactive Controls, Pan/Zoom & Vector Export

Rotate 3D Yaw (-180° to +180°) and Pitch (-75° to +75°) smoothly to inspect the octahedral cavities from any angle, toggle 3D Translucent Wireframe mode, and export vector SVG.

Export crisp 2× Retina PNG renders for presentations or scalable infinite-resolution SVG files directly into Illustrator, Figma, Inkscape, LaTeX, or laser-cutting workflows.

Frequently Asked Questions

Why does a 3D fractal pyramid have an exact integer Hausdorff dimension of 2?
Because each step creates N = 4 copies scaled by r = 1/2, giving D_H = ln(4)/ln(2) = 2.0000 — an example of a fractal set in 3D space whose Hausdorff dimension is an integer strictly larger than its topological dimension.
Why does the total surface area stay constant at every recursion depth?
Each step replaces 1 tetrahedron with 4 tetrahedra whose linear dimensions are 1/2, so each child has 1/4 the surface area; 4 × (1/4) = 1, keeping total surface area constant forever.
Can I rotate the Sierpinski Pyramid in 3D?
Yes. Drag the 3D Yaw Rotation and 3D Pitch Elevation sliders to orbit smoothly around the pyramid in real time.
Does SVG export preserve the 3D shading?
Yes. All depth-sorted 3D triangular facets are exported as shaded vector <polygon> elements in painter's order.