@@ -1,6 +1,6 @@
|
||||
const circleMaxSize = 30;
|
||||
const circleMinSize = 5;
|
||||
const maxcircleAmount = 1000;
|
||||
let maxcircleAmount = 2;
|
||||
const circleCords = [];
|
||||
let maxTries = 100;
|
||||
let area = [];
|
||||
@@ -8,7 +8,10 @@ let moveToNextSpotVariable= [];
|
||||
let x, y, diameter, circleCordsConst, isCircleCollided, tries, insideTry = 0;
|
||||
|
||||
function setup() {
|
||||
createCanvas(500, 500);
|
||||
createCanvas(windowWidth, windowHeight);
|
||||
maxcircleAmount = maxTries = floor(width);
|
||||
console.log(maxTries);
|
||||
console.log(maxcircleAmount);
|
||||
background(255, 255, 255);
|
||||
//randomSeed(99);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user