Coding Challenge 166: ASCII Text Images

Subscribers:
1,740,000
Published on ● Video Link: https://www.youtube.com/watch?v=55iwMYv8tGI



Duration: 22:42
1,050,517 views
41,543


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