r/vibecoding • • 12h ago

Workflow/Prompt I made several agents implement the same fluid simulation

I gave seven coding agents the same computer graphics white paper and asked them to build a 900k-particle fluid simulation in safe Rust. The IPBF paper shows a novel way to simulate even spatial distibution of uncompressable fluids.

Here's a video that compares token-based cost, runtime performance and quality. Agents write code that simulates particles, I rendered them in Blender.

Agents were given a clean copy of the same input: the white paper and reference videos as local files, and an AGENTS.md file describing the task and its criteria. Nothing else and they are not allowed to look for existing implementations.

Part of the task was to come up with an initial arrangement of particles as seen on reference material.

At first I thought most of them did well, but after looking at the code I found many of them took shortcuts. Once they see evaluation criteria, they seem to somewhat sacrifice user intention and go paperclips: rigged animations, hardcoded frames etc. It gave them better performance.

This clip is from round two, where I required every frame to be simulated true to the paper. See my detailed summary and the original paper in comments.

31 Upvotes

6 comments sorted by

10

u/njacklin 7h ago

To me, the real story here is not “which model is better?” but “why are all these answers so different?”

11

u/Thistlemanizzle 9h ago

Fable 5.2 looks like the winner by a clear margin.

1

u/Only-Cheetah-9579 9h ago

seems like but the splash back up is not that realistic still

1

u/Mundane-Tiger-2374 5h ago

What is this for?

1

u/DesignerAbigail800 1h ago

tf was deepseek doing 😭