If you look at a hammock from side on, the view is the top one. I was foxed by this view and thought the string length was important. But the end-on view below is the correct analysis. The mathematical analysis of the time period of a pendulum can be found
here. It is height h that is important and that will be the 80cm I calculated from the time period.