{"id":17258428,"url":"https://github.com/thibauts/set-canvas-pixels","last_synced_at":"2025-03-26T09:17:28.665Z","repository":{"id":57356884,"uuid":"43218744","full_name":"thibauts/set-canvas-pixels","owner":"thibauts","description":"Sets a canvas pixels from an array of RGBA pixel values","archived":false,"fork":false,"pushed_at":"2015-09-26T19:02:45.000Z","size":108,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-16T12:15:21.793Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thibauts.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-09-26T19:02:23.000Z","updated_at":"2024-10-27T20:38:31.000Z","dependencies_parsed_at":"2022-09-08T14:10:27.183Z","dependency_job_id":null,"html_url":"https://github.com/thibauts/set-canvas-pixels","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/thibauts%2Fset-canvas-pixels","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thibauts%2Fset-canvas-pixels/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thibauts%2Fset-canvas-pixels/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thibauts%2Fset-canvas-pixels/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thibauts","download_url":"https://codeload.github.com/thibauts/set-canvas-pixels/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245623079,"owners_count":20645681,"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-15T07:20:39.143Z","updated_at":"2025-03-26T09:17:28.644Z","avatar_url":"https://github.com/thibauts.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"set-canvas-pixels\n=================\n### Sets a canvas pixels from an array of RGBA pixel values\n\nSets the pixels of a canvas from an array of RGBA values between 0 and 255.\n\nInstall\n-------\n\n```bash\n$ npm install set-canvas-pixels\n```\n\nUsage\n-----\n\n```javascript\nvar setCanvasPixels = require('set-canvas-pixels');\n\nvar pixels = [0, 0, 0, 255, 255, 255, 255, 255/*, ...*/];\n\nvar canvas = document.getElementById('canvas');\nsetCanvasPixels(canvas, pixels);\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthibauts%2Fset-canvas-pixels","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthibauts%2Fset-canvas-pixels","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthibauts%2Fset-canvas-pixels/lists"}