Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.
/ kepler-orbits Public archive

Implements Keplerian orbits with a focus on solving for eccentric and hyperbolic anomalies.

Notifications You must be signed in to change notification settings

lankm/kepler-orbits

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 

Repository files navigation

Kepler Orbits

I was testing out this idea as part of a possible physics engine. The benefits are that the position of an object is deterministic and has a time complexity of O(1). The downsides are that the calculations to determine orbital anomalies are complex. Additionally, orbital anomalies are angles so positions near the apoapsis are less precise than at the periapsis. This is especially true for hyperbolic orbits.

This was my introduction to Rust programming.

Sample rendered gif

About

Implements Keplerian orbits with a focus on solving for eccentric and hyperbolic anomalies.

Topics

Resources

Stars

Watchers

Forks

Languages