phrenico
SMALL WORLDS. REAL CODE.

Learn to code by
changing little worlds.

Free playgrounds where every line you write moves something, and little toys for maths, sound and your senses. A snake heading home, a game coming to life, circles drawing your doodles. All in your browser. No sign-up, no installs.

Python69 levels

Code that 🐍!

Help Noodle the snake get home through tiny garden puzzles. From your first print() to classes, files and numpy.

python.phrenico.dk
C++34 levels

Noodle++

The same garden, in C++. Real code, really compiled by clang right in your browser: types, loops, functions, pointers, vectors and classes.

c.phrenico.dk
pygame29 levels

Pixel Garden

Draw shapes, animate them, react to the keyboard, and build little games with Python's favourite game library.

pygame.phrenico.dk
Chesslessons

Gambit Academy

Guided lessons and tactical puzzles in a calm, focused space. Train your eye one move at a time.

chess.phrenico.dk
Maths toynew

Circles

Draw any shape, and watch spinning circles draw it back. The Fourier series, made playful.

phrenico.dk/fourier
Soundnew

Sound Waves

Draw a wave and hear it. Mix sine waves into new sounds, and match mystery sounds by ear.

phrenico.dk/waves
Space & scalenew

The Scale of Everything

Zoom from a proton to the whole observable universe, with ants, whales, the Round Tower and galaxies in between.

phrenico.dk/scale
Perceptionnew

Illusion Lab

Eight classic optical illusions you can poke, tweak and see through. Your eyes are lying to you.

phrenico.dk/illusions
HOW THEY WORK

A little code. A visible difference.

  1. 01

    Read the world

    Every puzzle is a small scene and a few lines of real code. Some lines are locked, the rest are yours.

  2. 02

    Change something

    A number, a condition, a whole function. Your code is the real language, not a toy version of it.

  3. 03

    Run it, watch it

    Press Run and the world follows your code line by line. Mistakes get kind, clear explanations.