Any idea how to tackle this geometry?

I would like to find a way to generate random yet in constraints panel geometries to fit in different sizes.
geometry is sharp peaks, waves like in image

There are plenty of such examples already available.
Here is one of them, hope this helps you.

Hmm, well thats close but how do i make the curve random like the examples.