diff options
author | Matthew Kosarek <mattkae@protonmail.com> | 2021-05-24 13:32:27 -0400 |
---|---|---|
committer | Matthew Kosarek <mattkae@protonmail.com> | 2021-05-24 13:32:27 -0400 |
commit | c5e5d7c939a2640763775b0688ed698c51ec28c1 (patch) | |
tree | eaa9f5493cf218471f96207d2fa86a9192f07606 /2d/rigidbody/rigidbody_1.html.content | |
parent | d5326e9f605e11fc33a7f37cc0ae674258de2424 (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.content | 13 |
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> |