Hey I'm Prasenjit, I'm a space lover, and I wanted to create a solar system using React.js, I know I'm not the first who is building it
Here is a true time scaled solar-system, which means that every object has a time relative to an Earth year. You can change the number in seconds of the$year-in-second
variable to increase the speed of revolutions. Here 1 year = 30 seconds.
Note the css tricks for the Saturn rings (box-shadow) and reverse animation to compensate the orbit.
Give it a star ⭐ on GitHub, if you liked it.