
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
Key Press Tutorial
Open this link then click on the next slide
2
Labelling
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
Complete the rest of the assignment
Key Press Tutorial
Open this link then click on the next slide
Show answer
Auto Play
Slide 1 / 12
SLIDE
Similar Resources on Wayground
8 questions
Generations of Computers
Presentation
•
10th Grade
11 questions
Teenager 5 Session 22: Pronunciation & Speaking
Presentation
•
KG
9 questions
Sine, Cosine, and Tangent
Presentation
•
10th Grade
10 questions
Inscribed Angles (Quadrilaterals)
Presentation
•
10th Grade
10 questions
Modal verbs
Presentation
•
10th Grade
10 questions
K.3 Safety in My Online Neighborhood
Presentation
•
KG
9 questions
TIPE DATA
Presentation
•
10th Grade
9 questions
HDD's
Presentation
•
10th Grade
Popular Resources on Wayground
10 questions
Factors 4th grade
Quiz
•
4th Grade
10 questions
Cinco de Mayo Trivia Questions
Interactive video
•
3rd - 5th Grade
13 questions
Cinco de mayo
Interactive video
•
6th - 8th Grade
20 questions
Math Review
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
20 questions
Inferences
Quiz
•
4th Grade
19 questions
Classifying Quadrilaterals
Quiz
•
3rd Grade
Discover more resources for Computers
45 questions
AP CSP Exam Review
Quiz
•
9th - 12th Grade
50 questions
AP CSP Review
Quiz
•
9th - 12th Grade
17 questions
CSP Robot Questions Review
Quiz
•
10th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
50 questions
IBT Final Exam Review (Spring)
Quiz
•
9th - 12th Grade