← All interactive demos

Jumping After the Ledge — Interactive Demo

This runs the same calculation as the video "Why Can You Jump After Leaving a Ledge? Coyote Time Explained". Every 1/60 s: "add gravity to the speed → add the speed to the position". It counts the frames since you left the ground, and accepts a jump if that is less than the grace period (coyote time). Same box and same physics as the earlier "how jumps fall" video.

1. Press at the edge (how many frames off are you?)

The box runs toward the cliff by itself, and starts again from the left after it falls or makes it across. Press the button when you think it is at the edge.
Task: With 0 frames of grace, can you make it across 5 times in a row? See how many frames off you usually are, and find how much grace makes it reliable.
 

2. Replay the same input, changing only the grace

Frame 0 is the edge frame (the last frame where the dot at the centre of the feet is above the cliff edge). Choose how many frames later to press, then play. Negative means pressing before the edge (still on the ground, so it jumps normally).

3. All 11 cases, 0–10 frames late, at once

The same 11 cases as the video (0–10 frames after the edge frame). It counts how many succeed.

4. Jump buffering (press before landing)

The box falls from 3 squares up. The button press is remembered for the "Remember" number of frames. If it is still remembered on the landing frame, it jumps on that frame.

This page uses the same calculation as the video diagrams (gravity 32 squares/s², take-off 16.27 squares/s, running speed 6 squares/s = 0.1 square per frame, gap 5 squares). These are not values from a real game. There is no single right number of grace frames; it depends on running speed, gap width and how precise you want players to be. It always calculates in fixed 1/60 s steps, whatever your screen refresh rate.
Sources and credits: same as the video description (AI was used for the diagrams and script; no game footage or characters).