Gemini 2.5: Create a JavaScript animation of complex flocking behavior

Subscribers:
663,000
Published on ● Video Link: https://www.youtube.com/watch?v=6SqP1WNSayU



Duration: 0:00
11,821 views
359


Gemini 2.5 Pro Experimental is also our most advanced coding model yet. See it in action as it creates an interactive p5js demo of colorful boids inside a spinning hexagon.

Prompt: p5js (no HTML) swarm of 30 colorful boids swimming inside a rotating hexagon. I like supernova nebulae.

Try it for yourself in AI studio: http://aistudio.google.com/app/prompts/new_chat?model=gemini-2.5-pro-exp-03-25

Or if you're a Gemini Advanced user, you can select it in the model dropdown on desktop and mobile: https://gemini.google.com/

Read more about Gemini 2.5 on our blog: https://goo.gle/423mnK4
And our website: https://deepmind.google/technologies/gemini

---

Subscribe to our channel    / @googledeepmind  
Find us on X https://twitter.com/GoogleDeepMind
Follow us on Instagram https://instagram.com/googledeepmind
Add us on LinkedIn https://www.linkedin.com/company/deepmind/