A jQuery plugin that jumbles up the colours of your text - and can animate them!
JavaScript
Latest commit fc03a5d Jul 5, 2013 @vonKristoff added min.js file
Permalink
Failed to load latest commit information.
README.md updated readme Jul 2, 2013
jumble.jquery.json another manifest update Jun 25, 2013
jumble.js smoothed up the lightness variation Jun 11, 2013
jumble.min.js added min.js file Jul 5, 2013

README.md

JUMBLE

A jQuery plugin that jumbles up the colours of your text headers, and can also animate them. Choose a colour range for the colours to be jumbled amongst, and set params for whether the shuffle is based on brightness or satuation hue.

Plugin Site

BASIC USAGE:

$('h1').jumble(
    colour_1,
    colour_2,
    brightness,
    satuation,
    time
);

config options:

  • colour 1: rgb array-> [255,255,55]
  • colour 2: rgb array-> [255,0,155] optional: (if singular colour then declare false)
  • brightness : boolean-> false
  • satuation boolean-> true
  • time mileseconds-> 1000 optional: declare only if you want it to animate

usage example

$('h1').jumble([180,160,90],[230,20,130],true,false,200);