{"id":25267456,"url":"https://github.com/banyango/rust-tween","last_synced_at":"2025-04-06T03:27:15.351Z","repository":{"id":146524694,"uuid":"168058582","full_name":"Banyango/rust-tween","owner":"Banyango","description":"A tween library for rust.","archived":false,"fork":false,"pushed_at":"2019-01-29T00:06:16.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-12T09:52:40.085Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Banyango.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2019-01-29T00:04:44.000Z","updated_at":"2019-06-19T20:32:39.000Z","dependencies_parsed_at":"2023-07-12T11:45:08.024Z","dependency_job_id":null,"html_url":"https://github.com/Banyango/rust-tween","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/Banyango%2Frust-tween","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Banyango%2Frust-tween/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Banyango%2Frust-tween/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Banyango%2Frust-tween/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Banyango","download_url":"https://codeload.github.com/Banyango/rust-tween/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247430368,"owners_count":20937859,"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":[],"created_at":"2025-02-12T09:37:54.625Z","updated_at":"2025-04-06T03:27:15.344Z","avatar_url":"https://github.com/Banyango.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Interpolation Experiment\n\nA library for interpolating values according to different functions. \n\nNote: Not intended for production, I'm using this to learn Rust better. \n\n## Usage \n\nCreate a type tween. This will set the tween to alive, and then increment the tween by supplying a delta_time tick.\n\nSample usage\n\n```\nstruct A {\n    tween:Tween\u003cf32\u003e\n}\n\nimpl A {\n\n    fn tween_me(\u0026mut self) {\n        tween = Tween::new(0.0, 500.0, 2.0);\n        tween.set_ease(EaseType::SineIn);        \n    }\n\n    fn update_tick(\u0026mut self, delta_time:f32) {\n        tween.tick(delta_time);\n\n        println!(\"interpolated value is = {}\",tween.value);\n    }\n\n}\n```\n\n###todo \n- Add support for elastic, bounce, and back interpolation types.\n- Figure out a nicer way to have the tween update a reference value...","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbanyango%2Frust-tween","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbanyango%2Frust-tween","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbanyango%2Frust-tween/lists"}