Hyper-Realistic Sand with WebGL2

(av.github.io)

60 points | by everlier 2 hours ago

6 comments

  • amunozo 2 minutes ago
    I am feeling the sand physically at watching at this, good job!
  • hamidmohaqeq 3 minutes ago
    This is really cool and give a realistic sense
  • arm32 4 minutes ago
    This is very fun to play with.
  • alex_duf 49 minutes ago
    On a mobile phone it makes a lot more sense. Try shaking it!
    • theowaway213456 11 minutes ago
      I think it responds to tilting, not shaking?
    • leobuskin 44 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 18 minutes ago
        Works for me in Safari — iPhone 17 Pro, all up to date
      • dylanowen 40 minutes ago
        The sand is pouring onto the phone screen so if your phone is tilted or upside down it looks illogical
  • techpression 20 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 17 minutes ago
      What do you mean "stuck in the air?" It's top down.
      • techpression 9 minutes ago
        They don’t move, not even when pressing with your finger, “stuck on the ground” then, it’s the same outcome.
  • christkv 42 minutes ago