Contents
Core topics
. The software “Processing”: framework and interface
. Tips to make coding simpler
. The canvas: coordinates system and transformations
. Drawing basics
. Variables and Data Types
. Creating and executing functions
. Taking decisions using conditionals
. Repetitive tasks
. Classes and objects
. Managing multiple objects
. Time & Motion
. Loading external data to our program
. Interaction: capturing events
Extending P5
. Installing and using libraries
. Interface (controlP5)
. Animation
. Simulation/Physics
. Computer Vision
. Sound
. Other libraries? Augmented Reality, 3D…
. Publishing for JavaScript and Android
Workshop
Half of the course will be dedicated to put the acquired knowledge into practice. The students will have to ideate, desing and develop a simple yet finely-crafted interactive piece using the computer’s basic sensors (microphone, camera, gyroscope).
-
Calendar
Class 1. – Tue 16 Oct.
- Course presentation
- The canvas: coordinates system and drawing logic
- Basic file structure: functions setup & draw
- Drawing basics
READING: Processing… (P28-43, Structure 1: Code Elements (P44-48), Shape 1: Coordinates, Primitives (P50-62),
Data 1: Variables (P64-68), Math 1: Arithmetic, Functions (P70-77)
POST: Exercise + 1 reference (topic: Done with Processing)
Class 2. – Tue 23 Oct.
- Before coding: think, design and plan.
- Transformations: popMatrix and pushMatrix
- Conditionals
- Basic events
- Self-created functions
Class 3. – Mon 29 Nov.
- Time & Motion
- Repetition
- Text
Class 4. – Wed 31 Oct.
- Improving code structure: creating classes
- Instances
- Arrays
Class 5. – Mon 05 Nov.
- Importing data
- Let’s recap
Class 6. – Wed 7 Nov.
- Installing libraries
- Examples: sound, physics, CV
- Workshop brief
Class 7. – Mon 12 Nov. – Workshop session 1
- Project proposals
- Sketches
Class 8. – Wed 14 Nov. – Workshop session 2
- Final Design
- Prototype
Class 9. – Mon 19 Nov. – Workshop session 3
- Code structure definition
- Code, code, code
10. – Wed 21 Nov. – Workshop: Project deliverable
- Last refinements
- Presentation