
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.
uses the variable
initializes the variable
declares 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
Introduction to Compute Science
Presentation
•
10th Grade
9 questions
rappers
Presentation
•
10th Grade
8 questions
Are Facial Expressions Universal?
Presentation
•
10th Grade
8 questions
Binomials Theorem
Presentation
•
10th Grade
10 questions
Making, accepting & declining invitations.
Presentation
•
10th Grade
10 questions
Coding in Kindergarten 2023
Presentation
•
KG
8 questions
Modern Technologies
Presentation
•
10th Grade
9 questions
Revision Lesson Plan
Presentation
•
10th Grade
Popular Resources on Wayground
10 questions
HCS SCI 03 Summer School Review 4
Quiz
•
3rd Grade
11 questions
HSMS - Standard Response Protocol
Quiz
•
6th - 8th Grade
16 questions
1.1-1.2 Quiz Review
Quiz
•
9th - 12th Grade
12 questions
Exponent Expressions
Quiz
•
6th Grade
20 questions
Adding and Subtracting Integers
Quiz
•
6th - 7th Grade
11 questions
Northeast States
Quiz
•
3rd - 4th Grade
10 questions
Characterization
Quiz
•
3rd - 7th Grade
10 questions
Common Denominators
Quiz
•
5th Grade