This project is a simple 2D simulation of the solar system, showcasing planets orbiting around the Sun in a circular pattern. The model is created using HTML, CSS, and JavaScript and provides a basic visualization of planetary motion, including Earth's Moon.
Check out the live demo of the project: Live Demo
- Sun: The center of the solar system, around which all planets orbit.
- Planets: Simulated orbits for:
- Mercury, Venus, Earth (with Moon), Mars, Jupiter, Saturn (with Rings), Uranus, and Neptune.
- Earth's Moon: Orbits around the Earth.
- Planetary Rotation: Each planet revolves around the Sun at different speeds, proportional to its distance from the Sun.
- Scalable Orbits: The orbits and rotations are based on simplified but scalable measurements for educational purposes.
- HTML5: Structure and content.
- CSS3: Visuals, including animations for rotation and orbit paths.
- JavaScript: Handles the logic of orbital paths and planet motions.
To get started with this project locally, follow these steps:
- Clone the repository:
(https://github.com/MonishRaman/Stardust_innovations.git)
- Navigate to the project directory:
cd solar-system-model
- Open the index.html file in your web browser.
Usage When you open the index.html file, you’ll see:
The Sun at the center of the screen. Planets orbiting around the Sun at different distances and speeds. The Moon orbiting the Earth. Controls: The system is fully automated and runs continuously.
Contributing:
Contributions are welcome! If you'd like to improve the project, feel free to fork the repository and submit a pull request with your improvements. For major changes, please open an issue first to discuss what you'd like to change.
Steps to contribute:
Fork this repository.
Create a branch (git checkout -b new-feature).
Commit your changes (git commit -m 'Add new feature').
Push the branch (git push origin new-feature).
Open a Pull Request.