This is a quick guide to help you run the Solar System program on your machine.
The Solar System program is an interactive simulation of the solar system. It provides information about the planets and allows you to explore the universe.
- Create a new Java project on your machine.
Create the following two folders and five classes in your Java project:
- Folder 1:
models
(This folder will contain the texture images and objects) - Folder 2:
sounds
(This folder will contain the sounds and music used in this project)
Classes:
SolarSystem
- The main class where everything will be run.SolarSysShapes
- The shapes class.CommonsMA
- Contains colors and behaviors.Codes4SS
- This class shows multiple views of the solar system at the same time.SoundUtilityJOAL
- Contains sound methods.
Make sure you have the necessary Java 3D jars to run Java 3D programs. You can download and include them in your project.
- X key: Enable/disable background music.
- A, S, W, & D keys: Allow for free navigation inside the universe.
- Mouse: Rotate the entire solar system.
- Click on a planet with the mouse: A sound will play, providing the planet's name and a fun fact about that planet.
By default, the orbit lines of the planets are disabled. If you want to see the orbits, uncomment the following line in the code:
//solarSystemTransformGroup.addChild(sceneTGo);