xxxxxxxxxx
27
let objectsArray = [
{
x: 300,
y: 200,
},
{
x: 100,
y: 300,
},
{
x: 84,
y: 97,
},
// and so on....
];
function setup() {
createCanvas(windowWidth, windowHeight);
}
function draw() {
background(0);
for (let i = 0; i < objectsArray.length; i++) {
circle(objectsArray[i].x, objectsArray[i].y, 30);
}
}