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

Could have a random option?

Open Canato opened this issue 4 years ago • 2 comments

Amazing work!

Would someone already being working in an option where we have a mock mouse moving? so we don't need keep clicking on it and could leave this running in a TV?

Canato avatar Dec 10 '19 19:12 Canato

A short term solution could be to keep calling the splat function on a timer.

MrUltimate avatar Jan 08 '20 20:01 MrUltimate

Hello, you can try this:

import WebglFluid from 'webgl-fluid'

WebglFluid(document.querySelector('canvas'), {
  TRIGGER: 'hover', // Can be change to 'click'
})

cloydlau avatar Nov 14 '20 12:11 cloydlau