So Mr.doob made a really nice html5 drawing web page that lets you use nearest neighbor and other things to make some fancy effects.
I modified it to add some rainbow effects, you can download it here. (unzip, then open the index.html in firefox)
Some examples while i was making it.