Tower of Hanoi
1,023 moves from 5 lines of recursion
Original simulations where every frame and every sound comes out of a program. Some of that code is open, so you can run it yourself.
Ten simulations from the channel. Hover to play, click for the details.
1,023 moves from 5 lines of recursion
14 paper folds, opened out
Started 0.000000001 rad apart
One line through 6,561 cells
160 nuts, one rises
13 petals, one Python file
28 orbits, 28 frequencies
1 square into 32,768
1 heavy ball against 3,000
Merging all the way to 32K
Nothing in this room yet.
The long film: every bounce, merge and shatter is computed, and the music is triggered by the physics.
The sketches behind some videos are public. Each one is a single Python file that needs only numpy and pillow, and runs on Windows, macOS and Linux. MIT licensed.
git clone https://github.com/null0xxx/rollody-sketches && cd rollody-sketchespip install -r requirements.txtpython sketches/lotus_bloom.py --petals 21import math
import numpy as np
PETALS = 13
SHELLS = 28
def build_lotus(petals=PETALS, shells=SHELLS):
theta = np.linspace(0.0, math.tau, 1800)
for s in range(shells):
twist = s * 0.046
rose = np.abs(np.sin(petals * 0.5 * theta + twist)) ** 0.78
r = (0.16 + 0.84 * rose)
# ... colour, depth, and a soft glow


We are making Rollody games for Android and iOS. When they are ready, they will live here. Until then, this box is yours: click or tap it to drop more balls.
New simulations land on every channel.
A question about a video or the code, an idea for a simulation, the games, press, or working together. Write and we will answer.
null3xxx@proton.me