I am building a simplified model solar system in GeoGebra. Celestial objects are placed in a heliocentric coordinate system with the sun at the origin, the x-y-plane as the ecliptic, and the x-axis aligned with Earth's March Equinox. Earth's center is located at the point (EarthOrbitRadius cos(2π t), EarthOrbitRadius sin(2π t)), where t is the time in years. Earth's equator and axis of rotation are rotated by AxialTilt° about the line y = EarthOrbitRadius sin(2π t), which marks the directions of the March and September equinoxes.
I want to know the right ascension (RA, the angle eastward along the celestial equator between the line marking the March equinox and the hour circle of the target point, in the range 0° ≤ RA < 360°) and declination (DEC, the angle along the hour circle of the target point, perpendicular to the celestial equator, in the range −90° ≤ DEC ≤ 90° with negative values being south of the celestial equator and positive values being north) for the sun as measured from Earth. The hour circle is the great circle that passes through the target point and the two celestial poles; in the case of the Earth, these are the north and south poles along the axis of rotation. Put another way, the hour circle of a point lies on the plane formed between the line of the axis of rotation and the line through the point and the center of the Earth.
If the Earth's axis was not tilted, this would be easy. The RA of the sun would be simply 2π t, and the DEC of the sun would be a constant 0°. With the axis tilted, however, the values change. The RA acquires a wobble, and the DEC becomes approximately (but not exactly, it also has a wobble) AxialTilt sin(2π t).
The wobbles in the RA and DEC values appear to be roughly sinusoidal, but I can't figure out an exact form for them. The RA anomaly looks approximately like sin(4π t) with the peaks shifted and scaled down vertically by some relation to the AxialTilt value, while the DEC anomaly looks approximately like −sin(2π t) − sin(6π t), also scaled vertically by some relation to the AxialTilt value. In both cases, the larger the AxialTilt value, the larger the wobble.
Is there an exact form for these wobbles?
