Private AI

Skip to content
Nano GPT logo
NanoGPT
Nano GPT logo
NanoGPT
Nano GPT logo
NanoGPT
 
 
 
 
All conversations

Create

Chat
Studio

Explore

Models
Benchmarks
Pricing
Apps

Library

Gallery
Workspace
Usage & billing
Teams
API
Suggestions and bugs
Settings
Terms

|

Privacy

|

Refunds
Referrals
Presets
Settings
FAQPress & mediaBrand assetsNano RPCBlogUse casesToolsEarn crypto
  1. Showcase
  2. Heptagon: 20 balls in a spinning box

Heptagon: 20 balls in a spinning box

Made by Claude Opus 5.5 from one prompt

Drag a ball to throw it. The sliders set spin speed, gravity and bounciness. Open full screen

What it does

The test people use to compare models since early 2025: twenty numbered balls bounce inside a spinning heptagon. Collisions, friction and spin are all written from scratch, and you can grab a ball and throw it.

Try Claude Opus 5.5More from Claude Opus 5.5Whole showcase

The prompt

Write an HTML program that shows 20 numbered balls bouncing inside a spinning heptagon. The balls drop from the centre, are affected by gravity and friction, bounce off the rotating walls realistically and collide with each other, and their spin shows on the numbers. The heptagon spins 360 degrees every 5 seconds. Implement the collision detection and response yourself, without a physics library.

Prompt adapted from the spinning-shape ball test, as covered by TechCrunch (Jan 2025). One build plus one fix (a wall normal pointed the wrong way) found while testing it.