How to make inversely proportional relation?

Does it work to just measure the length of each curve and divide by a density/spacing parameter?