Descending sine wave along surface

This is a like to a previous question I posed regarding descending sinw way along a curve … Now I would like to be able to select a surface, do we modify this script or do we need to start from scratch?

Thank you

You want something “like” this ? … except that the Sin distortion is applied on every Surf control pt OR following some user defined WL reduction (Note: this depending on Topology/Values may yield bananas (*)).

(*) for instance (see ccx events on cursor depending on distortion values) :