Skip to content

launch missiles through atmosphere and space on a spherical spinning Earth to hit a specified target

License

Notifications You must be signed in to change notification settings

hellpig/trajectory-thingy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

e4cb262 · Jul 21, 2024

History

11 Commits
May 29, 2021
Jul 25, 2021
Jul 21, 2024
Sep 13, 2023
Nov 14, 2021
May 29, 2021

Repository files navigation

trajectory-thingy

Launch missiles through atmosphere and space on a spherical spinning Earth to hit a specified target, then analyze random launch fluctuations. See the top of the .cpp file for technical details, and the "set some constants" section of the code is where you set coordinates, drag coefficient, etc.

Compile and run via the run.sh file (see comments at top of file for how to do this). This Bash script, run.sh, controls the overall flow of compiling, writing output files, and reading them into other programs. Linux is the natural OS for using a computer to compute, but, I thought it would be fun to give instructions in run.sh for how to run this "Linux style" code in macOS and even Windows.

sample image

Releases

No releases published

Packages

No packages published