Sha256: 48c28d83b49eb41c264d3a311c5644e9320d7490409700393546c4a90bc794fa
Contents?: true
Size: 307 Bytes
Versions: 4
Compression:
Stored size: 307 Bytes
Contents
import "projection"; function miller(λ, φ) { return [ λ, 1.25 * Math.log(Math.tan(π / 4 + .4 * φ)) ]; } miller.invert = function(x, y) { return [ x, 2.5 * Math.atan(Math.exp(.8 * y)) - .625 * π ]; }; (d3.geo.miller = function() { return projection(miller); }).raw = miller;
Version data entries
4 entries across 4 versions & 1 rubygems