Generating Platonic Solids in C++ (2021)
danielsieger.com
danielsieger.com
https://www.oilshell.org/recurse/120-cell-bathroom.original....
It's all in Python (and shell scripts), which IMO makes it easier to experiment with than C++.
I completely forgot how it worked until I went back and looked just now ... there is this bit of 4D polytope code we borrowed, and the rest is 3D math and integration with rendering, stitching frames together, etc.
https://github.com/wwwaldo/pbrt-video/blob/master/schlafli/s...
https://assets.nautil.us/8516_6a12d7ebc27cae44623468302c47ad...
If it could actually exist in 3D, it would fit somewhere between the https://en.wikipedia.org/wiki/Rhombic_dodecahedron and https://en.wikipedia.org/wiki/Tetrakis_hexahedron.
Timaeus