Type a function, ride it, build momentum, jump the gaps.
How it works. Your curve is the road: the kart rolls along it, accelerating downhill
(
Launch or
Enter to go,
Space to launch/reset). The level is a grid of
fixed-size cells.
Path cells (open) are where the function should be traced β the curve is
rideable there.
Gap cells (amber-striped) are places off the optimal path: the curve is cut
inside them, but the kart can fly through β jump them with momentum.
Filler blocks wall off
all remaining space; they cut the curve and crash the kart on contact, constraining the solution
to one or a few function shapes.
- Zoom: the plot window is
0 β€ x β€ x max, 0 β€ y β€ y max (y = 0 at the bottom).
Changing the limits rescales the curve only β the cell grid and the kart keep their pixel size,
so shrinking y max makes the same formula steeper (and faster).
- Syntax:
+ - * / ^, implicit products like 2x or 3sin(x),
functions sin cos tan sqrt abs exp ln log10 floor min max β¦, constants pi e tau.
Example: 3 + 2.5sin(1.05(x - 5)).
- Runner levels: on level 1 the rider is a person you control β run with
β/β (or A/D), jump with Space,
β, or a click. Nothing moves until you do. Step functions like
floor(x) + 1 draw the discrete platforms to climb.
- Physics: launching off a rising lip throws you upward; flying off a crest happens on its own
when you're fast enough. Too slow for too long and the kart stalls.