Hyper-Realistic Sand with WebGL2

(av.github.io)

49 points | by everlier 2 hours ago

3 comments

  • alex_duf 38 minutes ago
    On a mobile phone it makes a lot more sense. Try shaking it!
    • theowaway213456 0 minutes ago
      I think it responds to tilting, not shaking?
    • leobuskin 34 minutes ago
      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
      • AndrewSwift 8 minutes ago
        Works for me in Safari — iPhone 17 Pro, all up to date
      • dylanowen 30 minutes ago
        The sand is pouring onto the phone screen so if your phone is tilted or upside down it looks illogical
  • techpression 9 minutes ago
    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
    • zamalek 6 minutes ago
      What do you mean "stuck in the air?" It's top down.
  • christkv 32 minutes ago