def calc_easing_degree_for_proportion(proportion):
 return ((- math.log10(proportion)) + 1)

def calc_easing_degree_for_proportion ( proportion ) : return ( ( - math . log10 ( proportion ) ) + 1 )
calculates a reasonable easing degree for a given proportion .