Skip to content
PixiKit

ASCII Headline

Big text rendered as ASCII characters over pixel blocks. It waves, splits into colour fringes, tilts toward the pointer, scrambles under it, sends a ring of characters out from a click and decodes itself on load.

pixikit.com/docs/effects/ascii-headline

Customize

Ascii font size8px
Colors3 of 10
Text color
Font weight600
Text scale1.00
Blocks0.90
Waves1.00
Wave speed1.00
Chroma1.00
Tilt1.00
Hue shift1.00
Scramble0.60
Click ripple
Intro
Idle
Interactive
Theme

Props

22
NameTypeDefaultDescription
textstring"Hey!"The text rendered in ASCII.
asciiFontSizenumber8The height of each character cell, in pixels. Smaller cells give finer detail.
charsetstring" .'`^\",:;Il!i~+_-?][}{1)(|/tfjrxnuvczXYUJCLQ0OZmwqpdbkhao*#MW&8%B@$"The characters from darkest to brightest. Any string works.
colorsstring[]["#ff6188", "#fc9867", "#ffd866"]The gradient of the characters, from the centre outward. Up to three colours.
textColorstring"#fdf9f3"The colour of the blocks behind the characters.
fontFamilystring"'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace"The font of the text and the characters.
fontWeightnumber600The weight of the rendered text.
textScalenumber1The size of the text relative to the container.
blocksnumber0.9The opacity of the pixel blocks under the characters, 0 to 1.
wavesnumber1The strength of the wavy motion. 0 keeps the text flat.
waveSpeednumber1The speed of the wavy motion.
chromanumber1The amount of colour fringing around the letters.
tiltnumber1How far the text turns toward the pointer.
hueShiftnumber1Rotates the hue as the pointer circles the text. 0 keeps the colours fixed.
scramblenumber0.6The size and strength of the scramble under the pointer, 0 to 1.
clickRipplebooleantrueSends a ring of characters across the canvas from where you click.
introbooleantrueDecodes the text out of random characters on load.
idlebooleantrueSways the text gently when nobody interacts.
interactivebooleantrueReacts to the pointer with tilt, hue, scramble and ripples.
theme"dark" | "light""dark"Light inverts the blocks so the effect works on white pages.
classNamestringNone
styleCSSPropertiesNone

Related