LLM Comparison!

Same prompt, three models, no post-editing: this page compares raw JavaScript outputs from Gemini Flash, ChatGPT, and Grok.

Prompt used for all three:

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