
2.5.2 - Key Presses in P5.js
Presentation
•
Computers
•
10th Grade
•
Medium
Ryan Paul
Used 5+ times
FREE Resource
4 Slides • 8 Questions
1
Open this link then click on the next slide
2
Labeling
Place the choices to the right of the correct spot.
declares the variable
initializes the variable
uses the variable
3
Dropdown
Line # 5
Line #11 replaces 255 with
4
Add what we just did to your code
5
Drag and Drop
cCol1 = color(
6
Multiple Choice
What does pressing the 'g' key on the keyboard do?
7
Edit your code
Add another keypress to turn the circle blue
8
Poll
How comfortable are you with using "keyIsPressed" in your code?
👎
I definitely need help
👌
I feel OK
👍
I know how it works
9
Reorder
All code snippets below accomplish the same task, but with different levels of efficiency.
Rank them in the order of least efficient code to most efficient.
10
Open Ended
Why is code snippet 2 more efficient than code snippet 1?
11
Open Ended
Why is code snippet 3 more efficient than code snippet 2?
12
Open this link then click on the next slide
Show answer
Auto Play
Slide 1 / 12
SLIDE
Similar Resources on Wayground
10 questions
Factoring a Trinomial where a>1
Presentation
•
10th Grade
11 questions
Lesson 3
Presentation
•
10th Grade
11 questions
Lesson 5: Slope
Presentation
•
10th Grade
11 questions
CIRCULATORY SYSTEM
Presentation
•
10th Grade
8 questions
Symmetry
Presentation
•
10th Grade
10 questions
Preposition
Presentation
•
10th Grade
10 questions
Evolution
Presentation
•
10th Grade
9 questions
Unit 5: Digital Imaging
Presentation
•
10th Grade
Popular Resources on Wayground
10 questions
Safety Day 2026 – Student Review
Quiz
•
9th Grade
21 questions
Continents and Oceans
Quiz
•
6th Grade
20 questions
Parts of Speech
Quiz
•
5th Grade
16 questions
Subject & Predicate
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
12 questions
Map Skills
Quiz
•
3rd Grade
22 questions
Continents and Oceans
Quiz
•
5th Grade
15 questions
Rounding Decimals
Quiz
•
5th Grade