diff --git a/index.html b/index.html index 22d3324..e18f407 100644 --- a/index.html +++ b/index.html @@ -44,18 +44,18 @@

Collision Simulator

Project by Johnathon Slightham

-
+
-
-
+
+

Simulation

Your browser does not support HTML 5

-
+
-
-
+
+

Modifiers

Coefficient of Kinetic Friction:
diff --git a/main.js b/main.js index 5d61d25..1d4c2a8 100644 --- a/main.js +++ b/main.js @@ -74,7 +74,7 @@ function main(elem){ //canvas.addEventListener("onmouseup", doMouseUp, false); // Loop through each particle every 10 milliseconds, create measurements every 1 second - setInterval(loop, 10); + setInterval(loop, 20); setInterval(measureData, 1000); } diff --git a/style.css b/style.css index dec25ee..accd9cb 100644 --- a/style.css +++ b/style.css @@ -73,4 +73,11 @@ body{ ul { text-align: center; list-style-position: inside; +} + +@media screen and (max-width: 1873px) { + .fix{ + margin-top: 10px; + min-width: 75%; + } } \ No newline at end of file