Interactive bouncing polygon with shape morphing
From Wikiprompt, the free prompt encyclopedia
Interactive bouncing polygon with shape morphing A prompt for creating an interactive animation where a polygon morphs between shapes and a ball bounces inside it with physics.
Prompt ContentSave
🌐
Write html/css/js where the shape itself changes between triangle, square, pentagon, hexagon, and octagon every 5 seconds, with a ball bouncing inside it under gravity and friction. The ball has to stay inside these shapes at all times, at all cost.
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
- Category: coding Prompts
- Source: https://x.com/alex_prompter/status/1956297864537149637
Talk
0 comments