Fluid Dynamics
Written by phagor on 23.03.2007 |
Processing
My first sketch uploaded to this blog! This sketch approximates fluid dynamics using Navier-Stokes equations for fluid flow. A vector field is used to represent the velocity of the flow and the density of the fluid is mapped to a colour gradient. For extra sparkle, I used a simple lighting model to add highlights.