5 ms·
WebGL isn't only fast -- running his tests on my browser it's x1000 times faster than JS or WebAssembly.
by z92 9y ago
WebGL isn't only fast -- running his tests on my browser it's x1000 times faster than JS or WebAssembly.
- SAI_Peregrinus 9y agoIt's also visibly worse quality than JS or WASM. It's not computing with the same resolution.
- strmpnk 9y agoIt looks identical on my devices and multiple browsers. Perhaps there is a problem with the webgl code on certain browsers or hardware?
- SAI_Peregrinus 9y agoOdd. I notice the difference clearly in both Chrome and Firefox. Intel Core i7 4790k, Nvidia GTX 1050Ti, Windows. jsheard mentioned that the WebGL code is using single-precision floating point and some rough optimizations, while the JS and WASM are using double-precision floats and no such optimization. I wonder why you wouldn't see a difference if that's the case, since the result should be worse.
- BatFastard 9y agoIt is 1000 times faster, each point would compute its own value, and you have around 1000 GPU processors.