This week we’ll be learning about how to make your code do different things based on boolean logical tests. We’ll also have our first introduction to the Object datatype which allows us to group together many different ‘named values’ within a single variable.
Sync Up
P5 & JavaScript questions
Discuss how you modularized your p5-based paintings and share the ‘generative’ composition you made using those custom function definitions
Complete at least three representations of the current wall-clock time (ignore days, weeks, moons, etc. for now) and document your ideas with text and sketches in the clocks folder of our shared GD355 Activities folder in Google Drive
Each of these should consist of a pencil sketch or vector drawing and an explanation of how each value (hour, minute, or second) is being transformed into a particular retinal variable (or a combination of them)
For each of your three approaches, sketch out what it would look like for the following times:
1:15 A.M.
1:15 P.M
7:45 P.M.
There should be 9 drawings in total: 3 concepts ⨉ 3 different times of day
Create a folder in clocks with your full name and upload the photos of how your three concepts represent those three clock times. Name them like this:
clocks/<your name>/Concept-1.jpg
clocks/<your name>/Concept-2.jpg
clocks/<your name>/Concept-3.jpg
Add a google doc in which you explain the logic of each of the concepts in terms of how the hour, minute, and second values will be translated into the size, color, position, opacity, etc. of the shapes htat represent them. Save this document as:
clocks/<your name>/Process
Extra credit: Take an initial swing at implementing one of your sketches using P5. Duplicate the template project folder and give it a working title. Then start messing around with its sketch.js file, incorporating what you’ve learned from our previous work with p5 and the examples on the project page.