{"id":23896635,"url":"https://github.com/brecert/doodlepad","last_synced_at":"2025-02-23T07:30:17.759Z","repository":{"id":57215161,"uuid":"249526610","full_name":"brecert/doodlepad","owner":"brecert","description":"good doodles","archived":false,"fork":false,"pushed_at":"2021-07-19T21:05:57.000Z","size":160,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-04T16:53:36.046Z","etag":null,"topics":["canvas","javascript"],"latest_commit_sha":null,"homepage":"http://bree.dev/doodlepad/","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/brecert.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":"2020-03-23T19:37:46.000Z","updated_at":"2021-07-19T21:05:23.000Z","dependencies_parsed_at":"2022-09-10T02:40:46.069Z","dependency_job_id":null,"html_url":"https://github.com/brecert/doodlepad","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brecert%2Fdoodlepad","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brecert%2Fdoodlepad/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brecert%2Fdoodlepad/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brecert%2Fdoodlepad/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brecert","download_url":"https://codeload.github.com/brecert/doodlepad/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240285093,"owners_count":19777229,"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":["canvas","javascript"],"created_at":"2025-01-04T16:53:52.849Z","updated_at":"2025-02-23T07:30:17.715Z","avatar_url":"https://github.com/brecert.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DoodlePad\n\u003e good doodle pad\n\nA simple doodle pad to use with canvas contexes\n\n## Demo\n[demo](https://brecert.github.io/doodlepad/)\n\n## Notes\n\nMake sure the canvas container has this css applied to it\n\n```\ntouch-action: none;\n```\n\nto prevent strokes from being mis-inputed and cancelled\n\n## Example\n```js\nimport { PaintingContext } from 'https://unpkg.com/doodlepad'\n\nconst canvas = document.createElement('canvas')\ncanvas.width = window.innerWidth\ncanvas.height = window.innerHeight\n\nconst ctx = canvas.getContext('2d')\nconst paint = new PaintingContext(ctx)\n\npaint.strokeSize = 5\npaint.strokeSmoothing = 0.5\n\ndocument.body.appendChild(canvas)\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrecert%2Fdoodlepad","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrecert%2Fdoodlepad","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrecert%2Fdoodlepad/lists"}