konforti / ThreeSixty

360 panoramic image presentation

Home Page:http://konforti.github.io/ThreeSixty/examples/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ThreeSixty

360 panoramic image presentation based on three.js.

Examples

Using the code

Include ThreeSixty.js and three.js lib.

<script src="//cdnjs.cloudflare.com/ajax/libs/three.js/r68/three.min.js"></script>
<script src="ThreeSixty.js"></script>

Add this basic code:

var vars = {
	image: 'https://dl.dropboxusercontent.com/u/153646388/360/bergsjostolen.jpg',
	canvas: null,
	mobile: false,
	containerID: 'container',
	controls: {
			pause: true,
			littlePlanet: true,
			fullWidth: false
	}
}
threeSixty( vars );

Forks, pull requests and code critiques are welcome!

About

360 panoramic image presentation

http://konforti.github.io/ThreeSixty/examples/

License:MIT License


Languages

Language:JavaScript 94.2%Language:CSS 5.8%