{"id":18717552,"url":"https://github.com/ypatel2022/gravity-simulation","last_synced_at":"2025-11-10T13:30:14.289Z","repository":{"id":161325438,"uuid":"596242055","full_name":"ypatel2022/gravity-simulation","owner":"ypatel2022","description":"A gravity simulation using Netwon's Laws of physics.","archived":false,"fork":false,"pushed_at":"2023-08-04T02:47:02.000Z","size":41815,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-28T10:43:00.197Z","etag":null,"topics":["cpp","sfml","simulation"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ypatel2022.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2023-02-01T19:09:11.000Z","updated_at":"2023-09-14T20:08:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"48401fa5-0f8c-48fa-af17-4d6bcb7e347d","html_url":"https://github.com/ypatel2022/gravity-simulation","commit_stats":null,"previous_names":["ypatel2022/gravity-simulation"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ypatel2022%2Fgravity-simulation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ypatel2022%2Fgravity-simulation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ypatel2022%2Fgravity-simulation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ypatel2022%2Fgravity-simulation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ypatel2022","download_url":"https://codeload.github.com/ypatel2022/gravity-simulation/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239581796,"owners_count":19662958,"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":["cpp","sfml","simulation"],"created_at":"2024-11-07T13:16:36.477Z","updated_at":"2025-11-10T13:30:14.189Z","avatar_url":"https://github.com/ypatel2022.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SFML Gravity Simulation\n\nThis is a gravity simulation using Newton's Laws that was created in C++ and rendered using [SFML](https://www.sfml-dev.org/).\n\n\u003c!-- show image --\u003e\n\n![Gravity Simulation](./demo1.png)\n![Gravity Simulation](./demo2.png)\n![Gravity Simulation](./demo3.png)\n\n# Usage\n\nTo run the simulation, you can download from the releases page or build from the source code.\n\nWhen you launch the simulation, you will be presented with a window that is completely still and nothing happens. To start/stop the simulation, press the `Spacebar` key.\n\nIf you want to zoom into/out of the simulation, scroll in/out with the mouse wheel. To pan around the simulation, hold down the `Left Mouse Button` and drag the mouse.\n\nTo exit the program, press the `Escape` key.\n\n# Edit the simulation\n\nTo make edits to the simulation, launch the `SFML Tutorial.sln` solution file and open in Visual Studio 2019. From here open the `SFML Tutorial.cpp` file and start editing 🚀\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fypatel2022%2Fgravity-simulation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fypatel2022%2Fgravity-simulation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fypatel2022%2Fgravity-simulation/lists"}