Hey Patrons, I created a new addon which makes the wave modifier loop seamlessly.
I used the math expressions from this site to calculate the perfect values.
Seamlessly loops the wave modifier, considering the Width of the wave and the animation's length, it changes the Offset and the Speed in the Time section accordingly. Click on it when the width or/and the animation's length changes.
I made this addon with Serpens
Edit: I fixed something, so now you can loop infinitely big objects with the wave modifier (previously you couldn't) download it from the attachment.