Implementations of some of the dithering methods from https://surma.dev/things/ditherpunk/ in go.
Go to file
2021-01-11 20:23:56 -05:00
example david, from the wikipedia article on dithering 2021-01-11 18:02:06 -05:00
.gitignore init 2021-01-09 22:35:31 -05:00
go.mod init 2021-01-09 22:35:31 -05:00
main.go add jjn and atkinson 2021-01-11 19:52:05 -05:00
quantizer_test.go add simpleerror ditherer and begin building out tests 2021-01-11 18:01:42 -05:00
quantizer.go wrap all that repetition in a closure 2021-01-11 19:54:03 -05:00
README.md readme with image sources 2021-01-11 20:23:56 -05:00

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.