Hey everyone
So for a project I need to animate a banner. The base of the water level at the beginning is 400 and should be lowered to 250 in a timeline, so the water level rises in that glass.
I can't seem to get the hang out of it, since I'm pushing an array in the gsap to draw the water. How can I adjust the pointValueYArray in a GSAP tl?
The array at the beginning would be [400, 400, 400, 400, 400, 400, 400, 400, 800, 800] and at the end of the timeline of glass_pulse the array should be [250, 250, 250, 250, 250, 250, 250, 250, 800, 800].
https://jsfiddle.net/abeerance/g5bz0nop/
Any help would be much appreciated and thank you for having me!