Smoke Shader Algorithm - Explanation Demo
Smoke Shader Algorithm
An interactive demo of a fluid dynamics algorithm
Based on the paper by
Jon Stam
and explained on
Tuts+
Click on any cell to increase the smoke density.
This browser is not supported (for some reason). Please use a newer browser!
Controls
Display Mode
Display cell values as text or as color
Text
Spread factor
Controls how fast it dissipates
Timestep
Control the speed of the simulation
Step
Manually control the timestep. Click to go to the next step
Next
Horizontal Spread
Values less than 1 dissipate to the left, and more than 1 dissipate to the right.
Verical Spread
Less than 1 dissipates up, otherwise down
Color Weight
Multiply the color value by a factor. Does not affect the actual cell values, only the color.
Toggle Grid
Shows/hides the grid
On
Cell Size
Make the cells bigger or smaller
Reset Configuration