Easing and tweening: how to make a tulip?

Sep 4, 2013 at 9:36am

Easing and tweening: how to make a tulip?

Hi
I’m having fun messing with (and breaking) some equations that relate to tweening and interpolation on linear input. What I would like is a simpler mathematical function to get a “tulip” shaped output. That is to say, given linear input, the output ramps logarithmically over the 1st quarter, then stabilises before ramping exponentially over the last quarter. This is vague, I know. I guess I’m looking for a reversed extreme cosine output; the following simple patch probably describes it better:

<code>

– Pasted Max Patch, click to expand. –

</code>

Forgive please, I am not math speaker good.

Brendan

#264245
Sep 4, 2013 at 10:09am

Man, I’ve been intending to put this up as a Toolbox entry for a while, and things got in the way.

Here’s a zip file containing gen~-based examples of all the standard easing functions. I hope they’re of some help, Brendan.

#264248
Sep 4, 2013 at 2:44pm

Pretty damn comprehensive Gregory, many thanks (wasn’t there a similar thread request recently??)*.
I look forward to playing with these.

Brendan

why aren’t search results chronological?

#264303

You must be logged in to reply to this topic.