Skip to contents

System Setup

Create a simulation and add bodies

create_system()
Initialize an orbitr simulation system
add_body()
Add a physical body to the system

Simulation

Run the N-body simulation

simulate_system()
Simulate kinematics for an orbitr system

Analysis & Visualization

Transform and plot results

shift_reference_frame()
Shift the coordinate reference frame of the simulation
plot_orbits()
Plot Orbital Trajectories (Smart 2D/3D Dispatch)
plot_orbits_3d()
Plot 3D Interactive Orbital Trajectories
plot_system()
Plot System Snapshot at a Single Time (Smart 2D/3D Dispatch)
plot_system_3d()
Plot 3D Interactive System Snapshot at a Single Time
animate_system()
Animate the System Over Time (Smart 2D/3D Dispatch)
animate_system_3d()
Animate the System Over Time in Interactive 3D

Physical Constants

Built-in masses, distances, and orbital speeds