{"id":20912419,"url":"https://github.com/fogleman/ease","last_synced_at":"2025-07-01T06:36:51.965Z","repository":{"id":65929021,"uuid":"83258727","full_name":"fogleman/ease","owner":"fogleman","description":"Easing functions in #golang.","archived":false,"fork":false,"pushed_at":"2017-03-01T02:50:50.000Z","size":6,"stargazers_count":95,"open_issues_count":0,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-01T20:11:15.736Z","etag":null,"topics":["animation","ease","easing-functions","golang"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fogleman.png","metadata":{"files":{"readme":"README.md","changelog":null,"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-02-27T02:14:39.000Z","updated_at":"2025-02-07T14:32:40.000Z","dependencies_parsed_at":"2023-02-16T18:40:17.098Z","dependency_job_id":null,"html_url":"https://github.com/fogleman/ease","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fogleman%2Fease","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fogleman%2Fease/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fogleman%2Fease/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fogleman%2Fease/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fogleman","download_url":"https://codeload.github.com/fogleman/ease/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253903591,"owners_count":21981725,"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":["animation","ease","easing-functions","golang"],"created_at":"2024-11-18T14:27:09.336Z","updated_at":"2025-05-13T08:30:45.401Z","avatar_url":"https://github.com/fogleman.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Easing Functions in Go\n\n### Installation\n\n    go get -u github.com/fogleman/ease\n\n### Documentation\n\n[https://godoc.org/github.com/fogleman/ease](https://godoc.org/github.com/fogleman/ease)\n\n### Usage\n\nAll easing functions take a `float64` and return a `float64`. The input should be between 0 and 1, inclusive.\n\n    t = ease.OutElastic(t)\n    \nSome easing functions have extra parameters, like `period`. Here is an example:\n\n    var f ease.Function\n    f = ease.OutElasticFunction(0.5)\n    t = f(t)\n    \nOr, simply...\n\n    t = ease.OutElasticFunction(0.5)(t)\n\n---\n\n![Montage](https://www.michaelfogleman.com/static/ease/montage.png)\n\n---\n\n### ease.Linear(t)\n![Linear](https://www.michaelfogleman.com/static/ease/Linear.gif)\n\n---\n\n### ease.InQuad(t)\n![InQuad](https://www.michaelfogleman.com/static/ease/InQuad.gif)\n\n### ease.InCubic(t)\n![InCubic](https://www.michaelfogleman.com/static/ease/InCubic.gif)\n\n### ease.InQuart(t)\n![InQuart](https://www.michaelfogleman.com/static/ease/InQuart.gif)\n\n### ease.InQuint(t)\n![InQuint](https://www.michaelfogleman.com/static/ease/InQuint.gif)\n\n### ease.InSine(t)\n![InSine](https://www.michaelfogleman.com/static/ease/InSine.gif)\n\n### ease.InExpo(t)\n![InExpo](https://www.michaelfogleman.com/static/ease/InExpo.gif)\n\n### ease.InCirc(t)\n![InCirc](https://www.michaelfogleman.com/static/ease/InCirc.gif)\n\n### ease.InElastic(t)\n![InElastic](https://www.michaelfogleman.com/static/ease/InElastic.gif)\n\n### ease.InBack(t)\n![InBack](https://www.michaelfogleman.com/static/ease/InBack.gif)\n\n### ease.InBounce(t)\n![InBounce](https://www.michaelfogleman.com/static/ease/InBounce.gif)\n\n---\n\n### ease.OutQuad(t)\n![OutQuad](https://www.michaelfogleman.com/static/ease/OutQuad.gif)\n\n### ease.OutCubic(t)\n![OutCubic](https://www.michaelfogleman.com/static/ease/OutCubic.gif)\n\n### ease.OutQuart(t)\n![OutQuart](https://www.michaelfogleman.com/static/ease/OutQuart.gif)\n\n### ease.OutQuint(t)\n![OutQuint](https://www.michaelfogleman.com/static/ease/OutQuint.gif)\n\n### ease.OutSine(t)\n![OutSine](https://www.michaelfogleman.com/static/ease/OutSine.gif)\n\n### ease.OutExpo(t)\n![OutExpo](https://www.michaelfogleman.com/static/ease/OutExpo.gif)\n\n### ease.OutCirc(t)\n![OutCirc](https://www.michaelfogleman.com/static/ease/OutCirc.gif)\n\n### ease.OutElastic(t)\n![OutElastic](https://www.michaelfogleman.com/static/ease/OutElastic.gif)\n\n### ease.OutBack(t)\n![OutBack](https://www.michaelfogleman.com/static/ease/OutBack.gif)\n\n### ease.OutBounce(t)\n![OutBounce](https://www.michaelfogleman.com/static/ease/OutBounce.gif)\n\n---\n\n### ease.InOutQuad(t)\n![InOutQuad](https://www.michaelfogleman.com/static/ease/InOutQuad.gif)\n\n### ease.InOutCubic(t)\n![InOutCubic](https://www.michaelfogleman.com/static/ease/InOutCubic.gif)\n\n### ease.InOutQuart(t)\n![InOutQuart](https://www.michaelfogleman.com/static/ease/InOutQuart.gif)\n\n### ease.InOutQuint(t)\n![InOutQuint](https://www.michaelfogleman.com/static/ease/InOutQuint.gif)\n\n### ease.InOutSine(t)\n![InOutSine](https://www.michaelfogleman.com/static/ease/InOutSine.gif)\n\n### ease.InOutExpo(t)\n![InOutExpo](https://www.michaelfogleman.com/static/ease/InOutExpo.gif)\n\n### ease.InOutCirc(t)\n![InOutCirc](https://www.michaelfogleman.com/static/ease/InOutCirc.gif)\n\n### ease.InOutElastic(t)\n![InOutElastic](https://www.michaelfogleman.com/static/ease/InOutElastic.gif)\n\n### ease.InOutBack(t)\n![InOutBack](https://www.michaelfogleman.com/static/ease/InOutBack.gif)\n\n### ease.InOutBounce(t)\n![InOutBounce](https://www.michaelfogleman.com/static/ease/InOutBounce.gif)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffogleman%2Fease","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffogleman%2Fease","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffogleman%2Fease/lists"}