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.
The Mercator projection is available as d3.geo.mercator.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import copy | |
import itertools | |
from collections import defaultdict | |
print 'Starting.' | |
key_words = ['PONIES', 'ACCEPT', 'SEARED', 'CAVIAR'] | |
#wordfile = "/usr/share/dict/words" |
OlderNewer