Bouncing balls in a spinning heptagon physics simulation
From Wikiprompt, the free prompt encyclopedia
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 InUsage
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
- Category: coding Prompts
- Source: https://x.com/alex_prompter/status/1995261431307223090
Talk
0 comments