Hyper-Realistic Sand with WebGL2
everlier
343 points
67 comments
November 11, 2026
Related Discussions
Found 5 related stories in 127.8ms across 12,324 title embeddings via pgvector HNSW
- Show HN: Quasicrystals Animation Playground with WebXR r34 · 37 pts · August 15, 2026 · 52% similar
- Show HN: I built a hand-modeled 3D Windows 98 portfolio with Three.js Abstract2D · 13 pts · September 11, 2026 · 51% similar
- WebGPU Unleashed: A Practical Tutorial ibobev · 36 pts · July 24, 2026 · 48% similar
- Show HN: Manim (3Blue1Brown's animation engine) in the browser via WebGPU sinaatalay · 46 pts · July 29, 2026 · 47% similar
- Show HN: Quake ported to safe Rust, playable in browser ilreb · 45 pts · October 09, 2026 · 47% similar
Discussion Highlights (20 comments)
alex_duf
On a mobile phone it makes a lot more sense. Try shaking it!
christkv
Reminds me of this demo game https://store.steampowered.com/app/3216520/Sandcastle/
techpression
I wouldn’t call it realistic, sand gets stuck in the air, stones don’t rotate, and there’s quite an uncanny valley effect based on angles. Still a cool demo of what is possible, even though I get 10fps or something on a iPhone 15 Pro
arm32
This is very fun to play with.
hamidmohaqeq
This is really cool and give a realistic sense
amunozo
I am feeling the sand physically at watching at this, good job!
nout
This is annoying to clean up exactly like real sand.
customguy
Zooming on the desktop makes it more dense looking, which is probably not intended but can look very cool IMO.
wigster
i feel like i'm watching a stop-motion movie as it moves. very nice
smusamashah
oh wow, the stones even have some water around them. This looks and feels real. 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.
cheapcheerful
Wow man, very cool.
smusamashah
Found source repo here https://github.com/av/safe-sand
kccqzy
It didn’t look realistic to me until I added `?sand=beach` to the URL. Maybe I only associate sand from the beach as sand. Others I call silt perhaps incorrectly.
Razengan
Naturally the first instinct of man is to draw a penis.
emilfihlman
I think it's lacking momentum, the sand stops way too abruptly, and the audio also has too harsh cutoff. It also falls too fast. Otherwise really amazing!
tgtweak
This one does much better at retaining volume than the smudge demo last week :)
samiv
Cue the whines about not using WebGPU.
asaddhamani
I just spent 15 mins playing with this on my phone, it was a lot of fun!
mashally
It was a lot of fun. I wrote I love you phrase to my gf and she liked it.
lloydatkinson
Runs like crap on iPhone 14. I know it’s not the current generation of phone but is there really that meaningful of a difference between that and a current one?