This project visualizes the rotation of the Earth and Moon, incorporating real-time tracking of the user's current sunset and sunrise locations. The animation is centered around the Sun and is built using HTML, CSS, and JavaScript within a canvas element.
- Realistic Earth and Moon Rotation: Depicts the rotation of the Earth and Moon.
- Sun-Centered View: The Sun remains at the center of the animation.
- Sunset & Sunrise Tracking: Displays the user's current sunset and sunrise locations on Earth in real time.
- HTML5: For the structure of the canvas.
- CSS3: For styling and layout.
- JavaScript: For animation logic and geolocation tracking.
A modern web browser with JavaScript enabled.
-
Clone the repository:
> git clone https://github.com/AkashFulari/EarthOrbit-Example.git -
Navigate to the project directory:
> cd EarthOrbit-Example
Open index.html in your web browser and enjoy it.
THANK YOU!!!