OffTheDop
✦ Convex Library · Part II of VI · 13 Solids 3 min read ← Library Overview

Part II: All 13 Archimedean Solids in FSL

• ProFacet Computational Faceting
Computation Craft & Practice

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.

Step one notch past the Platonic solids and you meet the 13 Archimedean solids. Each mixes two or more kinds of regular polygons (such as triangles and squares, or pentagons and hexagons), arranged so every corner looks identical. Six cut cleanly on a 96-index wheel (gear = 96), five cut cleanly on an 80-index wheel (gear = 80), and the two slightly twisted snub shapes (the Snub Cube and Snub Dodecahedron) stay on a 96-index wheel with a small { cheater } nudge because their twist moves their side faces cleanly off any whole-tooth spacing.

Genealogy of all 13 Archimedean solids by symmetry group, operator, and index gear
All 13 Archimedean solids grouped by their parent symmetry family, showing exact corner-slicing fractions and standard index gears.

Corner Slices And The Twisted Snub Solids#

Many Archimedean shapes come straight from shaving the corners off a Platonic parent at a simple edge fraction. Using FSL's edge-point helper ep(...), slicing halfway along a cube's edges turns it into a Cuboctahedron, and slicing one-third along an octahedron's edges turns it into a Truncated Octahedron (8 regular hexagons and 6 squares). Even the 5-fold shapes like the Icosidodecahedron and Truncated Dodecahedron boil down to short golden-ratio spacing formulas on an 80-index wheel (gear = 80).

The two twisted snub shapes are the most intricate members of the family, led by the 92-face Snub Dodecahedron. Rather than typing out dozens of tier lines by hand, FSL computes the exact twist from a short cubic formula, builds one starter corner and its neighboring equilateral triangle, tips the shape onto its 3-fold axis to fit gear = 96, and spins those three starter faces around the shape's rotational symmetry to generate all 92 facets in one go:

FSL Faceting Script
name = "Snub Dodecahedron"
ri   = 1.45
gear = 96
cube = 2.5

// 1. Exact Cardano real root of the depressed cubic xi^3 - 2*xi = phi
phi   = Math.PHI
xi    = Math.cbrt(phi / 2 + Math.sqrt(phi - 5 / 27) / 2)
      + Math.cbrt(phi / 2 - Math.sqrt(phi - 5 / 27) / 2)
alpha = xi - 1 / xi
beta  = xi * phi + phi * phi + phi / xi

// 2. One seed vertex v0 + two icosahedral generators: 5-fold a5 and 3-fold a3
v0 = Vector(alpha, 1, beta).normalize()
a5 = Normal(1, 0, phi)
a3 = Normal(0, 1 / phi, phi)

// 3. Adjacent snub triangle (v0, R5^-1(v0), R3(v0)) is exact equilateral by Cardano's cubic
v1    = v0.rotate(a5, -2 * Math.PI / 5)
v2    = v0.rotate(a3,  2 * Math.PI / 3)
nSnub = (v2 - v0).cross(v1 - v0).normalize()
d5    = v0.dot(a5)
d3    = v0.dot(a3)

// 4. Align 3-fold axis a3 -> +Z so every orbit divides gear = 96 cleanly
e3    = a3
e1    = (a5 - a3 * a5.dot(a3)).normalize()
e2    = e3.cross(e1)
toDop = v => Vector(v.dot(e1), v.dot(e2), v.dot(e3))

// 5. Pure functional group-orbit closure under the 60-element chiral group I = <R3, R5>
gens      = [u => u.rotate(a3, 2 * Math.PI / 3), u => u.rotate(a5, 2 * Math.PI / 5)]
addUnique = (acc, w) => acc.some(p => p.dot(w) > 0.99999) ? acc : acc.push(w)
applyGen  = (orb, g) => orb.reduce((acc, u) => addUnique(acc, g(u)), orb)
orbitI    = seed => Math.range(0, 9).reduce(orb => gens.reduce(applyGen, orb), [seed.normalize()])

// 6. Cut all 92 faces in three symmetry orbits
orbitI(a5).map(n => cutPlane("P5", toDop(n), d5))      // 12 regular pentagons
orbitI(a3).map(n => cutPlane("T1", toDop(n), d3))      // 20 icosahedral triangles
orbitI(nSnub).map(n => cutPlane("TS", toDop(n), d3))   // 60 chiral snub triangles

assert(stone().facetCount == 92)
assert(stone().vertexCount == 60)

