Example of general purpose computations on the GPU from JavaScript using WebGL.
Potential speedup compared to JavaScript-only implementation is over 100x.
Allow some time for loading (about 20 seconds).
Output is displayed in the JavaScript console.
See the running example here: http://holgerl.github.io/webgl-gpgpu/code/