LLM Comparison!

Wanted to create a post about how different modern LLM's respond to the following prompt. Which do you think did well?

Can you create a javascript code for an animation of 10 bouncing balls inscribed in a rotating hexagon. All the collisions are elastic.

Gemini Flash

ChatGPT

Grok