Apps Part of Flipline

Easing Curve & Frame Spacing

See where a CSS or Lottie easing lands on every animation frame.

Try an example: · ·

More about this tool

How it works

Enter a CSS timing function such as ease-in-out, cubic-bezier(0.34, 1.56, 0.64, 1) or steps(4, jump-end), a transition length in frames and the start and end values. Get the value on every frame, the spacing between frames, overshoot and peak speed, a graph with an animator’s spacing chart, and CSS and Lottie handles.

  • A cubic-bezier(x1, y1, x2, y2) curve runs from (0, 0) to (1, 1). Time x is solved for the curve parameter by 30 bisection steps (x is monotonic because x1 and x2 lie in 0–1); progress is the curve’s y at that parameter. Keywords use the CSS control points: ease (0.25, 0.1, 0.25, 1), ease-in (0.42, 0, 1, 1), ease-out (0, 0, 0.58, 1), ease-in-out (0.42, 0, 0.58, 1).
  • steps(n, position) follows the CSS step algorithm: jump-start and jump-both jump at time 0, jump-end and jump-both at the end, jump-none never; hold stays at the start value until the last frame.
  • A transition of N frames has N + 1 samples: frame 0 is the start key and frame N the end key, as in Flipline Motion Desk. Value = start + (end − start) × progress; spacing is the change since the previous frame. Peak speed compares the largest spacing with even (linear) spacing.
  • Y handles from −2 to 3 allow anticipation and overshoot. Lottie handles map o = (x1, y1) on the start key and i = (x2, y2) on the end key; steps have no Lottie handle form. Values are rounded to six decimals.

Sources

Part of Flipline

  • Flipline Drawing, storyboards & animation

    A few drawings. A little life. Make a flipbook in your browser.

    Open Flipline

How to use Easing Curve & Frame Spacing

Turn a CSS easing such as ease-out or cubic-bezier() into the exact value on every animation frame, with spacing, overshoot, peak speed and Lottie handles.

What it is for

An easing curve decides how a move speeds up and slows down between two keys. In CSS or Lottie you only see four handle numbers, but an animator thinks in frames: where is the ball on frame 3, and how far does it travel between frame 5 and 6? This tool answers exactly that. Enter a CSS timing function, the length of the transition in frames and the start and end values, and it lists the value on every frame together with the spacing (the distance since the previous frame), which is what you check on a traditional spacing chart.

It accepts keywords (linear, ease, ease-in, ease-out, ease-in-out), hold, any cubic-bezier(x1, y1, x2, y2) and CSS steps(n, position). The same engine draws the easing graph editor in Flipline's Motion Desk and times the camera moves in Story Desk, so numbers you plan here match what the app plays.

Worked example

I wanted a value to rise from 100 to 400 over 6 frames with ease-out. The tool answered "ease-out over 6 frames stays between its end values."

Worked example
FrameProgressValueSpacing
001000
10.26034178.10278.102
20.488349246.50568.403
30.684643305.39358.888
40.843836353.15147.758
50.955502386.65133.5
6140013.349

The spacing shrinks every frame: a classic slow-out. Peak speed was 1.562 × linear on frame 1, meaning the first step is about one and a half times as long as an even step (300 / 6 = 50).

A second run with cubic-bezier(0.68, -0.6, 0.32, 1.6) over 8 frames from 0 to 200 reported that the curve overshoots: the value dips to −19.54 on frame 2, reaches 219.54 on frame 6 and settles at 200. Peak speed was 3.7017 × linear, so the middle frames jump far, which you may want to smear or add an inbetween for.

How to read the result

  • Metrics: the CSS text, peak speed compared with even spacing, the fastest frame and the lowest and highest progress (below 0 or above 1 means anticipation or overshoot).
  • Graph: the curve with its two handles, one dot per frame and a spacing chart underneath. Dots close together mean slow, far apart mean fast.
  • Lottie keyframe handles: o belongs on the first key, i on the next key. Steps have no Lottie form, so this block is missing for them.
  • Value on every frame table and the CSV download, with frame 0 as the start key and the last frame as the end key.

Tips and common mistakes

  • The frame count is the gap between keys. Keys on frames 10 and 22 mean 12 frames, which gives 13 rows.
  • Handle X values must stay between 0 and 1; Y values may go from −2 to 3 for anticipation and overshoot.
  • steps(4) is short for steps(4, jump-end); jump-start already jumps on frame 0.
  • Values are rounded to six decimals; round further yourself when you need whole pixels.
  • In Motion Desk, the same presets (gentle, strong, anticipate, overshoot) and the CSS text field are part of the graph editor, and you can apply one curve to every key of a layer.

FAQ

Is this the same as how a browser animates?

The curves follow the CSS Easing Level 1 definitions. A browser samples at its own refresh times, while this tool samples whole animation frames.

Why does linear show tiny rounding at some frames?

The time axis is solved numerically to a tolerance far below one millionth, which disappears after rounding to six decimals.

Can I use it for opacity or rotation?

Yes. The start and end values are plain numbers: degrees, percent or pixels all work.

How long can a transition be?

From 1 to 600 frames. The graph thins out after 120 frames, but the table and CSV list every frame.

Guide last updated:

For scripts and AI agents

  • JSON API: POST https://fliplineeasingcurve.usefulweb.app/api/v1/calculate (same calculation as this page)
  • Interface description: OpenAPI 3.1 · AI guide: llms.txt
  • MCP server (Streamable HTTP): https://fliplineeasingcurve.usefulweb.app/mcp · tool name flipline_easing_curve
Example request
curl -s -X POST https://fliplineeasingcurve.usefulweb.app/api/v1/calculate \
  -H 'content-type: application/json' \
  -d '{"easing":"ease-in-out","frames":12,"from":0,"to":100}'
Feedback · ideas & bug reports welcome