The Standard Regular Convex Shape Library in FSL: All 135 Polyhedra
A quick note: I'm not a trained gemologist. No GIA diploma, no mineralogy degree, no formal apprenticeship. Just an engineer taking Feynman literally: "What I cannot create, I do not understand." Everything here comes from rebuilding faceting from first principles: geometry, ray-traced light physics, and custom machines.
We built and compiled the complete Standard Regular Convex Shape Library in FSL: all 5 Platonic solids, all 13 Archimedean solids, all 13 Catalan duals, 4 open-ended families (Prisms, Antiprisms, Bipyramids, and Trapezohedra, shown with 12 showcase examples), and all 92 Johnson solids (J1 through J92). Instead of relying on hardcoded angle lookup tables, every one of the 135 scripts constructs its shape from scratch using clean FSL geometry rules, symmetry patterns, and small live equation solvers. Each script compiles in ProFacet and checks its own work so the final face, edge, and corner counts always match the exact polyhedron.
Standard Index Gears And Clean Fsl Building Blocks#
Every shape in this library follows one practical faceting rule: stay on a standard 96-index wheel whenever the shape's symmetry divides 96 cleanly, swap to another standard index gear (80, 84, 72, 64, or 120) when 5-fold, 7-fold, or 9-fold symmetry asks for it, and stay on a 96-index wheel with an exact cheater nudge whenever geometry guarantees the side angles cannot land on any whole tooth (a classic result called Niven's theorem).
Across all 135 solids, that rule splits cleanly into four groups: 52 cut with zero error on a 96-index wheel (gear = 96), 50 cut with zero error on an 80-index wheel (gear = 80, covering all exact 5-fold, 10-fold, and 20-fold shapes), 4 cut with zero error on an 84-index wheel (gear = 84, covering 7-fold and 14-fold shapes), and 29 cut on a 96-index wheel using { cheater } (including 6 complex 20-sided-family shapes tipped onto their 3-fold axis so 96 divides neatly into 32-tooth steps).
Rather than tucking polyhedra inside black-box presets, we kept FSL open and easy to follow by adding just two small groups of everyday geometry helpers:
- Degree trig and the golden ratio:
Math.PHIpaired with degree-based trig (Math.sinDeg,Math.cosDeg,Math.tanDeg,Math.asinDeg,Math.acosDeg,Math.atanDeg, andMath.atan2Deg), so angles stay readable in degrees instead of radians. - Smart index-gear and cheater helpers:
bestGear(n)picks the first standard gear from 96, 80, 84, 72, 64, or 120 divisible by the symmetry count (only stepping outside that list for rare primes like 11). When a facet sits between teeth,snapTooth(deg)finds the closest whole tooth,cheaterFor(deg)calculates the exact micro-rotation needed, and{ cheater: deg }applies it right on that tier. For tricky 3D orientations,cutPlane(name, normal, dist)slices a flat plane facing any 3D direction directly.
Here is how tidy that looks in practice: a full 32-facet Truncated Icosahedron (the classic soccer-ball shape) written from scratch in plain FSL:
name = "Truncated Icosahedron (Buckyball)"
ri = 1.45
gear = bestGear(10) // selects standard 80-index gear
cube = 2.5
// Start with a regular icosahedron, then slice all 12 vertices at 1/3 edge length
phi = Math.PHI
r = 0.88
half = gear / 10 // tooth 8 on 80-index (36 deg)
ring5 = Math.atanDeg(2) // 63.4349 deg (pentagon caps)
triPol = Math.acosDeg((phi + 1) / Math.sqrt(3 * (phi + 2))) // 37.3774 deg
triBelt = Math.acosDeg((phi - 1) / Math.sqrt(3 * (phi + 2))) // 79.1877 deg
d_pent = r * (4 * phi - 1) * Math.sqrt(3 * (phi + 2) / 5) / (3 * phi * phi)
P1 half @ triPol : r x5
P2 half @ triBelt : r x5
C1 0 @ triPol : r x5
C2 0 @ triBelt : r x5
P3 0 @ 0.0 : d_pent x1
P4 0 @ ring5 : d_pent x5
C3 half @ ring5 : d_pent x5
T 0 @ 0.0 : d_pent x1
assert(stone().facetCount == 32)
assert(stone().vertexCount == 60)
Explore All Six Chapters (135 Solids)#
To keep the main blog index easy to browse, the full library lives in six dedicated chapters below. Every single specimen includes a matte GPU studio render, a dark-mode 3D SVG blueprint showing its active index wheel, the complete FSL script with a copy button, and a direct link to open it in ProFacet Studio.
Part I · 5 solids
Carrara Alabaster
Part I: The 5 Platonic Solids
Regular tetrahedron, cube, octahedron, 96-index 3-fold dodecahedron, and 80-index icosahedron.
Part II · 13 solids
Celadon Porcelain
Part II: The 13 Archimedean Solids
All 13 vertex-transitive semi-regular solids, from ep(..., 1/3) truncations to the Cardano Tribonacci snub cube.
Part III · 13 solids
Terracotta Bisque
Part III: The 13 Catalan Solids
All 13 face-transitive polar duals, isometric crystal habits, and Niven irrationality solved via snapTooth and cheaterFor.
Part IV · 12 solids
Nordic Slate Ceramic
Part IV: Prisms, Antiprisms, Bipyramids, and Trapezohedra
Pure primitive FSL formulas for all four infinite uniform families plus 12 curated odd- and even-fold showcase polyhedra.
Part V · 48 solids
Champagne Limestone
Part V: Johnson Solids J1 through J48
Pyramids, cupolas, pentagonal rotunda, elongated and gyroelongated forms, bicupolas, and birotundas.
Part VI · 44 solids
Smoked Amethyst Stoneware
Part VI: Johnson Solids J49 through J92
Augmented prisms, Platonic and Archimedean solids, gyrate/diminished rhombicosidodecahedra, and the 9 elementary solids J84 to J92.