filmov
tv
ASCII Art with Vanilla JavaScript
![preview_player](https://i.ytimg.com/vi/HeT-5RZgEQY/maxresdefault.jpg)
Показать описание
Image processing and converting pixel data into creative coding effects is easier than you think. Let's go over it step by step in this HTML5 canvas tutorial and learn how to use vanilla JavaScript to play around with images, text & pixels to create text based visual art, also called ASCII art effect. Have fun ❤
⭐️TABLE OF CONTENT ⭐️
00:00 Creative coding examples
01:35 HTML, CSS and canvas setup
03:54 Image loading, drawing and analysis
08:04 ASCII art and private class fields
12:57 How to use getImageData method
15:16 ImageData object explained
17:57 HTML canvas grid and pixel coordinates
28:06 How to convert colors to symbols
30:57 Cell class
32:22 Public draw() method
36:21 User controls with addEventListener()
39:25 Dynamic font size, shadows
❤ Related Links ❤
This video is collaboration with my friend Evaristo, who refactored the code and helped me choose the right coding practices to show you. You can check out some of his GitHub projects. He's currently working on really cool animation library that uses multiple pixel effects based on getImageData() technique we will learn about today. Check it out, inspect his code, and maybe after watching this video and learning about encapsulation and pixel manipulation, you might even be able to fork his GitHub repository and contribute with some of your own improvements or even add new effects to it. Employers love to see CVs of candidates that contribute to open source projects like this:
My other tutorials that use the same pixel manipulation technique:
🔥 I really like these FRONT END WEB DEVELOPMENT courses on Udemy 🔥
Learn modern advanced JavaScript practices and be in the top 10% of JavaScript developers. (Andrei Neagoie)
Modern JavaScript from the beginning - all the way up to JS expert level! THE must-have JavaScript resource in 2021. (Maximilian Schwarzmuller)
The modern JavaScript course for everyone! Master JavaScript with projects, challenges and theory. Many courses in one! (Jonas Schmedtmann)
Build 20 mini frontend projects from scratch with HTML5, CSS & JavaScript (No frameworks or libraries, Brad Traversy)
🎮 HTML5 canvas and JavaScript game tutorials:
If you feel more confident in your coding skills, check out some more ADVANCED ANIMATIONS with vanilla JavaScript & HTML5 canvas:
Let's be friends
Music: (YouTube audio library) Vacay In Fiji Riddim - Konrad OldMoney, World Map - Jason Farnham
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
⭐️TABLE OF CONTENT ⭐️
00:00 Creative coding examples
01:35 HTML, CSS and canvas setup
03:54 Image loading, drawing and analysis
08:04 ASCII art and private class fields
12:57 How to use getImageData method
15:16 ImageData object explained
17:57 HTML canvas grid and pixel coordinates
28:06 How to convert colors to symbols
30:57 Cell class
32:22 Public draw() method
36:21 User controls with addEventListener()
39:25 Dynamic font size, shadows
❤ Related Links ❤
This video is collaboration with my friend Evaristo, who refactored the code and helped me choose the right coding practices to show you. You can check out some of his GitHub projects. He's currently working on really cool animation library that uses multiple pixel effects based on getImageData() technique we will learn about today. Check it out, inspect his code, and maybe after watching this video and learning about encapsulation and pixel manipulation, you might even be able to fork his GitHub repository and contribute with some of your own improvements or even add new effects to it. Employers love to see CVs of candidates that contribute to open source projects like this:
My other tutorials that use the same pixel manipulation technique:
🔥 I really like these FRONT END WEB DEVELOPMENT courses on Udemy 🔥
Learn modern advanced JavaScript practices and be in the top 10% of JavaScript developers. (Andrei Neagoie)
Modern JavaScript from the beginning - all the way up to JS expert level! THE must-have JavaScript resource in 2021. (Maximilian Schwarzmuller)
The modern JavaScript course for everyone! Master JavaScript with projects, challenges and theory. Many courses in one! (Jonas Schmedtmann)
Build 20 mini frontend projects from scratch with HTML5, CSS & JavaScript (No frameworks or libraries, Brad Traversy)
🎮 HTML5 canvas and JavaScript game tutorials:
If you feel more confident in your coding skills, check out some more ADVANCED ANIMATIONS with vanilla JavaScript & HTML5 canvas:
Let's be friends
Music: (YouTube audio library) Vacay In Fiji Riddim - Konrad OldMoney, World Map - Jason Farnham
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
Комментарии