Use this link for smoothness: https://turbowarp.org/561898831
This is an attempt to make realistic waves using sine waves. It is extremely resource-consuming, so this will probably not be used.