mikolalysenko/save-pixels — pull request #3 by shama (2013-08-16 21:16:26+00:00)
Title: Ability to pass an existing canvas or context

This way if I have an existing canvas or context, I can just save the ndarray to it.

I'm working on a 2d game built on ndarrays. I would like to save the pixels from a ndarray per animation frame to a canvas. Let me know if this method isn't the best way.

Thanks!