Created
July 17, 2014 18:37
-
-
Save tmcw/860b5486e19704bcfbff to your computer and use it in GitHub Desktop.
Gist from mistakes.io
This file contains 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
require('https://rawgit.com/springmeyer/arc.js/gh-pages/arc.js'); | |
var start = { x: -122, y: 48 }; | |
var end = { x: -77, y: 39 }; | |
generator = new arc.GreatCircle(start, end, {'name': 'Seattle to DC'}); | |
line = generator.Arc(100,{offset:10}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment