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| Name | Type | Default | Description |
|---|---|---|---|
text | string | "Hey!" | The text rendered in ASCII. |
asciiFontSize | number | 8 | The height of each character cell, in pixels. Smaller cells give finer detail. |
charset | string | " .'`^\",:;Il!i~+_-?][}{1)(|/tfjrxnuvczXYUJCLQ0OZmwqpdbkhao*#MW&8%B@$" | The characters from darkest to brightest. Any string works. |
colors | string[] | ["#ff6188", "#fc9867", "#ffd866"] | The gradient of the characters, from the centre outward. Up to three colours. |
textColor | string | "#fdf9f3" | The colour of the blocks behind the characters. |
fontFamily | string | "'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace" | The font of the text and the characters. |
fontWeight | number | 600 | The weight of the rendered text. |
textScale | number | 1 | The size of the text relative to the container. |
blocks | number | 0.9 | The opacity of the pixel blocks under the characters, 0 to 1. |
waves | number | 1 | The strength of the wavy motion. 0 keeps the text flat. |
waveSpeed | number | 1 | The speed of the wavy motion. |
chroma | number | 1 | The amount of colour fringing around the letters. |
tilt | number | 1 | How far the text turns toward the pointer. |
hueShift | number | 1 | Rotates the hue as the pointer circles the text. 0 keeps the colours fixed. |
scramble | number | 0.6 | The size and strength of the scramble under the pointer, 0 to 1. |
clickRipple | boolean | true | Sends a ring of characters across the canvas from where you click. |
intro | boolean | true | Decodes the text out of random characters on load. |
idle | boolean | true | Sways the text gently when nobody interacts. |
interactive | boolean | true | Reacts to the pointer with tilt, hue, scramble and ripples. |
theme | "dark" | "light" | "dark" | Light inverts the blocks so the effect works on white pages. |
className | string | None | |
style | CSSProperties | None |