How to draw a sine wave of changing wavelength?

I don’t know the final result you want to achieve, but, as an option, you can use a CanvasTexture to draw and to animate anything.

Video:

Demo: https://codepen.io/prisoner849/full/KwPLEQv

5 Likes