diff options
author | navanchauhan <navanchauhan@gmail.com> | 2023-05-01 13:13:26 -0600 |
---|---|---|
committer | navanchauhan <navanchauhan@gmail.com> | 2023-05-01 13:13:26 -0600 |
commit | 630a0350e02bdbd351f38a5191164b3104c2ff46 (patch) | |
tree | ba1839dc3633bef027564628926a1f5573536783 /Content/posts | |
parent | c0789de3e4bfbbe307d84b29c1fa310a86a64ee8 (diff) |
re-add 3body sim
Diffstat (limited to 'Content/posts')
-rw-r--r-- | Content/posts/2023-04-30-n-body-simulation.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Content/posts/2023-04-30-n-body-simulation.md b/Content/posts/2023-04-30-n-body-simulation.md index e3d6a9d..6d6cda6 100644 --- a/Content/posts/2023-04-30-n-body-simulation.md +++ b/Content/posts/2023-04-30-n-body-simulation.md @@ -650,6 +650,11 @@ The simulations require JavaScript to be viewed properly :( <input type="range" min="1" max="20" value="10" id="speedControl"> <label for="nBodies">Number of Bodies for n-Body Simulation (5-500)</label> <input type="range" min="5" max="500" value="256" id="nBodies"> +<label for="distanceAU">Position Range for Random 3-Body Simulations (1-55)</label> +<input type="number" min="1" max="55" value="10" id="distanceAU"> +<label for="vRange">Velocity Range for Random 3-Body Simulation (1-10e4)<label> +<input type="number" min="1" max="10000" value="7e3" id="vRange"> + </div> <button type="button" id="startSim1" onclick="plotEarthSun()">Sun-Earth Orbit</button> <button type="button" id="startSim2" onclick="plotClassic3BodyProblem()">Classic 3-Body Problem</button> |