{"id":18238419,"url":"https://github.com/hexdogstudio/unity-hexdog-ease-function-kit","last_synced_at":"2025-04-08T16:11:26.013Z","repository":{"id":258434786,"uuid":"874979841","full_name":"hexdogstudio/unity-hexdog-ease-function-kit","owner":"hexdogstudio","description":"Set of Ease Function for Unity","archived":false,"fork":false,"pushed_at":"2025-03-25T10:25:29.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-25T11:29:35.010Z","etag":null,"topics":["extension","math","unity"],"latest_commit_sha":null,"homepage":"","language":"C#","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/hexdogstudio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-18T20:32:12.000Z","updated_at":"2025-03-25T10:25:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"4bf484e2-64b4-469a-98c1-155ee9fe0195","html_url":"https://github.com/hexdogstudio/unity-hexdog-ease-function-kit","commit_stats":null,"previous_names":["hexdogstudio/unity-hexdog-ease-functions","hexdogstudio/unity-hexdog-ease-function-kit"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexdogstudio%2Funity-hexdog-ease-function-kit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexdogstudio%2Funity-hexdog-ease-function-kit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexdogstudio%2Funity-hexdog-ease-function-kit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexdogstudio%2Funity-hexdog-ease-function-kit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hexdogstudio","download_url":"https://codeload.github.com/hexdogstudio/unity-hexdog-ease-function-kit/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247878021,"owners_count":21011158,"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":["extension","math","unity"],"created_at":"2024-11-05T03:05:31.389Z","updated_at":"2025-04-08T16:11:26.007Z","avatar_url":"https://github.com/hexdogstudio.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ease Function Kit\n\nThis implementation provides a simple set of easing functions for various speed modifications in Unity. Easing functions are commonly used in animations to create smooth transitions and control the rate of change over time, allowing for effects like acceleration, deceleration, and oscillation. These native C# implementations are adapted from examples available on [Easings.net](https://easings.net/), a popular resource for visualizing and understanding easing curves. The functions are designed to work seamlessly with Unity’s animation and movement systems, giving developers the ability to easily apply different types of motion, such as linear, quadratic, cubic, and elastic, to their game objects or UI elements. These easing functions are ideal for fine-tuning animations, transitions, and movement behaviors in games or interactive applications.\n\n### Easing Functions\n\n- [InExpo](https://easings.net/#easeInExpo)\n- [OutExpo](https://easings.net/#easeOutExpo)\n- [InOutExpo](https://easings.net/#easeInOutExpo)\n- [InBack](https://easings.net/#easeInBack)\n- [OutBack](https://easings.net/#easeOutBack)\n- [InOutBack](https://easings.net/#easeInOutBack)\n- [InSine](https://easings.net/#easeInSine)\n- [OutSine](https://easings.net/#easeOutSine)\n- [InOutSine](https://easings.net/#easeInOutSine)\n- [InCubic](https://easings.net/#easeInCubic)\n- [OutCubic](https://easings.net/#easeOutCubic)\n- [InOutCubic](https://easings.net/#easeInOutCubic)\n- [InQuint](https://easings.net/#easeInQuint)\n- [OutQuint](https://easings.net/#easeOutQuint)\n- [InOutQuint](https://easings.net/#easeInOutQuint)\n- [InCirc](https://easings.net/#easeInCirc)\n- [OutCirc](https://easings.net/#easeOutCirc)\n- [InOutCirc](https://easings.net/#easeInOutCirc)\n- [InElastic](https://easings.net/#easeInElastic)\n- [OutElastic](https://easings.net/#easeOutElastic)\n- [InOutElastic](https://easings.net/#easeInOutElastic)\n- [InQuad](https://easings.net/#easeInQuad)\n- [OutQuad](https://easings.net/#easeOutQuad)\n- [InOutQuad](https://easings.net/#easeInOutQuad)\n- [InQuart](https://easings.net/#easeInQuart)\n- [OutQuart](https://easings.net/#easeOutQuart)\n- [InOutQuart](https://easings.net/#easeInOutQuart)\n\n### Example of Usage\nInstead of the direct value of `t / time`, we may use the output of `OutBack` function to simulate a more organic acceleration.\n```cs\nprivate IEnumerator ScaleTween(Vector2 from, Vector2 to, float time)\n{\n    float t = 0.0f;\n\n    while (t \u003c time)\n    {\n        t += Time.deltaTime;\n        transform.localScale = Vector2.LerpUnclamped(from, to, Ease.OutBack(t / time));\n        yield return null;\n    }\n\n    transform.localScale = to;\n}\n```\n\u003cb\u003eNOTE:\u003c/b\u003e Some functions like `OutBack` may overshoot the the range of `[0.0, 1.0]`. In these cases you should use `LerpUnclamped` instead of `Lerp`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhexdogstudio%2Funity-hexdog-ease-function-kit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhexdogstudio%2Funity-hexdog-ease-function-kit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhexdogstudio%2Funity-hexdog-ease-function-kit/lists"}