51 ChatGPT vs Gemini vs GLM vs Claude — N-Body Gravity Simulation (HTML/CSS/JS)
Description: Four AI models, one prompt.
I asked ChatGPT, Gemini, GLM and Claude to write HTML/CSS/JS code that simulates chaotic N-body gravity in the browser:
“Write HTML/CSS/JS code for an automated N-body gravity simulation. Three massive, glowing bodies orbit each other chaotically in the center, while several smaller particles fly between them, leaving fading trails. Continuous motion using Newtonian gravity equations, dark background, no controls.”
In this video you’ll see how each AI:
• Implements continuous Newtonian gravity equations
• Calculates the chaotic orbits of three massive, glowing bodies
• Draws fading trails for the smaller particles flying between them
• Turns complex orbital mechanics into a stunning visual web animation
Watch to the end and tell me in the comments:
Which AI made the best N-body gravity simulation — ChatGPT, Gemini, GLM or Claude?
Subscribe for more AI coding battles, physics simulations, and creative web experiments.
#AICoding
#AICodingBattle
#ChatGPT
#Gemini
#DeepSeek
#Claude
#HTMLCSSJS
#WebAnimation
#PhysicsSimulation
#NBodyProblem
#GravitySimulation
#SpaceSimulation
#CreativeCoding
#JavaScriptAnimatio Close description
I asked ChatGPT, Gemini, GLM and Claude to write HTML/CSS/JS code that simulates chaotic N-body gravity in the browser:
“Write HTML/CSS/JS code for an automated N-body gravity simulation. Three massive, glowing bodies orbit each other chaotically in the center, while several smaller particles fly between them, leaving fading trails. Continuous motion using Newtonian gravity equations, dark background, no controls.”
In this video you’ll see how each AI:
• Implements continuous Newtonian gravity equations
• Calculates the chaotic orbits of three massive, glowing bodies
• Draws fading trails for the smaller particles flying between them
• Turns complex orbital mechanics into a stunning visual web animation
Watch to the end and tell me in the comments:
Which AI made the best N-body gravity simulation — ChatGPT, Gemini, GLM or Claude?
Subscribe for more AI coding battles, physics simulations, and creative web experiments.
#AICoding
#AICodingBattle
#ChatGPT
#Gemini
#DeepSeek
#Claude
#HTMLCSSJS
#WebAnimation
#PhysicsSimulation
#NBodyProblem
#GravitySimulation
#SpaceSimulation
#CreativeCoding
#JavaScriptAnimatio Close description




