Skip to main content
100%

Back-facing Hemisphere

✓ Published0🌍 Public
Mmbostock
Last edited Feb 9, 2016
Created on Sep 17, 2014

A hemisphere of the Earth’s graticule rotates slowly, with red lines marking the front-facing half and gray lines the back. The animation uses a d3.geo pipeline, first rotating the source data, then clipping to a circle with `clipCircle`, projecting via an orthographic projection, and finally rendering to a Canvas context using `contextSink`. The graticule data comes from `d3.geo.graticule()`.

AI-generated description

Testing a prototype new graphics pipeline for d3.geo. The red lines are the front hemisphere, while the gray lines are the back hemisphere. Back-hemisphere clipping is achieved by first clipping around the antipode of the front hemisphere, and then applying an additional rotation.

gpl-3.0 Licensed

Similar vizzes