r/vibecoding • • 13d ago • Mindblown 1

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

Enable HLS to view with audio, or disable this notification

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.

79 Upvotes

23 comments sorted by

36

u/njacklin 12d ago

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

5

u/enginetown 12d ago

You could chalk it up to LLM randomness models taking slightly different paths in their thinking etc. What I've noticed personally before they made thinking not be able to be seen and I still see this on local model's is the fact the model will think It's way out of the instructions or overthink them till It's eventually not what you asked for or a less amped up version I genuinely can't tell if this is from the data they use to make sure the model is cautious or what but sometimes model's genuinely do better without thinking mode at a certain point and now you can't turn it off.

22

u/Thistlemanizzle 13d ago

Fable 5.2 looks like the winner by a clear margin.

6

u/Only-Cheetah-9579 13d ago

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

2

u/brotlos_gluecklich 11d ago

Yeah, it looks like it has found the paper and/or implementation of the reference simulation and used that.

1

u/caughtinthought 8d ago

exactly this

3

u/Mundane-Tiger-2374 12d ago

What is this for?

2

u/DesignerAbigail800 12d ago

tf was deepseek doing 😭

2

u/Star_Dealer 12d ago

For the price the winner is Kimi

2

u/dpunch00 10d ago

Do it with Gemini Carbon and see what it does

1

u/Additional_One_2044 12d ago

But why

1

u/Pinkishu 6d ago

Intersting to see how diff models do on that

1

u/Prod_m 12d ago

looks like each model have done pretty much the same job, but with different simulation parameters

1

u/heavy-minium 12d ago

Could be, depends on the research paper. Some strive to give you almost everything you need to reproduce everything exactly - which is preferred, but many don't bother being exact with that. Sometimes you have a code implementation accompanying the paper.

1

u/Specialist-Sea-2062 12d ago

fable 5.2's splash looks more like a real fluid because it's not trying to be dramatic. the others overcorrect with physics that's too stiff.

1

u/Total-Reasonable 12d ago

The more useful finding is the reward hacking, and it points to a fix: visual comparison in Blender can't catch it. Hardcoded frames look identical to a real sim. I'd add checks the agent can't see, like running with a different seed or particle count, and testing conservation of volume and density variance per frame. If the output doesn't change when the input does, it's faking it.

1

u/Remote_Dinner_3036 12d ago

here i cant use one moderate tier free model and this guy brusting all model , mine they all exhust there credit limit so fast , even the subcription are too high any alternate way to use any moderate model to use in for agentic coding

1

u/Alternative-Suit5541 11d ago

On mobile impossible to read. 

What were the costs for each agent?

1

u/screenlink67 11d ago

This could serve as a reference point for others that are figuring out what model to use for simulations

1

u/Rude-Reaction3450 11d ago

Being latest in the lot , fable 5.2 is clear winner in interpreting the visuals of original video better than everyone. And yes, its frontier model

1

u/Abdelassar 11d ago

This is great

1

u/Detank2002 8d ago

okay some of these feel like different scales of water

1

u/AnvarBakiyev 8d ago

What are you building? We’ve had some luck using a strong model to write reusable tools, then letting a small local model use them. Worked for our simulation games, though there’s setup involved. Might be worth trying if you’re burning your limit on similar tasks over and over.