increase attempt radius
This commit is contained in:
parent
a53e7d5884
commit
8806aa1f41
1 changed files with 3 additions and 3 deletions
|
@ -150,9 +150,9 @@ Game.prototype.map = function () {
|
||||||
|
|
||||||
let x2 = 0, y2 = 0;
|
let x2 = 0, y2 = 0;
|
||||||
|
|
||||||
for (let i = 0; i < 100000; i++) {
|
for (let i = 0; i < 1000000; i++) {
|
||||||
x2 = Math.random() * 1e5;
|
x2 = Math.random() * 1e7;
|
||||||
y2 = Math.random() * 1e5;
|
y2 = Math.random() * 1e7;
|
||||||
let mask = toPoint(x2, y2, base, this.fac, exp, inSize);
|
let mask = toPoint(x2, y2, base, this.fac, exp, inSize);
|
||||||
if (mask == 1) break;
|
if (mask == 1) break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue