Skip to content

Curvesim calculates the movements and eclipses of celestial bodies and produces a video of this and of the resulting lightcurve.

Notifications You must be signed in to change notification settings

lichtgestalter/curvesimulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Curvesimulator

GitHub Wiki PyPI version Python Versions License: MIT

CurveSimulator: A Star System and Lightcurve Simulator

Curvesimulator generates a video of the movements and eclipses of celestial bodies and the resulting lightcurve. The video simultanously displays a view of the star system from the top and from the side alongside the lightcurve of the system's total luminosity over time.

It takes just 2 lines of python code to produce the video. Specify the physical properties of the stars and planets in your system and some details of the video you want to make in a configuration file. The meaning of all configuration parameters is documented in curvesimulator's wiki and in an example config file.

Curvesimulator is fast and the videos use little disk space. A video takes about the same time to produce as its playing time and uses less than 0.5 MB disc space per minute.

Curvesim uses ffmpeg to convert the data into a video. Download ffmpeg from ffmpeg.org. Extract the downloaded zip file and (on Windows) add "yourdriveandpath\FFmpeg\bin" to the environment variable PATH.

For questions and comments open an issue on GitHub.