{"id":22419047,"url":"https://github.com/en10/mazejs","last_synced_at":"2026-01-31T20:33:58.908Z","repository":{"id":75872173,"uuid":"83130210","full_name":"EN10/MazeJS","owner":"EN10","description":"Maze in JS Canvas","archived":false,"fork":false,"pushed_at":"2017-03-02T09:41:32.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-23T05:06:50.763Z","etag":null,"topics":["maze","maze-solver","png","png-decoder"],"latest_commit_sha":null,"homepage":"https://preview.c9users.io/en10/maze/index.html","language":"HTML","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/EN10.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-02-25T12:27:29.000Z","updated_at":"2017-04-08T11:35:21.000Z","dependencies_parsed_at":"2023-02-25T01:15:20.049Z","dependency_job_id":null,"html_url":"https://github.com/EN10/MazeJS","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/EN10/MazeJS","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EN10%2FMazeJS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EN10%2FMazeJS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EN10%2FMazeJS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EN10%2FMazeJS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EN10","download_url":"https://codeload.github.com/EN10/MazeJS/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EN10%2FMazeJS/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28953684,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T18:30:42.805Z","status":"ssl_error","status_checked_at":"2026-01-31T18:30:19.593Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["maze","maze-solver","png","png-decoder"],"created_at":"2024-12-05T16:13:58.333Z","updated_at":"2026-01-31T20:33:58.902Z","avatar_url":"https://github.com/EN10.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"#Investigation in to Maze solving in JS#\n\nindex.html\n-\n\nindex.html loads tiny.png 10x10 pixel maze  \n\ngetImageData produces a RGBA array  \nblack is 0,0,0,255 and white is 255,255,255,255   \nR = G = B so only Red is read    \nRGBA means length / 4 and i*4   \nif 0 i.e. black pixel found then use fillRect() \nmod (%) used to go to next row  \n\ndebug.html\n-\n\nZooming PNG is Blurry   \nFollowing lines have been commented out in favour of redraw    \ncanvas set to image size    \nzoom image to fit window height   \ngetImageData doesn't work after scale hence draw before and after scale \n\npixels2Console() = pixels2Array() \u0026 array2Console()  \npixels2Array creates a simplified (getImageData) array, may be redundant  \n\n\nReferences\n-\n\nhttps://preview.c9users.io/en10/maze/index.html\n\nhttps://www.youtube.com/watch?v=rop0W4QDOUI\n\nhttps://github.com/mikepound/mazesolving\n\nhttps://developer.mozilla.org/en-US/docs/Web/API/Canvas_API/Tutorial/Pixel_manipulation_with_canvas","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fen10%2Fmazejs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fen10%2Fmazejs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fen10%2Fmazejs/lists"}