A beginner's guide to

Demoscene Coding

Squeeze a whole music video into a few kilobytes and show it to a roomful of rivals. Demoscene coding is making real-time audiovisual demos and tiny intros, sometimes squeezed into a few kilobytes, to show off programming, graphics and music at competitions.

Guide updated 1 November 2026

Start here ↓
Start-up costFree–£40 (using your own computer)
Best settingComputer
FeelsCurious
PopularityNiche
CostFree/very low
DifficultyModerate
Time needed30 minutes
Physical effortVery low
Social levelOptional
💾

Start this hobby

Your first practical checklist

01

Buy or borrow

A computer and a code editor. Any laptop that runs a compiler or a modern browser will do; begin with JavaScript and WebGL, or C or C++ with a graphics library

02

First 30 minutes

Watch six well-regarded demos from different eras on a scene archive, noting the effects, transitions and how the visuals lock to the music.

03

First week goal

Give your effect a title, a start and an end to make a short demo, and share it with a scene community or friend for honest feedback.

04

Avoid this mistake

Making effects with no structure leaves a demo feeling like a random list, so sketch an intro, build-up, climax and ending first.

Is this for me?

A quick fit check

Good signs

  • You like technical challenges with a visual payoff, and will happily spend hours on a trick that lasts five seconds.
  • You enjoy optimisation puzzles, such as making something look good in fewer bytes or fewer milliseconds.
  • You are happy to share work publicly, take honest feedback and finish things to a party deadline.

Think twice if

  • It is a niche scene, so most friends won't know what you are talking about, and the community is spread across countries and online groups.
  • Size-limited categories need maths tricks, compression and low-level thinking that can take years to master.
  • A full demo mixes code, graphics and music, so working alone means covering all three or finding collaborators.

Make demoscene coding easier

Start with a single visual effect in a browser shader editor, or watch compos and chat to makers before committing. Many parties stream their compos online, so you can see what a finished entry looks like first.

First session

What to do in the first 30 minutes

0–5 min

Watch two short demos and one 4 KB intro, jotting down the effects you see, such as tunnels, fractals and camera moves, and how they sync to the music.

5–15 min

Start a new project in a browser editor or small program and draw a full-screen coloured pattern that changes with time.

15–25 min

Add a second layer, such as a rotating shape or a distorted pattern, and use sine waves to drive its motion.

25–30 min

Save a screen recording or write down the effect's name and the maths behind it so you can reuse it.

The appeal · Digital practice

Why try demoscene coding?

The demoscene is a computer art subculture where groups and individuals write demos: non-interactive audiovisual shows that run in real time on a computer and are judged on style, technique and music. It differs from shader programming, which is one technique used in demos, and from game development, because demos are about spectacle rather than play and often have strict size limits such as 4 KB or 64 KB. Beginners usually start with a single effect in WebGL or C, watch recorded releases, enter a small competition at a demo party, and then work towards group productions.

✦

A creative outlet with real limits

Restrictions on size and time make you inventive, and a tiny file can look far more impressive than its size suggests.

✦

A niche culture with a long history

Demo makers share techniques and release work for others to learn from, and the scene has been going for decades.

✦

Skills with wide use

Real-time graphics, optimisation, procedural generation and synth programming are useful in games, visual effects and creative coding.

Keep it simple

What you need to begin

  • A computer and a code editorAny laptop that runs a compiler or a modern browser will do; begin with JavaScript and WebGL, or C or C++ with a graphics library
  • A way to draw with codeA graphics API such as OpenGL or WebGL, or a creative-coding framework, plus shader effects, is how most demos get on screen
  • Music softwareA tracker or software synthesiser lets you compose a short track yourself, or you can team up with a musician from the scene
  • Demoscene archives to watchOnline databases such as Demozoo and Pouet list releases and compo results, and are the best way to see what is expected

The fundamentals

Four skills to build

01

Real-time graphics

Drawing every frame within a few milliseconds using shaders, buffers and timing is the basis of any demo.

02

Procedural generation

Making shapes, textures and music from maths instead of stored assets keeps files tiny and results varied.

03

Optimising for size and speed

Cutting code, reusing routines and trimming data lets you fit more into a size limit or keep a smooth frame rate.

04

Syncing audio and visuals

Tying camera moves, colour and effects to a soundtrack's beat and structure is what separates a demo from a tech test.

