3 ms·
I did a similar dive using Javascript recently. I tried plain js, asm-js and finally webgl. Perhaps unsurprisingly, I got the best speeds out of webgl, with the
by __david__ 12y ago
I did a similar dive using Javascript recently. I tried plain js, asm-js and finally webgl. Perhaps unsurprisingly, I got the best speeds out of webgl, with the mandelbrot inner loop in a shader. You can see the results here [1]—it's pretty fast. Click and drag, double click or scroll wheel to zoom.
[1] http://caldwell.github.io/mandelbrot-html/ http://caldwell.github.io/mandelbrot-html/