{"id":13826254,"url":"https://github.com/lunelson/split-ease","last_synced_at":"2025-10-26T17:33:22.544Z","repository":{"id":45295511,"uuid":"114989052","full_name":"lunelson/split-ease","owner":"lunelson","description":"The JavaScript Easing function with a beginning, middle and end","archived":false,"fork":false,"pushed_at":"2021-12-23T13:36:01.000Z","size":31342,"stargazers_count":62,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-14T17:15:36.236Z","etag":null,"topics":["algorithm","animation","ease","easing","equation","interpolation","javascript","penner"],"latest_commit_sha":null,"homepage":"https://split-ease.js.org","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lunelson.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-12-21T09:39:37.000Z","updated_at":"2025-04-15T12:35:13.000Z","dependencies_parsed_at":"2022-09-02T16:59:14.076Z","dependency_job_id":null,"html_url":"https://github.com/lunelson/split-ease","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/lunelson/split-ease","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lunelson%2Fsplit-ease","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lunelson%2Fsplit-ease/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lunelson%2Fsplit-ease/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lunelson%2Fsplit-ease/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lunelson","download_url":"https://codeload.github.com/lunelson/split-ease/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lunelson%2Fsplit-ease/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262724893,"owners_count":23354360,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["algorithm","animation","ease","easing","equation","interpolation","javascript","penner"],"created_at":"2024-08-04T09:01:34.585Z","updated_at":"2025-10-26T17:33:22.462Z","avatar_url":"https://github.com/lunelson.png","language":"JavaScript","readme":"\u003ch1 align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/lunelson/split-ease/raw/master/web/assets/banner.svg?sanitize=true\" width=\"80%\" alt=\"SplitEase.js Logo\"\u003e\n  \u003cbr\u003e\n  SplitEase.js\n\u003c/h1\u003e\n\n\u003ch3 align=\"center\"\u003eThe curve with a beginning, middle and end.\u003c/h4\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"#getting-started\"\u003eGetting started\u003c/a\u003e\u0026nbsp;|\u0026nbsp;\n  \u003ca href=\"#backstory\"\u003eBackstory\u003c/a\u003e\n\u003c/p\u003e\n\nSplitEase.js is a JavaScript function which offers animators and creative coders a means to compose separately timed variable __acceleration__, __constant-speed__ and __deceleration__ segments in a single continous interpolation. It weighs less than 1k.\n\nTo try the following __interactive visualisation__ of its simple numeric API [see the homepage](https://split-ease.js.org).\n\n\u003cp\u003e\n  \u003ca href=\"https://split-ease.js.org\"\u003e\n    \u003cimg src=\"https://github.com/lunelson/split-ease/raw/master/web/assets/feature.gif\" width=\"100%\" alt=\"SplitEase.js Logo\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n## Getting started\n\n### Install via NPM\n\n```bash\n$ npm install split-ease --save\n```\n`import` in your ES6 code\n```js\nimport SplitEase from 'split-ease';\n```\nor `require` in your CommonJS code\n```js\nconst SplitEase = require('split-ease);\n```\n\n### Include via `\u003cscript\u003e` tag\n\nget in on unpkg\n```html\n\u003cscript src=\"//unpkg.com/split-ease\" charset=\"utf-8\"\u003e\u003c/script\u003e\n```\n\nor [download](releases/latest) and include a script link to the UMD version.\n\n```html\n\u003cscript src=\"split-ease/dist/split-ease.umd.js\"\u003e\u003c/script\u003e\n```\n\n## Backstory\n\nMost strictly-timed (i.e. not simulation-based) animation on the web makes use of interpolation (easing) functions originally popularized by [Robert Penner](http://robertpenner.com/easing/) in his [2002 book on programming Flash MX](http://robertpenner.com/profmx/). This book proposed 10 curve-types (Sine, Quad, Cubic, Quart, Quint, Exp, Back, Circ, Elastic, Bounce) times 3 variations (easeIn, easeOut and easeInOut), to offer [30 different patterns of movement](https://easings.net/en).\n\nSplitEase takes the most common of these functions—the Sine and Power (Quad, Cubic, Quart, Quint) curves—and composes their underlying maths in a way that makes their ease-in/-out/-in-out proportions and their power curvature continuously independently variable.\n\nFeedback or questions? [Ping me](https://twitter.com/lunelson).\n\n## Acknowledgements\n\n[Robert Penner](http://robertpenner.com/easing/).\n","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flunelson%2Fsplit-ease","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flunelson%2Fsplit-ease","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flunelson%2Fsplit-ease/lists"}