Uploaded December 2021 | Updated September 2026, 1 week ago
Hi creative coding hackers, do you like retro effects? How about this iconic Unicode rain effect from Matrix movies. It's time to dive deep into the code and have a closer look at object-oriented programming principles in action. Practice makes perfect and every project you create brings you one step closer to becoming Neo of HTML, CSS and JavaScript :D Come and learn new creative coding techniques with me and one day, you will be be the one who bends the rules of code. What's it gonna be, blue pill and play it safe, or red pill to see how deep the rabbit hole of JavaScript goes? :D Have fun! ๐
Symbols I used in this tutorial:
ใขใกใซใตใฟใใใใคใฃใฉใฏใฌใถใใใใคใฃใญใทใใใใใชใฐใฎใธใใใใฆใฅใฏในใใใใ ใฆใฅใซใฐใบใใ ใใจใงใฑใปใใใใกใฌใฑใฒใผใใใใชใฉใณใฝใใใใขใจใงใญใฒใดใพใใใใดใใณ0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ
โโโโโโCHESSโโโโโโ
โโโWEATHERโ โ
โชMUSICโซ
โญ๏ธTutorial Contents โญ๏ธ
00:00 Matrix rain effect in JavaScript
00:28 HTML5 canvas gradients
01:03 HTML5, CSS3 and HTML canvas setup
01:40 Procedural vs Object-oriented programming
02:00 ES6 Classes explained
02:22 Encapsulation
03:17 JavaScript class constructors explained
03:51 Effect class
04:58 Abstraction
06:21 Symbol class
11:00 Animation loop
14:26 How to control FPS with timestamps and delta time
19:04 How to make HTML canvas effects responsive
20:54 createLinearGradient() explained
22:43 createRadialGradient() explained
๐ CHALLENGE: Want to try your own experiments? Try to replace this.characters string with some of these Unicode symbols, mix symbols with letters, give them different colours, different font size...
unicode-table.com/en
Recommended Udemy courses (get solid understanding of the basics and then use it to build projects):
โ Object-oriented Programming in JavaScript (Mosh Hamedani) bit.ly/3f4Otu0
โ JavaScript Basics for Beginners (Mosh Hamedani) bit.ly/32Tn5wq
โ Modern JavaScript From The Beginning (Brad Traversy) bit.ly/3fWJgWk
โ JavaScript: Understanding the Weird Parts bit.ly/2WVe0zn
โ Modern HTML & CSS From The Beginning (Including Sass) bit.ly/2Ec6Cch
โ Advanced CSS and Sass: Flexbox, Grid, Animations and More! bit.ly/3g0uqxT
โ JavaScript: The Advanced Concepts (2021) bit.ly/2Uk6Wyk
โ JavaScript - The Complete Guide 2021 (Beginner + Advanced) bit.ly/37Hlxqq
โ The Complete JavaScript Course 2021: From Zero to Expert! bit.ly/3fXGwaZ
โ 20 Web Projects With Vanilla JavaScript bit.ly/3anlCQR
โ HTML/CSS Bootcamp - Learn HTML, CSS, Flexbox, and CSS Grid bit.ly/3tu9ghD
โ Modern HTML & CSS From The Beginning (Including Sass) bit.ly/2Ec6Cch
โ Advanced CSS and Sass: Flexbox, Grid, Animations and More! bit.ly/3g0uqxT
Free good quality courses:
๐ Object-oriented Programming in JavaScript: Made Super Simple | Mosh youtu.be/PFmuCDHHpwk
๐ JavaScript Tutorial for Beginners: Learn JavaScript in 1 Hour youtu.be/W6NZfCO5SIk
๐ JavaScript: Understanding the Weird Parts - The First 3.5 Hours youtu.be/Bv_5Zv5c-Ts
๐ต Music: (YouTube audio library) Dance of the U-boat - Aakash Gandhi
The description of this video may contain affiliate links, which means that if you buy one of the products that I recommend, I'll receive a small commission without any additional cost for you. This helps to support the channel and allows me to continue making videos like this. Thank you for the support!
#frankslaboratory
Hi creative coding hackers, do you like retro effects? How about this iconic Unicode rain effect from Matrix movies. It's time to dive deep into the code and have a closer look at object-oriented programming principles in action. Practice makes perfect and every project you create brings you one step closer to becoming Neo of HTML, CSS and JavaScript :D Come and learn new creative coding techniques with me and one day, you will be be the one who bends the rules of code. What's it gonna be, blue pill and play it safe, or red pill to see how deep the rabbit hole of JavaScript goes? :D Have fun! ๐
Symbols I used in this tutorial:
ใขใกใซใตใฟใใใใคใฃใฉใฏใฌใถใใใใคใฃใญใทใใใใใชใฐใฎใธใใใใฆใฅใฏในใใใใ ใฆใฅใซใฐใบใใ ใใจใงใฑใปใใใใกใฌใฑใฒใผใใใใชใฉใณใฝใใใใขใจใงใญใฒใดใพใใใใดใใณ0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ
โโโโโโCHESSโโโโโโ
โโโWEATHERโ โ
โชMUSICโซ
โญ๏ธTutorial Contents โญ๏ธ
00:00 Matrix rain effect in JavaScript
00:28 HTML5 canvas gradients
01:03 HTML5, CSS3 and HTML canvas setup
01:40 Procedural vs Object-oriented programming
02:00 ES6 Classes explained
02:22 Encapsulation
03:17 JavaScript class constructors explained
03:51 Effect class
04:58 Abstraction
06:21 Symbol class
11:00 Animation loop
14:26 How to control FPS with timestamps and delta time
19:04 How to make HTML canvas effects responsive
20:54 createLinearGradient() explained
22:43 createRadialGradient() explained
๐ CHALLENGE: Want to try your own experiments? Try to replace this.characters string with some of these Unicode symbols, mix symbols with letters, give them different colours, different font size...
unicode-table.com/en
Recommended Udemy courses (get solid understanding of the basics and then use it to build projects):
โ Object-oriented Programming in JavaScript (Mosh Hamedani) bit.ly/3f4Otu0
โ JavaScript Basics for Beginners (Mosh Hamedani) bit.ly/32Tn5wq
โ Modern JavaScript From The Beginning (Brad Traversy) bit.ly/3fWJgWk
โ JavaScript: Understanding the Weird Parts bit.ly/2WVe0zn
โ Modern HTML & CSS From The Beginning (Including Sass) bit.ly/2Ec6Cch
โ Advanced CSS and Sass: Flexbox, Grid, Animations and More! bit.ly/3g0uqxT
โ JavaScript: The Advanced Concepts (2021) bit.ly/2Uk6Wyk
โ JavaScript - The Complete Guide 2021 (Beginner + Advanced) bit.ly/37Hlxqq
โ The Complete JavaScript Course 2021: From Zero to Expert! bit.ly/3fXGwaZ
โ 20 Web Projects With Vanilla JavaScript bit.ly/3anlCQR
โ HTML/CSS Bootcamp - Learn HTML, CSS, Flexbox, and CSS Grid bit.ly/3tu9ghD
โ Modern HTML & CSS From The Beginning (Including Sass) bit.ly/2Ec6Cch
โ Advanced CSS and Sass: Flexbox, Grid, Animations and More! bit.ly/3g0uqxT
Free good quality courses:
๐ Object-oriented Programming in JavaScript: Made Super Simple | Mosh youtu.be/PFmuCDHHpwk
๐ JavaScript Tutorial for Beginners: Learn JavaScript in 1 Hour youtu.be/W6NZfCO5SIk
๐ JavaScript: Understanding the Weird Parts - The First 3.5 Hours youtu.be/Bv_5Zv5c-Ts
๐ต Music: (YouTube audio library) Dance of the U-boat - Aakash Gandhi
The description of this video may contain affiliate links, which means that if you buy one of the products that I recommend, I'll receive a small commission without any additional cost for you. This helps to support the channel and allows me to continue making videos like this. Thank you for the support!
#frankslaboratory






