Draw pixels to canvas

Is the source from this demo anywhere? It might help.