Skip to content

vonKristoff/jumble

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

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

About

A jQuery plugin that jumbles up the colours of your text - and can animate them!

Resources

Stars

Watchers

Forks

Packages

No packages published