summaryrefslogtreecommitdiff
path: root/2d
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
parent64d9675091593b074d3ad1e71829291728914cee (diff)
A much more palatable website
Diffstat (limited to '2d')
-rw-r--r--2d/_collisions/pill_line.html2
-rw-r--r--2d/_collisions/pill_pill.html2
-rw-r--r--2d/_collisions/polygon_polygon.html2
-rw-r--r--2d/_collisions/rectangle_line.html2
-rw-r--r--2d/_collisions/rectangle_rectangle.html2
-rw-r--r--2d/rigidbody/rigidbody_1.html14
-rw-r--r--2d/rigidbody/rigidbody_1.html.content12
7 files changed, 30 insertions, 6 deletions
diff --git a/2d/_collisions/pill_line.html b/2d/_collisions/pill_line.html
index 63ae8ba..b28677d 100644
--- a/2d/_collisions/pill_line.html
+++ b/2d/_collisions/pill_line.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>
diff --git a/2d/_collisions/pill_pill.html b/2d/_collisions/pill_pill.html
index 3394544..6dcf7d8 100644
--- a/2d/_collisions/pill_pill.html
+++ b/2d/_collisions/pill_pill.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>
diff --git a/2d/_collisions/polygon_polygon.html b/2d/_collisions/polygon_polygon.html
index 574b0bd..90d8a09 100644
--- a/2d/_collisions/polygon_polygon.html
+++ b/2d/_collisions/polygon_polygon.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>
diff --git a/2d/_collisions/rectangle_line.html b/2d/_collisions/rectangle_line.html
index 79facaf..8472763 100644
--- a/2d/_collisions/rectangle_line.html
+++ b/2d/_collisions/rectangle_line.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>
diff --git a/2d/_collisions/rectangle_rectangle.html b/2d/_collisions/rectangle_rectangle.html
index a9fc0dd..63217d1 100644
--- a/2d/_collisions/rectangle_rectangle.html
+++ b/2d/_collisions/rectangle_rectangle.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>
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>
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>