6.1: Introduction to Object-Oriented Programming with ES6 – p5.js Tutorial

Welcome to Object-Oriented Programming in JavaScript!

This video is a quick introduction to this collection of videos on the subject of Object-Oriented Programming in JavaScript with ES6 classes and the p5.js library.

Next Video: https://youtu.be/T-HGdc8L-7w

Support this channel on Patreon: https://patreon.com/codingtrain
To buy Coding Train merchandise: https://codingtrain.storenvy.com
To Support the Processing Foundation: https://processingfoundation.org/support

Send me your questions and coding challenges!: https://github.com/CodingTrain/Rainbow-Topics

Twitter: https://twitter.com/shiffman
The Coding Train website: http://thecodingtrain.com/

Links discussed in this video:
ES6 playlist: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6YgpA3Oht-7B4NBQwFVe3pr

Source Code for the all Video Lessons: https://github.com/CodingTrain/Rainbow-Code

p5.js: https://p5js.org/
Processing: https://processing.org

For an Intro to Programming using p5.js: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA
For Coding Challenges: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH


Nitin Shukla says:

Hi sir how you set computer screen in your background

Jitender Kumar says:

Can you plzzz tell me which software is best for makking a software for windows in C++

Mehedi Abdullah says:

i am watching right now, suddenly you have updated the list and lost my track… You are awesome.

pritam das says:

can you please make a video for converting an html page to pdf with pure javascript or jquery….???

Mehedi Abdullah says:

(7.4: The Constructor Function in JavaScript)-in this video there is also a constructor function and here is also an constructor function but they are different.. I can’t figure this out and also feel uncomfortable. Can you please make me clear about these two constructors?

faisal taher says:


Dániel Szalók says:

I’m sure there’s a demand for OOP in JS (especially for programmers coming from Java), but is it really worth learning a bad practice? I mean, OOP adds a complexity to the code that is not necessary in JS. You can just use OLOO-style coding and you’ll be just fine.

faisal taher says:

i love your vids

Wiking says:

What’s the story behind the scar on the elbow?
Somalian pirates?

Stephen Lai says:

we can simply change the old materials e.x. using class to replace old object style, and replace var with let/const, still working, but it will be awesome if you create a new p5.js series using ES6 and for people who don’t know old style ES5, learn new concept from very beginning is the right way because ES6 has become standard nowadays…

Shukri Mehmed says:

Why p5?

BaardEdits says:

I was confused as well, but it’s so nice that you still care about old video’s. Thanks a lot! thumbs up 🙂

Mehedi Abdullah says:

It is the best, You have become my best teacher and whatever you do, it is best for me……..pray for me ..

angelsilva54 says:

can you do a video explaining callbacks? Thanks

XimerTracks - NCS Music & Remixes says:

@The Coding Train. Nice! Do you think my content is alright? Grab some of my music here youtube․com/XimerTracks

 Write a comment


Do you like our videos?
Do you want to see more like that?

Please click below to support us on Facebook!