SIM_RESOLUTIONFluid simulation resolution for velocity fields
number128DYE_RESOLUTIONResolution of the color/dye texture
number1440DENSITY_DISSIPATIONRate at which color/density dissipates over time
number3.5VELOCITY_DISSIPATIONRate at which velocity dissipates over time
number2SPLAT_RADIUSRadius of the splash effect
number0.2SPLAT_FORCEForce of the fluid splash on interaction
number6000SHADINGToggle simple lighting/shading
booleantrueCOLOR_UPDATE_SPEEDFrequency of color randomization
number10BACK_COLORBackground color RGB values
{ r: number; g: number; b: number }{ r: 0.5, g: 0, b: 0 }TRANSPARENTTransparent canvas background
booleantrueclassNameCustom className
string""