earth-layers
A closed Earth has a quarter cut away; the layers show at true radial proportion and are named from the outside in (crust, rocky mantle, liquid outer core, solid inner core), then a depth scale draws from 0 at the surface to 6,371 km at the centre.
Swipe sideways to see the whole figure.
- Verb
- open
- Archetype
- layers
- Domain
- earth-science
- viewBox
- 1680 × 600
- Control
- once: plays one pass, then rests on the finished state
- Pass
- 8.7 s
- Technique
- fan clip-path polygon() on a smoothstep plus a cut line rotated about the centre in step; layer copies cross-fade to the accent; leaders and the scale draw on
- Tags
- earth, geology, cutaway, layers, depth, scale
- Files
- earth-layers.html (fragment) · earth-layers-demo.html (playable page) · thumb.png
- Source
- pool/earth-layers/
Paste the fragment into any HTML deck; it plays while an ancestor has the
class visible (one pass for once, then it holds the finished state) and
otherwise shows its resting frame. Rename the prefix
(earth-layers) when you adapt it so it stays unique in your deck.