{"id":16731706,"url":"https://github.com/spearwolf/legendary-mazes","last_synced_at":"2025-09-20T21:35:18.286Z","repository":{"id":42455300,"uuid":"226074152","full_name":"spearwolf/legendary-mazes","owner":"spearwolf","description":"a tiny javascript library for creating legendary mazes ;-)","archived":false,"fork":false,"pushed_at":"2024-06-19T07:22:31.000Z","size":2149,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-18T05:23:28.026Z","etag":null,"topics":["gamedev","generative-art","javascript","maze-creation","maze-generation-algorithms","maze-generator","mazes"],"latest_commit_sha":null,"homepage":"","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/spearwolf.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}},"created_at":"2019-12-05T10:19:01.000Z","updated_at":"2024-06-19T07:22:35.000Z","dependencies_parsed_at":"2024-10-28T18:03:21.930Z","dependency_job_id":null,"html_url":"https://github.com/spearwolf/legendary-mazes","commit_stats":{"total_commits":42,"total_committers":2,"mean_commits":21.0,"dds":0.1428571428571429,"last_synced_commit":"60cf0ca6702c3e218c1f164768058060a01dc926"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spearwolf%2Flegendary-mazes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spearwolf%2Flegendary-mazes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spearwolf%2Flegendary-mazes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spearwolf%2Flegendary-mazes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spearwolf","download_url":"https://codeload.github.com/spearwolf/legendary-mazes/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244874181,"owners_count":20524576,"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":["gamedev","generative-art","javascript","maze-creation","maze-generation-algorithms","maze-generator","mazes"],"created_at":"2024-10-12T23:38:37.049Z","updated_at":"2025-09-20T21:35:13.234Z","avatar_url":"https://github.com/spearwolf.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"L E G E N D A R Y \u0026nbsp; M A Z E S\n\n[![npm version](https://badge.fury.io/js/legendary-mazes.svg)](https://badge.fury.io/js/legendary-mazes)\n\nA tiny javascript library for creating legendary mazes :sparkles:\n\n![a legendary maze](./legendary-maze-1.png)\n![a legendary maze animation](./legendary-maze.gif)\n\nThis library is using a _recursive backtracker_ [algorithm for maze generation](https://en.wikipedia.org/wiki/Maze_generation_algorithm)\n\u0026mdash; I implemented it relatively freely because it was so much fun :smiley:\n\nFeel free to adapt, improve and extend the algorithm according to your needs - PR's are always welcome!\n\n### Demo or Die\n\nJust look at this codepen: https://codepen.io/spearwolf/full/yLePxBw\n\nIn order to run the local demo app you need to start a local http server:\n\n```sh\nnpx serve\n```\n\nThen simply call the following url with a browser of your choice: [http://localhost:5000/](http://localhost:5000/)\n\n\n### Documentation\n\n#### Getting Started\n\n1. Install the module in your project\n\n```sh\nnpm i legendary-mazes\n```\n\n2. Import what you need\n\n```js\nimport {\n  MazeGrid,\n  RecursiveBacktracker,\n  DistanceGrid,\n  MazeCanvasRenderer\n} from 'legendary-mazes';\n```\n\n#### API\n\nTake a look into [./demo.js](./demo.js) or [./codepen/](./codepen/) for examples how to use this library.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspearwolf%2Flegendary-mazes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspearwolf%2Flegendary-mazes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspearwolf%2Flegendary-mazes/lists"}