2 ms·
If you want to generate fractals in-browser? Y... actually, no, at least not for modern browsers. WebGL is, and the author actually uses this for his "final" i
by bartread 10y ago
If you want to generate fractals in-browser? Y... actually, no, at least not for modern browsers.
WebGL is, and the author actually uses this for his "final" implementation (linked from article).
I sort of get the JS hate (sort of) but if you want to do things in the browser then you're either using JS, or something that compiles to JS, or WebGL (1).
(1) If you're really lucky and only care about targeting supporting browsers you might also consider WebAssembly, and then you can use C or Rust, but for many scenarios that's still not an option. (And I doubt it would be faster than a shader-based WebGL implementation that runs on the GPU, for this scenario.)