Skip to content

Team ELITE ORRERY WEBAPP #31

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
71 changes: 63 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,68 @@
# NASA Space Apps Challenge 2024 [Noida]

#### Team Name -
#### Problem Statement -
#### Team Leader Email -
#### Team Name - ELITE
#### Problem Statement - Create an orrery webapp
#### Team Leader Email - [email protected]

## A Brief of the Prototype:
What is your solution? and how it works.
# Solar System Visualization

## Code Execution Instruction:
*[If your solution is **not** application based, you can ignore this para]

*The Repository must contain your **Execution Plan PDF**.
This project is an interactive, web-based visualization of our solar system, created using HTML5 Canvas and JavaScript. It provides an engaging and educational experience for users to explore the planets, asteroid belts, and other celestial bodies in our solar system.

## Features

- Realistic representation of the Sun, planets, and their orbits
- Animated planetary motion with varying speeds
- Asteroid belts (Main Asteroid Belt, Earth's Asteroid Belt, and Kuiper Belt)
- Earth's moon (satellite)
- Saturn's rings
- Interactive zoom functionality
- Click-to-view planet information
- Responsive design that adapts to different screen sizes

## How to Use

1. Open the index.html file in a modern web browser.
2. The solar system will automatically start animating.
3. Use the zoom controls in the top-right corner to zoom in and out:
- Click the "+" button to zoom in
- Click the "-" button to zoom out
4. Click on any planet to view its name and orbit radius.
5. Click anywhere else to close the planet information popup.
##Just install live server extension on vs code and run the index.htmnl file on it and enjoy


## Technical Details

- The visualization is built using HTML5 Canvas for rendering.
- JavaScript is used for animation and interactivity.
- Planet images are loaded dynamically (ensure the images folder is present with appropriate planet images).
- The project uses a custom zoom implementation to allow users to explore the solar system in detail.

## Customization

You can easily customize various aspects of the visualization:

- Adjust planet sizes, colors, and orbit radii in the planets array.
- Modify the number and properties of asteroids in the asteroidBelt, earthAsteroidBelt, and kuiperBelt arrays.
- Change the appearance of Saturn's rings by modifying the saturnRings object.
- Adjust the zoom limits by changing the maxZoom and minZoom variables.

## Browser Compatibility

This visualization should work in all modern web browsers that support HTML5 Canvas. For the best experience, use the latest version of Chrome, Firefox, Safari, or Edge.

## Known Issues

- The background space sound may not autoplay in some browsers due to autoplay restrictions. Users may need to interact with the page first to start the audio.

## Future Improvements

- Add more detailed information for each planet
- Implement touch controls for mobile devices
- Add options to adjust animation speed
- Include more celestial bodies like dwarf planets and comets

## Credits

This Solar System Visualization was created as an educational project. Planet images and astronomical data are based on publicly available information from NASA and other space agencies.
Loading