Directional
$('#image').reel({
speed: 1,
opening: 1,
frame: 3,
delay: 3,
directional: true
});
/*
`speed` 1 is one revolution per second (1 Hz).
It is animated after 1 second long `opening` spin
and a 3 second `delay`.
*/
#image { width: 130px; height: 60px; }
Clockwise
$('#image').reel({
speed: -0.3,
frames: 35,
cw: true
});
/*
Unlike the other formula car sample
this one's sprite is clockwise-organized.
*/
#image { width: 276px; height: 126px; }
Non-Animated
$('#image').reel({
frames: 35,
opening: 2,
entry: 1
});
/*
This one isn't fully animated,
but has a 2 seconds long `opening` with `entry` speed of 1 Hz.
*/
#image { width: 276px; height: 126px; }
Multi-Row
$('#image').reel({
speed: 0.3,
frames: 6,
footage: 3,
rows: 3,
row: 2
});
/*
Additionally custom class "bordered" (the dashed border)
is applied on the IMG and is being preserved.
*/
#image { width: 100px; height: 100px; }
Click-Free Stitched
$('#image').reel({
stitched: 1821,
frames: 60,
frame: 23,
speed: -0.05,
clickfree: true,
wheelable: false
});
/*
This one also demonstrates the `wheelable` option,
which makes it immune to mousewheel control
*/
#image { width: 297px; height: 167px; }