Skip to content

Instantly share code, notes, and snippets.

View bobbydavid's full-sized avatar

Robert Martin bobbydavid

View GitHub Profile

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.

@bobbydavid
bobbydavid / README.md
Last active August 29, 2015 14:17 — forked from mbostock/.block
import copy
import itertools
from collections import defaultdict
print 'Starting.'
key_words = ['PONIES', 'ACCEPT', 'SEARED', 'CAVIAR']
#wordfile = "/usr/share/dict/words"