News for hackers. Stuff that matters.
Re:Binary in JavaScript by tantalor on Tuesday July 28, 2015 @10:23PM (#9965884)
What's more, when your data is in a TypedArray, you can upload the whole thing to a texture with a single call to WebGLRenderingContext#texImage2D.
Re:Binary in JavaScript by mxfh on Wednesday July 29, 2015 @10:13AM (#9968721)
Canvas supports a similiar method: getImageData returns a Uint8ClampedArray, putImageData stores it back into the context.

https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API/...