
---------------------------------------------------------------
  Pico sizecoding contest entry:
  Mandelboot released under GPLv3 by Matthias Koch
---------------------------------------------------------------

Hardware requirements:

  - Raspberry Pico
  - USB-serial-cable

Pico:               Cable:

GND             --  GND
GP0 (UART RX)  <--  TXD
GP1 (UART TX)   --> RXD

Communication is done with 115200 baud 8N1,
using LF for line ending.

picocom -b 115200 /dev/ttyUSB0 --imap lfcrlf

---------------------------------------------------------------

Description of the entry:

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.

---------------------------------------------------------------

How to contact me:

Matthias Koch
m-atthias@users.sf.net

IRC: "mecrisp" on Freenode

---------------------------------------------------------------

Note:

No contact data is necessary for Picocomp,
but you may include your handle(s) here if you like.

If your entry wins or gets a honorable mention,
it will be published as-is, including this.

---------------------------------------------------------------
