{"id":17968348,"url":"https://github.com/gre/bezier-easing-editor","last_synced_at":"2025-04-04T21:06:25.681Z","repository":{"id":724111,"uuid":"33052611","full_name":"gre/bezier-easing-editor","owner":"gre","description":"Cubic Bezier Curve editor made with React \u0026 SVG","archived":false,"fork":false,"pushed_at":"2022-05-05T16:09:21.000Z","size":906,"stargazers_count":340,"open_issues_count":3,"forks_count":40,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-03-28T20:06:10.310Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://gre.github.io/bezier-easing-editor/example/","language":"JavaScript","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/gre.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}},"created_at":"2015-03-28T22:25:15.000Z","updated_at":"2025-01-26T12:45:15.000Z","dependencies_parsed_at":"2022-08-16T10:45:22.274Z","dependency_job_id":null,"html_url":"https://github.com/gre/bezier-easing-editor","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gre%2Fbezier-easing-editor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gre%2Fbezier-easing-editor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gre%2Fbezier-easing-editor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gre%2Fbezier-easing-editor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gre","download_url":"https://codeload.github.com/gre/bezier-easing-editor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247249524,"owners_count":20908212,"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-29T14:21:04.424Z","updated_at":"2025-04-04T21:06:25.662Z","avatar_url":"https://github.com/gre.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"bezier-easing-editor\n====================\nCubic Bezier Curve editor made with React \u0026 SVG.\n\n[![](https://nodei.co/npm/bezier-easing-editor.png)](https://www.npmjs.com/package/bezier-easing-editor)\n\n## Example\n\n[(click to open)\n![](https://cloud.githubusercontent.com/assets/211411/6906945/5678cf8a-d732-11e4-8439-9587271a4406.png)\n](http://gre.github.io/bezier-easing-editor/example/)\n\nControlled / Uncontrolled Component\n-----\n\n`bezier-easing-editor` allows to be **Controlled**:\nyou have to provide `value` and an `onChange` handler\nto enable the edition.\n```jsx\n\u003cBezierEditor value={this.state.val} onChange={val =\u003e this.setState({ val })} /\u003e\n```\n\n`bezier-easing-editor` allows to be **Uncontrolled**:\njust define a `defaultValue`:\n```jsx\n\u003cBezierEditor defaultValue={[0.2, 0.2, 0.8, 0.8]} onChange={console.log.bind(console)} /\u003e\n```\n\nSee also\n--------\n\n- [`bezier-easing`](https://github.com/gre/bezier-easing)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgre%2Fbezier-easing-editor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgre%2Fbezier-easing-editor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgre%2Fbezier-easing-editor/lists"}