Wikiprompt
Talk

Bouncing balls in a spinning heptagon physics simulation

From Wikiprompt, the free prompt encyclopedia

Alex Prompter
Contributed byAlex PrompterXSource

Nov 30, 2025

Bouncing balls in a spinning heptagon physics simulation A coding prompt that generates a physics simulation of 20 numbered balls bouncing with gravity and collision detection inside a spinning heptagon, in a single HTML file.

Related media

Prompt ContentSave

Multi-ball heptagon physics. Write html, css, and javascript to display 20 balls bouncing inside a spinning heptagon. Each ball should have a unique color, a number label, gravity, and collision detection with the walls. All code in one file.

Sign in to copy this prompt and save it to your collection

Sign In

Usage

This prompt is designed for use with coding. Copy the prompt content above and paste it into your preferred AI tool.

For best results, you may customize the placeholders (indicated by square brackets or capital letters) with your specific requirements.

References

Categories:coding| twitter| physics-simulation| html-css-js

Talk