All 13 Archimedean Specimens (celadon Porcelain)#

Showing 13 of 13 verified specimens · click any render or SVG to zoom
Truncated Tetrahedron matte mineral GPU render BDPT
Truncated Tetrahedron 3D SVG geometric blueprint with 96-index wheel SVG

Truncated Tetrahedron

96-index
V=12 · E=18 · F=8 | 4x3 + 4x6
View exact FSL source ▼
name = "Truncated Tetrahedron"
ri   = 1.45
gear = 96
cube = 2.5

// Start with a regular tetrahedron (inradius r, circumradius 3r),
// then slice every vertex at exactly 1/3 along its edges -> plane distance (5/3)*r!
slope   = Math.acosDeg(1 / 3)   // 70.5288 deg
r       = 0.48
d_trunc = (5 / 3) * r           // exact 1/3-edge truncation turns 4 triangles into 4 hexagons + 4 triangles

P1 0  @ 0.0   : r x1
C1 0  @ slope : r x3

T  0  @ 0.0   : d_trunc x1
P2 48 @ slope : d_trunc x3

assert(stone().facetCount == 8)
assert(stone().vertexCount == 12)
Cuboctahedron matte mineral GPU render BDPT
Cuboctahedron 3D SVG geometric blueprint with 96-index wheel SVG

Cuboctahedron

96-index
V=12 · E=24 · F=14 | 8x3 + 6x4
View exact FSL source ▼
name = "Cuboctahedron"
ri   = 1.45
gear = 96
cube = 2.5

// Start with a unit cube, then rectify every corner through its exact edge midpoints (1/2)!
r        = 0.72
octAngle = Math.acosDeg(1 / Math.sqrt(3))   // 54.7356 deg

P1 0  @ 0.0      : r x1
G1 0  @ 90.0     : r x4
T  0  @ 0.0      : r x1

// Exact midpoint rectification via ep(..., 1/2)
P2 12 @ octAngle : ep(edge(P1:0, G1:0), 0.5) x4
C1 12 @ octAngle : ep(edge(T:0,  G1:0), 0.5) x4

assert(stone().facetCount == 14)
assert(stone().vertexCount == 12)
Truncated Cube matte mineral GPU render BDPT
Truncated Cube 3D SVG geometric blueprint with 96-index wheel SVG

Truncated Cube

96-index
V=24 · E=36 · F=14 | 8x3 + 6x8
View exact FSL source ▼
name = "Truncated Cube"
ri   = 1.45
gear = 96
cube = 2.5

// Cut a cube, then slice all 8 corners at silver-ratio fraction t = 1 / (2 + sqrt(2))
r        = 0.80
t        = 1 / (2 + Math.sqrt(2))           // 0.292893 -> regular octagons!
octAngle = Math.acosDeg(1 / Math.sqrt(3))   // 54.7356 deg
d_corner = r * (3 - 2 * t) / Math.sqrt(3)   // exact corner-truncation depth!

P1 0  @ 0.0      : r x1
G1 0  @ 90.0     : r x4
T  0  @ 0.0      : r x1

P2 12 @ octAngle : d_corner x4
C1 12 @ octAngle : d_corner x4

assert(stone().facetCount == 14)
assert(stone().vertexCount == 24)
Truncated Octahedron matte mineral GPU render BDPT
Truncated Octahedron 3D SVG geometric blueprint with 96-index wheel SVG

Truncated Octahedron

96-index
V=24 · E=36 · F=14 | 6x4 + 8x6
View exact FSL source ▼
name = "Truncated Octahedron"
ri   = 1.45
gear = 96
cube = 2.5

// Cut a regular octahedron, then truncate all 6 vertices at exactly 1/3 along each edge!
r        = 0.80
octAngle = Math.acosDeg(1 / Math.sqrt(3))   // 54.7356 deg

P1 0 @ octAngle : r x4
C1 0 @ octAngle : r x4

// Pure meetpoint truncation at 1/3 turns 8 triangles into 8 regular hexagons + 6 squares
P2 0 @ 0.0  : ep(edge(P1:0, P1:24), 1 / 3) x1
T  0 @ 0.0  : ep(edge(C1:0, C1:24), 1 / 3) x1
G1 12 @ 90.0 : ep(edge(P1:0, C1:0), 1 / 3) x4

assert(stone().facetCount == 14)
assert(stone().vertexCount == 24)
Rhombicuboctahedron matte mineral GPU render BDPT
Rhombicuboctahedron 3D SVG geometric blueprint with 96-index wheel SVG

