Use the range slider to change the degree of subdivision in this geodesic sphere.
The base shape, visible when subdivision is disabled, is one of the 5 regular convex polyhedra (with triangularized faces for cube and dodecahedron), a.k.a. Platonic solids:
Built with a modified version of the d3.geodesic plugin which adds all Platonic solids.
Adapted to use D3v4.
Evolved from my previous block which was as well inspired by Mike Bostock's Geodesic Rainbow.
https://d3js.org/d3.v4.min.js