{"id":18824276,"url":"https://github.com/ndbaker1/quadtree-visualizer","last_synced_at":"2026-01-20T01:30:16.714Z","repository":{"id":127435752,"uuid":"328118451","full_name":"ndbaker1/quadtree-visualizer","owner":"ndbaker1","description":"Pure Typescript 🌴 Quadtree implementation with a live demo","archived":false,"fork":false,"pushed_at":"2021-10-27T00:42:52.000Z","size":17290,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-30T04:27:15.148Z","etag":null,"topics":["physics-simulation","playground-app","quadtree","quadtree-js","visualization"],"latest_commit_sha":null,"homepage":"https://ndbaker1.github.io/quadtree-visualizer/","language":"TypeScript","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/ndbaker1.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":"2021-01-09T09:24:55.000Z","updated_at":"2023-05-29T23:13:09.000Z","dependencies_parsed_at":"2023-03-13T11:33:56.552Z","dependency_job_id":null,"html_url":"https://github.com/ndbaker1/quadtree-visualizer","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/ndbaker1%2Fquadtree-visualizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndbaker1%2Fquadtree-visualizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndbaker1%2Fquadtree-visualizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndbaker1%2Fquadtree-visualizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ndbaker1","download_url":"https://codeload.github.com/ndbaker1/quadtree-visualizer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239761512,"owners_count":19692524,"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":["physics-simulation","playground-app","quadtree","quadtree-js","visualization"],"created_at":"2024-11-08T00:56:01.560Z","updated_at":"2026-01-20T01:30:16.653Z","avatar_url":"https://github.com/ndbaker1.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# QuadTree Collision Visualizer\n\n[Demo ✨](https://ndbaker1.github.io/quadtree-visualizer/)   \n\nA Visual demonstration of how `Quadtrees` group entities and perform in order to optimize collision detection alogrithms\n\n## Background \n\n`Quadtrees` help with gathering information about which collisions in an environment are worth testing by only making computations between objects in similar nodes/quads.\n\n\u003e - Quadtree nodes split into four evenly-sized leaf nodes when the number of objects inside them reach a certain capacity.  \n\u003e - Objects are inserted into a fresh Quadtree every iteration, which places each object in its __deepest possible node__.  \n\u003e - The Quadtree algorithm improves upon the naive *T(n) = θ(n\u003csup\u003e2\u003c/sup\u003e)* algorithm and achieves *T(n) = O(n\u003csup\u003e2\u003c/sup\u003e), T(n) = Ω(nlog(n))*.\n\u003e - Quadtrees based on pixels are incidentally a type of trie.\n\n## Simulation\n\nThis Visualizer provides an interactive environment where you can change configurations of the __Quadtree__ and __Physics__ at runtime.  \nThe Quadtree visualization sits atop a `2D Collision System` with a configurable __coefficient of restitution__, used to adjust between __elastic__ and __inelastic__ collisions.\n\n## Development\n\nRun the development server:\n```bash\nnpm run dev\n```\nOpens on [http://localhost:3000](http://localhost:3000).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fndbaker1%2Fquadtree-visualizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fndbaker1%2Fquadtree-visualizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fndbaker1%2Fquadtree-visualizer/lists"}