blackandwhite.js is to put your canvas images onto a complete balck/white scale. If the color is closer to white, it will be rendered as white. Otherwise, it will be closer to black.