This Java3D applet plots the Sun, visible planets, and stars from the Yale Bright Star Catalog with magnitude greater that 3.5.
The colored lights represent the Sun and visible planets at the time you started
this applet.
Other similar applets, some with source, are available.
Use the mouse to rotate the orb. (Zoom with the up/down arrows or by holding down the option/alt key and click-drag the mouse.) You can also use the arrow keys or page-up/page-down keys to navigate.
You may need to click the picture to “focus” the mouse and keyboard onto the picture.
If all you see above is a grey rectangle, you may need to install (both) the latest Java (“J2SE v 1.4.2_09 JRE”) and Java3D packages.