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.
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.