nikolas-sapa

Hero ASCII Reaction Front

Heroes 46

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
  • Dye Whorl

    Dye Whorl

    144
  • Countdown Vapor Digits

    Countdown Vapor Digits

    142
  • Hero Burin Hatch

    Hero Burin Hatch

    63
  • Background ASCII Wake

    Background ASCII Wake

    62
  • Hero Text Ring Funnel

    Hero Text Ring Funnel

    53
  • Toast Gravity Stack

    Toast Gravity Stack

    49
  • Hero ASCII Schlieren

    Hero ASCII Schlieren

    49
  • ASCII Dissolve Transition

    ASCII Dissolve Transition

    43

More in Heroes

View all
  • SaaS Template

    SaaS Template

    2.5K
  • Responsive Hero Banner

    Responsive Hero Banner

    2K
  • Hero

    Hero

    1.3K
  • Centered Hero with Image Fan

    Centered Hero with Image Fan

    974
  • Aero Hero-3

    Aero Hero-3

    579
  • Editorial Collage Hero

    Editorial Collage Hero

    460
  • Glass Fold

    Glass Fold

    303
  • HeroSectionWithGradient

    HeroSectionWithGradient

    351