Am 19.02.2019 um 06:18 schrieb Mike Horvath:
> On 2/17/2019 7:27 AM, Tor Olav Kristensen wrote:
>> #macro MacroName(StartTime, EndTime)
>> Â Â Â Â #local R = (clock - StartTime)/(EndTime - StartTime);
>> Â Â Â Â #local S = min(max(0, R), 1);
>> Â Â Â Â S
>> #end // macro MacroName
> What do you think would be a good way to gradually speed up and then
> slow down the motions using this macro? I'm thinking it would require a
> sine wave (or some other bell curve), but am not sure how to apply it.
A spline might help with this.
Post a reply to this message