Talk

Multi-ball heptagon physics simulation

From Wikiprompt, the free prompt encyclopedia

Alex Prompter
Contributed byAlex PrompterXSource

Aug 15, 2025

Multi-ball heptagon physics simulation Generate a single-file HTML/CSS/JS simulation of 20 numbered, colored balls bouncing inside a rotating heptagon with gravity and wall collisions.

Related media

Prompt ContentSave

🌐
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 see the full prompt

Continue with:

By logging in, you agree to our Terms of Use and Privacy Policy

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| html| css

Talk