Rhombicuboctahedron

96-index
V=24 · E=48 · F=26 | 8x3 + 18x4
View exact FSL source ▼
name = "Rhombicuboctahedron"
ri   = 1.45
gear = 96
cube = 2.5

// 18 squares + 8 equilateral triangles from the silver ratio s = 1 + sqrt(2)
s        = 1 + Math.sqrt(2)
a        = 1.44 / s                         // unit edge length scaled cleanly inside blank
d_sq     = a * s / 2                        // distance to the 6 axial squares
d_bevel  = a * (2 + Math.sqrt(2)) / (2 * Math.sqrt(2))   // distance to the 12 45-deg squares
d_tri    = a * (3 + Math.sqrt(2)) / (2 * Math.sqrt(3))   // distance to the 8 corner triangles
octAngle = Math.acosDeg(1 / Math.sqrt(3))   // 54.7356 deg

P1 0  @ 0.0      : d_sq    x1
P2 0  @ 45.0     : d_bevel x4
P3 12 @ octAngle : d_tri   x4
G1 0  @ 90.0     : d_sq    x4
G2 12 @ 90.0     : d_bevel x4
C1 0  @ 45.0     : d_bevel x4
C2 12 @ octAngle : d_tri   x4
T  0  @ 0.0      : d_sq    x1

assert(stone().facetCount == 26)
assert(stone().vertexCount == 24)
Truncated Cuboctahedron matte mineral GPU render BDPT
Truncated Cuboctahedron 3D SVG geometric blueprint with 96-index wheel SVG

Truncated Cuboctahedron

96-index
V=48 · E=72 · F=26 | 12x4 + 8x6 + 6x8
View exact FSL source ▼
name = "Truncated Cuboctahedron"
ri   = 1.45
gear = 96
cube = 2.5

// Great rhombicuboctahedron: 12 squares + 8 hexagons + 6 octagons on 96-index gear
a        = 0.85 / ((1 + 2 * Math.sqrt(2)) / 2)
d_oct    = a * (1 + 2 * Math.sqrt(2)) / 2
d_sq     = a * (2 + 3 * Math.sqrt(2)) / (2 * Math.sqrt(2))
d_hex    = a * (3 + 3 * Math.sqrt(2)) / (2 * Math.sqrt(3))
octAngle = Math.acosDeg(1 / Math.sqrt(3))

P1 0  @ 0.0      : d_oct x1
P2 0  @ 45.0     : d_sq x4
P3 12 @ octAngle : d_hex x4
G1 0  @ 90.0     : d_oct x4
G2 12 @ 90.0     : d_sq x4
C1 0  @ 45.0     : d_sq x4
C2 12 @ octAngle : d_hex x4
T  0  @ 0.0      : d_oct x1

assert(stone().facetCount == 26)
assert(stone().vertexCount == 48)
Snub Cube matte mineral GPU render BDPT
Snub Cube 3D SVG geometric blueprint with 96-index wheel SVG

Snub Cube

96-index + cheater
V=24 · E=60 · F=38 | 32x3 + 6x4
View exact FSL source ▼
name = "Snub Cube (Tribonacci Chiral)"
ri   = 1.45
gear = 96
cube = 2.5

// Chiral Archimedean solid: 6 squares + 32 equilateral triangles governed by the Tribonacci constant t
// t^3 = t^2 + t + 1 -> solved in exact closed form via Cardano's cube-root formula!
t      = (1 + Math.cbrt(19 + 3 * Math.sqrt(33)) + Math.cbrt(19 - 3 * Math.sqrt(33))) / 3
d_sq   = 0.78
d_tri  = d_sq * t / Math.sqrt(3)
octAng = Math.acosDeg(1 / Math.sqrt(3))                       // 54.7356 deg (8 octahedral triangles)

// 24 chiral snub triangles have exact normals proportional to cyclic (even) perms of (1, t^2, 2*t + 1)
c1 = 1
c2 = t * t
c3 = 2 * t + 1
nL = Math.sqrt(c1 * c1 + c2 * c2 + c3 * c3)

a1 = Math.acosDeg(c3 / nL)                                    // 37.0166 deg  (c1, c2, c3)
a2 = Math.acosDeg(c2 / nL)                                    // 54.7356 deg  exact! (1 + t^4 + (2t+1)^2 == 3*t^4)
a3 = Math.acosDeg(c1 / nL)                                    // 80.1736 deg  (c2, c3, c1)

