Hacker News new | past | comments | ask | show | jobs | submit login

For geometry heavy stuff, web workers (possibly in addition to wasm) be super helpful in preventing the browser from blocking while number crunching.



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.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: