TL;DR

At the May 2026 Outline Demoparty, a 16-byte x86 assembly program demonstrated how minimal code can generate both fractal visuals and corresponding sound. The routine uses video memory and speaker port manipulation to produce a sonic representation of a Sierpinski fractal, showcasing extreme code density and creative technical achievement.

At the May 2026 Outline Demoparty in Ommen, Netherlands, a demonstration showcased how just 16 bytes of x86 assembly code can generate both visual fractals and sound by exploiting video memory and speaker port manipulation. This technical feat highlights the potential of extreme code density in creative computing, drawing attention within the demoscene community and beyond.

The routine, developed and presented at the demoparty, uses a compact set of instructions to initialize video mode 0, set the data segment to the VGA text buffer, and then perform a loop that updates video memory with a fractal pattern. Simultaneously, it writes to port 61h, controlling the PC speaker, toggling specific bits to produce audio signals that correspond to the fractal’s geometry.

The code leverages the properties of cellular automata, specifically Rule 60, to generate a Sierpinski triangle pattern in binary form. The pattern’s binary toggling directly influences the speaker’s output, creating a sound that varies with the fractal’s structure. The entire process is achieved within a mere 16 bytes of machine code, exemplifying the extreme constraints and ingenuity of the demoscene.

Why It Matters

This development demonstrates how minimal code can produce complex audiovisual effects, pushing the boundaries of algorithmic creativity and technical efficiency. It highlights the potential for tiny code routines to generate rich multimedia experiences, relevant for fields like procedural generation, demoscene art, and low-level programming. The approach also illustrates how hardware manipulation at the assembly level can produce synchronized visual and audio outputs, inspiring future explorations in compact multimedia synthesis.

BENFEI HDMI to VGA, Gold-Plated Adapter (Male to Female) for Computer, Desktop, Laptop, PC, Monitor, Projector, HDTV, Chromebook, Raspberry Pi, Roku, Xbox and More - Black

BENFEI HDMI to VGA, Gold-Plated Adapter (Male to Female) for Computer, Desktop, Laptop, PC, Monitor, Projector, HDTV, Chromebook, Raspberry Pi, Roku, Xbox and More – Black

COMPACT DESIGN – The compact-designed portable Benfei HDMI to VGA adapter connects a computer, desktop, laptop, or other…

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

Background

The demoscene has long been a space for pushing the limits of code density and creative technical expression. Previous achievements have included visual demos and sound synthesis within tight byte constraints. The 2026 demonstration builds on this tradition, applying mathematical concepts like cellular automata and fractals to real hardware, and utilizing the VGA text buffer and PC speaker for audiovisual output. The use of only 16 bytes of code underscores the ongoing interest in extreme code optimization and algorithmic art.

“This routine proves that even 16 bytes of code can generate both intricate visuals and sound, blending mathematics and hardware manipulation in a compact form.”

— Demoparty presenter

“Using cellular automata rules like Rule 60 in such a constrained environment shows how mathematical beauty can be harnessed for audiovisual effects.”

— Demoscene researcher

5 PCS PC Motherboard Speaker Mini Computer Case Speakers Pc Internal Mini Plug Buzzer Motherboard Buzzer Alarm

5 PCS PC Motherboard Speaker Mini Computer Case Speakers Pc Internal Mini Plug Buzzer Motherboard Buzzer Alarm

Instructions for Use: When you start the computer, you will hear a familiar "beep" sound, indicating that the…

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

What Remains Unclear

It is not yet confirmed whether this routine has been implemented on hardware other than the original demonstration setup, or if it can be adapted for modern systems. The precise timing and audio fidelity depend on CPU speed and hardware specifics, which remain unverified outside the demonstration environment.

Focusrite Scarlett Solo 3rd Gen USB Audio Interface for Guitarists, Vocalists, Podcasters or Producers to record and playback studio quality sound

Focusrite Scarlett Solo 3rd Gen USB Audio Interface for Guitarists, Vocalists, Podcasters or Producers to record and playback studio quality sound

Pro performance with great pre-amps – Achieve a brighter recording thanks to the high performing mic pre-amps of…

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

What’s Next

Further exploration is expected to adapt this 16-byte routine to different hardware platforms, possibly extending the concept to more complex patterns or higher-quality audio. Researchers and demoscene artists may attempt to replicate or expand upon this minimal code approach, and future demonstrations could showcase its integration into larger audiovisual projects.

The Art of ARM Assembly, Volume 1: 64-Bit ARM Machine Organization and Programming

The Art of ARM Assembly, Volume 1: 64-Bit ARM Machine Organization and Programming

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

Key Questions

How does such a small code generate sound and visuals?

The routine manipulates video memory to display a fractal pattern and toggles the PC speaker port based on the pattern’s binary data, producing synchronized visual and audio effects within just 16 bytes of code.

Can this technique be used on modern computers?

While the concept relies on low-level hardware manipulation specific to older systems, the underlying principles could inspire software emulations or adaptations for modern hardware, but direct replication may not be straightforward.

What is the significance of using Rule 60 in this context?

Rule 60 is a simple cellular automaton rule that generates the Sierpinski triangle pattern, which in this case is used to produce both visual and auditory outputs through binary toggling, exemplifying the mathematical elegance behind the effect.

You May Also Like

Japan can’t make robot wolves fast enough to counter the rise in bear attacks that have killed 13 humans this year — $4,000+ animatronic Monster Wolf features intense LEDs and makes loud noises

Japan’s demand for high-tech bear deterrents, like Ohta Seiki’s Monster Wolf, exceeds supply amid record bear attacks and sightings.

Why A0 Printing Changes More Than Just Output Size

Theatrical A0 printing demands more than size adjustments, as factors like color accuracy, material quality, and resolution impact the final result significantly.

Post‑Processing Resin Prints: Wash, Cure, Sand, Repeat

Discover how proper post-processing techniques can transform your resin prints into durable, professional-quality models, and learn why each step matters for perfect results.

Industrial Printers for Packaging Labels

Keeping your packaging labels vibrant and eco-friendly is crucial—discover how industrial printers can transform your brand’s presentation.