Waves know shores