Talk

p5.js bouncing balls in rotating sphere

From Wikiprompt, the free prompt encyclopedia

AK
Contributed byAKXSource

Jan 31, 2025

p5.js bouncing balls in rotating sphere A prompt to generate a p5.js animation with 100 bouncing balls inside a rotating sphere with collision detection.

Related media

Prompt ContentSave

🌐
write a script for 100 bouncing yellow balls within a sphere, make sure to handle collision detection properly. make the sphere slowly rotate. make sure balls stays within the sphere. implement it in p5.js

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| p5js| animation

Talk