Scrambled Text

Customize Splash Cursor

Simulation Resolution128
Dye Resolution1440
Splat Radius0.20
Splat Force6000

Props

PropertyTypeDefaultDescription
SIM_RESOLUTIONnumber128The resolution of the fluid simulation grid. Higher values provide more detailed simulation but affect performance.
DYE_RESOLUTIONnumber1440The resolution of the dye/render texture. Higher values provide more detailed visuals.
CAPTURE_RESOLUTIONnumber512The resolution for capturing mouse interactions.
DENSITY_DISSIPATIONnumber3.5How quickly the dye density dissipates over time.
VELOCITY_DISSIPATIONnumber2How quickly the fluid velocity dissipates over time.
PRESSUREnumber0.1The pressure coefficient in the fluid simulation.
PRESSURE_ITERATIONSnumber20Number of iterations for pressure calculation in the fluid solver.
CURLnumber3The curl/vorticity factor that adds swirling motion to the fluid.
SPLAT_RADIUSnumber0.2The radius of the splash effect when clicking or moving the mouse.
SPLAT_FORCEnumber6000The force applied to the fluid when creating splashes.
SHADINGbooleantrueEnables or disables shading effects on the fluid simulation.
COLOR_UPDATE_SPEEDnumber10How quickly the colors update during the animation.
BACK_COLORColorRGB{ r: 0.5, g: 0, b: 0 }The background color of the simulation.
TRANSPARENTbooleantrueWhether the background should be transparent.

Dependencies

WebGLWebGL2

Created with ❤️ by Cybershoora