ditherBot
2025
DitherBot converts uploaded GIFs into stylized black-and-white dithered art using the Floyd-Steinberg dithering algorithm — the same error-diffusion technique used in classic image compression and retro pixel-art tooling. Rather than a flat black/white threshold, which loses most of the image's detail, Floyd-Steinberg spreads each pixel's quantization error to its neighboring pixels, preserving gradients and shading as a pattern of black/white dots instead of harsh blocky regions.
Built on discord.js, with sharp and canvas handling image processing and gif-frames/gifwrap handling GIF decomposition and reassembly. It also includes an experimental side feature: an AI-powered slash command generator (via the Groq API) that writes and registers new bot commands on the fly from a natural-language description.
Below is a example of ditherBot's effect.