Mandelbrot Set generator
Posted: Sun Apr 10, 2022 6:18 pm
A little weekend project - the world's smallest (probably) Mandelbrot set plotter..
I used an ESP32 with a ST7735 display (any display should work - the only requirement is for a plot x,y function). As an interesting benchmark it might be fun to try some different MCUs?
Here it plots a Mandelbrot set in random colours - clears the WDT and repeats (the scope for zooming is limited with 32bit floats - but with a touch screen would be a nice addition?)
I used my own display code - if you use another display then you just need Iter and Mandelbrot (and MAX_ITERATIONS and colours) (+FeedTheDog to clear the watchdog timer...)
Martin
I used an ESP32 with a ST7735 display (any display should work - the only requirement is for a plot x,y function). As an interesting benchmark it might be fun to try some different MCUs?
Here it plots a Mandelbrot set in random colours - clears the WDT and repeats (the scope for zooming is limited with 32bit floats - but with a touch screen would be a nice addition?)
I used my own display code - if you use another display then you just need Iter and Mandelbrot (and MAX_ITERATIONS and colours) (+FeedTheDog to clear the watchdog timer...)
Martin