xxxxxxxxxx
39
var windowX;
var windowY;
var mover;
function setup() {
createCanvas(5000, 2100);
randomX = random(0, 5000)
randomY = random(0,2100)
randomSpeed = random(1, 50)
randomSize = random(10, 100)
mover = new Mover(randomX, randomY);
var mouse = createVector(mouseX, mouseY);
c1 = color(random(0, 255), random(0, 255), random(0, 255));
c2 = color(random(0, 255), random(0, 255), random(0, 255));
c3 = color(random(0, 255), random(0, 255), random(0, 255));
background(0);
frameRate(120);
}
function draw() {
fill(0, 35);
rect(0, 0, width, height);
fill(255);
ellipse(random(width), random(height), 8,8);
//map outline
//map
//other drawing necesities
strokeWeight(3)
mover.update();
mover.update();
mover.update();
mover.update(); mover.update();
mover.update();
mover.show();
}