WebGL-Fluid-Simulation icon indicating copy to clipboard operation
WebGL-Fluid-Simulation copied to clipboard

Suggestion (i dont know if it's in the right spot this request)

Open A3rdn0 opened this issue 3 years ago • 2 comments

You should add an option to choose how many random splats appear and how often they do. For example: every "x" seconds do "x" number of splats. Or even the possibility do to it in a range. For example: every "x" seconds do "x to y" numbers of splats.

A3rdn0 avatar Dec 02 '20 17:12 A3rdn0

You can do this but just running splatStack.push(parseInt(Math.random() * 20) + 5); with a setTimeout()

MrUltimate avatar Feb 08 '21 18:02 MrUltimate

For anyone else interested in doing this, pasting something along the lines of setInterval(splatStack.push.bind(splatStack), 500, parseInt(Math.random() * 20) + 5) this into the console will randomly add new splats. The second parameter is the interval in ms, and the third is the number of splats.

emmalexandria avatar Jun 29 '22 20:06 emmalexandria