Software deep dive

Demoscene Coding: zero to professional

Programming is the practice of turning a messy human problem into small, testable instructions. In 2026, AI assistants can speed up syntax and boilerplate, but beginners still need fundamentals: reading errors, tracing data, using Git and finishing small projects.

Fresh context

What to know now

  • ↳Use AI as a reviewer and explainer, not as the only author. You still need to understand every file you ship.
  • ↳Old single-purpose starter tools age quickly. Prefer official docs, small vanilla projects, or maintained framework starters.
  • ↳Employers and serious collaborators care about proof: deployed projects, readable commits, tests, issue notes and clear explanations of trade-offs.

Start with the right route

Common options and trade-offs

Web path

HTML, CSS and JavaScript give fast visual feedback and teach the browser platform beneath React, Vue, Svelte and every website builder.

Know the trade-offFrameworks help later, but they hide useful basics if you start too early.

Python path

Strong for automation, data, scraping your own data, command-line tools and backend services. The official tutorial is current and well maintained.

Know the trade-offPackaging desktop apps or mobile apps takes extra learning.

JavaScript/TypeScript app path

Good for full-stack apps because one language can cover browser, server, testing and tooling.

Know the trade-offThe ecosystem changes quickly; keep dependencies minimal until the product shape is clear.

A practical setup

Common tools and what each one does

ToolPurposeBeginner advice
VS Code, Zed or another editorWrite and navigate code

Pick one editor and learn search, multi-file replace, terminal, debugger and extensions slowly.

TerminalRun project commands

Learn folders, paths, environment variables, package scripts and how to read exit errors.

GitVersion control

Commit small working checkpoints with messages that explain why, not just what.

GitHub or GitLabRemote repo and collaboration

Use issues, pull requests and CI even for solo projects once the basics work.

Node.js or PythonRun code and install packages

Choose the runtime your project needs; avoid installing every tool mentioned in tutorials.

Test runnerCheck behaviour automatically

Start with a few tests for important functions and previous bugs before chasing full coverage.

Do not skip levels

A five-stage learning roadmap

1
Foundation

Learn files, terminal navigation, variables, functions, conditionals, loops and reading stack traces.

Proof you are ready to move on: Build a calculator, text formatter or static page without copying a full tutorial.

2
Working beginner

Handle user input, arrays or objects, modules, DOM events or files, and basic Git branching.

Proof you are ready to move on: Build a searchable list, quiz, simple API client or useful automation script.

3
Intermediate

Use persistent storage, validation, async code, APIs, authentication basics and automated tests.

Proof you are ready to move on: Ship a tracker with create, edit, delete, empty states, errors and a deploy URL.

4
Advanced

Study architecture, databases, accessibility, security, performance budgets and operational monitoring.

Proof you are ready to move on: Run a small multi-user app with backups, logs, migrations and rollback notes.

5
Professional

Practise code review, issue breakdown, debugging production failures and documenting decisions.

Proof you are ready to move on: Maintain a project used by real people and show how feedback changed it.

How real work gets done

A professional workflow

Use the same sequence on small personal projects that you would use on serious work. The scale changes; the discipline does not.

  1. Write the user problem, constraints and one measurable success condition.
  2. Sketch data, screens and failure states before choosing libraries.
  3. Build the thinnest complete version that runs end to end.
  4. Commit after each working change and keep a readable project log.
  5. Test expected, empty, invalid, slow and failure states.
  6. Deploy, observe real behaviour and document the next decision.

Build evidence, not tutorial history

Three portfolio milestones

Beginner

Tiny personal utility

A script or page that solves one annoyance you actually have.

Intermediate

Local-first tracker

Structured data, filtering, validation, persistence, tests and responsive layout.

Advanced

Production service

Accounts, database migrations, permissions, observability, backups and a deployment pipeline.

The difference at professional level

Habits that make work trustworthy

  • ✓Name variables and functions for their purpose, not their implementation.
  • ✓Keep changes small enough to review and revert.
  • ✓Write tests around important behaviour and past bugs.
  • ✓Treat accessibility, security and error handling as requirements.
  • ✓Document setup, architecture decisions and operational steps.
  • ✓Measure before optimising and verify after deployment.

Words you will encounter

Essential vocabulary