// Exact irrational azimuths snapped to 96-index teeth + exact signed cheater offsets
az1 = Math.atan2Deg(c2, c1); t1 = snapTooth(az1); ch1 = cheaterFor(az1)
az2 = Math.atan2Deg(c1, c3); t2 = snapTooth(az2); ch2 = cheaterFor(az2)
az3 = Math.atan2Deg(c3, c2); t3 = snapTooth(az3); ch3 = cheaterFor(az3)

// 6 axial squares
P1 0  @ 0.0    : d_sq x1
G1 0  @ 90.0   : d_sq x4
T  0  @ 0.0    : d_sq x1

// 8 octahedral triangles
P2 12 @ octAng : d_tri x4
C1 12 @ octAng : d_tri x4

// 24 chiral snub triangles (x4 rotational symmetry only, no mirrors -> pure chirality!)
P3 t1 @ a1 : d_tri x4 { cheater: ch1 }
P4 t2 @ a2 : d_tri x4 { cheater: ch2 }
P5 t3 @ a3 : d_tri x4 { cheater: ch3 }
C2 t1 @ a1 : d_tri x4 { cheater: ch1 }
C3 t2 @ a2 : d_tri x4 { cheater: ch2 }
C4 t3 @ a3 : d_tri x4 { cheater: ch3 }

assert(stone().facetCount == 38)
assert(stone().vertexCount == 24)
Icosidodecahedron matte mineral GPU render BDPT
Icosidodecahedron 3D SVG geometric blueprint with 80-index wheel SVG

Icosidodecahedron

80-index
V=30 · E=60 · F=32 | 20x3 + 12x5
View exact FSL source ▼
name = "Icosidodecahedron"
ri   = 1.45
gear = bestGear(10)   // 80-index: standard commercial gear for 5-fold icosahedral symmetry
cube = 2.5

// 12 regular pentagons + 20 equilateral triangles (rectified dodecahedron)
// Cut a regular dodecahedron on 80-index, then slice all 20 corners at the exact midradius!
phi     = Math.PHI
r       = 0.82
half    = gear / 10                                           // tooth 8 on 80-index (36 deg)
ring5   = Math.atanDeg(2)                                     // 63.4349 deg (pentagon belt)
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_tri   = r * Math.sqrt((phi + 2) / 3)                        // exact midpoint rectification!

// Regular dodecahedron (12 pentagons)
P1 0    @ 0.0   : r x1
P2 half @ ring5 : r x5
C1 0    @ ring5 : r x5
T  0    @ 0.0   : r x1

// Rectify all 20 corners -> 20 equilateral triangles meeting 12 pentagons at 30 vertices
P3 0    @ triPol  : d_tri x5
P4 0    @ triBelt : d_tri x5
C2 half @ triPol  : d_tri x5
C3 half @ triBelt : d_tri x5

assert(stone().facetCount == 32)
assert(stone().vertexCount == 30)
Truncated Dodecahedron matte mineral GPU render BDPT
Truncated Dodecahedron 3D SVG geometric blueprint with 80-index wheel SVG

Truncated Dodecahedron

80-index
V=60 · E=90 · F=32 | 20x3 + 12x10
View exact FSL source ▼
name = "Truncated Dodecahedron"
ri   = 1.45
gear = bestGear(10)   // 80-index: standard bench gear for 5-fold symmetry
cube = 2.5

// Regular dodecahedron truncated at t = 1/(2 + phi) -> 12 regular decagons + 20 equilateral triangles
phi     = Math.PHI
r       = 0.88
half    = gear / 10                                           // tooth 8 on 80-index (36 deg)
ring5   = Math.atanDeg(2)                                     // 63.4349 deg
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_tri   = r * (4 - phi) / Math.sqrt(3 * (3 - phi))            // exact decagon-triangle ratio!

// 12 dodecahedral pentagons -> truncated into 12 regular decagons
P1 0    @ 0.0   : r x1
P2 half @ ring5 : r x5
C1 0    @ ring5 : r x5
T  0    @ 0.0   : r x1

// 20 corner truncations -> 20 equilateral triangles
P3 0    @ triPol  : d_tri x5
P4 0    @ triBelt : d_tri x5
C2 half @ triPol  : d_tri x5
C3 half @ triBelt : d_tri x5

assert(stone().facetCount == 32)
assert(stone().vertexCount == 60)
Truncated Icosahedron matte mineral GPU render BDPT
Truncated Icosahedron 3D SVG geometric blueprint with 80-index wheel SVG

