week02 02 interactivity - UX-UI-Design-Lab/DesignAesthetics3 GitHub Wiki
agenda:
- drawing lines with variables
- adding interactivity to the pattern
- activity: op(-tical illusion) art
- review of assignment01, adjectives
- Q&A and troubleshooting
Let's start with one line.
-
Then, repeat the line in a regular interval.
-
You will decide the size of the interval (ex. 10px) and add up the increase to the original point.
-
To make it easy, let's make variables for the point coordinates. (ex. positionX, counterI, intervalG)
Then, try FOR.
- Let's change the initial value of the starting point with mouse position (mouseX or mouseY).
- Let's change the thickness of the line (strokeWeight) - then, experiment to change the thickness by mouse position
- Let's change the color of the line (stroke) - then, experiment with mouse position
maybe helpful to use noFill() or noStroke, and test by commenting background()
optional: responsive window size using windowHeight, windowWidth, and windowResized();
https://p5js.org/reference/#/p5/windowResized
- draw the canvas at the center of the full screen window
optional: understanding arc (and radian system)
https://p5js.org/reference/#/p5/arc
form Textbook - Make: Getting started with p5.js by McCarthy, Reas & Fry, p.24
https://www.tate.org.uk/art/art-terms/o/op-art
- draw one unit shape - repeat the shape by subtle changes
- make a color changes when repeating (gradation)
- make the change interactive to the mouse position
- line(s)
- triangle
-
rectangle
-
-
-
-
-
circle
- Think of one adjective you would name for your assignment01.
- You will be asked to show your assignment01 without any words (about 5sec) - and we will guess three adjectives that can explain your work in the survey form.
- reveal how similar or different the collected adjectives would be like.
(note: this is called Impression Test, one of UX research methods)
If we have time we may try transform (translate, rotate, scale).