Hyper-Realistic Sand with WebGL2
av.github.io
av.github.io
It’s a physics-based generation but the simulation model is somewhat limited; essentially a few parameters that vary between the sand types, some randomization, and responsiveness to flow rate. Still, it’s highly effective; something like the fine, silty desert sand is noticeably brighter and sounds more like a hiss as it pours and flows than the rocky volcanic sand.
Very cool effect, this is joyful to play with.
Whenever the phone detects an orientation change, it resets the layout.
It also responds to touch, which I didn't know until the third time I played with it.
And if you manage to collect a lot in one place, the sand from the pile does fall like real sand. This is amazing.
The sound is not good though.
Originally I felt eh maybe you have to have an old coder's mind to tell the LLM how to keep things optimized... But yeah nah not anymore, you just tell it to optimize.
You are managing to use my GPU so inefficiently that the transient spikes are bumping my speakers out of standby
Otherwise really amazing!