{"id":18427257,"url":"https://github.com/fjebaker/barnes-hut","last_synced_at":"2025-07-23T05:32:49.774Z","repository":{"id":124944214,"uuid":"112093123","full_name":"fjebaker/Barnes-Hut","owner":"fjebaker","description":null,"archived":false,"fork":false,"pushed_at":"2020-03-24T03:05:10.000Z","size":4801,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-15T13:57:12.198Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/fjebaker.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,"zenodo":null}},"created_at":"2017-11-26T15:16:54.000Z","updated_at":"2022-11-24T17:02:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"47ff6f1f-0bcb-424b-baf4-6da7911bbe87","html_url":"https://github.com/fjebaker/Barnes-Hut","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fjebaker/Barnes-Hut","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fjebaker%2FBarnes-Hut","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fjebaker%2FBarnes-Hut/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fjebaker%2FBarnes-Hut/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fjebaker%2FBarnes-Hut/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fjebaker","download_url":"https://codeload.github.com/fjebaker/Barnes-Hut/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fjebaker%2FBarnes-Hut/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266624373,"owners_count":23958251,"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-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":[],"created_at":"2024-11-06T05:10:04.266Z","updated_at":"2025-07-23T05:32:49.753Z","avatar_url":"https://github.com/fjebaker.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Barnes-Hut Python Simulations\n\n**THE CURRENT VERSION IS INCOMPATIBLE and unfortunately does not run**\n\nI mean for a start python2 is discontinued, but I tried running this software again in 2020. The PIL and pillow libraries have changed drastically, even within python2, and since I was still new to python development when I wrote this code, I didn't understand the importance of correctly documenting dependencies. As such, I am just leaving this here for legacy -- I may update it one day for a laugh, but for now it remains testimony to my coding origins :)\n\nCreated by FB Nov/Dec 2017 for PH2140 at Royal Holloway   \n\nCurrently still in Alpha\n\n----\nThe Barnes-Hut algorithm is an approximation for an N-Body problem, commonly used to solve gravitational simulations. The algorithm divides the region of space into a quadtree, reccursively itterating until there is only one object per node of the tree. Then, instead of computing acceleration between each body (N^2 time problem), if the node of the tree is a certain distance from the object under consideration, all masses in that space are assumed one, and the centre of mass used for position.\nFor more detail, see [here](http://arborjs.org/docs/barnes-hut).\n\n----\n\u003cimg src=\"https://github.com/Dustpancake/Barnes-Hut/blob/master/header.png\" align=\"left\" height=\"400\" width=\"400\" \u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffjebaker%2Fbarnes-hut","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffjebaker%2Fbarnes-hut","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffjebaker%2Fbarnes-hut/lists"}