Files
astronomy/generate/make_gravsim_ephem
Don Cross c563237399 Added generation of ephemeris in JSON format.
I'm working on a Solar System gravity simulation.
I need very precise position and velocity data for the major
Solar System bodies. I want to write the simulator as a browser-
based animation, so I will code it in JavaScript. This JSON
generator is a bootstrap to provide the initial solar system
state, plus it allows testing how accurate the simulation
is as it unfolds. Plus it may be useful for any program that
can parse JSON easily.
2020-07-11 09:31:26 -04:00

5 lines
126 B
Bash
Executable File

#!/bin/bash
./build || exit $?
./generate ephemeris ../../gravsim/ephemeris.json 2000-01-01 2100-01-01 1000 || exit $?
exit 0