Skip to content

Instantly share code, notes, and snippets.

@Luffier
Luffier / ksp_td.py
Last active August 29, 2015 14:26
For Kerbal Space Program: Time in darkness (worst case scenary for equatorial orbits without eclipses) and battery storage required with stock parts
import math
#Made in Python 3
#Made for Kerbal Space Program 1.0.4
#Time in darkness (worst case scenary for equatorial orbits without eclipses)
#and battery storage required with stock parts
#Math: http://wiki.kerbalspaceprogram.com/wiki/Orbit_darkness_time
#Numbers: http://wiki.kerbalspaceprogram.com/wiki/