027 Momentum Cradle
Momentum Cradle: A realistic five-ball ball-and-string momentum cradle drawn with metallic gradients and thin strings.
More
1 test · 1 finished runs (0 agent, 1 raw one-shot) · 1 live demo
The prompt
Momentum Cradle: A realistic five-ball ball-and-string momentum cradle drawn with metallic gradients and thin strings. Drag any ball, or several together, up and release; momentum transfers correctly through the row with slight energy loss over time. Include a synthesised click on each collision and a reset button. Build it as ONE self-contained HTML file: inline CSS and JavaScript only, no libraries or frameworks, and no external requests of any kind (no CDNs, web fonts, images or audio files); anything visual or audible is made in code (HTML/CSS, SVG, Canvas, WebGL or WebAudio). It must work when opened directly from disk, fit the browser window responsively, and run without console errors. Output ONLY the complete HTML file, starting with <!DOCTYPE html> and ending with </html>, with no explanation or markdown fences.
Same prompt, all models: step through 2 runsIn the gallery: one player, arrow keys or swipe.
- Model code error in our checkLive demo
gpt-oss-120b
Raw API (one-shot)
raw API baseline
The model's code errors on load: Cannot access 'radius' before initialization