diff options
Diffstat (limited to '2d/rigidbody/rigidbody_1.html')
-rw-r--r-- | 2d/rigidbody/rigidbody_1.html | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/2d/rigidbody/rigidbody_1.html b/2d/rigidbody/rigidbody_1.html index 9bc7b45..8fdcd07 100644 --- a/2d/rigidbody/rigidbody_1.html +++ b/2d/rigidbody/rigidbody_1.html @@ -8,7 +8,7 @@ </head> <body> <header> - <h1>Physics for Games</h1> + <h1><a title="physicsforgames.com" href="/">Physics for Games</a></h1> </header> <main> <nav> @@ -80,6 +80,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"> @@ -89,6 +100,7 @@ Stop </button> </div> + <footer id="references"> <h2>References</h2> <ul> |