summaryrefslogtreecommitdiff
path: root/2d/rigidbody/rigidbody_1.html.content
diff options
context:
space:
mode:
authorMatthew Kosarek <mattkae@protonmail.com>2021-05-24 13:32:27 -0400
committerMatthew Kosarek <mattkae@protonmail.com>2021-05-24 13:32:27 -0400
commitc5e5d7c939a2640763775b0688ed698c51ec28c1 (patch)
treeeaa9f5493cf218471f96207d2fa86a9192f07606 /2d/rigidbody/rigidbody_1.html.content
parentd5326e9f605e11fc33a7f37cc0ae674258de2424 (diff)
Applying force to the object using the mouse cursor
Diffstat (limited to '2d/rigidbody/rigidbody_1.html.content')
-rw-r--r--2d/rigidbody/rigidbody_1.html.content13
1 files changed, 1 insertions, 12 deletions
diff --git a/2d/rigidbody/rigidbody_1.html.content b/2d/rigidbody/rigidbody_1.html.content
index c316188..6ca1619 100644
--- a/2d/rigidbody/rigidbody_1.html.content
+++ b/2d/rigidbody/rigidbody_1.html.content
@@ -31,19 +31,8 @@
<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>
+ <canvas id="gl_canvas" width="800" height="600"></canvas>
<button id="gl_canvas_play" class="play_button">
Play
</button>