tubeshowcase●1,671,863 videos♡ My collection 0
← Learn to Code

Learn to Code28:51

Turning Images into Dots: The Magic of Dithering

The Coding Train ↗

From the creator

In this coding challenge, I attempt to implement the Floyd-Steinberg Dithering algorithm and create a "image stippling" effect on an image (kitten, of course) using Processing. Code: https://thecodingtrain.com/challenges/90-dithering 🕹️ p5.js Web Editor Sketch: https://editor.p5js.org/codingtrain/sketches/-YkMaf9Ea 🎥 Previous video: https://youtu.be/G1EgjgMo48U?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH 🎥 Next video: https://youtu.be/JrRO3OnWs5s?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH 🎥 All videos: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH References: 📓 DHALF.txt: https://github.com/SixLabors/ImageSharp/blob/master/src/ImageSharp/Processing/Processors/Dithering/DHALF.TXT 📚 Processing Tutorial on 2D Arrays: https://processing.org/tutorials/2darray/ 🔗 Dither on Wikipedia: https://en.wikipedia.org/wiki/Dither 🔗 Floyd–Steinberg dithering on Wikipedia: https://en.wikipedia.org/wiki/Floyd%E2%80%93Steinberg_dithering Videos: 🚂 My Tutorial on Pixels in Processing: https://youtu.be/EmtU0eloTlE 🚂 My Video on 2D Arrays: https://www.youtube.com/watch?v=OTNpiLUSiB4 🔴 Coding Train Live 114: https://youtu.be/iCxqLVm2H3w?t=8474s Related Coding Challenges: 🚂 #50 Circle Packing: https://youtu.be/QHEQuoIKgNE 🚂 #85 The Game of Life: https://youtu.be/FWSR_7kZuYg 🚂 #107 Sandpiles: https://youtu.be/diGjw5tghYU Timestamps: 0:00 Introducing today's topic 1:20 Let's start coding! 2:44 An image is a grid of pixels 3:25 Quantizing an image to reduce the number of possib

Published 2018-01-16 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.

Keep exploring Learn to Code