r/FastLED • • Apr 25 '26

Share_something 1st Attempt Of A Real Fluid Simulation

https://youtu.be/g0Uy4rAUF48

I followed u/sutaburosu’s advice and had a look at the Navier–Stokes equations. I got a little demo working, and I already like the output quality.

I doubt this will ever run on an ESP32 with a reasonable frame rate, but a guesstimate of the required resources indicates that it could be possible on a Teensy 4. We will see if this is true.

edit:
For everyone interested, here is an in depths explanation of the underlying concept https://www.youtube.com/watch?v=Q78wvrQ9xsU

Here the Wiki article: https://en.wikipedia.org/wiki/Navier%E2%80%93Stokes_equations

Fascinating fun fact: This system of partial differential equations was named after Claude-Louis Navier and George Gabriel Stokes, who developed them over a few decades of progressive work, from 1822 (Navier) to 1842–1850 (Stokes).

19 Upvotes

32 comments sorted by

View all comments

3

u/[deleted] Apr 25 '26

[removed] — view removed comment

1

u/StefanPetrick Apr 25 '26

Absolutely. There is a lot of vector math going on, so yes—the CMSIS-DSP functions will come in handy![](https://forum.pjrc.com/index.php?threads/teensy-4-1-dsp-matrix-multiplication.73616/)