{"id":23065819,"url":"https://github.com/ullaskunder3/linear-interpolation","last_synced_at":"2025-07-05T23:06:14.650Z","repository":{"id":153852895,"uuid":"443406842","full_name":"ullaskunder3/linear-interpolation","owner":"ullaskunder3","description":"linear interpolation implementation using vanilla javascript","archived":false,"fork":false,"pushed_at":"2021-12-31T19:04:32.000Z","size":4,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-08T22:25:31.899Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/ullaskunder3.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":"2021-12-31T18:39:59.000Z","updated_at":"2022-01-29T06:59:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"0cdb6d54-565a-43e5-8b5a-ffb4e02f255b","html_url":"https://github.com/ullaskunder3/linear-interpolation","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/ullaskunder3%2Flinear-interpolation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ullaskunder3%2Flinear-interpolation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ullaskunder3%2Flinear-interpolation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ullaskunder3%2Flinear-interpolation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ullaskunder3","download_url":"https://codeload.github.com/ullaskunder3/linear-interpolation/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246970337,"owners_count":20862508,"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":"2024-12-16T05:10:09.833Z","updated_at":"2025-04-03T08:49:06.694Z","avatar_url":"https://github.com/ullaskunder3.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# linear-interpolation\n\nlinear interpolation implementation using vanilla javascript\n\n- Mouse mouse with friction\n\n![ezgif-3-1aceec5ac4](https://user-images.githubusercontent.com/66258652/147836439-09f282ec-489c-474a-9e96-82e8c9e6363c.gif)\n\nLinear interpolation is the simplest type of interpolation: parameter values are calculated in proportion to the difference between key times\n\nlerp allows you to interpolate between min and max. Or in other words, traverse between min and max values, where choosing 0 for fraction puts you at min, choosing 1 puts you at max and for any other value between 0 and 1, puts you anywhere between min and max. You can also see min and max as key poses, like in traditional animation, and lerp outputs as inbetweens ;-).\n\ngood example in freeCodeCamp [link](https://www.freecodecamp.org/news/understanding-linear-interpolation-in-ui-animations-74701eb9957c/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fullaskunder3%2Flinear-interpolation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fullaskunder3%2Flinear-interpolation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fullaskunder3%2Flinear-interpolation/lists"}