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
Mandelbrot Set generator
-
- Valued Contributor
- Posts: 998
- http://meble-kuchenne.info.pl
- Joined: Wed Dec 09, 2020 9:37 pm
- Has thanked: 106 times
- Been thanked: 517 times
-
- Matrix Staff
- Posts: 1760
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 447 times
- Been thanked: 607 times
Re: Mandelbrot Set generator
Excellent work there many thanks for sharing.
With a little fiddling and adding the GLCD base component I've got it running nicely in the sim.
With a little fiddling and adding the GLCD base component I've got it running nicely in the sim.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel