64k intros, explained

How Big Is 64 KB?

A 64k intro is a computer program that plays something like a music video: moving 3D worlds, colors, and a song. What sets it apart is its size. The whole program, pictures and music included, fits in 65,536 bytes.

That is the same amount of computer memory as this little square of dots.

256 dots across, 256 dots down. Each dot is one byte, a shade from 0 (black) to 255 (white). Total: 65,536 bytes.

Step 1

One Byte Is About One Letter

Type something. Each ordinary letter, space, or period uses one byte. Emoji are bigger: most use 4 bytes.

0 bytesof 65,536

Step 2

Things You Know, Counted in 64k Intros

Each yellow square is one 64k intro's worth of bytes. Rows tagged Example hold sample sizes: change the numbers to real ones from your own device. Rows tagged Exact are arithmetic.

Step 3

The Trick: Send the Recipe, Not the Photo

A photo stores every dot. A 64k intro stores instructions, and the computer follows them to draw each picture while you watch. Minecraft does this with a seed, a short number that always builds the same world in a given version of the game. Change the seed below and look for the best world.

Saved as a photo, every dot
Saved as a recipea seed number plus the drawing code

Step 4

A Recipe You Can Read

This is the whole recipe for the moving picture. It is real code, and the byte count is measured from it while this page runs.


    

of recipe. Saving one second of this as dots, 60 pictures a second, would take .

Step 5

Watch One

People who make 64k intros show them at festivals called demoparties, where the audience votes for the best one. A small team writes the instruments, the 3D worlds, the camera moves, and the story, then squeezes all of it to fit.

Hollow Lattice is a small intro made in one file. It plays for about a minute and a half, with six 3D scenes and its own music, from 27,625 bytes. Press Play with sound.

Storing it as a video would need far more: two minutes of HD pictures, saved dot by dot, is in the list in Step 2.