Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
6.2: Classes in JavaScript with ES6 - p5.js Tutorial
Play lesson

Start learning here! - 6.2: Classes in JavaScript with ES6 - p5.js Tutorial

4.0 (0)
9 learners

What you'll learn

This course includes

  • 6.5 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

This video introduces Object-Oriented Programming in JavaScript with ES6 classes and the p5.js library. Code: https://thecodingtrain.com/tracks/code-programming-with-p5-js/code/6-objects/2-classes 🕹️ p5.js Web Editor Sketch: https://editor.p5js.org/codingtrain/sketches/qi7N4LWq 🎥 Previous video: https://youtu.be/xG2Vbnv0wvg?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA 🎥 Next video: https://youtu.be/rHiSsgFRgx4?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA 🎥 All videos: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA Timestamps: 0:00 Introduction 3:09 Encapsulation 3:37 Using Classes as a Template for Objects 8:40 The constructor() Function is the Object's Setup 10:10 Using “this.” to Declare Class Variables 12:26 Code Example 14:50 Adding Functionality to a Class Editing by Mathieu Blanchette Animations by Jason Heglund Music from Epidemic Sound 🚂 Website: http://thecodingtrain.com/ 👾 Share Your Creation! https://thecodingtrain.com/guides/passenger-showcase-guide 🚩 Suggest Topics: https://github.com/CodingTrain/Suggestion-Box 💡 GitHub: https://github.com/CodingTrain 💬 Discord: https://discord.gg/hPuGy2g 💖 Membership: http://youtube.com/thecodingtrain/join 🛒 Store: https://standard.tv/codingtrain 🖋️ Twitter: https://twitter.com/thecodingtrain 📸 Instagram: https://www.instagram.com/the.coding.train/ 🎥 Coding Challenges: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH 🎥 Intro to Programming: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA 🔗 p5.js: https://p5js.org 🔗 p5.js Web Editor: https://editor.p5js.org/ 🔗 Processing: https://processing.org 📄 Code of Conduct: https://github.com/CodingTrain/Code-of-Conduct This description was auto-generated. If you see a problem, please open an issue: https://github.com/CodingTrain/thecodingtrain.com/issues/new #basics #oop #objects #p5js #javascript

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere