Skip to content

Instantly share code, notes, and snippets.

View AlexanderDavidson's full-sized avatar

Alexander Davidson AlexanderDavidson

View GitHub Profile
license: mit
license: mit
@AlexanderDavidson
AlexanderDavidson / .block
Created April 21, 2017 20:20
Mapping with canvas aframe test 2
license: mit
@AlexanderDavidson
AlexanderDavidson / .block
Last active April 21, 2017 20:11
Mapping with canvas aframe test 2
license: mit
@AlexanderDavidson
AlexanderDavidson / .block
Last active May 10, 2017 06:51
Mapping with canvas aframe test
license: mit
@AlexanderDavidson
AlexanderDavidson / .block
Last active April 20, 2017 22:20
Mapping with canvas v3 -> v4
license: mit
var width = 960,
height = 500;
var projection = d3.geoMercator()
.center([0, 5 ])
.scale(150)
.rotate([-180,0]);
var svg = d3.select("body").append("svg")
.attr("width", width)