Hi There, This is my first project which is solar system based on Three.js system for the experimentation.
Link: https://milkywayvisualiser.netlify.app/
Github: https://github.com/Retro6727/3D-Solar-System.git
Hi There, This is my first project which is solar system based on Three.js system for the experimentation.
Link: https://milkywayvisualiser.netlify.app/
Github: https://github.com/Retro6727/3D-Solar-System.git
Looks nice.
The cluster of stars in the background is behaving oddly because it suddenly zooms towards you when you rotate around laterally. NASA has some nice backgrounds you can use to create skycubes or spheres.
If you want to upgrade to elliptical orbits, there is plenty of data available online. In my program showing the inner planets, I created a look-up table and used that to compute the orbits. Or you could create paths for the planets to follow.
Of course, the big challenge is that, if you want to use the correct dimensions, the outer planets almost disappear in the distance, so some artistic license is required to make them all visible.
Fun stuff!
MORE:
I just noticed that the relative planet speeds need some work. For example, it only takes Mercury 88 days to orbit the sun, so it should be traveling much faster relative to Earth. And the outer planets should be traveling much much slower. These things are easily fixed.