function setup() {
createCanvas(windowWidth, windowHeight);
background(0, 0, 0);
}
this is pretty much how my setup() function starts. Everything in draw() works fine, but my canvas is never set and my background color is also never set. I don’t understand why this could happen. Any ideas?
Sorry, I had a lot of code already, I think I figured it out now, I had a line pixelDensity(1) or something that caused this, I don’t remember why I had it. Thank you for the reply