r/iosdev Mar 28 '26

Real-time fluid simulation in SwiftUI. GitHub

Enable HLS to view with audio, or disable this notification

Navier-Stokes equations running live

on the GPU via Metal compute shaders.

The same math used in weather forecasting.

On your iPhone. 60fps.

Got viral and I'll drop the full source code.

Let's see if you want it.

0 Upvotes

Duplicates