ASCII Tiles
A field of glassy tiles made of glowing ASCII characters
Customize
Tweak the props liveAnimation & Glyphs
Glass Tiles
Color & Cursor
#FFFFFF#050D08#000000Props
| Name | Type | Default | Description |
|---|---|---|---|
width | string | number | "100%" | Container width |
height | string | number | "100%" | Container height |
className | string | "" | Additional CSS classes for styling |
children | ReactNode | undefined | Content rendered above the effect |
speed | number | 1 | Animation speed multiplier (0–3) |
glyphSize | number | 8 | ASCII glyph cell size in CSS pixels (4–24) |
tileDensity | number | 3.3 | Glass-tile grid density across the long edge (1–12) |
tileShear | number | -0.22 | Diagonal shear factor for the tile lattice (-0.5–0.5) |
bevelWidth | number | 0.02 | Width of the bevelled rim between tiles (0–0.5) |
bevelSoftness | number | 0.1 | Bevel falloff softness (0.01–0.4) |
refractionStrength | number | 100 | Refractive offset across bevels in pixels (0–120) |
chromaticSpread | number | 0.2 | Chromatic dispersion spread between R and B samples (0–1) |
specularExponent | number | 150 | Specular highlight exponent (1–256) |
specularStrength | number | 1 | Specular highlight intensity (0–3) |
patternFreqX | number | 6 | First sinusoid horizontal frequency (0–20) |
patternFreqY | number | 4 | Second sinusoid vertical frequency (0–20) |
patternFreqXY | number | 10 | Cross-product frequency for the third sinusoid (0–20) |
glyphColor | string | "#FFFFFF" | Base lit color of the glyphs in hex format |
recessColor | string | "#050D08" | Color tucked into the recesses between tiles in hex format |
backgroundColor | string | "#000000" | Background fill color in hex format |
opacity | number | 1 | Master alpha (0–1) |
dpr | number | 1.5 | Maximum device pixel ratio (caps GPU work) (1–3) |
cursorInteraction | boolean | false | Enable cursor-based pattern destruction near the mouse |
cursorRadius | number | 129 | Cursor influence radius in CSS pixels (20–400) |
cursorIntensity | number | 1 | Cursor effect strength (0–1; higher = clearer empty zone) |
widthstring | numberContainer width
"100%"heightstring | numberContainer height
"100%"classNamestringAdditional CSS classes for styling
""childrenReactNodeContent rendered above the effect
undefinedspeednumberAnimation speed multiplier (0–3)
1glyphSizenumberASCII glyph cell size in CSS pixels (4–24)
8tileDensitynumberGlass-tile grid density across the long edge (1–12)
3.3tileShearnumberDiagonal shear factor for the tile lattice (-0.5–0.5)
-0.22bevelWidthnumberWidth of the bevelled rim between tiles (0–0.5)
0.02bevelSoftnessnumberBevel falloff softness (0.01–0.4)
0.1refractionStrengthnumberRefractive offset across bevels in pixels (0–120)
100chromaticSpreadnumberChromatic dispersion spread between R and B samples (0–1)
0.2specularExponentnumberSpecular highlight exponent (1–256)
150specularStrengthnumberSpecular highlight intensity (0–3)
1patternFreqXnumberFirst sinusoid horizontal frequency (0–20)
6patternFreqYnumberSecond sinusoid vertical frequency (0–20)
4patternFreqXYnumberCross-product frequency for the third sinusoid (0–20)
10glyphColorstringBase lit color of the glyphs in hex format
"#FFFFFF"recessColorstringColor tucked into the recesses between tiles in hex format
"#050D08"backgroundColorstringBackground fill color in hex format
"#000000"opacitynumberMaster alpha (0–1)
1dprnumberMaximum device pixel ratio (caps GPU work) (1–3)
1.5cursorInteractionbooleanEnable cursor-based pattern destruction near the mouse
falsecursorRadiusnumberCursor influence radius in CSS pixels (20–400)
129cursorIntensitynumberCursor effect strength (0–1; higher = clearer empty zone)
1