In this video, I follow Mike Ash’s guide to Fluid Simulation and port Jos Stam’s "Real-Time Fluid Dynamics for Games" algorithm and code in Processing (Java). Code: https://thecodingtrain.com/challenges/132-fluid-simulation 🕹️ p5.js Web Editor Sketch: https://editor.p5js.org/codingtrain/sketches/9kVfB4BF2 🎥 Previous video: https://youtu.be/0j86zuqqTlQ?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH 🎥
![Coding Challenge #132: Fluid Simulation](https://cdn-ak-scissors.b.st-hatena.com/image/square/ba4f77b273a07459d8616457644805dad118d9ea/height=288;version=1;width=512/https%3A%2F%2Fi.ytimg.com%2Fvi%2FalhpH6ECFvQ%2Fhqdefault.jpg)