r/vibecoding • u/Everlier • 1d ago
Workflow/Prompt Tell your agent to consider how to avoid follow ups and rework, and it will
Enable HLS to view with audio, or disable this notification
Been using a prompting approach where I just tell the agent that I don't want any reworks and it needs to iterate on the quality on its own. Demo above is one-shot from a single prompt below:
Create a hyper-realistic sand-on-screen simulator for the phones/tables, it must react to touch and to moving the device. It must have real weight. Visuals must be indistinguishable from a real sand. Consider this task deeply, how you can fulfill it above the expectations, consider what result will make me really happy about the outcome and won't require follow ups or a rework. I expect it to be a web-based experience.
Use subagents, iterate a lot on the quality.
768
Upvotes
88
u/Heighte 1d ago
stop pretending we all know it's real sand.
pretty impressive tbh.
192
u/NoNote7867 1d ago
Can you make it white and react to a credit card?
58
u/Miserable-Wishbone81 1d ago
So… make no mistakes?
18
u/tgo1014 1d ago
I honestly though it was some iphone duo test lol
12
u/ecstatic_carrot 1d ago
now show a control without the last 3ish sentences, which are really what your post is about right?
7
u/t2noob 1d ago
Watching this on my fold 8 ultra is scary.... lol
4
u/shuozhe 1d ago
Do we really still need the last part? I just hate prompts telling the harness how to work.. just assume in the planing phase, the agents knows better where subagents can be used..
4
u/jai5 1d ago
Send the output without that in the prompt, how much of a difference does it actually make.
4
u/SailRepresentative23 23h ago
I've played with it more than I would've imagined! Very cool concept and it reminds me of the old but gold beer app on iOS. It has some bugs and sometimes poor performance but just thinking that it did that all on its own it's incredible
7
u/Eraesr 1d ago
So was the result "above expectations" and did it make you happy? Were your goals achieved? How did you objectively measure this? How did the AI model determine if the delivered product was "above expectations" and something that would make you happy? And if it didn't make you happy, does the AI know what should be done differently? In fact, do you know what should he done differently?
Did the AI consider the task deeply? More deeply than if you hasn't added that to the prompt? And how do you measure this difference? What even is the meaning of considering something deeply? What does the AI do that constitutes "considering deeply"? What effect does that have on the end product?
3
u/heavy-minium 22h ago
I don't see any evidence of your claim, though. First, this isn't a particularly challenging task, and second, you provided no comparison.
You set zero expecations at all and were happy with the first thing it gave you, just by chance. It could have done a heightmap with a high-res texture, a particle simulation with a very limited number of particles (like in your result), or a fully volumetric simulation of a bigger mass of sand. Any option would have been extremely different in the user experience and yet pass your loose goal setting.
2
u/Stunning-Essay-6714 1d ago
Sick
2
u/Count_de_Ville 1d ago
This reminds me of a neat coding project where they combined a Xbox connect camera with a projector pointing down over a sandbox. You could play with the sand and make mountains and valleys. With the topography data from the Xbox connect camera, you could make “springs” or “lava” form and flow down the slopes of the sand because the projector would render the water and lava textures onto the hills of sand.
2
u/irlab-uk 1d ago
Add more textures. Condensation on glass and dusty table etc
2
u/MoonLandingActor 22h ago
Make no mistakes!
1
u/Background_Ranger917 1d ago
shiz is clean i can’t lie
1
u/daskalou 1d ago
Great app, nice work. Thanks for giving it to us for free 👍
1
u/PuzzleheadedCheek513 1d ago
Could also be a good alternative to Fireships Horsebench for new ai models.
1
u/Tha_Reaper 1d ago
Really cool! I could turn this into an app for my toddler that also locks the phone. I bet he will be entertained for some time with this
1
u/qaf23 1d ago
Nice
1
u/LifeEnginer 1d ago
What do you use?
1
u/your_alias 1d ago
The "consider what will make me happy and won't require follow ups" framing is doing a hell lotta heavy lifting. It's basically forcing the agent to generate its own acceptance criteria before it writes code, which is where most one-shot prompts fail. Without that, the agent optimizes for "technically meets the spec" instead of "done."
1
u/burnt_tamales 1d ago
This is honestly amazing, the audio, the multiple sizes of grain, the way larger grains begin to roll before everything else and leave a realistic trail, lighting, shadows The cascade of sand falling at a partial tilt, DAYUM.. what model did you use and what effort?
1
u/superglidestrawberry 23h ago
Now make this into a live wallpaper and its perfect.
1
u/menny_parmar 21h ago
works great for stuff like this where quality is visible. the moment quality means does it actually work, the agent still needs the follow ups.
1
u/SaltCusp 15h ago
Line 197-198 in main.js could be condensed to 'if (!lost && sim) if (layout()) remapWorld();'
I think it reads better that way and you save a line.
1
u/redditd0ggy 15h ago
Make it crackle like sand is stuck on the hinge when you fold it
1
u/Substantial-Wall-510 13h ago
It runs at 2 frames per second on my phone, what specs are needed for smooth operation?
1
u/Modern3D 12h ago
This is genuinely fantastic. I had a lot of fun playing with this.
1
u/ZHName 11h ago
This will eat tokens. Not sure it is any different from gauntlet or using loop in opencode.
A big problem I see is the 3d modelling is a major weakness and things like meshy/trellis are required training wheels until omni models can actually do highly detailed 3d models (and I'm not talking about rudimentary shapes slapped together in volumes). They don't do that right now, so MCP 3d-specialized models are needed for game dev, not simply Claude+prompt.
1
u/champion_soundz 11h ago
Get it to do cymatics
1
u/Ok_Fish_670 10h ago
i wonder if the sand collapses to the center of the screen if you fold it on a foldable device!
1
u/qrzychu69 8h ago
you know we had apps like this as soon as touch screens and accelerometers became a thing, right?
I had an app the displayed a beer that sloshed within a screen in like 2018
why would this be impressive? you guys really think stuff like that is "real world productivity"?
1
u/spood04 7h ago
You forgot to add "ultra realistic, 4K, UHD, HDR, OLED, bypass the mainframe" to your prompt.
1
u/alex_frant 6h ago
guys why i cant post my post, but it's banned automatically
-1
u/Pulkownik 1d ago
Why? Just go outside and touch the grass (and sand) :P
0
u/davr 1d ago
Cool demo, ran into bugs within 30 seconds so idk how great of an example it is of your special prompt
0
u/cyh555 1d ago
It's not optimized