6.2: Classes in JavaScript with ES6 - p5.js Tutorial

Veröffentlicht am: 06 Oktober 2017
auf dem Kanal: The Coding Train
404,318
8.4k

This video introduces Object-Oriented Programming in JavaScript with ES6 classes and the p5.js library. Code: https://thecodingtrain.com/tracks/cod...

🕹️ p5.js Web Editor Sketch: https://editor.p5js.org/codingtrain/s...

🎥 Previous video:    • 6.1: Introduction to Object-Oriented ...  
🎥 Next video:    • 6.3: Constructor Arguments with Class...  
🎥 All videos:    • Start learning here!  

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/pas...
🚩 Suggest Topics: https://github.com/CodingTrain/Sugges...
💡 GitHub: https://github.com/CodingTrain
💬 Discord:   / discord  
💖 Membership: http://youtube.com/thecodingtrain/join
🛒 Store: https://standard.tv/codingtrain
🖋️ Twitter:   / thecodingtrain  
📸 Instagram:   / the.coding.train  

🎥 Coding Challenges:    • Coding Challenges  
🎥 Intro to Programming:    • Start learning here!  

🔗 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-o...

This description was auto-generated. If you see a problem, please open an issue: https://github.com/CodingTrain/thecod...

#basics #oop #objects #p5js #javascript


Auf dieser Seite können Sie das Online-Video 6.2: Classes in JavaScript with ES6 - p5.js Tutorial mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer The Coding Train 06 Oktober 2017 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 404,318 Mal angesehen und es wurde von 8.4 tausend den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!