From e85c6972a724d8c66f0d48e6b2fb0ffdcef8e6fc Mon Sep 17 00:00:00 2001 From: sanine Date: Sun, 7 Jul 2024 03:08:20 -0500 Subject: fix resource reset bug --- levelSelect.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'levelSelect.js') diff --git a/levelSelect.js b/levelSelect.js index 9d45346..f441f06 100644 --- a/levelSelect.js +++ b/levelSelect.js @@ -11,6 +11,9 @@ const levels = { 'initial jump': [ [], setupLevel([], [8, 0]) ], 'monopole harvesting': [ ['initial jump'], setupLevel([[3, 3]], [8,8]) ], + 'inverted': [ ['initial jump'], setupLevel([[-3, -3]], [-8,-8]) ], + 'double inverted': [ ['initial jump'], setupLevel([[-8, -8]], [-3,-3]) ], + 'parabolic 0': [ ['monopole harvesting'], buildLevel(t => t, t => t**2, [...Array(4).keys()].map(x => x)), @@ -50,7 +53,7 @@ const levels = { ], 'spiral': [ ['orbital'], - buildLevel(t => 8*Math.cos(t)*t*0.1, t => 8*Math.sin(t)*t*0.1, [...Array(7).keys()].map(x => 0.3 * Math.PI * x)), + buildLevel(t => Math.cos(t)*t, t => Math.sin(t)*t, [...Array(8).keys()].map(x => 0.25 * Math.PI * x)), ], }; -- cgit v1.2.1