Demonstrates how to generate a texture in JavaScript and send it to the GPU.
full page version
(formatted source, plaintext source)