Q.1.
You can use the 'random' function to randomly select the values for any function that uses numeric parameters.
Q.2.
Which of the following is the correct syntax for drawing a rectangle?
Q.3.
Which of the following is the correct syntax for drawing a triangle?
Q.4.
______________ are lines of code that perform specific tasks.
Q.5.
At what points (radians) will the following arc start and end? arc(PI, 2*PI);
Q.6.
Which of the following has the correct function, parameters and syntax for drawing a rectangle?
Q.7.
What are some shapes we can create (with a single function) in p5.js?
Q.8.
What is the height of the following oval (aka ellipse)?ellipse(180);
Q.9.
What is the y coordinate of the following rectangle?rect(180);
Q.10.
When using 'RGB' to fill the color of a shape, the 4th parameter controls the __________ of the color.
Q.11.
Initializing a custom variable means that you are...
Q.12.
The 3 steps involved in creating a custom variable are...
Q.13.
HSB stands for ...
Q.14.
What is the y coordinate of the following circle?ellipse(180);
Q.15.
What is the height of the following circle?ellipse(180);
Q.16.
'Background, arc, and ellipse' are all examples of ______________ in p5.js.
Q.17.
What, if anything, is the difference between function setup () and function draw()?
Q.18.
What are the parameters in the 'createCanvas' function?
Q.19.
When using 'RGB' to fill the color of a shape, the 4th parameter 'a' controls the __________ of the color.
Q.20.
You can use the 'random' function to randomly select the values for any function that uses numeric parameters.