{"id":24782231,"url":"https://github.com/a-llison-lau/three-body-problem","last_synced_at":"2026-02-26T01:52:25.054Z","repository":{"id":274402854,"uuid":"922785039","full_name":"a-llison-lau/Three-Body-Problem","owner":"a-llison-lau","description":"A visualization of the classic three body problem","archived":false,"fork":false,"pushed_at":"2025-03-03T01:14:12.000Z","size":63640,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T05:32:37.212Z","etag":null,"topics":["physics","physics-simulation","react","three-js","threejs","typescript"],"latest_commit_sha":null,"homepage":"https://three-body-problem.vercel.app","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/a-llison-lau.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":"2025-01-27T04:04:00.000Z","updated_at":"2025-03-03T01:14:17.000Z","dependencies_parsed_at":"2025-03-24T05:38:36.286Z","dependency_job_id":null,"html_url":"https://github.com/a-llison-lau/Three-Body-Problem","commit_stats":null,"previous_names":["a-llison-lau/three-body-problem"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-llison-lau%2FThree-Body-Problem","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-llison-lau%2FThree-Body-Problem/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-llison-lau%2FThree-Body-Problem/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-llison-lau%2FThree-Body-Problem/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/a-llison-lau","download_url":"https://codeload.github.com/a-llison-lau/Three-Body-Problem/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248154994,"owners_count":21056543,"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","physics-simulation","react","three-js","threejs","typescript"],"created_at":"2025-01-29T11:16:34.459Z","updated_at":"2026-02-26T01:52:20.018Z","avatar_url":"https://github.com/a-llison-lau.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Three Body Problem Visualization\n\nWe simulate the restricted Euler problem and visualize known orbits from literature.\n\nThe visualization is at [here](https://three-body-problem.vercel.app/).\n\n![Preview](https://imgur.com/XpemDaf.gif)\n\n## 1. Contributing\n\nTo contribute to this project, make a fork and,\n\n```\ngit clone https://github.com/\u003cyour-github-username\u003e/Three-Body-Problem.git\ncd Three-Body-Problem\nnpm install\nnpm run dev\n```\n\nThe physics components are located in `src/computation/cpp/` (the python version is also available, but takes significantly longer time to run). To run the simulation,\n\n```\ncd src/computation/cpp/\nmake\n./simulation \u003cnum_output_steps\u003e \u003cdt\u003e \u003cinput_file\u003e\n```\n\nNote that `num_output_steps` refer to the number of 0.01 units of time steps (not `dt` units of time steps). For more accurate simulation results, $\\mathrm{d}t \u003c 0.001$ is recommended. The results of the simulation are precomputed with `num_steps = 3600`, `dt = 0.00001` and stored in `public/position_files/\u003cmethod\u003e/\u003corbit\u003e`, where `\u003cmethod\u003e` refers to the order of the symplectic integrator.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa-llison-lau%2Fthree-body-problem","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fa-llison-lau%2Fthree-body-problem","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa-llison-lau%2Fthree-body-problem/lists"}