Creative Coding with Codecademy #6: Object-Oriented Programming
7,023 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
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
More videos
Learn more on Codecademy
- Learn how to use JavaScript — a powerful and flexible programming language for adding website interactivity.
- Beginner Friendly.15 hours
- Front-end engineers work closely with designers to make websites beautiful, functional, and fast.
- Includes 34 Courses
- With Professional Certification
- Beginner Friendly.115 hours