Thursday, March 10, 2022

ASCII Video (Coding Challenge 166)

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. p5.js Web Editor Sketches: 🕹️ ASCII video: 🕹️ ASCII image canvas: 🕹️ ASCII image dom: 🕹️ ASCII text: 🕹️ ASCII weather api: đŸŽĨ Previous video: đŸŽĨ All videos: Links discussed in this video: 🔗 ASCII play by ertdfgcvb: 🔗 HTML Entity: 🔗 HTML div: 🔗 p5.js loadPixels(): 🔗 p5.js brightness(): 🔗 CodingTrainChooChoo on Twitch: Other videos mentioned in this video: đŸŽĨ The Pixel Array: đŸŽĨ Basics of CSS: đŸŽĨ p5.js Web Editor - Uploading Media Files: 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:

No comments: