Summary Files Commits Branches @commit @diff @stats
path: root / Year 2 / Computer Graphics with WebGL / Project / level.js
diff options
context:
space:
mode:
Commit8522d61351796b1c88c41bfc2b8b4fa130c73371 (patch)
Author
 Syndamia <kamen@syndamia.com>
2023-08-28 13:09:29 +0300
Committer
 Syndamia <kamen@syndamia.com>
2023-08-28 13:09:29 +0300
Files0603a0dc9762079db38fb6fabf375ddd09388da7 /Year 2/Computer Graphics with WebGL/Project/level.js
uni-projects-8522d61351796b1c88c41bfc2b8b4fa130c73371.tar
uni-projects-8522d61351796b1c88c41bfc2b8b4fa130c73371.tar.gz
uni-projects-8522d61351796b1c88c41bfc2b8b4fa130c73371.zip
Parent855063191ecec60c8cff468fd8f8302b41bf05a1 (diff)
[WGL/P] Improved wording
1 files changed, 2 insertions, 2 deletions
-rw-r--r--Year 2/Computer Graphics with WebGL/Project/level.js4
diff --git a/Year 2/Computer Graphics with WebGL/Project/level.js b/Year 2/Computer Graphics with WebGL/Project/level.js
index 2a525d2..83311c0 100644
--- a/Year 2/Computer Graphics with WebGL/Project/level.js
+++ b/Year 2/Computer Graphics with WebGL/Project/level.js
@@ -102,14 +102,14 @@ Level.prototype.load = function() {
function createLevels() {
var l1 = new Level(
"Star passing behind black hole",
- "You can see how the black hole (correctly) warps the light of the star behind it when it passes",
+ "You can see how the black hole (correctly) warps the light of the star, when it passes from behind.",
[1000,0,650]);
l1.addStar([1100,0,1000], 10, (t, star) => vecSum(star.center, [-100 * (1 + Math.sin(t/30 + 1.5 * Math.PI)),0,0]));
l1.addBlackHole([1000,0,900], 30, undefined);
var l2 = new Level(
"Star gets closer to event horizon",
- "As the star passes by behind the black hole, we can see it approaching the event horizon, however, it will never pass it and continue becoming thinner and taller (at least until we can calculate and show it).",
+ "Now the camera is very close to the event horizon, looking at the same direction as the previous level. As the star passes behind the black hole, we can see it approaching the event horizon, however, it will never pass it and will continue becoming thinner and taller (at least until we can calculate and show it).",
[1014,0,892]);
l2.addStar([1070,0,1000], 10, (t, star) => vecSum(star.center, [-t,0,0]));
l2.addBlackHole([1000,0,900], 30, undefined);