Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
p5js-interaction [2024/02/22 00:31] – renick | p5js-interaction [2024/03/13 07:47] (current) – renick | ||
---|---|---|---|
Line 107: | Line 107: | ||
===== doing something while a key is down ===== | ===== doing something while a key is down ===== | ||
- | Above, we stored key presses. We can also do something based on whether a certain key is pressed. The keyIsDown function returns either ' | + | Above, we stored key presses. We can also do something based on whether a certain key is pressed. The keyIsDown function returns either ' |
< | < | ||
Line 114: | Line 114: | ||
Read more about the keyIsDown function here: https:// | Read more about the keyIsDown function here: https:// | ||
+ | |||
+ | You can find all of the key codes here: https:// | ||
===== more about mouse and keyboard in p5js ===== | ===== more about mouse and keyboard in p5js ===== |