Search Header Logo

p5.js Animation and Color Quiz

Authored by Mr. Malone

Other

9th Grade

Used 1+ times

p5.js Animation and Color Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function runs in a loop to make animation in p5.js?

setup()

draw()

frameCount

FPS

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the unit used to measure the speed of animation in p5.js?

Gradient

frameCount

FPS

RGB

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In grayscale, what does the value 0 represent?

White

Black

Gray

Transparent

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the function frameRate() do in p5.js?

Counts the number of frames displayed

Changes how many times per second the draw loop runs

Runs only once at the start of a sketch

Creates a smooth blend from one color to another

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the RGB color model used for?

Creating gradients

Measuring animation speed

Digital screens

Counting frames

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What RGB value makes pure red?

fill(255, 0, 0)

fill(0, 255, 0)

fill(0, 0, 255)

fill(128, 128, 128)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How would you write RGB for pure green?

fill(255, 0, 0)

fill(0, 255, 0)

fill(0, 0, 255)

fill(128, 128, 128)

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?