nikolas-sapa

Hero ASCII Reaction Front

Heroes 67

About

A full-bleed animated ASCII hero background driven by a live Gray-Scott reaction-diffusion simulation, where moving worm-like fronts crawl across the canvas and the pointer injects reagent to nucleate new fronts.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Hero ASCII Reaction Front to your project and fits it to your theme.

Code

How Hero ASCII Reaction Front is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { ReactionFront } from "@/components/ui/hero-ascii-reaction-front";

export default function Demo() {
  return (
    <div className="relative h-screen w-full overflow-hidden bg-background">
      <ReactionFront className="absolute inset-0" />
      <div className="relative z-10 flex h-full w-full items-center justify-center px-8">
        <div className="flex max-w-xl flex-col items-center gap-4 text-center">
          <p className="font-mono text-xs uppercase tracking-wide text-muted-foreground">
            ns-ui / hero-ascii-reaction-front
          </p>
          <h1 className="text-4xl font-semibold tracking-tight text-foreground">
            The boundary is the picture.
          </h1>
          <p className="text-base text-muted-foreground">
            A Gray-Scott dish runs live under the type — a real solver, not a
            loop of noise. Only the ridge of the reaction interface is inked, so
            every front reads as a thin crawling line.
          </p>
          <button className="inline-flex items-center rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground shadow">
            Read the docs
          </button>
        </div>
      </div>
    </div>
  );
}

More by nikolas-sapa

View all
  • Countdown Vapor Digits

    Countdown Vapor Digits

    209
  • Dye Whorl

    Dye Whorl

    179
  • Background ASCII Wake

    Background ASCII Wake

    105
  • Hero Burin Hatch

    Hero Burin Hatch

    85
  • Hero ASCII Schlieren

    Hero ASCII Schlieren

    72
  • Hero Text Ring Funnel

    Hero Text Ring Funnel

    69
  • Toast Gravity Stack

    Toast Gravity Stack

    62
  • Hero ASCII Tunnel

    Hero ASCII Tunnel

    61

More in Heroes

View all
  • Agency Hero Section

    Agency Hero Section

    1.1K
  • Responsive Hero Banner

    Responsive Hero Banner

    2.2K
  • Hero Section 01

    Hero Section 01

    63
  • Hero

    Hero

    1.4K
  • Chroma Sense Hero

    Chroma Sense Hero

    13
  • SaaS Template

    SaaS Template

    2.7K
  • Editorial Collage Hero

    Editorial Collage Hero

    518
  • Centered Hero with Image Fan

    Centered Hero with Image Fan

    1.1K