Mandelbrot Set generator

Post Reply
mnfisher
Valued Contributor
Posts: 436
http://meble-kuchenne.info.pl
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 55 times
Been thanked: 250 times

Mandelbrot Set generator

Post by mnfisher »

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...)
mandel1.fcfx
(90.25 KiB) Downloaded 32 times
Martin

BenR
Matrix Staff
Posts: 1106
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 281 times
Been thanked: 377 times

Re: Mandelbrot Set generator

Post by BenR »

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.
SS1.jpg
SS1.jpg (25.32 KiB) Viewed 410 times
mandel1_sim.fcfx
(94.58 KiB) Downloaded 29 times

mnfisher
Valued Contributor
Posts: 436
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 55 times
Been thanked: 250 times

Re: Mandelbrot Set generator

Post by mnfisher »

Cool - how does performance compare to an ESP32??

Should also be possible to work with a higher resolution?

Martin

Post Reply