An equirectangular projected map of the world (for use in other turtles?). Source image processed with a script to detect x-values for land/see edges per y-value (where y = 0 to 399 representation of longitude values (north-south), and x = 0 to 799 representation of latitude values (west-east)).
const world is an array of 400 arrays of pairs of x-values (defining land from-to per y-value). (x = 0, y = 0) = top left corner.
Source image: commons.wikimedia.or…map_with_nations.svg
Log in to post a comment.
Canvas.setpenopacity(.3);const turtle = new Turtle();