News for hackers. Stuff that matters.
Re:Hyper-Realistic Sand with WebGL2 by alex_duf on Wednesday November 11, 2026 @10:34AM (#50454637)
On a mobile phone it makes a lot more sense. Try shaking it!
Re:Hyper-Realistic Sand with WebGL2 by leobuskin on Wednesday November 11, 2026 @10:38AM (#50454683)
It doesn’t in my case, I see some weird animation, everything disappears, “pour” button again. Shaking or any other movement doesn’t help. Latest chrome on iOS
Re:Hyper-Realistic Sand with WebGL2 by dylanowen on Wednesday November 11, 2026 @10:42AM (#50454727)
The sand is pouring onto the phone screen so if your phone is tilted or upside down it looks illogical
Re:Hyper-Realistic Sand with WebGL2 by AndrewSwift on Wednesday November 11, 2026 @11:04AM (#50454990)
Works for me in Safari — iPhone 17 Pro, all up to date
Re:Hyper-Realistic Sand with WebGL2 by ChrisMarshallNY on Wednesday November 11, 2026 @11:46AM (#50455486)
It helps, if you lock orientation on the phone.

Whenever the phone detects an orientation change, it resets the layout.

Re:Hyper-Realistic Sand with WebGL2 by theowaway213456 on Wednesday November 11, 2026 @11:11AM (#50455069)
I think it responds to tilting, not shaking?
Re:Hyper-Realistic Sand with WebGL2 by mattlondon on Wednesday November 11, 2026 @11:59AM (#50455654)
Nothing happens on my android phone
Re:Hyper-Realistic Sand with WebGL2 by jarek83 on Wednesday November 11, 2026 @12:19PM (#50455902)
I had that too on brave then realized that brave locks all permissions. It worked as expected in chrome
Re:Hyper-Realistic Sand with WebGL2 by dyauspitr on Wednesday November 11, 2026 @12:20PM (#50455904)
Maybe it’s too much for my iPhone 13 or something, I can see it but it’s all choppy and slow
Re:Hyper-Realistic Sand with WebGL2 by christkv on Wednesday November 11, 2026 @10:40AM (#50454710)
Re:Hyper-Realistic Sand with WebGL2 by techpression on Wednesday November 11, 2026 @11:03AM (#50454971)
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
Re:Hyper-Realistic Sand with WebGL2 by zamalek on Wednesday November 11, 2026 @11:06AM (#50455006)
What do you mean "stuck in the air?" It's top down.
Re:Hyper-Realistic Sand with WebGL2 by techpression on Wednesday November 11, 2026 @11:13AM (#50455087)
They don’t move, not even when pressing with your finger, “stuck on the ground” then, it’s the same outcome.
Re:Hyper-Realistic Sand with WebGL2 by vfosnar on Wednesday November 11, 2026 @11:36AM (#50455372)
didnt encounter the stucking issue but agree with the overerall point, the sand gets a sort of 'build-up pressure and bounce back' effect which breaks the immersiveness for me, otherwise cool
Re:Hyper-Realistic Sand with WebGL2 by arm32 on Wednesday November 11, 2026 @11:19AM (#50455145)
This is very fun to play with.
Re:Hyper-Realistic Sand with WebGL2 by hamidmohaqeq on Wednesday November 11, 2026 @11:20AM (#50455155)
This is really cool and give a realistic sense
Re:Hyper-Realistic Sand with WebGL2 by amunozo on Wednesday November 11, 2026 @11:21AM (#50455162)
I am feeling the sand physically at watching at this, good job!
Re:Hyper-Realistic Sand with WebGL2 by nout on Wednesday November 11, 2026 @11:27AM (#50455242)
This is annoying to clean up exactly like real sand.
Re:Hyper-Realistic Sand with WebGL2 by customguy on Wednesday November 11, 2026 @11:31AM (#50455294)
Zooming on the desktop makes it more dense looking, which is probably not intended but can look very cool IMO.
Re:Hyper-Realistic Sand with WebGL2 by wigster on Wednesday November 11, 2026 @11:31AM (#50455304)
i feel like i'm watching a stop-motion movie as it moves. very nice
Re:Hyper-Realistic Sand with WebGL2 by smusamashah on Wednesday November 11, 2026 @12:04PM (#50455710)
oh wow, the stones even have some water around them. This looks and feels real.
Re:Hyper-Realistic Sand with WebGL2 by catapart on Wednesday November 11, 2026 @12:23PM (#50455940)
They have different characteristics, too. The red, desert sand is clumpier than the beach sand, for instance.
Re:Hyper-Realistic Sand with WebGL2 by jarjoura on Wednesday November 11, 2026 @12:25PM (#50455947)
yup, I would just remove the sound effect completely.
Re:Hyper-Realistic Sand with WebGL2 by cheapcheerful on Wednesday November 11, 2026 @12:07PM (#50455758)
Wow man, very cool.
Re:Hyper-Realistic Sand with WebGL2 by smusamashah on Wednesday November 11, 2026 @12:10PM (#50455797)
Found source repo here https://github.com/av/safe-sand
Re:Hyper-Realistic Sand with WebGL2 by kccqzy on Wednesday November 11, 2026 @12:23PM (#50455939)
[delayed]
Re:Hyper-Realistic Sand with WebGL2 by Razengan on Wednesday November 11, 2026 @12:26PM (#50455962)
Naturally the first instinct of man is to draw a penis.