Lab 01 · variables

The Cell

This creature was not drawn by an artist. She is computed — from nine numbers. Each number has a name, and the name with its value is called a gene here, and a variable everywhere else. Same trick, different planet. Drag the controls and watch text turn into a body. That's the whole sport.

computed live from the genes →

her DNA · 135 letters · you just changed the lit ones

the source code behind her body — real JavaScript, updating live:

🧬

What just happened: you dragged a slider, a number changed, and a body changed. Programmers do this all day — change a value, watch what happens. Notice the DNA band above: a tiny edit changed only a few letters. Try size at 10, then at 100. Same creature, same code — only the values moved. You now understand what a variable is, even though nobody defined it for you.

When a creature feels boring, genes get interesting:

Lab 2 · The Operon — life's first if-statement →