Skip to content

Instantly share code, notes, and snippets.

View bobbydavid's full-sized avatar

Robert Martin bobbydavid

View GitHub Profile
@bobbydavid
bobbydavid / README.md
Last active August 29, 2015 14:17 — forked from mbostock/.block

Example illustrating zoom and pan with a "rolling" Mercator projection. Drag left-right to rotate projection cylinder, and up-down to translate, clamped by max absolute latitude. Ensures projection always fits properly in viewbox.