Generate (Image) Noise with Canvas


/ Published in: JavaScript
Save to your folder(s)

This allows you to add image noise to the body of your website. simply call generateNoise(), pass an optional opacity parameter, and then apply a background color to the body element in your stylesheet.

It's not ideal, and maybe isn't practical -- but it works. :)

Adapted from: http://mitchj.info/blog/2010/09/generate-background-noise-with-jquery/

URL: http://nettuts.s3.amazonaws.com/854_noiseWithCanvas/noise.html

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.