Random curves on surface

Hi there,

Is there any way to create random curves on a surface? I trying to make something like this:

Thanks.

First idea is just to create some scraggly curve and then to project it on surface.. tried myself - looks siimilar