{"id":50635354,"url":"https://github.com/kuranez/solar-system-simulation-web","last_synced_at":"2026-06-07T02:03:24.189Z","repository":{"id":359719345,"uuid":"1246607710","full_name":"kuranez/solar-system-simulation-web","owner":"kuranez","description":"Web version of Solar System Sim using Panel and Pygame.","archived":false,"fork":false,"pushed_at":"2026-05-30T07:35:29.000Z","size":263,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-30T08:07:08.372Z","etag":null,"topics":["animation","astronomy","holoviz-panel","physics","pygame","python","simulation","solar-system-simulation","webapp"],"latest_commit_sha":null,"homepage":"https://apps.kuracodez.space/solar-system-sim/app","language":"Python","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/kuranez.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-22T11:12:58.000Z","updated_at":"2026-05-24T02:16:25.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/kuranez/solar-system-simulation-web","commit_stats":null,"previous_names":["kuranez/solar-system-simulation-web"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kuranez/solar-system-simulation-web","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kuranez%2Fsolar-system-simulation-web","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kuranez%2Fsolar-system-simulation-web/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kuranez%2Fsolar-system-simulation-web/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kuranez%2Fsolar-system-simulation-web/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kuranez","download_url":"https://codeload.github.com/kuranez/solar-system-simulation-web/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kuranez%2Fsolar-system-simulation-web/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34006046,"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-06-07T02:00:07.652Z","response_time":124,"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":["animation","astronomy","holoviz-panel","physics","pygame","python","simulation","solar-system-simulation","webapp"],"created_at":"2026-06-07T02:03:23.629Z","updated_at":"2026-06-07T02:03:24.180Z","avatar_url":"https://github.com/kuranez.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Solar System Simulation Web\n\u003cp align=\"left\"\u003e\n    \u003ca href=\"https://www.python.org/\" target=\"_blank\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/Python-3776AB?style=for-the-badge\u0026logo=python\u0026logoColor=white\" alt=\"Python\"/\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://www.pygame.org\" target=\"_blank\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/Pygame-62B66B?style=for-the-badge\u0026logo=pygame\u0026logoColor=white\" alt=\"Pygame\"/\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://panel.holoviz.org/\" target=\"_blank\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/Holoviz%20Panel-0094A9?style=for-the-badge\" alt=\"Holoviz Panel\"/\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://docs.docker.com/\" target=\"_blank\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/Docker-2496ED?style=for-the-badge\u0026logo=docker\u0026logoColor=white\" alt=\"Docker\"/\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\nWeb implementation of my previous [Solar System Simulation](https://github.com/kuranez/solar-system-simulation) with simplified functionality for web rendering.\n\n---\n\n## 🌐 WebApp\n\n\u003e [![Live Demo](https://img.shields.io/badge/🟢%20Live%20App-Solar%20System%20Sim-422C71?style=for-the-badge)](https://apps.kuracodez.space/solar-system-sim/app)\n\u003e\n\u003e **Try the app - explore the solar system directly in your browser.**\n\u003e\n\n---\n\n## 💡 Features\n\n- **Interactive Simulation Controls:** Play, pause, and advance the simulation frame-by-frame.\n- **Multiple Simulation Views:** Easily switch between different scenarios, such as the full solar system or a simple Sun-Earth system.\n- **Web App built using Panel:** The entire user interface is built with the powerful and flexible Panel library.\n- **Off-Screen Pygame Rendering:** Utilizes Pygame for high-performance, off-screen rendering of the simulation, served through the Panel web interface.\n\n---\n\n## ⚙️ Project Architecture\n\n```yaml\nsolar-system-simulation-web/\n│\n├── app.py                  # Main application entry point. Initializes Panel UI, state, and callbacks.\n├── constants.py            # Central file for simulation constants (physics, colors, scaling).\n├── modules/                # Simulation presets and helper generators\n│   ├── simple_solar_system.py \n│   ├── simple_sun_and_earth.py \n│   ├── simple_sun_earth_moon.py \n│   └── simple_earth_moon.py \n├── objects/                # Runtime body definitions and presets\n│   ├── base.py             \n│   ├── planet.py           \n│   ├── moon.py             \n│   ├── asteroid.py         \n│   └── presets/            \n├── ui/                     # UI components and rendering helpers\n│   ├── css.py\n│   ├── canvas.py\n│   ├── hud.py\n│   ├── screen.py\n│   └── ui_handlers.py\n├── simulation/             # Core simulation engine and scaling utilities\n│   ├── physicss.py\n│   └── scale.py\n├── requirements.txt\n└── README.md\n```\n\n---\n\n## 📦 Dependencies\n\n- **`pygame`**: For off-screen rendering of the simulation.\n- **`panel`**: For building the web interface and serving the application.\n- **`numpy` \u0026 `math`**: For numerical operations, particularly in converting Pygame surfaces.\n- **`Pillow`**: For image processing and handling the PNG conversion.\n\n---\n\n## 📕 Resources\n\n[Planetary Data from NASA](https://nssdc.gsfc.nasa.gov/planetary/factsheet/)\n\n---\n\n## 📗 Contributing\n\nPull requests, bug reports, and feature requests are welcome!\n\n---\n\n## 📘 License\n\nThis project is open source and available under the MIT License. You may modify, distribute, and use it freely in your own projects.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkuranez%2Fsolar-system-simulation-web","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkuranez%2Fsolar-system-simulation-web","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkuranez%2Fsolar-system-simulation-web/lists"}