Truncated Icosahedron

80-index
V=60 · E=90 · F=32 | 12x5 + 20x6
View exact FSL source ▼
name = "Truncated Icosahedron (Buckyball)"
ri   = 1.45
gear = bestGear(10)   // 80-index exact!
cube = 2.5

// Start with a regular icosahedron, then slice all 12 vertices at exactly 1/3 along every edge!
// Turns 20 equilateral triangles into 20 regular hexagons + 12 regular pentagons (the C60 Buckyball).
phi     = Math.PHI
r       = 0.88
half    = gear / 10                                           // tooth 8 on 80-index (36 deg)
ring5   = Math.atanDeg(2)                                     // 63.4349 deg (12 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)

// Regular icosahedron (20 triangles)
P1 half @ triPol  : r x5
P2 half @ triBelt : r x5
C1 0    @ triPol  : r x5
C2 0    @ triBelt : r x5

// Exact 1/3-edge vertex truncation -> 20 regular hexagons + 12 regular pentagons!
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)
Rhombicosidodecahedron matte mineral GPU render BDPT
Rhombicosidodecahedron 3D SVG geometric blueprint with 80-index wheel SVG

Rhombicosidodecahedron

80-index
V=60 · E=120 · F=62 | 20x3 + 30x4 + 12x5
View exact FSL source ▼
name = "Rhombicosidodecahedron"
ri   = 1.45
gear = bestGear(10)   // 80-index exact (5-fold axis on +Z)
cube = 2.5

// Exact cantellated dodecahedron / icosahedron: 12 pentagons + 20 triangles + 30 squares
// One Coxeter seed vertex v0 = (1, 1, phi^3) determines all three face inradii exactly!
phi = Math.PHI
v0  = Vector(1, 1, phi * phi * phi).normalize()
a5  = Normal(0, 1, phi)        // 5-fold pentagon axis
a3  = Normal(1 / phi, 0, phi)  // 3-fold triangle axis nearest v0
a2  = Normal(0, 0, 1)          // 2-fold square axis

// Align 5-fold axis a5 -> +Z so every face normal lands on exact 80-index teeth
e3    = a5
e1    = (a2 - a5 * a2.dot(a5)).normalize()
e2    = e3.cross(e1)
toDop = v => Vector(v.dot(e1), v.dot(e2), v.dot(e3))

// Pure functional orbit closure under the chiral icosahedral group I = <R5, R3> (order 60)
gens      = [u => u.rotate(a5, 2 * Math.PI / 5), u => u.rotate(a3, 2 * Math.PI / 3)]
addUnique = (acc, w) => acc.some(p => p.dot(w) > 0.99999) ? acc : acc.push(w)
applyGen  = (orb, g) => orb.reduce((acc, u) => addUnique(acc, g(u)), orb)
orbitI    = seed => Math.range(0, 9).reduce(orb => gens.reduce(applyGen, orb), [seed.normalize()])

// Three symmetry orbits cut all 62 faces with zero magic floats
orbitI(a5).map(n => cutPlane("P5", toDop(n), v0.dot(a5)))   // 12 regular pentagons
orbitI(a3).map(n => cutPlane("T3", toDop(n), v0.dot(a3)))   // 20 equilateral triangles
orbitI(a2).map(n => cutPlane("S4", toDop(n), v0.dot(a2)))   // 30 squares

assert(stone().facetCount == 62)
assert(stone().vertexCount == 60)
Truncated Icosidodecahedron matte mineral GPU render BDPT
Truncated Icosidodecahedron 3D SVG geometric blueprint with 80-index wheel SVG

Truncated Icosidodecahedron

80-index
V=120 · E=180 · F=62 | 30x4 + 20x6 + 12x10
View exact FSL source ▼
name = "Truncated Icosidodecahedron"
ri   = 1.45
gear = bestGear(10)   // 80-index exact (5-fold axis on +Z)
cube = 2.5

// Omnitruncated dodecahedron / icosahedron: 12 decagons + 20 hexagons + 30 squares
// One Coxeter seed vertex v0 = (1/phi, 1/phi, 3 + phi) sets all three inradii exactly!
phi = Math.PHI
v0  = Vector(1 / phi, 1 / phi, 3 + phi).normalize()
a5  = Normal(0, 1, phi)        // 5-fold decagon axis
a3  = Normal(1 / phi, 0, phi)  // 3-fold hexagon axis nearest v0
a2  = Normal(0, 0, 1)          // 2-fold square axis

