summaryrefslogtreecommitdiff
path: root/docs/posts
diff options
context:
space:
mode:
authornavanchauhan <navanchauhan@gmail.com>2023-05-01 13:13:26 -0600
committernavanchauhan <navanchauhan@gmail.com>2023-05-01 13:13:26 -0600
commit11e531eaa4e6c348706096dc272b8a9d3ab45938 (patch)
treefd24f886caac1e190af8ce0928f006b4d2a2b35f /docs/posts
parent3d902334815db764d0cb6e4bbf6c553ff1fd6f2e (diff)
re-add 3body sim
Diffstat (limited to 'docs/posts')
-rw-r--r--docs/posts/2023-04-30-n-body-simulation.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/posts/2023-04-30-n-body-simulation.html b/docs/posts/2023-04-30-n-body-simulation.html
index 7d8a710..cb0bf6c 100644
--- a/docs/posts/2023-04-30-n-body-simulation.html
+++ b/docs/posts/2023-04-30-n-body-simulation.html
@@ -699,6 +699,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>