Forums > MaxMSP

Easing and tweening: how to make a tulip?

September 4, 2013 | 9:36 am

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


September 4, 2013 | 10:09 am

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.


September 4, 2013 | 2:44 pm

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?


Viewing 3 posts - 1 through 3 (of 3 total)