letspace;letcardboard;functionpreload(){space=loadImage("/assets/starmap_4k.jpeg");cardboard=loadImage("/assets/cardboard.JPG");}functionsetup(){//settingthingsupherecreateCanvas(windowWidth,windowHeight,WEBGL);noStroke();smooth();}functiondraw(){background(255);orbitControl();rotateX(-PI/6);texture(space);push();rotateX(frameCount/200);rotateY(frameCount/200);rotateZ(frameCount/200);sphere(width/6,50,50);pop();texture(cardboard);push();translate(0,0,width/6);plane(width/3,width/3);pop();push();translate(0,0,-width/6);plane(width/3,width/3);pop();push();translate(0,width/6,0);rotateX(PI/2);plane(width/3,width/3);pop();push();translate(width/6,0,0);rotateY(PI/2);plane(width/3,width/3);pop();push();translate(-width/6,0,0);rotateY(PI/2);plane(width/3,width/3);pop();}functionwindowResized(){//can't you sit still? Do you really need to change the window?setup();draw();}