Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

simple jQuery plugin for dragging 360° panoramas (cylindrical projection) and other seamlessly looping images around

branch: master

demo link

latest commit fa9d055b61
Jos Hirth authored
Octocat-spinner-32 jquery.cyclotron.js first commit
Octocat-spinner-32 readme.md demo link
readme.md

jquery.cyclotron.js (Demo)

1. You need some element with a background image. E.g.:

<div class="cycle" style="background:url(panorama.jpg);height:512px"></div>

2. Cyclotronify:

$(document).ready(function ($) {
    $('.cycle').cyclotron();
});

3. Options:

dampingFactor - should be somewhere around 0.9, should be > 0 and < 1 (default: 0.93)

historySize - size of the array which stores the deltas (default: 5)

Something went wrong with that request. Please try again.