{"id":24182546,"url":"https://github.com/cdmain/3d-solar-system","last_synced_at":"2026-05-16T11:33:54.181Z","repository":{"id":265229176,"uuid":"895539234","full_name":"cdmain/3d-solar-system","owner":"cdmain","description":"3D Solar system simulation","archived":false,"fork":false,"pushed_at":"2025-01-10T13:09:16.000Z","size":58162,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-25T10:33:11.724Z","etag":null,"topics":["3d-graphics","3d-simulation","computer-graphics","exploration","galaxy","outer-space","solar-system-simulation","three-js"],"latest_commit_sha":null,"homepage":"https://cdmain.github.io/3d-solar-system/","language":"JavaScript","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/cdmain.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":"2024-11-28T11:56:16.000Z","updated_at":"2025-01-31T19:41:04.000Z","dependencies_parsed_at":"2025-01-10T14:37:08.176Z","dependency_job_id":null,"html_url":"https://github.com/cdmain/3d-solar-system","commit_stats":null,"previous_names":["cdmain/cdmain.github.io","cdmain/3d-solar-system"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cdmain/3d-solar-system","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdmain%2F3d-solar-system","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdmain%2F3d-solar-system/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdmain%2F3d-solar-system/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdmain%2F3d-solar-system/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cdmain","download_url":"https://codeload.github.com/cdmain/3d-solar-system/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdmain%2F3d-solar-system/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33100886,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T04:41:52.686Z","status":"ssl_error","status_checked_at":"2026-05-16T04:41:52.009Z","response_time":115,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["3d-graphics","3d-simulation","computer-graphics","exploration","galaxy","outer-space","solar-system-simulation","three-js"],"created_at":"2025-01-13T08:13:44.824Z","updated_at":"2026-05-16T11:33:54.164Z","avatar_url":"https://github.com/cdmain.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\n\n# **3D Solar System Simulation - Documentation**\n\n## **Overview**\nThe Solar System Simulation is an interactive 3D model built using Three.js. It allows users to visualize the orbits and rotations of planets around the Sun and provides a simple user interface to control various aspects of the simulation, such as adjusting the speed of orbits, selecting a planet to focus on, and locking the camera to follow a specific planet.\n\n## **Features**\n### **1. Planetary Orbits and Rotations**\n- **Orbiting Planets**: Each planet orbits the Sun at a different speed and radius, simulating the motion of planets in the solar system.\n- **Rotating Planets**: Planets rotate around their axes at varying speeds, creating a realistic spinning effect.\n\n### **2. Camera Controls**\n- **Free Camera Movement**: Users can pan, zoom, and rotate the camera view using mouse interactions. This is enabled by the Three.js `OrbitControls`.\n- **Focus on a Planet**: Users can select a planet from the dropdown menu, and the camera will automatically lock onto the selected planet and follow its orbit around the Sun.\n- **Camera Follow Mode**: When focused on a planet, the camera moves at the same speed and along the same orbital path as the planet, providing a close-up view as the planet travels through its orbit.\n\n### **3. User Interface**\n- **Orbit Speed Control**: A slider allows users to adjust the speed at which all planets orbit the Sun. Increasing the slider value accelerates the orbits, while decreasing it slows them down.\n- **Rotation Speed Control**: A slider allows users to control the speed at which planets rotate around their axes. Users can slow down or speed up the rotational speed using this control.\n- **Planet Focus Selection**: A dropdown menu lists all planets in the simulation. By selecting a planet from the menu, the camera locks onto that planet and follows its movement.\n\n## **How to Interact with the Simulation**\n\n### **1. Camera Movement**\n- **Zoom In/Out**: Scroll the mouse wheel up or down to zoom in or out.\n- **Pan**: Hold the right mouse button and drag to pan the camera view.\n\n### **2. Adjusting Simulation Parameters**\n- **Orbit Speed**: Use the orbit speed slider in the UI to control how fast planets orbit the Sun. A higher value increases the speed, while a lower value slows it down.\n- **Rotation Speed**: Use the rotation speed slider to control how fast planets rotate around their axes. Adjusting this slider will make the spinning of the planets faster or slower.\n\n### **3. Focusing on a Planet**\n- **Select a Planet**: Use the dropdown menu labeled \"Focus on Planet\" to choose a planet you wish to follow. Once selected, the camera will automatically adjust to follow the chosen planet as it orbits the Sun.\n- **Camera Follow Mode**: After selecting a planet, the camera will move in sync with the planet's orbit, giving the appearance that the camera is \"attached\" to the planet.\n\n### **4. Resetting Camera View**\n- To reset the camera to its default position or to regain free movement after focusing on a planet, simply select \"none\" from the \"Focus on Planet\" dropdown menu.\n\n## **Technical Notes**\n- **Three.js**: This simulation is built using Three.js, a powerful 3D library that enables the creation of 3D graphics within the browser.\n- **OrbitControls**: The camera movement and interaction are managed by the OrbitControls feature from Three.js, allowing intuitive control over the viewing perspective.\n\n---","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdmain%2F3d-solar-system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcdmain%2F3d-solar-system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdmain%2F3d-solar-system/lists"}