Friday, 28 January 2011

Random Screenshot of the Week


I generated this image the other day when messing around with my CUDA 2D fluid simulation code. For the technically minded, it's the magnitude of the velocity mapped to a color gradient, the velocity field has some turbulence added using curl noise. For the non-technically minded, it looks like THE BURNING FIRES OF HELL!

3 comments:

dlai said...

Nice. Could you elaborate on how you added the curl-noise?

Phil said...

Very very nice Simon!!

Simon Green said...

dlai - I'm simply adding curl (aka divergence-free) noise to the velocity field. It's the curl of 4 octaves of Perlin noise. The original paper and source code is here:
http://www.cs.ubc.ca/~rbridson/