News for hackers. Stuff that matters.
Re:Liquid fun (2014) by jacobsimon on Thursday June 01, 2017 @01:06AM (#14458118)
Even better in 3D: http://david.li/fluid/
Re:Liquid fun (2014) by bsenftner on Thursday June 01, 2017 @10:34AM (#14460573)
I like this version more (also david.li): http://www.adultswim.com/etcetera/soup/ (2D, but funnier)
Re:Liquid fun (2014) by kevinwang on Thursday June 01, 2017 @02:44AM (#14458430)
The performance of this on my laptop invariably blows my mind
Re:Liquid fun (2014) by santaclaus on Thursday June 01, 2017 @01:26AM (#14458188)
Ohhh old school, FLIP was fun! David should upgrade to APIC.
Re:Liquid fun (2014) by emsy on Wednesday May 31, 2017 @07:46PM (#14456812)
This project is 3-4 years old and the last commit was 2 years ago.
Re:Liquid fun (2014) by shadowmint on Wednesday May 31, 2017 @07:59PM (#14456867)
By comparison Box2D is actively maintained: https://github.com/erincatto/Box2D/commits/master

This is the problem when you fork a project. :/

Re:Liquid fun (2014) by dang on Wednesday May 31, 2017 @10:11PM (#14457448)
Ok, we'll split the difference and call it 2014.
Re:Liquid fun (2014) by iKlsR on Thursday June 01, 2017 @07:14AM (#14459347)
For anyone who wants to get their feet wet just a little (pun not intended). https://www.khanacademy.org/partner-content/pixar/simulation. Also recommend checking out the entire series.
Re:Liquid fun (2014) by abainbridge on Thursday June 01, 2017 @03:24AM (#14458557)
Nice. Is there anything like this for simulating gas? I want to make a 2D simulation of an internal combustion engine.
Re:Liquid fun (2014) by ino on Thursday June 01, 2017 @06:13AM (#14459107)
perhaps not quite what you want, but you can do this with box2d: https://www.youtube.com/watch?v=8kZRpouZ3OQ
Re:Liquid fun (2014) by aerovistae on Wednesday May 31, 2017 @08:44PM (#14457079)
I can't wait til this sort of thing is common in 3D.
Re:Liquid fun (2014) by slavik81 on Wednesday May 31, 2017 @09:22PM (#14457253)
It's brutally expensive, unfortunately. Moving from 2D to 3D you go from needing O(n²) particles to O(n³) particles to fill a box. That's an awful increase in complexity, and it really limits the size of what you can do.

With that said, NVIDIA has a boatload of money, top-notch hardware skills and fluid simulation experts like Matthias Müller-Fischer working on the problem. NVIDIA Flex[1] is amazing to behold.

[1]: https://youtu.be/pfonMfP__Ks

Re:Liquid fun (2014) by pbhjpbhj on Thursday June 01, 2017 @06:35AM (#14459196)
As a slight aside, is NVIDIA's motivation profit from the gaming industry or does this find industrial application outside of the obvious visual presentations?
Re:Liquid fun (2014) by TeMPOraL on Thursday June 01, 2017 @07:17AM (#14459356)
Possibly, given that - besides all that recent neural-networks-on-GPU craze - people run e.g. CFD simulations on GPUs. I recall SpaceX in particular doing simulations for their rockets on NVIDIA hardware.

https://blogs.nvidia.com/blog/2015/03/17/mars-rocket/

Re:Liquid fun (2014) by slavik81 on Thursday June 01, 2017 @02:04PM (#14462788)
Flex, PhysX and Gameworks are all meant for games, but I would suspect that the game physics talent helped guide CUDA, which does have a lot of industrial applications.

They aquired Müller and PhysX when they bought Ageia in 2008. They changed Ageia's direction away from developing dedicated hardware (a Physics Processing Unit) to instead leverage the GPU for physics calculations.