Algorithmic Pixel Dithering
voxelith.art·3d·
Discuss: Hacker News
📟Terminal Physics
Preview
Report Post

Not long ago, I became briefly obsessed with dithering in pixel art. I had been playing around with a pixel art shader and realized just how much fun it was writing custom dithering algorithms.

Later I was thinking again about the many ways that dithering could be done by algorithmic means. And what is the point of having algorithms if they’re not interactive, right? So here is my best crack at a fully interactive explanation of dithering, voxelith style!

The Basics of Thresholds

0.50

0.25

1

This is a comparison operation. Go ahead, slide the sliders. You will notice that when a is greater than b, the result is 1. Otherwise it is 0. In this case, b would could be referred to as a "threshold". This is because it is the number a must overcome to result in 1.

Whi…

Similar Posts

Loading similar posts...