This tutorial explains how to calculate RIGHT ASCENSION (R.A.) & DECLINATION for the planets in the solar system and the sun using the Keplerian Elements.
The JS simulation will also use these calculated Celestial Coordinates to plot the Sun and the other planets on the Celestial Sphere.
This tutorial builds upon the first tutorial, which explains how to create your own JavaScript Solar System simulation.
If you haven't followed that JS tutorial yet, we recommend to do that first: TUTORIAL - PLANETS