Icosahedron
✓ Published0🌍 Public
Mmbostock
Last edited Feb 9, 2016
Created on Jul 5, 2012
This example depicts a rotating icosahedron projected from a sphere using an orthographic projection. The solid’s faces, edges, and vertices are drawn as SVG paths, with faces filled in light gray, edges semi-transparent black, and points as black dots with white strokes. The geometric data is generated procedurally in JavaScript, calculating vertex positions from spherical coordinates. A d3.timer continuously updates the projection’s rotation along two axes, and the path generator re-renders each SVG element on every tick, creating a smooth animated spin using D3 v3’s geo and SVG utilities.
AI-generated descriptiongpl-3.0 Licensed