http://qs321.pair.com?node_id=899498


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

Hi Eliya

That's kinda what I want, I think.

It also handles the case where the distance is 1cm, making the boost way too large. Although, I probably want the decline for distances greater than the radius to be less steep, ie the remaining range should be stretched.

Still experimenting, but I think that by combining what you suggest with something like in Re: [OT] Normalizing the return result of an exponential formula, I might get a reasonable result.

Rereading your code, I see you handle the decline, taking the radius into account. That could be it! Thanks