summaryrefslogtreecommitdiff
path: root/2d/rigidbody/rigidbody_1.html.content
diff options
context:
space:
mode:
Diffstat (limited to '2d/rigidbody/rigidbody_1.html.content')
-rw-r--r--2d/rigidbody/rigidbody_1.html.content12
1 files changed, 12 insertions, 0 deletions
diff --git a/2d/rigidbody/rigidbody_1.html.content b/2d/rigidbody/rigidbody_1.html.content
index e806ffc..c316188 100644
--- a/2d/rigidbody/rigidbody_1.html.content
+++ b/2d/rigidbody/rigidbody_1.html.content
@@ -31,6 +31,17 @@
<h2>
Live Example
</h2>
+ <div>
+ <div class="vector_group">
+ <label>Force (N)</label>
+
+ <input id="force_x" type="number" placeholder="X (Default = 10 N)" step="any"/>
+ <input id="force_y" type="number" placeholder="Y (Default = 20 N)" step="any"/>
+ </div>
+
+ <button id="apply_force">Apply Force</button>
+
+ </div>
<div class="opengl_canvas_container">
<canvas id="gl_canvas" width="640" height="480"></canvas>
<button id="gl_canvas_play" class="play_button">
@@ -40,6 +51,7 @@
Stop
</button>
</div>
+
<footer id="references">
<h2>References</h2>
<ul>