Moreover I had tried to modify the frequency of a wave,
so I have added a simple range slider to html page and a simple Event Listener:
const range = document.querySelector('.range')
range.addEventListener('input', handleSlider)
let frequency = 50;
function handleSlider (e) {
frequency = e.target.value
console.log("frequency is "+ frequency);
}
but it seems the frequency new value does not get binded with gsap.to()/progress(),
I couldn't find an example on the web,
probably I'm missing something ? , Is there a special way to this in GSAP3 ?
Thank you!