P5JS Functions

1234567891011121314151617
Across
  1. 3. Which function draws a rectangle on the canvas?
  2. 7. What type of code block is reusable and performs a specific task in p5.js?
  3. 8. What function runs when a key is pressed?
  4. 10. Which function sets how many frames per second the sketch should run at?
  5. 12. Which function draws a straight line between two points?
  6. 13. Which built-in variable stores the horizontal position of the mouse on the canvas?
  7. 15. Which function runs once at the start of the program?
  8. 16. What function runs continuously to update the canvas?
Down
  1. 1. Which function removes the outline from shapes?
  2. 2. Which function is used to create the drawing area in p5.js?
  3. 4. Which function removes the fill color for shapes?
  4. 5. Which built-in variable stores the vertical position of the mouse on the canvas?
  5. 6. Which function sets the color of the outline for shapes?
  6. 9. Which function sets the background color of the canvas?
  7. 10. Which function sets the color used to fill shapes?
  8. 11. Which function draws an oval shape on the canvas?
  9. 13. Which function remaps a value from one range to another?
  10. 14. Which function is used to display text on the canvas?
  11. 17. What keyword is used to give a value back from a function?