how to get equivalent to curveTightness?