1 bit dithering, created for Flickr April Fools
JavaScript
Latest commit 950a87b Apr 1, 2012 @saw saw clean up readme
Permalink
Failed to load latest commit information.
README.md
demo.html
dither.js
downtown.jpg

README.md

Y.dither

This is a YUI/canvas implementation of the Atkinson Dither. It also contains an impementation of Floyd-Steinberg dithering, for those that prefer that look. Only supports 1bit.

Usage:

YUI().use('dither', function(Y){
    Y.dither('#main-photo-container img', function(img){
        Y.one('#main-photo-container img').set('src', img);
    });     
})

As used on Flickr for April fools. YUI Module. Released without license, as is, with no guarantee, support or anything else.