summaryrefslogtreecommitdiff
path: root/2d/softbody/softbody_1.html
diff options
context:
space:
mode:
authormattkae <mattkae@protonmail.com>2022-01-30 12:24:55 -0500
committermattkae <mattkae@protonmail.com>2022-01-30 12:24:55 -0500
commit2d5ade4d7f323e5b4cb5ed27af8dbe04cbcb4ad0 (patch)
treef7fee7ec2bf7b3e1d9bce60a814fcd4e4f8f4f8b /2d/softbody/softbody_1.html
parent7b4dedf0ce66c405d6a4c4006862350053c71127 (diff)
Fixed the damped spring simulation
Diffstat (limited to '2d/softbody/softbody_1.html')
-rw-r--r--2d/softbody/softbody_1.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/2d/softbody/softbody_1.html b/2d/softbody/softbody_1.html
index 4412803..578024e 100644
--- a/2d/softbody/softbody_1.html
+++ b/2d/softbody/softbody_1.html
@@ -211,13 +211,13 @@
<span class='widget_container'>
<label for='undamped_spring_constant'>Spring Constant (N / m)</label>
- <input type='range' id='undamped_spring_constant' min='0.1' max='20.0' value='1.0' step='0.1'/>
+ <input type='range' id='undamped_spring_constant' min='0' max='1000.0' value='1.0' step='0.1'/>
<span></span>
</span>
<span class='widget_container'>
<label for='undamped_spring_mass'>Mass (kg)</label>
- <input type='range' id='undamped_spring_mass' min='0.1' max='10.0' value='1.0' step='0.1'/>
+ <input type='range' id='undamped_spring_mass' min='0' max='10.0' value='1.0' step='0.1'/>
<span></span>
</span>
@@ -252,13 +252,13 @@
<span class='widget_container'>
<label for='damped_spring_constant'>Spring Constant (N / m)</label>
- <input type='range' id='damped_spring_constant' min='0.1' max='20.0' value='1.0' step='0.1'/>
+ <input type='range' id='damped_spring_constant' min='0' max='1000.0' value='1.0' step='0.1'/>
<span></span>
</span>
<span class='widget_container'>
<label for='damped_viscous_constant'>Viscous Damping Constant (N / m)</label>
- <input type='range' id='damped_viscous_constant' min='0.1' max='50.0' value='1.0' step='0.1'/>
+ <input type='range' id='damped_viscous_constant' min='0' max='1000.0' value='1.0' step='0.1'/>
<span></span>
</span>