fun: prettier

This commit is contained in:
cha0s 2021-03-25 05:44:46 -05:00
parent 9231504ee5
commit 301d557564

View File

@ -120,20 +120,15 @@ export default class TilesRenderer {
Vector.scale(
Vector.mul(
[
noise(Vector.scale([x, y], 0.1)),
noise(Vector.scale([y, x], 0.1)),
noise(Vector.scale([x, y], 10)),
noise(Vector.scale([y, x], 10)),
],
[
noise(Vector.scale([x, y], 20)),
noise(Vector.scale([y, x], 20)),
],
(1 + noise(Vector.scale([x, y], 2))) / 2 < 0.2
? [
noise(Vector.scale([x, y], 30)),
noise(Vector.scale([y, x], 30)),
]
: [
noise(Vector.scale([x, y], 3)),
noise(Vector.scale([y, x], 3)),
],
),
10,
5,
),
);
const [vx, vy] = Vector.add(