fun: prettier
This commit is contained in:
parent
9231504ee5
commit
301d557564
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue
Block a user