celestial mechanics in golang

License: GPL-2.0

Language: Go


A simple celestial mechanics package in golang


A struct which models a celestial body in the solar system. Mass in kg, state vector in cartesian coordinates (km-s).

func (body *Body) Update(other *Body, timestep float64)

Updates the state vector of a pair of Bodies based on gravitational forces for a single timestep.


Uses the JPL Horizons telnet server to get a mass and state vector for a celestial body. Includes a command line demo application.

Project Statistics

Sourcerank 3
Repository Size 14.6 KB
Stars 0
Forks 0
Watchers 1
Open issues 0
Dependencies 0
Contributors 1
Tags 0
Last updated
Last pushed

Top Contributors See all


Packages Referencing this Repo
celestial mechanics in golang
Latest release - Published
celestial mechanics in golang
Latest release - Published

Something wrong with this page? Make a suggestion

Last synced: 2017-01-19 08:21:40 UTC

Login to resync this repository