https://github.com/madhurimarawat/animated-solar-system
This project is an interactive solar system visualization using pure HTML, CSS, and JavaScript. It creatively represents each planet with beautiful animations and dynamic UI elements.
https://github.com/madhurimarawat/animated-solar-system
animation beautiful-ui contributions-welcome creative-design css-design deployment documentation good-first-issue html html-css-javascript mit-license open-source responsive-design solar-system solar-system-simulation ui-design ux-design web-development website
Last synced: about 2 months ago
JSON representation
This project is an interactive solar system visualization using pure HTML, CSS, and JavaScript. It creatively represents each planet with beautiful animations and dynamic UI elements.
- Host: GitHub
- URL: https://github.com/madhurimarawat/animated-solar-system
- Owner: madhurimarawat
- License: mit
- Created: 2025-06-30T14:02:40.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-06-30T14:26:32.000Z (4 months ago)
- Last Synced: 2025-06-30T15:23:45.089Z (4 months ago)
- Topics: animation, beautiful-ui, contributions-welcome, creative-design, css-design, deployment, documentation, good-first-issue, html, html-css-javascript, mit-license, open-source, responsive-design, solar-system, solar-system-simulation, ui-design, ux-design, web-development, website
- Language: JavaScript
- Homepage: https://madhurimarawat.github.io/Animated-Solar-System/
- Size: 2.8 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# ๐ Animated Solar System ๐
This project is an **interactive solar system visualization** using pure **HTML, CSS, and JavaScript**. It creatively represents each planet with beautiful animations and dynamic UI elements.
---
## โจ Features
* ๐ Glowing Sun with realistic effects
* ๐ช Animated planetary orbits with gradient styling
* ๐ง Interactive cards showing info on hover
* ๐ Light/Dark mode toggle for user preference
* ๐ฏ Fully responsive layout using Bootstrap
* โญ Font Awesome icons for stylish visuals
* ๐๏ธ Elegant typography using Google Fonts
* ๐ป Cross-device compatibility---
## ๐๏ธ Directory Structure
```bash
๐ Animated-Solar-System/
โโโ ๐ index.html # Main HTML page ๐
โโโ ๐ css/
โ โโโ ๐จ index.css # Core styling for layout & animations
โ โโโ ๐ light-mode.css # Styles for light theme
โ โโโ ๐ dark-mode.css # Styles for dark theme
โ โโโ ๐ช planets.css # Orbit & planet-specific styles
โ โโโ ๐ฑ responsive-styles.css # Additional responsive adjustments
โ โโโ ๐ฏ targeted-devices.css # Media queries for specific screen sizes
โโโ ๐ js/
โ โโโ ๐งฉ index.js # JavaScript for interactivity & toggles
โ โโโ ๐งฉ mobile-index.js # JavaScript for interactivity & toggles (Mobile)
โโโ ๐ snapshots/ # GIF previews and Static theme snapshots
โ โโโ ๐ผ๏ธ preview.png
โ โโโ ๐ก preview-light.png
โโโ ๐ README.md # You're here! ๐
โโโ ๐ LICENSE # MIT License ๐
โโโ ๐ CONTRIBUTING.md # Contribution guidelines ๐ค
```---
## ๐ ๏ธ Tech Stack & Dependencies
* **HTML5** โ Semantic structure
* **CSS3** โ Animations, themes, layout
* **JavaScript** โ Dynamic interactivity
* **Bootstrap 4.5.2** โ Grid and responsiveness ๐ฆ
* **Font Awesome 5.15.4** โ Icons โญ
* **Google Fonts (Marcellus)** โ Clean typography ๐๏ธ---
## ๐ Usage
> [!TIP]
> Just clone and open `index.html` in any browser!```bash
git clone https://github.com/madhurimarawat/Animated-Solar-System.git
cd Animated-Solar-System
```> [!NOTE]
> ๐ [Read the Contribution Guide](CONTRIBUTING.md)### ๐งฉ Customize It
* Modify planet data via `data-info` attributes in `index.html` ๐ช
* Tweak orbit styles and animations in `index.css` ๐จ
* Adjust theme logic and interactivity in `index.js` ๐ง---
## ๐ผ๏ธ Preview
---
## ๐ Future Enhancements
* Add moons and asteroid belts ๐
* ๐ Planetary rotation animation - animate each planet to rotate around its own axis, mimicking the natural spin observed in real celestial bodies, in addition to their orbital motion around the Sun.
* ๐ง Add interactive sound effects
* ๐ช Add hover cards for each planet and the Sun
* Fix existing hover card layout (currently flows only for Neptune)
* ๐ซ Saturn's ring tilt โ Tilt Saturnโs rings by 45ยฐ to simulate a more realistic 3D appearance.
* ๐ Add 3D depth illusion โ Enhance the planetary visuals with shading and gradients to give a more spherical, three-dimensional look.
* ๐งน Refactor CSS โ Use relative sizing (`max-height: 25%` for planet cards) instead of fixed pixel values for better scalability across devices.
* ๐งฎ Dynamic orbit generation โ Use JavaScript to calculate orbit sizes as a percentage of the viewport or container width, eliminating the need for separate responsive rules for each device and planet.
> [!TIP]
> Wanna implement this or add something yourself? Check out [contributing.md](contributing.md).---
## ๐ช Live Demo
> [!NOTE]
> Hosted on GitHub Pages platform.
>
> [๐ View it live](https://madhurimarawat.github.io/Animated-Solar-System)---
## Thanks for Visiting ๐
- Drop a ๐ if you find this repository useful.
- If you have any doubts or suggestions, feel free to reach me.
๐ซ How to reach me: ย [](https://www.linkedin.com/in/madhurima-rawat/) ย ย![]()
- **Contribute and Discuss:** Feel free to open issues ๐, submit pull requests ๐ ๏ธ, or start discussions ๐ฌ to help improve this repository!