Mathematically backwards
Seven colors.
Seven paths.
One ending.
It looks like pure chaos. It isn't: the code starts at the ending and calculates backwards, so all seven colors always finish together.
🎬 Make your own video
Choose in 3 steps, then pick a color at the video to start.
1World
A new world means a new video: the code searches again.
2Colors
🎨 Make your own rainbow
New colors show at once, in the same video.
3Characters & animals
Characters
Animals
The animals the colors bounce off at the start. They show at once, in the same video.
Ready? Now pick a color at the video!
Did you enjoy it? Support me by subscribing on YouTube and TikTok, or by sharing a video.
How it works: backwards from the ending
-
1
The ending comes first
The code starts with the finish: the arc. Every color gets its own band in the arc, and a moment to reach it.
-
2
Calculate backwards
From that ending, the math runs time backwards: through every bounce off the bars, the walls and the floor, back to where each color has to start.
-
3
Search
Not every world works. The code tries layout after layout and throws away every one where a path doesn't fit, until all seven fit at once.
-
4
Play it forwards
Then the video plays forwards. It looks like chaos, but every bounce was calculated: each color follows its own path… and they always end together.
What did others pick?
Loading…