Creative Coding with Codecademy #6: Object-Oriented Programming
6,749 ViewsApr 13, 2021Welcome to Creative Coding with Codecademy!
In our sixth session, Curriculum Developers Jiwon and Alex teach us how to use object-oriented programming with p5. Check out the full course here: https://j.mp/2QSe6aH
More details:
- In previous sessions, we made bouncing balls using enormous lists. Today, our team takes those fundamental principles and teaches us how to adapt them to fit within an object-oriented approach. By the end of this session, we’ll have a Ball class that has its own attributes and methods.
Solution code: https://editor.p5js.org/akuntz/sketches/KUO2xy3_u
Join the millions learning to code with Codecademy.
Learn to code: https://j.mp/2R0TkWI
Check out our full course catalog: https://j.mp/3tTQ4Lg