Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Gaussian blur plugin for jQuery
JavaScript
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README
index.html
jquery.gaussian.js
jquery.gaussian.js.sdoc
jquery.gaussian.js.sdocp
sdoc.html

README

jQuery Gaussian blur plugin

Blurs elements in a particular direction. To blur horizontally, for example, you can do this:

  $('selector').gaussian ({dx: 10, n: 10});

To achieve circular blurring you need to blur once horizontally and then blur vertically:

  $('selector').gaussian ({dx: 5, n: 5}).gaussian ({dy: 5, n: 5});

You can remove blurring from an element and restore the original by invoking gaussian(null):

  $('selector').gaussian (null);
Something went wrong with that request. Please try again.