Week 03
Animation, Variables, Interaction
1. Variable
number
string
object
https://editor.p5js.org/kdoodoo/sketches/S1eJIVpdQ
array
2. Let and Variable
let allows you to declare variables that are limited in scope to the block, statement, or expression on which it is used. This is unlike the var keyword, which defines a variable globally, or locally to an entire function regardless of block scope.
https://editor.p5js.org/kdoodoo/sketches/rJ1s90hdm
3. console.log()
4. Animation
What is animation? Either something that moves by the intention of the user or something that moves automatically for the better interaction in functionality and emotions.
https://editor.p5js.org/kdoodoo/sketches/Hy1BtR3u7
random()
https://editor.p5js.org/kdoodoo/sketches/HJlfT03um
mouseX, mouseY
https://jsfiddle.net/kdoodoo/53graLpd/
map()
https://editor.p5js.org/kdoodoo/sketches/H1gGsETOQ
mousePressed()
https://editor.p5js.org/kdoodoo/sketches/ByYWeS6uX
5. Assignment
Make any project that interacts with the user.
Submit here: https://goo.gl/forms/zlr9n5bNbT0iPTyJ2
Always submit link as an editor view from now on.
이상은 | |
이의진 | |
이가하 | |
이다영 | |
Celso Urroz | |
Lukas Merten | |
Alexis Sechoir | |
이재은 | |
김다인 | |
김지원 |
Last updated