Crate astrograph

Source
Expand description

Simulates the motion of celestial bodies.

Modules§

body
Structures that model discrete objects in the simulation, e.g. planets, stars, and observatories.
consts
Physical constants for the simulation, e.g. The Gravitational Constant, Pi, and Tau.
dynamic
Structs that model the orbits that bodies can follow.
generator
output
Objects that assist in outputting data to various types, e.g. HTML canvas, SVG, etc.
program
A helper facade that takes simulation times and converts them to outputs, such as SVG files.
projection
Projections that map 3D space to a 2D plane
testing
Useful functions to use while testing to cut down on code repetition.

Type Aliases§

EllipticObservation
Float
LocalObservation