Skip to main content
100%

Three-Axis Rotation

✓ Published0🌍 Public
Mmbostock
Last edited Jan 9, 2020
Created on Dec 14, 2012

Three rotating orthographic projections display the Earth from the perspective of three perpendicular axes, labeled λ, φ, and γ. The world-110m land data is rendered as filled paths using `d3.geoPath` and `d3.geoOrthographic`, with the rotation angles updated per frame from a timer. Each canvas uses its 2D context to clear and redraw shapes, with a sphere outline stroke for the globe boundary.

AI-generated description

D3 3.0 supports three-axis rotation for geographic projections. This example demonstrates rotating lambda (λ), phi (φ) and gamma (γ) in three side-by-side orthographic projections.

gpl-3.0 Licensed

Similar vizzes