from Hacker News

A fun website that simulates fluid

by svikashk on 11/9/20, 3:54 AM with 47 comments

  • by bijection on 11/9/20, 5:03 AM

  • by semi-extrinsic on 11/9/20, 6:44 AM

    This is a good introduction to what is actually going on here: http://developer.download.nvidia.com/books/HTML/gpugems/gpug...
  • by chakintosh on 11/9/20, 1:36 PM

    It's crazy how this has 0 impact on my rig's temps. Cranked it up to the highest settings and the temps barely moved 1C.
  • by noisy_boy on 11/9/20, 5:10 AM

    Quite useful for generating wallpapers - I made mine using it: https://imgur.com/5VEg1YC
  • by rsiqueira on 11/9/20, 5:34 AM

    There is an incredible short version of this fluid simulation effect (light and movement) here: https://www.dwitter.net/d/18112 (just 140 characters of javascript code)
  • by jdonaldson on 11/9/20, 6:22 PM

    It's interesting to note that the original implementation for this was in Haxe, 6 years ago! https://news.ycombinator.com/item?id=8325700
  • by params on 11/9/20, 12:09 PM

    My kids play with this casually now and then (both <4yrs). My 3yo practice reading the instructions which is a intuitive way for us to explore letters/text (mainly "time" and "pixelate" but in Swedish). They love stopping time, enabling pixelate and draw their names. Really love the android app, I even unlocked all the settings :)
  • by tambourine_man on 11/9/20, 2:44 PM

    Completely smooth on 4yo iPhone SE 1st gen. Nicely done.
  • by freehunter on 11/9/20, 6:53 PM

    Physics simulators like this is something I find really fun to play with, but there’s one thing I’ve been searching for but can’t find any: fluid and erosion simulation.

    I’ve been playing Cities: Skylines since it came out and I love the fluid simulation in the rivers and mountains and dams, but I would love to see the course of the river change over the years. I’d love to see the rivers carving paths out of the mountains, and have floods/tsunamis change the shape of the coast.

    I doubt they’re going to add that to Cities: Skylines any time soon, but does anyone know of any toy/game like that? Interactive fluid and erosion simulators?

  • by wetpaws on 11/9/20, 5:29 AM

    That reminded me of plasma pong: https://www.youtube.com/watch?v=yGJO5bydch4
  • by nullandvoid on 11/9/20, 11:08 AM

    Spent a little too long playing with all the settings there. Very cool and buttery smooth.
  • by vosper on 11/9/20, 6:57 AM

    Is it only a few tweaks and controls short of being a handy basic 2D fluid-dynamics simulator? I've used this [0] but the UI for barriers is really frustrating.

    It would be nice if there was something web-based that falls between the extremely basic and things like SimScale

    [0] https://physics.weber.edu/schroeder/fluids/

  • by yreg on 11/9/20, 11:25 AM

    So satisfying on a tablet…
  • by 6gvONxR4sf7o on 11/9/20, 3:49 PM

    I’m amazed it even works perfectly with multitouch on my phone. Impressive.
  • by forgotpwd16 on 11/10/20, 7:30 AM

    A similar project I found some time ago: https://apps.amandaghassaei.com/FluidSimulation/
  • by bookofjoe on 11/9/20, 3:37 PM

  • by Retr0spectrum on 11/9/20, 5:04 AM

    The mobile app is a fun fidget toy
  • by forgotmypw17 on 11/9/20, 2:42 PM

    I wanted to play with it, but that apps popup...

    Those things are so rude. I just close on principle anything which has one.

    Newsletters, too.

  • by anoncow on 11/9/20, 7:56 AM

    Can there be a 3D equivalent?
  • by luckybusted on 11/9/20, 9:58 AM

    Obligatory [REPOST] flag. I see this page here for the fourth time.