The ATMega328P renders the Mandelbrot Fractal

The ATMega328P renders the Mandelbrot Fractal

Posted Apr 26, 2019, 2:22 PM UTC

2512
asking_scienceOP•

It took a whopping 22 minutes to do so (@16MHz)...

Yeah, I know I misspelled "Mandelbrot" in the image

6
Zoudenprofessional tinkerer•

Cool, I wonder how long the same code would take on an ESP8266 or ESP32.

1
asking_scienceOP•

ESP8266

@160MHz, just over 2 minutes

ESP32

@240MHz, just over 1 and a half minutes

neither appear to have FPUs

2
Zoudenprofessional tinkerer•

Awesome thanks for benchmarking it!

1
asking_scienceOP•

I didn't actually run it, those are estimates based on clock freq. Since all these MCUs will perform the same calculations internally, I would expect a linear relationship. If any one of them had a dedicated FPU, that would have made a big difference.

1
DailyCakeSlice•

That's amazing! Do you have the code or a quick explanation on how you did this?

1
asking_scienceOP•
2
speakerwild1•

Memetic kill agent

1
hanna-chan•

There's a typo on the screen. Says Madnelbrot set.

Really neat though.

-1