No description, website, or topics provided.
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README
demo.html
jquery.noiser.js
jquery.noiser.min.js

README

A 0.5kb jQuery plugin for generating noisy background for HTML elements using Canvas, with a few options.


EXAMPLE:

	$('body').noiser({
		opacity:  0.5, // opacity from 0-1, defaulted to 0.1
		contrast: 20,  // noise strength from 0-255, defaulted to 120
		red:      111, // add red from 0-255, defaulted to 0
		green:    126, // add green from 0-255, defaulted to 0
		blue:     144, // add blue from 0-255, defaulted to 0
		size:     100  // dimensions of the generated background image, defaulted to 60
	});


LICENCE

	MIT (http://www.opensource.org/licenses/mit-license.php)