forked from: OceanCurve

@author imajuk