Display 360x180 panoramas with HTML5
MIT License
This was mainly a personal experiment to display spherical panoramas with CSS 3D transforms. You can see it in action [here] (http://chrisbateman.github.io/spherical/).
The only thing you'll need to use it is a full 360x180 panorama, broken up into the six sides of a [cubic projection] (http://wiki.panotools.org/index.php?title=Cubic_Projection). Generating a cubic projection isn't too tricky with [Hugin] (http://hugin.sourceforge.net/).
Include the JS and CSS, make a <div> for it to live in, and instantiate it:
new Spherical({
container: '#pano',
front: 'images/front.jpg',
back: 'images/back.jpg',
left: 'images/left.jpg',
right: 'images/right.jpg',
top: 'images/top.jpg',
bottom: 'images/bottom.jpg'
});
This was a lot of fun to build, but if you need something a bit more robust, I'd take a look at [krpano] (http://krpano.com/), or even [three.js] (http://threejs.org/examples/#canvas_geometry_panorama), which can render out to CSS, canvas, or WebGL.