{"id":16195310,"url":"https://github.com/tethik/n-body-problem","last_synced_at":"2026-02-23T01:10:24.072Z","repository":{"id":7789772,"uuid":"9159770","full_name":"Tethik/n-body-problem","owner":"Tethik","description":"A java physics simulator for simulating the force of gravity.","archived":false,"fork":false,"pushed_at":"2013-04-02T01:41:46.000Z","size":5296,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-07T15:55:18.606Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/Tethik.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}},"created_at":"2013-04-02T01:20:33.000Z","updated_at":"2013-10-06T16:47:11.000Z","dependencies_parsed_at":"2022-09-07T19:40:20.866Z","dependency_job_id":null,"html_url":"https://github.com/Tethik/n-body-problem","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Tethik/n-body-problem","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tethik%2Fn-body-problem","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tethik%2Fn-body-problem/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tethik%2Fn-body-problem/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tethik%2Fn-body-problem/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Tethik","download_url":"https://codeload.github.com/Tethik/n-body-problem/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tethik%2Fn-body-problem/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29734462,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-22T20:09:16.275Z","status":"ssl_error","status_checked_at":"2026-02-22T20:09:13.750Z","response_time":110,"last_error":"SSL_read: 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":[],"created_at":"2024-10-10T08:27:01.835Z","updated_at":"2026-02-23T01:10:24.043Z","avatar_url":"https://github.com/Tethik.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"n-body-problem\n==============\nA java physics simulator for simulating the force of gravity.\nAuthors: Frederick Ceder and Joakim Uddholm\n\n== Requirements ==\n1. Java 1.7 (JRE)\n2. Ant\n\n== Building ==\nThe project was built in the eclipse IDE but can be compiled by ant if \nyou wish. Either run the `make` command or the `ant` command and it will\ncompile the project with the correct.\n\n== Running ==\nThe main programs that might be interesting to you as a tester are: \n - 2D visualiser\n - the ResultGenerator. \n\nAvailable runnable scripts:\n - 2dvisualiser\n - grav_single\n - grav_multi\n - barneshut_single\n - barneshut_multi\n\n== Input parameters ==\n\n./2dvisualiser numBodies numSteps far numThreads collision width height barnes\n./grav_single numBodies numSteps far numThreads collision\n./grav_multi numBodies numSteps far numThreads collision\n./barneshut_single numBodies numSteps far numThreads collision\n./barneshut_multi numBodies numSteps far numThreads collision\n\nnumBodies and numSteps are mandatory, the rest is optional and will fallback to default values\nif no others are entered.\n\nDefaults:\n\tfar\t\t\t= 0.5\n\tnumThreads \t= 1 or 2 \t(Depending on if sequential run or multithreaded)\n\tcollision\t= true\n\twidth \t\t= 640\n\theight \t\t= 480\n\tbarnes \t\t= false\n\n\nDefinitions:\n\t\n\tfar \t\t:= Granularity value in barnes-hut algorithm. Does nothing for other implementations. \n\t\n\tnumThreads \t:= The number of worker threads used. Does nothing for a sequential run.\n\n\tcollision \t:= Set if collision physics should be activated or not.\n\t\n\twidth\t\t:= Width of the window for the GUI.\n\t\n\theight\t\t:= Width of the window for the GUI.\n\t\n\tbarnes\t\t:= Set gravitational force to run with a Barnes-Hut implementation.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftethik%2Fn-body-problem","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftethik%2Fn-body-problem","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftethik%2Fn-body-problem/lists"}