Repository
A project and its version history, usually managed by Git.
API
A defined way for one piece of software to request data or behaviour from another.
Runtime
The program or environment that executes code, such as a browser, Node.js or Python.
Dependency
External code a project relies on; dependencies must be updated and reviewed.
Framework
A structured set of tools and conventions that controls part of an application's architecture.
Deployment
The repeatable process that releases a tested version for people to use.

Continue with primary sources

Official learning resources

Documentation is a working tool, not something to read once from beginning to end. Follow one structured introduction, then return with specific questions from a project.

Four small steps

Your first week

  1. Watch six well-regarded demos from different eras on a scene archive, noting the effects, transitions and how the visuals lock to the music.
  2. Write one effect, such as a plasma, tunnel or rotating cube, in a browser or small program that redraws every frame and animates by time.
  3. Add a soundtrack from a short tracker loop or recorded track, and make one visual change land exactly on a beat.
  4. Give your effect a title, a start and an end to make a short demo, and share it with a scene community or friend for honest feedback.

The longer path

How progress usually looks

For demoscene coding, a sustainable rhythm is a few evenings a week in the lead-up to a party, with lighter experiments and watching releases between them. Move forward when the current step feels repeatable, not merely possible once.

1

Effects and experiments

You write single effects such as plasmas, tunnels and fractals, and can explain how each is made.

2

A first finished piece

You release a short demo or tiny intro with sound, a start and an end, and upload it to a scene archive.

3

Party entries

You enter a compo at a demo party, in person or remotely where the party allows, and see your work shown to an audience.

4

Group productions

You join or form a group with a musician and a graphic artist, and release bigger productions, perhaps in a 4 KB or 64 KB category.

Progress markers

What improvement looks like

Beginner

You write single effects such as plasmas, tunnels and fractals, and can explain how each is made.

Intermediate

You enter a compo at a demo party, in person or remotely where the party allows, and see your work shown to an audience.

Confident

You join or form a group with a musician and a graphic artist, and release bigger productions, perhaps in a 4 KB or 64 KB category.

Spend deliberately

A realistic cost plan

The headline starting range is Free–£40 (using your own computer), but access, borrowing and second-hand equipment can change that substantially.

Try it£0A computer, a browser and free tools; the archives and tutorials are free.
Get going£0–£40Optional music software, or a book on graphics maths; most tools are free.
Later£100+Travel and tickets if you attend parties in person, and optional hardware upgrades such as a better graphics card.

Learn with other people

Community and safety

☺

Finding your people

The scene lives mostly online, through archives, forums and chat channels where groups form around shared interests. Parties are its heart: the biggest are held in Europe and many stream compos, so check each party's site for dates and rules.

+

Safety note

Physical risk is low, but strobing and fast flashing can trigger seizures in people with photosensitive epilepsy, so avoid or warn about flashing in your demos, and take breaks for your eyes, posture and hearing. Download demos only from trusted archives, because executable files can carry malware.

Three common beginner mistakes

  • Making effects with no structure leaves a demo feeling like a random list, so sketch an intro, build-up, climax and ending first.
  • Chasing size optimisation before the effect works wastes time, so get it running well and trim afterwards.
  • Ignoring the music lets weak sound ruin good visuals, so learn a tracker or find a musician early.

Good to know

One tip worth keeping

From the HobbyWiki notebook

A common mistake is trying to build a masterpiece with ten effects and no ending, so finish a 30-second piece first. Avoid rapid strobing, and read a party's compo rules on size limits and file formats before entering.

Find your angle

Useful searches from here

Before you begin

Common questions

What is the difference between a demo and a game?+

A demo is a non-interactive audiovisual show that runs in real time and is judged on looks, technique and music. A game is played, whereas a demo is watched.

What are 4k and 64k intros?+

They are size-limited categories where the whole program, graphics and music must fit in about 4 or 64 kilobytes, so everything is generated by code.

Which language should I use for demos?+

C and C++ are common for native demos, while JavaScript with WebGL is the easiest start and runs in a browser. Tight size-limited categories can need special tools or assembly.

Do I need to join a group?+

No, many people release alone. Groups pool coders, musicians and artists for bigger productions, and you can join one once you have finished something.

Can I enter a party compo from the UK?+

In person if you can travel, and some parties accept remote entries. Read the party's rules for categories, size limits, formats and deadlines first.