-
Notifications
You must be signed in to change notification settings - Fork 0
robertlent/web-EarthOrbit
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
earthorbit ========== This is an HTML, CSS, and JS project that I created that shows the Moon orbiting the Earth, while the Earth orbits the Sun. I originally created this project using no Javascript, and with the Earth and Moon orbiting much quicker, but have since modified it in the following ways: -- I slowed down the orbit of both objects, so that the Earth takes about 365 seconds to go around the Sun, and the Moon takes about 29 seconds to go around the Earth. -- I added Javscript and additional CSS so that when the page is clicked, the Earth and Moon will orbit faster, with the Earth taking about 12 seconds to orbit the Sun and the Moon taking about 1 second.
About
HTML/CSS site with the Earth orbiting the sun
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published