three-gpu-particle-system
three-gpu-particle-system copied to clipboard
Update emitter parameters on the fly?
Hi,
I was wondering if there is a way to change the the emitter parameters?
I'm trying to TWEEN the startSize parameter in particular
const num = {x: 11} var tween = new TWEEN.Tween(num) .to({x: 0}, 2000) .onUpdate(function () { emitter.setParameters({startSize:num}) }) .start();
Thanks in advance