A proof of concept, comparing speed of pure javascript calculations and calculations executed as glsl code. Featuring a mechanism of passing data to shaders by packing it into a set of RGBA pixels as a texture.
Observed up to 1000x performance increase with certain types of calculations.