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/curvesim

Repository files navigation

curvesim

A Star System and Lightcurve Simulator

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

Curvesim 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.

Specify mass, radius, orbital elements and other properties of some stars and planets in a configuration file.
Then run "curvesim.py " to produce the video. The video shows simultanously a view of the star system from the top and from the side and the lightcurve of the system's total luminosity over time.

Usually you do not need to look at or even modify the python code. Instead control the program's outcome with the config file. The meaning of all program parameters is documented in the config file.

Curvesim uses ffmpeg to convert the data into a video.
Download ffmpeg from https://www.ffmpeg.org/download.html.
Extract the zip file and (on Windows) add "\FFmpeg\bin" to the environment variable PATH.

For questions and comments just open an issue on https://github.com/lichtgestalter/curvesim/issues to get my attention :)