im trying to make an image appear and then disappear after a selected amount of time then be replaced with a blue screen and the word O.A.S.I.S. the image isnt appearing. i'm using processing 3. here is my code:PImage Logo; int logoX = 180; int logoY = 50; void setup() { size(1200, 800); drawBackground(); } void drawBackground() { background(255, 255, 255); setupSequence(); } void Delay(int time) { delay(time); } void drawLogo() { Logo = loadImage("AlcarazIndustriesLogo.png"); image(Logo, logoX, logoY); } void setupSequence() { drawLogo(); Delay(1000); endLogoSequence(); } void endLogoSequence() { logoX = logoX + 10000; image(Logo, logoX, logoY); Delay(10000); background(200, 200, 255); fill(0, 0, 255); textSize(60); text("O.A.S.I.S", 500, 100); }
please tell me what i'm doing wrong