ASCII Image Lab converts images into ASCII character art in real-time — mapping pixel luminance values to a ramp of characters from dense (@ # %) to sparse (. · space). The shader processes each cell of the image grid, samples the average brightness, and selects the ASCII character whose visual density best matches that brightness level.
Multiple dithering algorithms are available to improve tonal accuracy: ordered (Bayer matrix) dithering adds structured noise for smooth gradients, Floyd-Steinberg error diffusion distributes quantization error to neighboring cells for natural-looking results, and threshold dithering provides clean high-contrast output. Color modes include classic green-on-black terminal, full RGB color mapped to characters, and customizable foreground/background palettes.
The effect works with uploaded images, webcam feed, or procedural patterns. Interactive controls adjust character density (columns/rows), character set, dithering algorithm, color mode, and font size.