The sea spray generation function