// Align 5-fold axis a5 -> +Z so every face normal lands on exact 80-index teeth
e3    = a5
e1    = (a2 - a5 * a2.dot(a5)).normalize()
e2    = e3.cross(e1)
toDop = v => Vector(v.dot(e1), v.dot(e2), v.dot(e3))

// Pure functional orbit closure under the chiral icosahedral group I = <R5, R3> (order 60)
gens      = [u => u.rotate(a5, 2 * Math.PI / 5), u => u.rotate(a3, 2 * Math.PI / 3)]
addUnique = (acc, w) => acc.some(p => p.dot(w) > 0.99999) ? acc : acc.push(w)
applyGen  = (orb, g) => orb.reduce((acc, u) => addUnique(acc, g(u)), orb)
orbitI    = seed => Math.range(0, 9).reduce(orb => gens.reduce(applyGen, orb), [seed.normalize()])

// Three symmetry orbits cut all 62 faces with zero magic floats
orbitI(a5).map(n => cutPlane("D10", toDop(n), v0.dot(a5)))   // 12 regular decagons
orbitI(a3).map(n => cutPlane("H6",  toDop(n), v0.dot(a3)))   // 20 regular hexagons
orbitI(a2).map(n => cutPlane("S4",  toDop(n), v0.dot(a2)))   // 30 squares

assert(stone().facetCount == 62)
assert(stone().vertexCount == 120)
Snub Dodecahedron matte mineral GPU render BDPT
Snub Dodecahedron 3D SVG geometric blueprint with 96-index wheel SVG

Snub Dodecahedron

96-index + cheater
V=60 · E=150 · F=92 | 80x3 + 12x5
View exact FSL source ▼
name = "Snub Dodecahedron"
ri   = 1.45
gear = 96
cube = 2.5

// Chiral icosahedral solid (12 pentagons + 80 equilateral triangles)
// 1. Exact Cardano real root of the depressed cubic xi^3 - 2*xi = phi
phi   = Math.PHI
xi    = Math.cbrt(phi / 2 + Math.sqrt(phi - 5 / 27) / 2)
      + Math.cbrt(phi / 2 - Math.sqrt(phi - 5 / 27) / 2)
alpha = xi - 1 / xi
beta  = xi * phi + phi * phi + phi / xi

// 2. One seed vertex v0 + two icosahedral generators: 5-fold a5 and 3-fold a3
v0 = Vector(alpha, 1, beta).normalize()
a5 = Normal(1, 0, phi)
a3 = Normal(0, 1 / phi, phi)

// 3. Adjacent snub triangle (v0, R5^-1(v0), R3(v0)) is exact equilateral by Cardano's cubic
v1    = v0.rotate(a5, -2 * Math.PI / 5)
v2    = v0.rotate(a3,  2 * Math.PI / 3)
nSnub = (v2 - v0).cross(v1 - v0).normalize()
d5    = v0.dot(a5)
d3    = v0.dot(a3)

// 4. Align 3-fold axis a3 -> +Z so every orbit divides gear = 96 cleanly
e3    = a3
e1    = (a5 - a3 * a5.dot(a3)).normalize()
e2    = e3.cross(e1)
toDop = v => Vector(v.dot(e1), v.dot(e2), v.dot(e3))

// 5. Pure functional group-orbit closure under the 60-element chiral group I = <R3, R5>
gens      = [u => u.rotate(a3, 2 * Math.PI / 3), u => u.rotate(a5, 2 * Math.PI / 5)]
addUnique = (acc, w) => acc.some(p => p.dot(w) > 0.99999) ? acc : acc.push(w)
applyGen  = (orb, g) => orb.reduce((acc, u) => addUnique(acc, g(u)), orb)
orbitI    = seed => Math.range(0, 9).reduce(orb => gens.reduce(applyGen, orb), [seed.normalize()])

// 6. Cut all 92 faces in three symmetry orbits
orbitI(a5).map(n => cutPlane("P5", toDop(n), d5))      // 12 regular pentagons
orbitI(a3).map(n => cutPlane("T1", toDop(n), d3))      // 20 icosahedral triangles
orbitI(nSnub).map(n => cutPlane("TS", toDop(n), d3))   // 60 chiral snub triangles

assert(stone().facetCount == 92)
assert(stone().vertexCount == 60)
Click outside or press Esc to close