ASCII Art & Glitch Engine

Monospaced character density quantizer for typography, raster artwork, and retro computing scanline aesthetics.

Interactive Playground

Move cursor over canvas to interact

Source Type

Banner Text

Character Ramp

Variant

Font Size9px
Font Size9px
Repulsion80px
Repulsion80px
Spring0.09
Spring0.09

Cursor Physics

CRT Phosphor Glow

Anatomy

import { AsciiArt } from "@shavin/fx";

// Headline Typography ASCII
<AsciiArt
  type="text"
  text="CREATIVE"
  ramp="standard"
  fontSize={9}
  tint="fg"
  crtFilter={false}
/>

// Raster Image ASCII
<AsciiArt
  type="image"
  src="/assets/hq_marshall.jpg"
  ramp="dense"
  fontSize={8}
/>

Examples

Standard Character Density Ramp

Quantizes luminance using classic ASCII character sets.

Quantizes luminance using classic ASCII character sets.
<AsciiArt
  type="text"
  text="SHAVIN"
  ramp="standard"
  fontSize={9}
  tint="fg"
  className="w-full"
/>

8-Bit Block Ramp

Renders retro block characters with CRT phosphor glow.

Renders retro block characters with CRT phosphor glow.
<AsciiArt
  type="text"
  text="RETRO"
  ramp="blocks"
  fontSize={9}
  tint="accent"
  crtFilter={true}
  className="w-full"
/>

Props Reference

PropTypeDefaultDescription
type"text" | "image""text"Selects whether to render ASCII typography banner or convert a raster image.
textstring"SHAVIN"Text string to render as ASCII banner art.
srcstring | ThemedValue<string>—Image URL or { light, dark } themed image source.
ramp"standard" | "dense" | "minimal" | "blocks" | string"standard"Character set ramp used for luminance quantization.
fontSizenumber9Monospace font size in pixels determining cell resolution.
tintThemedColor"fg"Semantic color token or custom color string.
colorMode"preserve" | "tint" | "monochrome""tint"Color pipeline mode for glyph coloring.
interactivebooleantrueEnables pointer repulsion and spring return physics.
repulsionRadiusnumber80Radius in pixels around the cursor that repels ASCII characters.
springStiffnessnumber0.09Harmonic spring return stiffness coefficient (0.01 - 0.3).
crtFilterbooleanfalseApplies retro CRT phosphor scanline glow effect.
Configure Theme
Theme
Accent Color
Custom
Gray Family
Appearance
Radius
Scaling
Panel Style
Heading Font
Body Font