Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/maripo/img_rotation
Take photos from all directions (arduino + servo + remote release) and rotate them in web browsers (JavaScript)
https://github.com/maripo/img_rotation
Last synced: 1 day ago
JSON representation
Take photos from all directions (arduino + servo + remote release) and rotate them in web browsers (JavaScript)
- Host: GitHub
- URL: https://github.com/maripo/img_rotation
- Owner: maripo
- Created: 2012-04-30T11:30:17.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-05-06T02:54:03.000Z (over 12 years ago)
- Last Synced: 2024-11-10T13:13:37.655Z (about 2 months ago)
- Language: JavaScript
- Size: 1.53 MB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#Viewer
Users can rotate 360 degree images on web browsers. It currently supports Google Chrome ,Firefox and Safari.
![Sample](https://github.com/maripo/img_rotation/raw/master/viewer/img/ab_animation.gif)
##Usage
You can embed viewer objects to HTML files easily.
* Prepare images with sequential numbers
* Import [rotate.js](https://github.com/maripo/img_rotation/blob/master/viewer/rotate.js) to a HTML document
* Add DIV elements in which images are shown
* Initialize ImageRotate objects>new ImageRotation(
> document.getElementById('image_container'),
> 'img/my_image[01-20].jpg'
> ).init();[Demo Site](http://maripo.org/img_rotation/viewer/)
#Camera Control
![Implementation example](https://github.com/maripo/img_rotation/raw/master/doc/photo_booth.jpg)
(TODO: Add Google SketchUp schematics)