Uploaded February 2022 | Updated November 2026, 4 days ago
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. thecodingtrain.com/challenges/166-image-to-ascii
p5.js Web Editor Sketches:
πΉοΈ ASCII video: editor.p5js.org/codingtrain/sketches/KTVfEcpWx
πΉοΈ ASCII image canvas: editor.p5js.org/codingtrain/sketches/r4ApYWpH_
πΉοΈ ASCII image dom: editor.p5js.org/codingtrain/sketches/ytK7J7d5j
πΉοΈ ASCII text: editor.p5js.org/codingtrain/sketches/LNBpdYQHP
πΉοΈ ASCII weather api: editor.p5js.org/codingtrain/sketches/DhdqcoWn4
π₯ Previous video: youtu.be/PbPUgyql5p4?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
π₯ All videos: youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
Links discussed in this video:
π ASCII play by ertdfgcvb: https://play.ertdfgcvb.xyz/
π HTML Entity: developer.mozilla.org/en-US/docs/Glossary/Entity
π HTML div: developer.mozilla.org/en-US/docs/Web/HTML/Element/div
π p5.js loadPixels(): p5js.org/reference/#/p5/loadPixels
π p5.js brightness(): p5js.org/reference/#/p5/brightness
π CodingTrainChooChoo on Twitch: twitch.tv/codingtrainchoochoo
Other videos mentioned in this video:
π₯ The Pixel Array: youtu.be/nMUMZ5YRxHI
π₯ Basics of CSS: youtu.be/zGL8q8iQSQw
π₯ p5.js Web Editor - Uploading Media Files: 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: thecodingtrain.com
πΎ Share Your Creation! thecodingtrain.com/Guides/community-contribution-guide.html
π© Suggest Topics: github.com/CodingTrain/Rainbow-Topics
π‘ GitHub: github.com/CodingTrain
π¬ Discord: discord.gg/hPuGy2g
π Membership: youtube.com/thecodingtrain/join
π Store: standard.tv/codingtrain
π Books: amazon.com/shop/thecodingtrain
ποΈ Twitter: twitter.com/thecodingtrain
πΈ Instagram: instagram.com/the.coding.train
π₯ Coding Challenges: youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
π₯ Intro to Programming: youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA
π p5.js: p5js.org
π p5.js Web Editor: editor.p5js.org
π Processing: processing.org
π Code of Conduct: github.com/CodingTrain/Code-of-Conduct
This description was auto-generated. If you see a problem, please open an issue: github.com/CodingTrain/website/issues/new
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. thecodingtrain.com/challenges/166-image-to-ascii
p5.js Web Editor Sketches:
πΉοΈ ASCII video: editor.p5js.org/codingtrain/sketches/KTVfEcpWx
πΉοΈ ASCII image canvas: editor.p5js.org/codingtrain/sketches/r4ApYWpH_
πΉοΈ ASCII image dom: editor.p5js.org/codingtrain/sketches/ytK7J7d5j
πΉοΈ ASCII text: editor.p5js.org/codingtrain/sketches/LNBpdYQHP
πΉοΈ ASCII weather api: editor.p5js.org/codingtrain/sketches/DhdqcoWn4
π₯ Previous video: youtu.be/PbPUgyql5p4?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
π₯ All videos: youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
Links discussed in this video:
π ASCII play by ertdfgcvb: https://play.ertdfgcvb.xyz/
π HTML Entity: developer.mozilla.org/en-US/docs/Glossary/Entity
π HTML div: developer.mozilla.org/en-US/docs/Web/HTML/Element/div
π p5.js loadPixels(): p5js.org/reference/#/p5/loadPixels
π p5.js brightness(): p5js.org/reference/#/p5/brightness
π CodingTrainChooChoo on Twitch: twitch.tv/codingtrainchoochoo
Other videos mentioned in this video:
π₯ The Pixel Array: youtu.be/nMUMZ5YRxHI
π₯ Basics of CSS: youtu.be/zGL8q8iQSQw
π₯ p5.js Web Editor - Uploading Media Files: 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: thecodingtrain.com
πΎ Share Your Creation! thecodingtrain.com/Guides/community-contribution-guide.html
π© Suggest Topics: github.com/CodingTrain/Rainbow-Topics
π‘ GitHub: github.com/CodingTrain
π¬ Discord: discord.gg/hPuGy2g
π Membership: youtube.com/thecodingtrain/join
π Store: standard.tv/codingtrain
π Books: amazon.com/shop/thecodingtrain
ποΈ Twitter: twitter.com/thecodingtrain
πΈ Instagram: instagram.com/the.coding.train
π₯ Coding Challenges: youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
π₯ Intro to Programming: youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA
π p5.js: p5js.org
π p5.js Web Editor: editor.p5js.org
π Processing: processing.org
π Code of Conduct: github.com/CodingTrain/Code-of-Conduct
This description was auto-generated. If you see a problem, please open an issue: github.com/CodingTrain/website/issues/new










![Coding Train Live: Riding the Oregon Trail 2
π‘Sign up for the CuriosityStream + Nebula bundle with a 26% exclusive discount ($14.79 for a full year!) at https://curiositystream.com/choochoo. To access my Nebula class, upgrade for $1 per month or $10 for year!
Launching my next project, a p5.js port of the original Apple ][ Oregon Trail game!
π» https://github.com/CodingTrain/Oregon-Trail
Timestamps:
0:00 Waiting to start
6:28 Welcome to a pop-up episode of the Coding Train Live!
18:37 Curiosity Stream
21:39 Discord Help forum
52:44 Start working on Oregon Trail sketch
1:01:30 Create a game.json file to store the meta data for the game
1:40:28 Rob & Akiva podcast
1:42:10 Add issues to GitHub repo
1:46:05 Invite link to Coding Train Discord
1:48:00 Nebula
2:00:00 Bye everyone
Links:
π Rob & Akiva podcast https://www.podcastone.com/episode/Rob Akiva-Need-a-Podcast-The-Oregon-Trail
π Website: http://thecodingtrain.com/
πΎ Share Your Creation! https://thecodingtrain.com/guides/passenger-showcase-guide
π© Suggest Topics: https://github.com/CodingTrain/Suggestion-Box
π‘ GitHub: https://github.com/CodingTrain
π¬ Discord: https://discord.gg/hPuGy2g
π Membership: http://youtube.com/thecodingtrain/join
π Store: https://standard.tv/codingtrain
ποΈ 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
#p5js #oregontrail #game Coding Train Live: Riding the Oregon Trail 2](https://i.ytimg.com/vi/7quQVO_K6Gg/mqdefault.jpg)