in reply to [OT] Normalizing the return result of an exponential formula

I suppose I could do something like:

then apply the formula to the new "stretched" distance.my $max = 10_000; $distance -= $radius; $distance = 0 if $distance < 0; $distance *= $max/($max-$radius)

Any more elegant way of handling it? (especially one that incorporates `dropoff`?)

In Section
Seekers of Perl Wisdom

Comment onRe: [OT] Normalizing the return result of an exponential formulaSelectorDownloadCode