025 Gravity Well
Gravity Well: An n-body toy: click and drag to launch planets with a velocity arrow into a system with one massive star.
More
1 test · 3 finished runs (0 agent, 3 raw one-shot) · 3 live demos
The prompt
Gravity Well: An n-body toy: click and drag to launch planets with a velocity arrow into a system with one massive star. Bodies attract each other and leave fading orbit trails, collisions merge masses, and buttons reset the system or load a stable three-planet preset. 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 4 runsIn the gallery: one player, arrow keys or swipe.
Live demo
Live demo
Live demoQwen3.8 27B
Raw API (one-shot)
raw API baseline
The model's code errors on load: Unexpected identifier 'y0b'