I want to create an exponential slider where the output will always be from 1-100 (well actually -100 - 100, but that's the next stage). I would like the exponential 'curve' to vary in steepness. I understand that the larger the number of exponent the steeper the curve.

My problem is as the exponent changes, I need to rescale the values so that the output is always from 1 - 100. I know that I have to change the constant in relation to the exponent, but my math is not up to working out how to do it.

I've attached the patch I'm working on. Thank you for any help.