Curious if anyone knows of some good candidate blocks of code in the codebase to slap something like GitHub - gpujs/gpu.js: GPU Accelerated JavaScript into it. These kind of libraries either take in GLSL code or call toString()
on passed in / registered functions, compile them, and then run them in parallel on the GPU.
They offer a sweet API to do some high-performance computing in javascript.