
Exploring JavaScript Canvas Art

Flashcard
•
Computers
•
9th Grade
•
Hard
Wayground Content
FREE Resource
Student preview

12 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Which method is used to draw a rectangle on a canvas in JavaScript? Options: `drawRect()`, `rect()`, `createRect()`, `rectDraw()`
Back
`rect()`
2.
FLASHCARD QUESTION
Front
What is the correct method to clear a specific rectangular area on a canvas?
Back
`clearRect()`
3.
FLASHCARD QUESTION
Front
Which method is used to draw a circle on a canvas? Options: `drawCircle()`, `arc()`, `circle()`, `ellipse()`
Back
`arc()`
4.
FLASHCARD QUESTION
Front
To animate a shape on a canvas, which function is commonly used to repeatedly call a function you create so that your drawing updates? Options: `setInterval()`, `requestAnimationFrame()`, `setTimeout()`, `animate()`
Back
`setInterval()`
5.
FLASHCARD QUESTION
Front
What is the purpose of the `beginPath()` method in canvas drawing?
Back
To start a new path
6.
FLASHCARD QUESTION
Front
Which property is used to set the color of a shape in canvas? Options: `fillColor`, `strokeColor`, `fillStyle`, `outlineColor`
Back
`fillStyle`
7.
FLASHCARD QUESTION
Front
Which method is used to fill a shape with color on a canvas? Options: `fill()`, `color()`, `paint()`, `shade()`
Back
`fill()`
Create a free account and access millions of resources
Similar Resources on Wayground
16 questions
p5.js - shape, color, syntax

Flashcard
•
8th Grade
10 questions
CMU Python Intro Flashcard

Flashcard
•
9th - 12th Grade
10 questions
CMU CS Academy Unit 2 Part 3 Mouse Release Events

Flashcard
•
9th Grade
15 questions
1.2.3 Colors and Gradients

Flashcard
•
8th Grade
14 questions
CMU CS Academy Unit 3.2.1 Boolean Expressions Part 0

Flashcard
•
9th Grade
10 questions
Photography Basic Techniques Flashcard

Flashcard
•
8th Grade
9 questions
Graphic Programming Basics Flashcard

Flashcard
•
9th Grade
12 questions
Khan Academy JavaScript

Flashcard
•
8th Grade
Popular Resources on Wayground
10 questions
SR&R 2025-2026 Practice Quiz

Quiz
•
6th - 8th Grade
30 questions
Review of Grade Level Rules WJH

Quiz
•
6th - 8th Grade
6 questions
PRIDE in the Hallways and Bathrooms

Lesson
•
12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
15 questions
Subtracting Integers

Quiz
•
7th Grade