Project it Yourself! (?)

Fill in the blanks with the body of Javascript tions implementing a projection. Both functions take x & y for longitude and latitude and should return a number. broken? happy? angry? tell it to the github issue tracker.

presets: azimuthal from the south pole, Tom's fun swoopy, Gall Peters, Spherical Mercator, Cassini, Lambert cylindrical, Sinusoidal

render

Copy & paste these contents into a new Gist, and grab the new gist's ID from the end of its url. That ID, tacked onto this url, like http://macwright.org/#1819127, will autoload your projection.