Let's make ASCII art in p5.js together! In this video, I demonstrate a variety of techniques for translating the pixels of an image into text and finish with rendering video as text ASCII characters in a DOM. https://thecodingtrain.com/challenges/166-image-to-ascii
p5.js Web Editor Sketches:
🕹️ ASCII video: https://editor.p5js.org/codingtrain/sketches/KTVfEcpWx
🕹️ ASCII image canvas: https://editor.p5js.org/codingtrain/sketches/r4ApYWpH_
🕹️ ASCII image dom: https://editor.p5js.org/codingtrain/sketches/ytK7J7d5j
🕹️ ASCII text: https://editor.p5js.org/codingtrain/sketches/LNBpdYQHP
🕹️ ASCII weather api: https://editor.p5js.org/codingtrain/sketches/DhdqcoWn4
🎥 Previous video: https://youtu.be/PbPUgyql5p4?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
🎥 All videos: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
Links discussed in this video:
🔗 ASCII play by ertdfgcvb: https://play.ertdfgcvb.xyz/
🔗 HTML Entity: https://developer.mozilla.org/en-US/docs/Glossary/Entity
🔗 HTML div: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/div
🔗 p5.js loadPixels(): https://p5js.org/reference/#/p5/loadPixels
🔗 p5.js brightness(): https://p5js.org/reference/#/p5/brightness
🔗 CodingTrainChooChoo on Twitch: https://www.twitch.tv/codingtrainchoochoo
Other videos mentioned in this video:
🎥 The Pixel Array: https://youtu.be/nMUMZ5YRxHI
🎥 Basics of CSS: https://youtu.be/zGL8q8iQSQw
🎥 p5.js Web Editor - Uploading Media Files: https://youtu.be/rO6M5hj0V-o
Timestamps:
0:00 Welcome! Choo choo!
0:28 Introducing Today’s Topic
1:39 Pixel to ASCII
4:52 Pixelating an image
7:03 Pixel Array Explanation
8:40 Back to the code
10:18 Adding Text
11:04 Mapping Brightness to Characters
13:26 Switching from canvas to DOM
18:10 Real-time ASCII video
20:10 Some refinemens
21:29 See you next time!
🚂 Website: http://thecodingtrain.com/
👾 Share Your Creation! https://thecodingtrain.com/Guides/community-contribution-guide.html
🚩 Suggest Topics: https://github.com/CodingTrain/Rainbow-Topics
💡 GitHub: https://github.com/CodingTrain
💬 Discord: https://discord.gg/hPuGy2g
💖 Membership: http://youtube.com/thecodingtrain/join
🛒 Store: https://standard.tv/codingtrain
📚 Books: https://www.amazon.com/shop/thecodingtrain
🖋️ 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/website/issues/new