News for hackers. Stuff that matters.
Re:JQuery noise generator by zbanks on Sunday March 06, 2011 @11:44PM (#2296056)
I set up a jsperf to do some benchmarking:

http://jsperf.com/noisy

If you can help out by running the tests, it'll be great to compare browsers.

This isn't exactly the perfect tool for the job, but it's close enough.

Re:JQuery noise generator by flat20 on Monday March 07, 2011 @04:42AM (#2296610)
I moved this line out of the for loop which made it slightly faster:

var numPixels = options.intensity * Math.pow(options.size, 2);

http://jsperf.com/noisy/2