Skip to content

Which AWTRIX do you have? Choose it once and the Hub shows what runs on it.

ScriptAWTRIX NG

Mandelbrot

On an AWTRIX display
Mandelbrot shown on an AWTRIX display
Mandelbrot · by toinux

On your display

An endless, smooth zoom into the Mandelbrot set that dives into seven hand-picked spots, with colours flowing through the fractal and eight palettes to choose from.

Which AWTRIX do you have? See below where it runs, or choose your device.
Topic
Animations
Includes
Script

Runs on

  • Runs on 32×8 (TC001 & DIY)
  • Runs on 52×16 (TC002)
  • Does not run on 32×8 with AWTRIX 3 (TC001 & DIY) Made for AWTRIX NG.

Choose your display in the next step.

Send to AWTRIX

Choose your AWTRIX

MandelbrotAWTRIX NG script

Install this script on your AWTRIX NG. Its icons and sounds are installed with it.

Your AWTRIX’s local address, for example 192.168.178.39 or awtrix.local.

The name shown in your AWTRIX script list. Use letters, digits, hyphens or underscores.

Connection & device login

Connect your phone or computer to the same network as your AWTRIX. Allow local network access if your browser asks.

Use the device’s IP address, without a page path such as /#/apps.

If your AWTRIX requires a login, the username and password fields will appear when you connect.

Sign in to the Hub to install scripts. Attached files are installed separately.

Script description

Mandelbrot

A fractal zoom on your clock: you keep falling in, and it never ends.

Panels: any size (32×8, 52×16 and beyond) · Needs: nothing: no account, no network

What it is

Your clock computes the Mandelbrot set live, pixel by pixel, and zooms in steadily toward a point on its edge. Between two finished images it magnifies the last one, so the motion stays smooth even when the next image takes a while. When the zoom reaches the limit of the clock's number precision (about ×12 000 on float32 builds), the picture fades out and the dive starts again at another of seven hand-picked spots along the edge of the set.

What to watch for

  • Spirals and seahorse tails unrolling as the zoom gets closer.
  • Tiny copies of the whole set appearing deep inside the boundary.
  • Colours flowing outward through the bands while the zoom goes on.
  • The zoom speeding up through the black interior, so it never sits on a dark screen.

Panel sizes

The image is computed at the panel's own resolution: wider and taller panels show more detail, not stretched pixels.

Settings

Setting Default What it does
Zoom speed 5 (1–9) How fast the zoom goes; each step is about ×1.2
Palette classic classic, spectrum, ember, abyss, aurora, neon, gilded, moon

Source

https://github.com/toinux/awtrixng

More scripts in Animations

Something wrong with this script? Report it.