Mecrisp information 37 glöps
- general:
- level: user
- personal:
- first name: Matthias
- last name: Koch
- 256b Raspberry Pi Mandelboot
- Mandelboot is 256 bytes in size and runs on Raspberry Pico
with RP2040 silicon, which is an ARM Cortex M0+.
After setting up XOSC, GPIO and UART,
Mandelboot prints the Mandelbrot fractal in ASCII art on
terminal, waits for a key press, and prints Tricorn fractal.
Then it waits for another key press and starts over.
While waiting for a key press, it blinks the LED
in a smooth, fading way.
This is done by approximating a cosine function with the
minsky circle algorithm. The cosine is fed through an
approximated exponential function known as "bitexp" to
map brightness values onto the logarithm intensity
response curve of the human eye, and is finally
displayed by employing a sigma-delta modulator. - isokadded on the 2022-01-28 04:04:53
account created on the 2022-01-28 03:53:37