All prompts › Simulations & physics
Ball bouncing inside a spinning hexagon
What it tests: The short original of the heptagon family: collisions with moving walls (the wall's velocity at the contact point must enter the bounce), plus gravity and friction.
Prompt length: 185 characters, roughly 50 tokens (estimate). · The original o3-mini vs DeepSeek R1 video ↗
write a Python program that shows a ball bouncing inside a spinning hexagon. The ball should be affected by gravity and friction, and it must bounce off the rotating walls realistically
How to grade it
Runs (the model should state the library, usually pygame); the hexagon rotates; the ball falls under gravity, never leaves the hexagon, and gains or loses speed realistically when a moving wall hits it; friction slows it along the walls.
Scorecard tick what the model got right: 0/4
Runs in your browser; nothing is saved or sent.
Where models usually fail
The ball escapes through a wall when the hexagon turns fast (tunnelling); the bounce computed as if the walls were static; gravity that rotates with the hexagon.
Source
- Author
- Flavio Adamo (@flavioAd)
- From
- Spinning hexagon (X post)
- Exact file or post
- https://x.com/flavioAd/status/1885449107436679394
- Licence
- No explicit license; two-sentence prompt quoted as a citation
- How we use it
- Short quote with attribution
Testing a local model? Check first whether it fits your hardware with Can I run this LLM?