{"id":22336729,"url":"https://github.com/kavicastelo/planets_realistic_simulation","last_synced_at":"2025-03-26T08:21:15.011Z","repository":{"id":209290354,"uuid":"723671919","full_name":"kavicastelo/planets_realistic_simulation","owner":"kavicastelo","description":"Solar panel simulation with real values. base and physical calculation credits gose to Tech with Tim Youtube Chanel","archived":false,"fork":false,"pushed_at":"2023-11-26T16:53:01.000Z","size":80,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-31T09:42:54.978Z","etag":null,"topics":["physics-simulation","pygame","python","simulation","solar-system"],"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/kavicastelo.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}},"created_at":"2023-11-26T12:21:00.000Z","updated_at":"2023-11-26T12:33:02.000Z","dependencies_parsed_at":"2024-01-15T06:54:51.630Z","dependency_job_id":"fc5e47e4-90ef-4b5f-9b24-bf22c63f6a98","html_url":"https://github.com/kavicastelo/planets_realistic_simulation","commit_stats":{"total_commits":6,"total_committers":2,"mean_commits":3.0,"dds":"0.33333333333333337","last_synced_commit":"726859eaf88958b5c686b2847769a09f1d87665a"},"previous_names":["kavicastelo/planets_realistic_simulation"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kavicastelo%2Fplanets_realistic_simulation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kavicastelo%2Fplanets_realistic_simulation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kavicastelo%2Fplanets_realistic_simulation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kavicastelo%2Fplanets_realistic_simulation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kavicastelo","download_url":"https://codeload.github.com/kavicastelo/planets_realistic_simulation/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245615100,"owners_count":20644390,"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-simulation","pygame","python","simulation","solar-system"],"created_at":"2024-12-04T06:07:50.286Z","updated_at":"2025-03-26T08:21:14.982Z","avatar_url":"https://github.com/kavicastelo.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Planets realistic simulation\n\nThis is a simulation for solar system. Used exact values to calculate force, gravity, distance and other params.\n\n![img](ss.png)\n\n## packages \u0026 libraries\n\n- pygame\n- math\n\n## functions\n\n- draw()\n    - this function makes the mainframe and helps to set each element's position of the screen. also this makes what are\n      the actual distances from planets to the sun.\n\n- attraction()\n    - this function calculates how to force each planet gravity with other planets. means, venus need more force to\n      circulation because mercury gravity in addition sun's gravity.\n\n- update_position()\n    - this function calculates position changing all planets according to timestamp and updates the screen at 60fps.\n      timestamp calculates 1ms equals 1 day in the real world\n      \n## licence\ncopyrights go to the [Tech with Tim](https://www.youtube.com/@TechWithTim) YouTube channel for the first 4 planets.\n\nThis project is licensed under the MIT LICENSE - see the [LICENSE](LICENSE) file for details.\n\n© Copyright received by [kavindu kokila](mailto:kavindu.kokila.info@gmail.com)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkavicastelo%2Fplanets_realistic_simulation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkavicastelo%2Fplanets_realistic_simulation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkavicastelo%2Fplanets_realistic_simulation/lists"}