This plugin uses the gyroscope in iOS devices such as the iPhone 4 and iPad 2 to control the view in krpanoJS.
Note - krpano version 1.0.8.14 or higher is necessary to use this plugin!
The gyro sources and examples are available as part of the fovplugins package
<plugin name="gyro" devices="html5" url="gyro.js" keep="true" enabled="true" camroll="true" friction="0.5" velastic="0.2" />
Gyro Example (iPhone 4 and iPad 2 only) |
---|
The plugin can be used free of charge, in commercial or non-commercial applications. The source code is available under a Creative Commons Attribution license.
In a nutshell, this means you are free to use the software and its source code in your projects. If you use the source code in a another software project, you are required to add attribution to the author(s). You are encouraged to share the your source code under a similar fashion, but it is not a requirement.