benday: Halftone Thinking Indicators from Logos for AI Interfaces

LinkKacem MathlouthiTool

benday is a React component that transforms any logo into an animated field of Ben-Day dots, serving as a branded thinking indicator for AI and agent interfaces instead of standard spinners.

Key points

  1. Installs via the shadcn registry CLI, copying seven TypeScript files directly into the project without external package dependencies beyond React.
  2. Architecture: The logo is rasterised once, separated via alpha or luminance mask, processed through a Euclidean distance transform, and sampled into a dot map.
  3. Optimised for performance and accessibility: pauses rendering off-screen, respects prefers-reduced-motion, and supports baking the dot map at build time.
  4. Includes 21 animation presets across categories like Sweep, Orbit, Field, and Transform, with support for custom pure functions.

Why it matters

AI interfaces frequently require users to wait for generative responses. Generic loading spinners degrade brand presence, whereas benday leverages the brand's own logo for dynamic state feedback.

Analysis

benday effectively blends visual polish with practical front-end engineering. Restricting rendering to a lightweight dot map and supporting pre-computation avoids browser performance pitfalls, while distributing via the shadcn registry pattern prevents dependency lock-in.

Found in

Summary generated by AI (Gemini 3.8 Flash, 27 September 2026). It may contain errors – the original source is authoritative.

Similar in content, found by the AI search.

Let's talk about your project

Locations

  • Mattersburg
    Johann Nepomuk Bergerstraße 7/2/14
    7210 Mattersburg, Austria
  • Vienna
    Ungargasse 64-66/3/404
    1030 Wien, Austria

Parts of this content were created with the assistance of AI.