diff options
author | sanine <sanine.not@pm.me> | 2024-07-07 03:08:20 -0500 |
---|---|---|
committer | sanine <sanine.not@pm.me> | 2024-07-07 03:08:20 -0500 |
commit | e85c6972a724d8c66f0d48e6b2fb0ffdcef8e6fc (patch) | |
tree | a44bb59497b4f534604781c623a613df07d1106a /levelSelect.js | |
parent | 1de995864fdda525d7fb95a1313f847cacb47056 (diff) |
fix resource reset bug
Diffstat (limited to 'levelSelect.js')
-rw-r--r-- | levelSelect.js | 5 |
1 files changed, 4 insertions, 1 deletions
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)), ], }; |