but I could not resist...
During my time as a student at university, it became cool to render the famous "Mandelbrot set" - which took hours on those old personal computers a student could afford.
Now, that we have Bangle.js, let's see how it performs. Here is the gist which you may directly run in the emulator, as usual.
The default settings produce a reasonably impressive result within a few seconds.
You may play around with the code yourself by adjusting the "ColorMap" - its size also determines the max. number of iterations and directly influences the time it takes to produce some output.
© Espruino, powered by microcosm.
Report a problem