gemini 2.0 on a p5.js challenge
AK
Visit on X@_akhaliq508K followers
28,556 views
gemini 2.0 on a p5.js challenge
prompt: Write a p5.js script that simulates 25 particles in a vacuum space of a cylindrical container, bouncing within its boundaries. Use different colors for each ball and ensure they leave a trail showing their movement. Add a slow rotation of the container to give better view of what's going on in the scene. Make sure to create proper collision detection and physic rules to ensure particles remain in the container. Add an external spherical container. Add a slow zoom in and zoom out effect to the whole scene.
3 Comments
Comments from the original post on X (Twitter)

@_akhaliq
app:
2 likes

@ScottSpadea
zooming in and out is not a good effect, it makes people sick.

@sampullara
Claude