Ease In (Expression Function Reference)

 
 
 

The Function Profiles Ease In command in the expression editor inserts the token ease_in(<start frame>,<end frame>,<interp>) at the insertion point in the editing pane. This token generates a ramp from 0 to 1 between the start and end frames. You can then combine this function with other operations to create ramps between any two numbers. Replace the dummy arguments as follows:

<start frame>

Replace with an expression for the start frame of the ramp. The value is 0 before this frame.

<end frame>

Replace with an expression for the end frame of the ramp. The value is 1 after this frame.

<interp>

Replace with LinearInterp for a linear interpolation between 0 and 1 or with SplineInterp for a spline (curved) interpolation. You can use the FunctionConstant submenu to insert these strings.

Example

5*ease_in(10,90,LinearInterp)+2

Generates a linearly interpolated ramp from 2 (5 * 0 + 2) to 7 (5 * 1 + 2) between frames 10 and 90.

Creative Commons License Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License