Skip to content

Instantly share code, notes, and snippets.

View nltesown's full-sized avatar

NLTESOWN nltesown

  • Paris, France
View GitHub Profile
@nltesown
nltesown / d3.geo.zoom.js
Last active February 4, 2016 16:34 — forked from daf/index.html
d3 canvas graticule renderer
// Copyright (c) 2013, Jason Davies, http://www.jasondavies.com
// See LICENSE.txt for details.
(function() {
var radians = Math.PI / 180,
degrees = 180 / Math.PI;
// TODO make incremental rotate optional
d3.geo.zoom = function() {