Creative Coding with Codecademy #6: Object-Oriented Programming6,035 ViewsApr 13, 2021
Welcome 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
- 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
Learn More on Codecademy
Learn Python 3Learn the basics of Python 3, one of the most powerful, versatile, and in-demand programming languages today.