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
POST https://fliplineeasingcurve.usefulweb.app/api/v1/calculate– run Easing Curve & Frame SpacingGET https://fliplineeasingcurve.usefulweb.app/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
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.
| Field | Type | Default | Description |
|---|---|---|---|
easing | text | "ease-in-out" | Easing (CSS timing function) |
frames | integer | 12 | Transition length (frames) |
from | number | 0 | Start value |
to | number | 100 | End 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)
- Streamable HTTP endpoint:
https://fliplineeasingcurve.usefulweb.app/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
flipline_easing_curve - Local stdio connector:
node src/mcp-stdio.ts --tool=flipline-easing-curve
{
"mcpServers": {
"flipline-easing-curve": { "type": "http", "url": "https://fliplineeasingcurve.usefulweb.app/mcp" }
}
}