Implementations of some of the dithering methods from https://surma.dev/things/ditherpunk/ in go.
example | ||
.gitignore | ||
go.mod | ||
main.go | ||
quantizer_test.go | ||
quantizer.go | ||
README.md |
dither
This repo implements a number of the dithering methods detailed on https://surma.dev/things/ditherpunk/.
light.png, light-hires.jpg, dark.png, and dark-hires.jpg are from Surma's post, used under CC BY-NC-SA 4.0.
david.png is taken from the wikipedia article on dithering, where it was released into the public domain.