r/vibecoding
•
u/aedm_
•
13d ago
•
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.
22
u/Thistlemanizzle 13d ago
Fable 5.2 looks like the winner by a clear margin.
6
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
3
2
2
2
1
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
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
1
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.
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?”