If you are new, the examples from the collection ( Collection of examples from discourse.threejs.org ) may help you.
Based on the example from 2019 ColorStripeChanging I have animated a wave.
See ColorWave
Some things have changed since 2019. Instead of .addAttribute now .setAttribute
.
Also the notation for dynamic has changed.
Now .setUsage( THREE.DynamicDrawUsage )
Hope I could help.