Skip to main content
100%

Orthographic Shading

✓ Published0🌍 Public
Mmbostock
Last edited Dec 20, 2022
Created on Jul 2, 2012

An interactive orthographic projection shows Earth’s graticule as a shaded sphere rotating continuously. Latitude and longitude lines at 10° increments form the grid, which is clipped to the visible hemisphere. The animation uses `d3.geo.orthographic()` and `d3.geo.path()` to project the graticule, while a radial gradient fills a circle to simulate lighting. A `d3.timer` updates the projection rotation and the fill’s transform, altering the view over time. The SVG rendering includes subtle stroke opacity for depth.

AI-generated description

The above grid demonstrates an orthographic azimuthal projection. The lines are at uniform 10º increments of latitude and longitude.

Part 3 of 3.

  1. Orthographic Grid
  2. Orthographic Clipping
  3. Orthographic Shading
gpl-3.0 Licensed

Similar vizzes