Beginner p5.js Lesson 5 - Reorganize code into Objects using Object Oriented Programming
Channel:
Subscribers:
64,000
Published on ● Video Link: https://www.youtube.com/watch?v=3uG6Z_L1maM
Before our program gets too big, it's important to reorganise the code into objects. We create a player object with a display method and a change colour method. We also change global variables to object properties (variable only exists as part of an object).
Other Videos By Magic Monk
Tags:
p5.js tutorial
p5.js objects