
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
Labeling
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
10 questions
Analyzing Influences
Presentation
•
10th Grade
9 questions
Information Processing (IP)
Presentation
•
10th Grade
9 questions
Drivers
Presentation
•
10th Grade
9 questions
ORMATIKA
Presentation
•
10th Grade
8 questions
Digitális platformok online workshop
Presentation
•
KG
7 questions
Belajar Dasar Pemograman Lewat Handphone
Presentation
•
10th Grade
7 questions
Review on Client-Server Network
Presentation
•
10th Grade
9 questions
Limiting Reactant and Percent Yield
Presentation
•
10th Grade
Popular Resources on Wayground
6 questions
PRIDE Always and Everywhere
Presentation
•
12th Grade
20 questions
Lab Safety Quiz
Quiz
•
6th Grade
26 questions
KOR Review Kahoot Questions
Quiz
•
8th Grade
21 questions
Continents and Oceans
Quiz
•
6th Grade
12 questions
Unit Zero lesson 2 cafeteria
Presentation
•
9th - 12th Grade
20 questions
Parts of Speech
Quiz
•
5th Grade
10 questions
Riddles Riddles fun Riddles
Quiz
•
6th - 12th Grade
16 questions
Subject & Predicate
Quiz
•
5th Grade