Skip navigation
gemini 2.0 on a p5.js challenge
0:00 / 0:33

gemini 2.0 on a p5.js challenge

AK

@_akhaliq508K followers

Visit on X
142 likesDownloadOriginal post

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)

  • AK's profile picture

    @_akhaliq

    app:

    2 likes

  • Scott Spadea's profile picture

    @ScottSpadea

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

  • Sam Pullara's profile picture

    @sampullara

    Claude