{"id":20464241,"url":"https://github.com/kahngjoonkoh/physics_simulator","last_synced_at":"2026-05-29T18:31:29.573Z","repository":{"id":130793650,"uuid":"559497481","full_name":"kahngjoonkoh/Physics_Simulator","owner":"kahngjoonkoh","description":"Simulates graviational forces, circular motion, and momentum conservation.","archived":false,"fork":false,"pushed_at":"2022-11-01T19:31:39.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-05T12:20:41.253Z","etag":null,"topics":["pygame","simulator"],"latest_commit_sha":null,"homepage":"","language":"Python","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/kahngjoonkoh.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":"2022-10-30T09:57:30.000Z","updated_at":"2022-11-01T19:11:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"54c341e6-f5c5-4c3a-8ec7-406638fb38d9","html_url":"https://github.com/kahngjoonkoh/Physics_Simulator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kahngjoonkoh/Physics_Simulator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kahngjoonkoh%2FPhysics_Simulator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kahngjoonkoh%2FPhysics_Simulator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kahngjoonkoh%2FPhysics_Simulator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kahngjoonkoh%2FPhysics_Simulator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kahngjoonkoh","download_url":"https://codeload.github.com/kahngjoonkoh/Physics_Simulator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kahngjoonkoh%2FPhysics_Simulator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33666290,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-29T02:00:06.066Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":["pygame","simulator"],"created_at":"2024-11-15T13:14:25.986Z","updated_at":"2026-05-29T18:31:29.548Z","avatar_url":"https://github.com/kahngjoonkoh.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Physics_Simulator\nSimulates graviational forces, circular motion, and momentum conservation.\n\nIndividual values can be tweaked in the settings for preference. \n\nDrag and let go of the mouse to create a sprite. The default value is 100 for the mass. (no units) Red line indicates the direction of motion and the initial velocity.\n\u003cimg width=\"373\" alt=\"image\" src=\"https://user-images.githubusercontent.com/46638829/199319670-0b155599-025c-4dac-ad25-debea24f6542.png\"\u003e\n\u003cimg width=\"372\" alt=\"image\" src=\"https://user-images.githubusercontent.com/46638829/199319832-70d44d83-2b33-4270-a09c-9773a0aa4e86.png\"\u003e\nThe created sprite is of random color and leaves a trail. (they disappear after a while, you can change it in the settings)\n\nCan scroll the mouse wheel to increase or decrease volume.\n\u003cimg width=\"374\" alt=\"image\" src=\"https://user-images.githubusercontent.com/46638829/199320146-99c5e10b-933b-4835-ae36-b07fdacbe068.png\"\u003e\n\nWhile creating a sprite, if you type in a number, the created sprite will have such mass.\n\u003cimg width=\"369\" alt=\"image\" src=\"https://user-images.githubusercontent.com/46638829/199320773-07fa0ddc-2df1-4f5e-be7b-5e2bb86664c9.png\"\u003e\n\nThere is gravitational forces acting between sprites.\n\u003cimg width=\"365\" alt=\"image\" src=\"https://user-images.githubusercontent.com/46638829/199321330-501c55da-5a3a-4065-b32f-3d5a3e62c5be.png\"\u003e\n\nIf they collide, there is momentum conservation.\n\u003cimg width=\"360\" alt=\"image\" src=\"https://user-images.githubusercontent.com/46638829/199321801-e56347be-5638-4b42-8026-31a2962b99ee.png\"\u003e\n\u003cimg width=\"292\" alt=\"image\" src=\"https://user-images.githubusercontent.com/46638829/199321846-b1361945-5c6f-4c19-9a57-d07a23b31d5e.png\"\u003e\nOnly the surviving sprite's trail is kept.\n\nBy creating a sprite while clicking \"C\" key, you can create a constant sprite. This means, the sprite will not move.\n\u003cimg width=\"372\" alt=\"image\" src=\"https://user-images.githubusercontent.com/46638829/199320258-fde330c5-bce5-4337-a286-d7777e39b045.png\"\u003e\n\nBy creating a sprite and 'linking' it to a sprite, you can create circular motion.\n\u003cimg width=\"370\" alt=\"image\" src=\"https://user-images.githubusercontent.com/46638829/199321543-3f5911f8-4bd3-42d5-9e5b-172f98ef3097.png\"\u003e\n\nYou can create interesting motion such as \n\u003cimg width=\"390\" alt=\"image\" src=\"https://user-images.githubusercontent.com/46638829/199321659-dd926002-961c-40d7-84bc-b273cd8f8061.png\"\u003e\n\u003cimg width=\"275\" alt=\"image\" src=\"https://user-images.githubusercontent.com/46638829/199321694-007243b7-9b98-443e-878c-e3485edbd610.png\"\u003e\n\nPressing the \"spacebar\" will pause the motion of the sprites.\n\n\"R\" will randomly generate a situation.\n\u003cimg width=\"372\" alt=\"image\" src=\"https://user-images.githubusercontent.com/46638829/199321098-efd9a730-4dee-432b-9cb3-8eee5bc7aedf.png\"\u003e\n\n\"Q\" will clear the screen.\n\nUse the conventional \"ASWD\" keys to navigate. This feature is under development and is prone to errors at the moment. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkahngjoonkoh%2Fphysics_simulator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkahngjoonkoh%2Fphysics_simulator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkahngjoonkoh%2Fphysics_simulator/lists"}