GODRICH
#css-animation#button#loader#transition#scroll#dashboard#ui#design-trends

03Curl swirl

Computing the curl of the velocity field by differences and feeding force back along its gradient — vorticity confinement — revives smoke the grid smoothed away. It is the single step that restores the small eddies the discretization shaved off.

Best forLiving smoke on a large banner

Float32ArrayMath.hypot
Curl swirl
Open in a new tab

03 Curl swirl — Measured area 7.641% · moving frames 23/23Original by GODRICH · SCSS and React ship in the zip · Canvas Fluid Simulation: 9 Grid Effects

The post this demo lives in

Canvas Fluid Simulation: 9 Grid Effects - preview of all 9 demosCanvas Fluid Simulation: 9 Grid EffectsA canvas fluid simulation doesn't solve the Navier-Stokes equations — it advects, diffuses, and decays density and veloc See all demos in this post

If you like this effect - similar demos