Coding Adventure: Simulating Fluids

2.7M views · 3 years ago · tutorial · intermediate · evergreen

Sebastian Lague builds a particle-based fluid simulation from scratch in C# and HLSL for Unity, one of his Coding Adventure videos. The accompanying GitHub repository links to the research papers behind the method.

HN people recommend it as a practical, from-scratch intro to fluid simulation that is fast enough for real-time use.

“Sebastian Lague's talk is very practical for the frame-rates he hits”

5 comments from Hacker News

J
@Joel_Mckay2024 · in “Web Game Engines and Libraries”
If all you want is 2D fluid flow with points, than Sebastian Lague's talk is very practical for the frame-rates he hits: ▶ this video It should port over if you are not hitting super fine granularity, and the collision model for the sprites is simplified. Some of the Babylon.js fluid examples still need a bug report: link Have a wonderful day =)
RecommendsView on HN
P
@Phelinofist2023 · in “Simulating fluids, fire, and smoke in real-time”
I recently watched this video about implementing a simple fluid simulation and found it quite interesting: ▶ this video
RecommendsView on HN
k
@knutzui2023 · in “Challenging projects every programmer should try (2019)”
Sebastian Lague recently did a video on simulating fluids, which may be interesting. As always, he takes a "from scratch" approach to it. ▶ this video The GitHub repository also contains links to some of the research papers used to implement the simulation. link
RecommendsView on HN
C
@CafeRacer2023 · in “Quite simple intro to fluid simulation in C#/HLSL [video]”
Submitted the video to Hacker News.
RecommendsView on HN
k
@krstffr2023 · in “Coding Adventure: Simulating Fluids [video]”
Submitted the video to Hacker News.
RecommendsView on HN