![HTML Canvas & Vanilla JavaScript Animation Series 1 - Floating Particles Effect
#javascript #html5canvas #frankslaboratory
In this series we will create animated interactive backgrounds you can use for your website with HTML Canvas element and vanilla JavaScript. No frameworks or libraries, just pure object oriented JavaScript principles to demonstrate how amazing and flexible JavaScript is for web design and front end web development |
HTML Canvas & Vanilla JavaScript Animation Series 1 - Floating Particles Effect |
Like & Subscribe please ! :] HTML Canvas & Vanilla JavaScript Animation Series 1 - Floating Particles Effect
If you liked this video Im sure you will enjoy other videos on my channel. You can find HTML Canvas Animation Tutorials, JavaScript tutorials, animated effects and step by step animation guides, each video shows many examples of the final effect. I will help you learn modern web development techniques by building real projects you can show off on your personal website or GitHub. Code along with me and gain skills to get your first job in the industry. If I could do it you can do it too. If you decide to code along and modify the effects, share your Codepen/JS Fiddle in the comments, I want to see what you came up with.
I have pure vanilla JavaScript animation series, in each tutorial we create all different kinds of interactive animated effects from scratch. No plugins, no libraries, no frameworks. Every line of code is explained to give you hands on experience and teach you as much JavaScript as possible. If you want more creative JavaScript tutorials, HTML canvas animations, interactive animated effects, code alongs, video guides for beginners as well as advanced pure vanilla JavaScript, check out the previous episodes here:
Part 1 - HTML Canvas & Vanilla JavaScript Animation Series 1 - Floating Particles Effect
https://www.youtube.com/watch?v=hotMX-pqjkQ
Part 2 - HTML Canvas & Vanilla JavaScript Animation Series 2 - Animated Clouds Effect
https://www.youtube.com/watch?v=hF-QBhDG-wE
Part 3 - Particles JS Effect with Pure Vanilla JavaScript | Animated Background Tutorial with Examples
https://youtu.be/d620nV6bp0A
Part 4 - Spinning Stars in Vanilla JS & HTML Canvas Animated Backgrounds Coding Tutorial
https://youtu.be/suBgH07fjmo
Part 5 - Eye Balls Animation - JavaScript HTML5 Canvas Effect Tutorial Trigonometry & Circles With No Overlap
https://youtu.be/52rKp7P3gIs
For more creative vanilla JavaScript tutorials, CSS tricks, HTML canvas animations, front end web development and web design guides, subscribe to the channel and click the bell icon to get notified when I release a new video.
My name is Frank, Im a self-taught Front End Web Developer. I learned everything I know in my free time and I used the knowledge to get a great job in web development industry. The part I enjoy the most is building creative animations and interactive effects for the web using HTML, CSS and JavaScript. Thank you for watching my video.
If you want to improve your Front End Web Developmnent skills, check out my CSS tutorial series where we explore animations and effects that can be done with modern CSS3 techniques:
https://www.youtube.com/watch?v=loKyT99W2s8&list=PLYElE_rzEw_t2O2DvfopIoq-diTgefVzV
You can find base 64 code of the image here (it is not fully functional demo of this effect, I just dropped few lines of code there so you can copy the image code):
https://codepen.io/franksLaboratory/pen/YzzvROq
** just copy the code from line 9 to your project (png.src = data:image/png;base64,iVBO...)
Music:
Business / Corporate by Mixaund | https://mixaund.bandcamp.com
Music promoted by https://www.free-stock-music.com HTML Canvas & Vanilla JavaScript Animation Series 1 - Floating Particles Effect](https://i.ytimg.com/vi/hotMX-pqjkQ/mqdefault.jpg)



