{"id":15501924,"url":"https://github.com/apendua/spline","last_synced_at":"2025-08-24T11:12:35.690Z","repository":{"id":8692774,"uuid":"10355669","full_name":"apendua/spline","owner":"apendua","description":null,"archived":false,"fork":false,"pushed_at":"2013-05-29T09:15:42.000Z","size":112,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-10T13:13:57.533Z","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/apendua.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}},"created_at":"2013-05-29T08:52:25.000Z","updated_at":"2014-03-22T22:55:57.000Z","dependencies_parsed_at":"2022-07-08T03:30:51.489Z","dependency_job_id":null,"html_url":"https://github.com/apendua/spline","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/apendua%2Fspline","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apendua%2Fspline/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apendua%2Fspline/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apendua%2Fspline/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/apendua","download_url":"https://codeload.github.com/apendua/spline/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247289431,"owners_count":20914464,"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-10-02T09:06:28.863Z","updated_at":"2025-04-05T05:16:15.945Z","avatar_url":"https://github.com/apendua.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# spline\n\n## Usage\n\nTo define a new curve type\n```javascript\nvar curve = new Spline;\n```\nNow you can add control points to your curve like this:\n```javascript\ncurve.push({\n  co: { x: 0, y: 1 },\n});\ncurve.push({\n  co: { x: 1, y: 2 },\n});\ncurve.push({\n  co: { x: 4, y: -5 },\n});\n```\nand evaluate the curve at any point\n```javascript\ncurve.evaluate(1.1111);\n```\nPlease note that the evaluation function of your curve\nwill be compiled as soon as you call `curve.evaluate`\nfor the first time. This may require some additional\ncomputation time.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapendua%2Fspline","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapendua%2Fspline","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapendua%2Fspline/lists"}