Calculates the sunrise and sunset for a given date and location (using GEO coordinates). This library uses the method outlined NOAA Solar Calculations Day spreadsheet found at http://www.esrl.noaa.gov/gmd/grad/solcalc/calcdetails.html.
Omnik Solar API in C# in .NET Framework 4.5.2 and .NET Framework 4.7.2
A simulation of our Solar System and a game at the same time made mainly for educational purposes (it gives a good sense of the time and space scale of out Solar System). The planets the moon and the Space Crafts follow realistic (elliptical) orbits in phase space and the relative sizes of planets and moon are correct. For the orbital elements of the planets I used values according to the NASA planetary fact sheet. The radius of all planets and moon is increased by a factor of 30 to avoid floating point errors since the GPU internally is using single precision arithmetics. The planetary orbits are pre-computed at start time using a 4rth-order Runge-Kutta integrator. Specifically the 2nd Kepler-law (which is a differential equation) is solved for the values according to the Nasa Fact-Sheet for the planets of our solar system and the moon. The trajectories of the Space-Crafts are calculated at run time using a 2nd order Leapfrog Integrator with initial conditions based on user input and Earth's position and velocity at the time the Space Craft is launched. The goal of the game is to launch Space Crafts and complete the missions. Check out the video in the right for gameplay footage. Note that in order to play the game you need a mouse with a wheel. Programmed with C# and powered by Unity.
C# class for calculating the "exact" position of any stars, planets from our solar system and moon + sun at a given location (lat/long) and current time.
NREL Solar Position Algorithm implemented in C#
If you see the name Zombie-Sports anywhere, that's becuase I started off making a zombie a game but ended up making Solar Spin ¯\_(ツ)_/¯