STIMED.js
Source Code

Comments:

Random colors for targeting CSS property. Colors can be randomized using brightness of the color value.

Here we setup random colors to two different HTML element.

Initialize Plugin:

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

Preset Source:

stimed.style.preset({
  preset: 'random colors',
  target: '.time',
  delay: 5000
});

stimed.style.preset({
  preset: 'random colors',
  target: 'main',
  property: 'background-color',
  delay: 86400/12,
  brightness: 100
});
Close

Made with and

Author STIMED.js