[HN Gopher] Water
       ___________________________________________________________________
        
       Water
        
       Author : thunderbong
       Score  : 253 points
       Date   : 2023-08-06 20:52 UTC (2 hours ago)
        
 (HTM) web link (oimo.io)
 (TXT) w3m dump (oimo.io)
        
       | gloryless wrote:
       | Pretty cool, but it acts more like a dense gas than water. Very
       | bouncy and not sticky enough
        
       | artomultiplo wrote:
       | Nice project. Keep. Pushing.
        
       | guidedlight wrote:
       | iWater?!
        
       | CrzyLngPwd wrote:
       | I left my device still and eventually I ended up with a wormhole
       | of not-water spinning.
        
       | ptrrrrrrppr wrote:
       | There's too much random noise, tried to make it to stand still
       | but I think its just impossible
        
       | micw wrote:
       | Looks nice but not like water. It keeps moving forever. A bucket
       | of water would stand still after a few minutes.
       | 
       | Edit: Seems to lack simulation of friction between water
       | particles?
        
         | sdwr wrote:
         | Came here with the same nitpick. It settles down too slowly.
         | Also takes too long to start moving after changing angle. So
         | it's in this weird spot where it's both more + less reactive
         | than real water.
        
           | owlninja wrote:
           | Just seems like some fun art to me, could have been named
           | anything.
        
         | nwoli wrote:
         | Funnily this is usually something you need to _fix_ in water
         | simulations like this one since a lot of solutions have
         | artificial too rapid energy loss. So the fact that it acts this
         | way is sign of more mastery rather than less (it's trivial to
         | reduce energy faster).
        
       | elwell wrote:
       | Meh, I've seen better.
        
       | layer8 wrote:
       | I get the feeling it's missing an implementation of surface
       | tension.
        
       | Scubabear68 wrote:
       | Wow, very cool. Works best if you lock your phone to not rotate
       | views as you rotate your phone.
        
       | raincole wrote:
       | Need more damping.
        
       | cwiz wrote:
       | [flagged]
        
       | phkahler wrote:
       | My dad worked on the Apollo program In The 60s. They were using
       | analog computers to simulate fuel slosh in the tanks. He also had
       | a flight sim display that allegedly could go from space (earth as
       | a circle?) To low level horizon and grid. I never saw either but
       | am about to toss schematics for the later with the rest of his
       | stuff. Personal note - he died in '03 and I'm done hanging on to
       | stuff. :-)
        
         | mietek wrote:
         | You should upload them to the Internet Archive.
        
           | jmholla wrote:
           | And/or donate them to somewhere that'd be interested in
           | preserving them.
        
         | OJFord wrote:
         | I don't have the domain expertise or interest to know what's
         | important or rare, and I can completely understand not wanting
         | to hang on to it personally any longer, but that sounds like
         | something a lot of people might be interested in, that ought to
         | be exhibited somewhere, if (as it sounds like) it's work-
         | oriented and not too personal.
        
       | ivan_gammel wrote:
       | Looks like coordinates are inverted on my iPad (landscape mode).
       | The water is falling to the higher part of the screen.
        
       | leeoniya wrote:
       | this one is much smoother: https://paveldogreat.github.io/WebGL-
       | Fluid-Simulation/
       | 
       | previously: https://news.ycombinator.com/item?id=34422948
        
         | Waterluvian wrote:
         | It also decouples frame rate from simulation speed so even if
         | frames are dropped the whole thing doesn't feel sluggish.
        
       | yakkomajuri wrote:
       | Browsed around. This one is my favorite so far:
       | https://oimo.io/works/cloth/
       | 
       | Dope projects
        
       | nektro wrote:
       | crashes on firefox
        
       | jfoutz wrote:
       | this is still my favorite. https://oimo.io/works/life/ That dev
       | has a bunch of cool projects.
        
         | not-chatgpt wrote:
         | The zoom out is just _chef 's kiss_
        
         | donkeybeer wrote:
         | I would like to check later on if the rules for this "cellular
         | automata" (if it is one) are documented and the fractal nature
         | naturally concludes from it or whether the fractal was simply
         | manually forced when you zoom a certain level.
        
           | metafunctor wrote:
           | I'm pretty sure it's manually forced, but I would be
           | delighted to be educated otherwise.
        
         | justusthane wrote:
         | Yeah, that's insane. (For the initiated, make sure to zoom in
         | and out).
        
         | data-ottawa wrote:
         | Wow, that is so cool! I've fiddled with Conways game of life a
         | lot, implementing it recursively in SQLite, various languages,
         | explored variations of it; I knew you could simulate it inside
         | the game, but this is mind blowingly cool! And it's so smoothly
         | done, it's like stepping through the looking glass.
        
       | thrdbndndn wrote:
       | Just curious: why is it not totally symmetric, when opening in a
       | desktop browser (i.e. no motion sensor)?
       | 
       | In real world it's due to chaos but how is it "simulated" in this
       | simulation?
        
         | 420official wrote:
         | They add some randomness:
         | https://github.com/saharan/works/blob/main/water/src/MPM.hx#...
        
       | mcny wrote:
       | How come on the iPhone I get a prompt saying " would like to
       | access motion and orientation" but not on Android?
        
         | brucethemoose2 wrote:
         | The motion doesn't even work running Bromite on Android,
         | presumably because of the fingerprinting protection.
         | 
         | Its crazy how our phones have all these sophisticated sensors,
         | yet they are mostly used for something related to tracking for
         | ads. So much so that I don't notice when its blocked.
        
         | KomoD wrote:
         | Are you using the same browser on both...?
        
           | cmeacham98 wrote:
           | They cannot be, because all browsers on iOS are reskinned
           | Safari (due to Apple's App Store policies), and Safari is not
           | on Android.
        
             | mcny wrote:
             | Good point, I was using Firefox on both but as you said
             | Firefox on iOS is just Safari. To be fair to Mozilla, I am
             | running Firefox nightly on Android.
        
         | layer8 wrote:
         | Chrome on Android allows it by default. You have to got to Site
         | Settings to disable it. Safari on iOS prompts the user before
         | allowing it.
        
       | dotancohen wrote:
       | Interesting. Sometimes pockets of not-water (vacuum?) appear in
       | the middle of the liquid. Based on observation of real water,
       | such cavitation would not form in water splashing around in a
       | bucket.
        
         | teamonkey wrote:
         | You mean a bubble?
        
       | andreygrehov wrote:
       | Very cool!
       | 
       | FYI: you need to run it on your phone with motion and orientation
       | access provided to the app.
        
       ___________________________________________________________________
       (page generated 2023-08-06 23:00 UTC)