summaryrefslogtreecommitdiff
path: root/2d/rigidbody/rigidbody_1.html
diff options
context:
space:
mode:
authorMatthew Kosarek <mattkae@protonmail.com>2021-05-24 10:27:02 -0400
committerMatthew Kosarek <mattkae@protonmail.com>2021-05-24 10:27:02 -0400
commitd5326e9f605e11fc33a7f37cc0ae674258de2424 (patch)
tree08ec7203d4cb6b9ebdcef1e43820108eb7ac1b2e /2d/rigidbody/rigidbody_1.html
parent64d9675091593b074d3ad1e71829291728914cee (diff)
A much more palatable website
Diffstat (limited to '2d/rigidbody/rigidbody_1.html')
-rw-r--r--2d/rigidbody/rigidbody_1.html14
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>