Skip to main content
100%

Raster Reprojection of panorama images — inverse colors version

✓ Published0🌍 Public
PPhilippe Rivière
Last edited Jun 25, 2016
Created on Jun 25, 2016

This interactive canvas visualization uses Jason Davies’ d3.geo.zoom and D3 v3 to reproject a 360° panorama image onto an equirectangular projection. The code loads the panorama, draws it to an offscreen canvas, and then inversely maps each pixel of the target canvas back through the projection, inverting the RGB channels to create a negative-color version. Users can pan and zoom the reprojected image using the d3.geo.zoom behavior and projection scale extent.

AI-generated description

Use Jason Davies’ d3.geo.zoom to reproject 360° panorama images.

Forked from <a href='http://bl.ocks.org/mbostock/'>mbostock</a>'s block: <a href='http://bl.ocks.org/mbostock/4329423'>Raster Reprojection</a>.

forked from <a href='http://bl.ocks.org/Fil/'>Fil</a>'s block: <a href='http://bl.ocks.org/Fil/c6efde7d8271a8728cd23c0d268ea787'>Raster Reprojection of panorama images (360°)</a>

gpl-3.0 Licensed

Similar vizzes