YuvalGGYuvalGG

Tools

Ball Escape

A ball bounces inside rotating rings. Each bounce plays the next note, the ball grows a little, and a ring shatters when the ball slips through its gap.

0

rings · set 1 · —

Auto play replays one fixed pattern. Tap the board to start the sound.

How Auto play finds the gap

The ball always flies straight. At a wall bounce Auto play may angle it a little, like a spinning ring dragging it along, so it lines up with a gap.

Stays in this browser. Recordings include it.

Record Auto stops about two seconds after the ball clears the rings. Record 30s and Record 60s keep a fixed length. Each one switches to the 9:16 board and Auto play. The file is WebM, or MP4 when this browser supports it. Sound is mixed in when it is on. The microphone is not used.

Also leaves sound out of a recording.

Shown at the bottom of the board and in recordings. Clear it to hide it. Default is yuvalgg.com, shared with the other Shorts tools.

Your sounds

MP3, WAV, OGG, or M4A up to 5 MB. They stay in this browser and are mixed into recordings.

Note · default

Shatter · default

Ludwig van Beethoven, Symphony No. 9 (1824). Public domain.

How the board works

The rings are concentric. Each one spins, and inner rings spin a little faster, in alternating directions. The ball stays inside the smallest ring that has not broken yet. A bounce plays the next note of the selected melody and grows the ball slightly. The size stays small enough to fit through that ring's gap. When the ball leaves through the gap, the ring breaks into shards and the counter goes up.

Five public-domain themes are included: Ode to Joy, Fur Elise, Twinkle, Twinkle, Little Star, Canon in D, In the Hall of the Mountain King. Ode to Joy is from Beethoven's Symphony No. 9 (1824). Fur Elise is his Bagatelle No. 25, published in 1867. Twinkle, Twinkle, Little Star uses a traditional melody published in the 18th century. Canon in D is by Johann Pachelbel, who died in 1706. In the Hall of the Mountain King is from Grieg's Peer Gynt, composed in 1875, and Grieg died in 1907. The browser generates the tones. It does not play back a track.

Color themes are Neon, Sunset, Mint, Gold, Ice, Ember. Ring count runs from 4 to 10. Gap size, rotation speed, and ball speed are sliders. Auto play replays a fixed pattern and angles some bounces slightly so the ball finds a gap, without bending its path in the air. Restart plays that pattern again from the first ring.

Record a Short

The 9:16 board is drawn at 1080×1920. The title and melody sit at the top. The escape count and yuvalgg.com sit at the bottom. Square uses a 1080×1080 board of the same simulation. Record Auto stops when the ball clears the rings. Record 30s and Record 60s keep a fixed length. Each one switches to the 9:16 board, turns Auto play on, and downloads the canvas capture.

Sound is included when Sound is on. The microphone is not used. On a phone, scroll to the sliders under the board. Full screen keeps the same controls in a fixed frame.

Other browser tools live on the tools index. Related clips are Merge Drop, Gear Squeeze, and Katana Slice.

Common questions

How does the ball escape a ring?

The ball bounces inside the smallest ring that is still intact. Each ring rotates and has one gap. When the ball crosses that gap while moving outward, the ring shatters, the escape counter goes up by one, and the ball continues into the next ring. After the last ring breaks, a new set appears.

Which melodies are included?

Five public-domain themes, synthesized in the browser with the Web Audio API: Ode to Joy, Fur Elise, Twinkle, Twinkle, Little Star, Canon in D, In the Hall of the Mountain King. Each bounce plays the next note, then the line repeats. The rhythm follows the ball, not the original sheet music. No recording is streamed.

What does Auto play do?

It uses one fixed seed, so the same ring count, gap, rotation, and ball speed play back the same way. The ball always flies in straight lines. At a wall bounce Auto play may angle it a little, like a spinning ring dragging it along, so a later flight lines up with a gap and rings keep breaking. Mid-air steering, under How Auto play finds the gap, is the older style that curves the ball toward the gap. Turn Auto play off for plain bounces.

Does Record 30s include sound or the microphone?

Record 30s switches to the 9:16 board, turns Auto play on, and downloads the canvas. The file is WebM, or MP4 when the browser can record that type. Melody notes are mixed in when sound is on. The microphone is not used. If this browser cannot record a canvas, use full screen and the device screen recorder.

Does Ball Escape work on a phone?

Yes. The board scales to the screen, and the sliders and buttons sit under it. You can switch between the 9:16 board and a square board, and you can open full screen.

Comments

No comments yet. Be the first to share what you think.