API & MCP

Everything a person can do on Easing Curve & Frame Spacing, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

Easing Curve & Frame Spacing

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.

Inputs of Easing Curve & Frame Spacing
FieldTypeDefaultDescription
easingtext"ease-in-out"Easing (CSS timing function)
framesinteger12Transition length (frames)
fromnumber0Start value
tonumber100End value

Example request

Slow in and slow out over twelve frames

curl -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}'

Every result contains

inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.

MCP (Model Context Protocol)

{
  "mcpServers": {
    "flipline-easing-curve": { "type": "http", "url": "https://fliplineeasingcurve.usefulweb.app/mcp" }
  }
}