STIMED.js
Source Code

Comments:

Rotates 360 degrees in one day by default. This is only a shortcut for CSS rotation even though it's quite easy to setup manually without preset.

Here we rotate two separated elements. Every HTML element that have target class will be affected.

Initialize Plugin:

var stimed = new $.stimed({
  timeTarget: '.time',
  fps: 30,
  speedUp: 500
});

Preset Source:

stimed.style.preset({
  preset: 'rotate',
  target: '.time'
});

// Counterclockwise
stimed.style.preset({
  preset: 'rotate',
  target: '.icon',
  from: 360,
  to: 0
});
Close

Made with and

Author STIMED.js