{"id":19413446,"url":"https://github.com/wisehackermonkey/quadtree","last_synced_at":"2025-07-10T20:39:44.900Z","repository":{"id":250344712,"uuid":"834173613","full_name":"wisehackermonkey/quadtree","owner":"wisehackermonkey","description":null,"archived":false,"fork":false,"pushed_at":"2024-07-26T16:31:27.000Z","size":677,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-07T15:43:54.853Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wisehackermonkey.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":"2024-07-26T15:20:40.000Z","updated_at":"2024-07-26T16:31:30.000Z","dependencies_parsed_at":"2024-07-26T18:39:21.073Z","dependency_job_id":null,"html_url":"https://github.com/wisehackermonkey/quadtree","commit_stats":null,"previous_names":["wisehackermonkey/quadtree"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wisehackermonkey%2Fquadtree","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wisehackermonkey%2Fquadtree/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wisehackermonkey%2Fquadtree/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wisehackermonkey%2Fquadtree/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wisehackermonkey","download_url":"https://codeload.github.com/wisehackermonkey/quadtree/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240593151,"owners_count":19825930,"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-11-10T12:33:05.883Z","updated_at":"2025-02-25T02:45:32.715Z","avatar_url":"https://github.com/wisehackermonkey.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Quad tree fun\n\n# try 1\n![alt text](image.png)\n## good start but doenst split correctly only recusibly upwards\n![alt text](image-1.png)\n## much better but the stroke is all too crowding the image\nand the mouse tool tip isnt working \n# got the tool tip working but broke the other stuff\n![alt text](image-2.png)\n# working draw function!\n![alt text](image-3.png)\n# but the number format is all messed up my guess is its some binary to intager conversion or just counting recusion calls not the actual binary number\n![alt text](image-4.png)\nbetter too tip + inverted the .bmp file's white and black\n![alt text](image-5.png)\n# prompt:\n```python\ncreate a processing.org python mode sketch.\ncreate a binary tree (DONT USE LIBRARY)\ncreate a bit map and read in bmp called \"example.bmp\"\n\ndef setup\ncanvas width 200\ncanvas hight 200\nnoStroke()\n\ncreate a box test\nset max_recusion depth = 5\nset end condition = box test size = 2 or less\n\nstart with a box the size of the image\npus\niterate though each pixel until a 1 is found\nif no 1's are found \nadd current box to binary tree\n\nif found split the box into 4 smaller quadrents\nrecursivly call box test until the test size is 2 wide\n\n\nwrite tool tip that displays which quadrent the mouse is in by\ndisplays the binary number which repersents the exact quadrent\nand changes the color of the stroke for that quadrent  (DONT USE FSTRINGS)\n    max recursion depth = 5\n    return if mouse posiotion is found within the box and there are no more children leaf nodes\n    get the mouse position\n    recursily check which quadrent the mouse position is in inside the binary tree\nreturn the binary number for quadrent that the mouse was found in\ncode only.\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwisehackermonkey%2Fquadtree","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwisehackermonkey%2Fquadtree","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwisehackermonkey%2Fquadtree/lists"}