Hacker News new | ask | show | jobs
by dangerbird2 2905 days ago
For geometry heavy stuff, web workers (possibly in addition to wasm) be super helpful in preventing the browser from blocking while number crunching.
1 comments

wouldn’t shader libraries be better?
Ideally yes, but the lack of geometry/tessellation/compute shaders in WebGL limits what you can do on the GPU.

Geometry processing that's more complex than moving vertices around has to be done on the CPU for now.

>Geometry processing that's more complex than moving vertices

Have you heard about our lord and savior abstract vector spaces?

everything is just moving vertices around in linear transformations.

you should check out http://gpu.rocks/ pretty awesome GPGPU js library.