xxxxxxxxxx
let x = [];
// We want x to be the array {20, 30, 40, 50, 20, 30, 40, 50, 20, 30, 40, 50}
// but we want to use loops, like we did in class, to build the array.
function buildx() {
// your code goes here
}
function setup() {
createCanvas(windowWidth, windowHeight);
background(0);
buildx();
}
function draw() {
noLoop();
print(x);
}