Story Details

  • Surface-Stable Fractal Dither on Playdate

    Posted: 2025-02-18 03:04:19

    Aras Pranckevičius details a technique for creating surface-stable fractal dithering on the Playdate handheld console. The core idea is to generate dithering patterns not in screen space, but in a "surface" space that's independent of the rendered object's movement or animation. This surface space is then sampled in screen space, allowing the dither pattern to remain consistent relative to the object's surface, avoiding distracting "swimming" artifacts that occur with traditional screen-space dithering. The implementation uses a precomputed 3D noise texture as the basis for the fractal pattern and leverages the Playdate's CPU for the calculations, achieving a visually pleasing and performant dithering solution for the device's limited display.

    Summary of Comments ( 20 )
    https://news.ycombinator.com/item?id=43085665

    HN commenters generally praised the visual appeal and technical cleverness of the dithering technique. Several appreciated the detailed explanation and clear diagrams in the blog post, making it easy to understand the algorithm. Some discussed potential applications beyond the Playdate, including shaders and other limited-palette situations. One commenter pointed out a potential similarity to Bayer ordered dithering at higher resolutions, suggesting it might be a rediscovery of a known technique. Another questioned the "surface stability" claim, arguing that the pattern still shifts with movement. A few users shared links to related resources on dithering and fractal patterns.