Coding Challenge #90: Floyd-Steinberg Dithering



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.

script type="text/javascript" src="http://aos-creative.prf.hn/creative/camref:100l3Rd/creativeref:10l3694">

Support this channel on Patreon: https://patreon.com/codingtrain
To buy Coding Train merchandise: https://www.designbyhumans.com/shop/codingtrain/

Send me your questions and coding challenges!: https://github.com/CodingTrain/Rainbow-Topics

Contact:
Twitter: https://twitter.com/shiffman
The Coding Train website: http://thecodingtrain.com/

Links discussed in this video:
Stippling by Robert Hodgin: http://roberthodgin.com/portfolio/stippling/
My 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 mentioned in this video:
My Tutorial on Pixels in Processing: https://youtu.be/EmtU0eloTlE
My Video on 2D Arrays: https://youtu.be/OTNpiLUSiB4

Source Code for the all Video Lessons: https://github.com/CodingTrain/Rainbow-Code

p5.js: https://p5js.org/
Processing: https://processing.org

For an Introduction to Programming: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA
For More Coding Challenges: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH

source

Reply


Build A Site Info