mirror of
https://github.com/cosinekitty/astronomy.git
synced 2025-12-28 18:20:34 -05:00
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.
5 lines
126 B
Bash
Executable File
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
|