block by harrystevens 676a9e3d5681365045197238cdc1ba8b

Raster Reprojection I

Full Screen

You can reproject equirectangular raster tiles onto a Canvas with an orthographic projection. You can also combine the Canvas with SVG raster tiles.

Toggle the checkbox to see what it looks like with and without a clipping mask.

You can achieve significant performance improvements with WebGL. See Raster Reprojection II for a demonstration.

The image is from Wikimedia Commons and described thus:

Heightmap of Earth’s surface (including water and ice) in equirectangular projection, normalized as 8-bit grayscale, where lighter values indicate higher elevation. Sea level is shown as #0c0c0c.

index.html