Implementations of some of the dithering methods from https://surma.dev/things/ditherpunk/ in go.
Go to file
David 301ee00b69 clean up command-line parsing and add some error-diffusion experiments 2021-01-17 12:24:45 -05:00
example start working out how the color versions of these work... 2021-01-12 20:19:48 -05:00
.gitignore init 2021-01-09 22:35:31 -05:00
README.md start working out how the color versions of these work... 2021-01-12 20:19:48 -05:00
color_quant.go clean up command-line parsing and add some error-diffusion experiments 2021-01-17 12:24:45 -05:00
go.mod init 2021-01-09 22:35:31 -05:00
main.go clean up command-line parsing and add some error-diffusion experiments 2021-01-17 12:24:45 -05:00
quantizer.go start working out how the color versions of these work... 2021-01-12 20:19:48 -05:00
quantizer_test.go add simpleerror ditherer and begin building out tests 2021-01-11 18:01:42 -05:00

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.

I took cricket.jpg.