Skip to content

Comment on WebKit Clock

Comments

I did something similar a while back. I used canvas and coastline coordinates (http://www.ngdc.noaa.gov/mgg_coastline/index.jsp?llat=-90.0&...) to draw the globe. However I could never quite figure out how to draw the world perfectly. I used canvas.fill and I would always end up with some parts of the world showing, that actually should have been hidden. I can post the source code if you like - all it needs to be done is probably a viewport.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.