{"id":21221308,"url":"https://github.com/tyrealgray/gcodepainter","last_synced_at":"2025-08-31T13:38:31.980Z","repository":{"id":77558924,"uuid":"46248377","full_name":"TyrealGray/GCodePainter","owner":"TyrealGray","description":"A GCodePainter based on html canvas","archived":false,"fork":false,"pushed_at":"2016-05-13T14:52:33.000Z","size":4163,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-08T06:03:23.458Z","etag":null,"topics":["3d-printer","3d-printing","canvas","gcode"],"latest_commit_sha":null,"homepage":"https://tyrealgray.github.io/GCodePainter","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TyrealGray.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2015-11-16T02:56:17.000Z","updated_at":"2022-02-04T14:29:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"c1fb9f84-3f93-4417-8b43-0783399a08dd","html_url":"https://github.com/TyrealGray/GCodePainter","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/TyrealGray/GCodePainter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TyrealGray%2FGCodePainter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TyrealGray%2FGCodePainter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TyrealGray%2FGCodePainter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TyrealGray%2FGCodePainter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TyrealGray","download_url":"https://codeload.github.com/TyrealGray/GCodePainter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TyrealGray%2FGCodePainter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272988777,"owners_count":25026959,"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","status":"online","status_checked_at":"2025-08-31T02:00:09.071Z","response_time":79,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["3d-printer","3d-printing","canvas","gcode"],"created_at":"2024-11-20T22:26:36.692Z","updated_at":"2025-08-31T13:38:31.965Z","avatar_url":"https://github.com/TyrealGray.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GCodePainter\nA GCodePainter html canvas based on [hudbrog's gCodeViewer](https://github.com/hudbrog/gCodeViewer)\n\n### API:\ninit\n\nloadFile\n\nloadUrl\n\npaintLayer\n\nonParseProgress\n\nonParseDone\n\n### Example:\n```\ngCodePainter.init({\n        divID: 'renderView',\n        workPath: 'js'\n});\n\ngCodePainter.onParseDone = function(number) {\n        document.getElementById('gcodeRangeSlider').max = number - 1;\n        document.getElementById('gcodeRangeSlider').value = 1;\n}\n\ndocument.getElementById('gcodeFileInput').addEventListener('change', function(uploader) {\n        gCodePainter.loadFile(uploader.target.files[0]);\n});\n\ndocument.getElementById('gcodeRangeSlider').addEventListener('change', function(event) {\n        gCodePainter.paintLayer(event.target.valueAsNumber);\n});\n```\n\n**For more detail,download release version**\n\n### [check this demo(please wait while gcode file is downloading)](http://tyrealgray.github.io/GCodePainter/demo.html)\n\n![screenshot](https://raw.githubusercontent.com/TyrealGray/GCodePainter/master/screenshot/gCodePainter.jpg)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftyrealgray%2Fgcodepainter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftyrealgray%2Fgcodepainter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftyrealgray%2Fgcodepainter/lists"}