Creative Coding with Codecademy #6: Object-Oriented Programming
6,881 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
- Free course
Learn JavaScript
Learn how to use JavaScript — a powerful and flexible programming language for adding website interactivity.Beginner Friendly15 hours - Career path
Front-End Engineer
Front-end engineers work closely with designers to make websites beautiful, functional, and fast.Includes 34 CoursesWith Professional CertificationBeginner Friendly115 hours