diff options
| Commit | 919051f1a0e03b0f28c7f8966ea3d02d088271e2 (patch) | |
|---|---|---|
| Author | 2023-08-28 15:27:00 +0300 | |
| Committer | 2023-08-28 15:27:00 +0300 | |
| Files | c503d78b855e72376cabe9c1f745f3aaa84389ae | |
| uni-projects-919051f1a0e03b0f28c7f8966ea3d02d088271e2.tar uni-projects-919051f1a0e03b0f28c7f8966ea3d02d088271e2.tar.gz uni-projects-919051f1a0e03b0f28c7f8966ea3d02d088271e2.zip | ||
| Parent | bffc1e1419bf06be04d7650b0a04376b54419fa0 (diff) | |
[WGL/P] Wording changes
2 files changed, 11 insertions, 7 deletions
| -rw-r--r-- | Year 2/Computer Graphics with WebGL/Project/Project.html | 16 | ||||
| -rw-r--r-- | Year 2/Computer Graphics with WebGL/Project/level.js | 2 |
diff --git a/Year 2/Computer Graphics with WebGL/Project/Project.html b/Year 2/Computer Graphics with WebGL/Project/Project.html index 8007183..9cf022c 100644 --- a/Year 2/Computer Graphics with WebGL/Project/Project.html +++ b/Year 2/Computer Graphics with WebGL/Project/Project.html @@ -182,13 +182,13 @@ body > div, #noscript { <noscript><div id="noscript">Your browser doesn't support JavaScript or it has been disabled!</div></noscript>
<div id="menu">
- <div id="paused">Click here to start moving</div>
+ <div id="paused">Click here to move around</div>
<div id="settings">
<h2>About</h2>
<p>
Simulation of the light-bending effects of black holes.<br>
WASD to move around, space and shift for up and down, mouse cursor to look around.<br>
- Escape will remove your controls and bring you back here.
+ Escape will toggle between this overlay and your ability to move around (also done with the button on the top left).
</p>
<h2>Level</h2>
<div>
@@ -200,15 +200,19 @@ body > div, #noscript { </div>
<h2>Settings</h2>
<div>
+ Disable ray marching: <input type="checkbox" id="disable-ray-marching"><br>
+ <p class="indent">
+ Ray marching is the method I use to trace light when it enters a black hole.
+ This option is here, so you can see how the objects look with the black hole removed.
+ </p>
Show (ray marching) debugging colors: <input type="checkbox" id="debug-mode"><br>
<p class="indent">
- Works only with enabled ray marching.
- Green for rays that couldn't escape.
- Red for rays that didn't hit anything (or hit the skybox).
+ Works only with enabled ray marching.
+ Green for rays that couldn't escape.
+ Red for rays that didn't hit anything (or hit the skybox).
</p><br>
Show coordinates: <input type="checkbox" id="coordinates-cb"><br>
Show fps: <input type="checkbox" id="fps-cb"><br>
- Disable ray marching: <input type="checkbox" id="disable-ray-marching"><br>
Only horizontal mouse movement: <input type="checkbox" id="only-horizontal"><br>
Only vertical mouse movement: <input type="checkbox" id="only-vertical">
</div>
diff --git a/Year 2/Computer Graphics with WebGL/Project/level.js b/Year 2/Computer Graphics with WebGL/Project/level.js index ffba652..2c23ca0 100644 --- a/Year 2/Computer Graphics with WebGL/Project/level.js +++ b/Year 2/Computer Graphics with WebGL/Project/level.js @@ -133,7 +133,7 @@ function createLevels() { l4.addBlackHole([1000,0,900], 35, undefined); var l5 = new Level( - "Star ring orbiting around the black hole", + "Star ring, orbiting around the black hole", "Similarly to a black hole with an accretion disk, like the one in the movie Interstellar, we can see how it looks as if the stars in the back warp and hop over the black hole, and how there is something of a half-circle on the bottom of the black hole, that starts from behind it.", [1000,0,650]); speed = Math.PI / 10; |
