NEW
Font size
Worksheetsp5 3d mode
Total questions: 10
Worksheet time: 5mins
Which createCanvas statement in p5 allows you to use 3d graphics?
createCanvas(400,400);
createCanvas(400,400, P3D);
createCanvas(400,400, 3DGL);
createCanvas(400,400,WEBGL);
What 3D shape was used to create this animation?
rect()
box()
torus()
prism()
Which rotation function would best be used to create this rotation?
rotate()
rotatteX()
rotateY()
rotateZ()
Which call to translate would best be used to move the sphere to the left as shown?
translate(-100,0,0);
translate(100,0,0);
translate(0,-100,0);
translate(0,100,0);
Which rotation function would best be used to create this rotation?
rotate()
rotateX()
rotateY()
rotateZ()
Which call to translate would best be used to move the sphere to towards the bottom of the screen as shown?
translate(-100,0,0);
translate(100,0,0);
translate(0,-100,0);
translate(0,100,0);
Which rotation function would best be used to create this rotation?
rotate()
rotateX()
rotateY()
rotateZ()
Which call to pointLight() best matches the picture?
pointLight(255,0,0,-235,-240, 275);
pointLight(0,255,0,-235,-240, 275);
pointLight(0,0,255,-235,-240, 275);
pointLight(255,255,255,-235,-240, 275);
Which of the following is not a 3d primitive shape in p5?
box()
sphere()
cone()
pyramid()
Which call to pointLight() best matches the picture?
pointLight(255,0,0,-235,-240, 275);
pointLight(255,0,0,235,-240, 275);
