P5 Creative Coding Bootcamp - Session 5 - Objects and Algorithms
Date: June 26, 2023 5:30-7:30pm
Format: Hybrid (In-person with online access)
Tags: (No tags)
Session 5 is going to include topics on Objects
Remember that all of my topics require that you have an understanding of the past topics, otherwise you may be a little lost as each technique builds upon a prior technique. I have updated my past notes and videos with links to code and the first four sessions can be reviewed here:
https://colonelpanix.notion.site/ITP-Camp-P5-Bootcamp-fdaa713616ca4422b16ec1315b91e238
Recommended Coding Train Videos for Session 5
https://thecodingtrain.com/tracks/code-programming-with-p5-js
Watch the videos under Objects
- Object Oriented programming with ES6
- Classes in ES6
- Constructor Arguments with Classes
- Javascript Files in the P5.js editor
Watch the videos under Arrays:
- Arrays of Objects
- Mouse Interaction with Objects
- Removing Objects from Arrays
- Object Communication (part 1 and part 2)
- Uploading Media Files
- Objects and Images
Also, at the end of Session 4, I challenged everyone to take a prior sketch and move some of your drawing statements into a single function. Start the first line of your function with a push() and end with the last line of the function as a pop(). In the middle, attempt to do some transformations like "translate", "rotate" or "scale". (Think of how I created my robot and moved it into a function at the end of session 4)
Place your sketch in our shared document: https://docs.google.com/document/d/1bECZwf3ATRL3WTJaKOkUtqrcqNcM_bl8JJSFwcEDAOc/edit