refactor: gen
This commit is contained in:
parent
5c637503e4
commit
a4b468dae7
|
@ -178,7 +178,7 @@ export default class TilesView extends Container {
|
|||
|
||||
renderMask(slice, size) {
|
||||
const hulls = this.tiles.constructor.indexHulls(
|
||||
new Set([342, 456, 103, 104]),
|
||||
new Set([342, 456, 103, 104, 407, 408, 423, 424]),
|
||||
slice,
|
||||
size,
|
||||
);
|
||||
|
@ -217,7 +217,7 @@ export default class TilesView extends Container {
|
|||
const [x, y] = points[k];
|
||||
const ANGLE_SCALE = 1000;
|
||||
const WALK_SCALE = 1000;
|
||||
const MAGNITUDE = 6;
|
||||
const MAGNITUDE = 6 * noise(Vector.scale([x, y], 100));
|
||||
const [vx, vy] = Vector.add(
|
||||
points[k],
|
||||
Vector.scale(
|
||||
|
|
Loading…
Reference in New Issue
Block a user