Coding Challenge 166: ASCII Text Images
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