Why use it
It's light-weight, compatible with panoramas from different sources.
Just another way to view your 360° images.
built by Hao Zhang
Images are mapped to the surface of a cube.
requirejs(['app'], function() {
$(".panorama").panorama({
type: "cube",
tiles: HERE.Panorama.getImageUrls("1027084269", HERE.Panorama.RESOLUTION.HIGH)
});
});
Images are mapped to the surface of a shpere.
requirejs(['app'], function() {
$(".panorama").panorama({
type: "sphere",
tiles: GOOGLE.Panorama.getRawImageUrls("aGE0sa518wMxN2TvTKNklw", zoom),
rows: Math.pow(2, zoom - 1),
columns: Math.pow(2, zoom),
dimensionOffset: -96
});
});
Implement the three.js example.
requirejs(['app'], function() {
$(".panorama").panorama({
type: 'sphere',
tiles: ["images/panoramas/indoor.jpg"]
});
});