Hi Vilius! I agree that the sea was annoying after a few levels, now the rising of the tide is slow and starts to affect the gameplay only after many many minutes of play! The wave function has been created by Frash Pikass and is a sum of many out-of-phase waves that drives a sprite (if i'm right!)