Skip to content
PixiKit

ASCII Horizon

A drifting gradient of light drawn in characters, where brighter light picks denser characters and the cursor scrambles them.

pixikit.com/docs/effects/ascii-horizon

Customize

Preset
Colors4 of 10
Shape
Characters
Cell size18px
Density0.80
Glyph opacity0.85
Gradient opacity0.90
Glow0.20
Depth of field0.00
Flicker0.20
Softness0.50
Scale1.00
Flow0.50
Speed1.00
Grain0.08
Variation0
Mouse interaction
Scramble radius0.10
Click effect
Intro
Light mode

Props

26
NameTypeDefaultDescription
preset"atmosphere" | "lagoon" | "rose" | "corona""atmosphere"A ready-made look; every prop you set yourself still wins over it.
colorsstring[]["#1e3fd8", "#f6f8ff", "#a5d8ff", "#38bdf8"]Two to six colours for the light, from the edge of the shadow to the brightest point; horizon spreads the last colour across the sky and runs the others toward the glow at the top. Dark areas stay transparent.
shape"horizon" | "pinch" | "rise" | "eclipse""horizon"Horizon glows over a dark curve, pinch is a band of light squeezed in the middle, rise glows up from the bottom and eclipse rings a dark disc.
characters"letters" | "classic" | "binary" | "blocks" | "dots" | (string & {})"letters"Character set from dimmest to brightest: letters, classic, binary, blocks or dots, or your own string of characters.
cellSizenumber18Height of each character cell in px.
densitynumber0.8Share of cells that show a character, from 0 to 1; brighter areas fill in first.
glyphOpacitynumber0.85How strongly the characters stand out from the gradient.
gradientOpacitynumber0.9Opacity of the gradient behind the characters; at 0 only the characters are left.
glownumber0.2Soft glow around the characters, from 0 to 1.5.
depthOfFieldnumber0Share of characters drawn out of focus, from 0 to 1.
flickernumber0.2How often characters swap with their neighbours in brightness, from 0 to 1.
softnessnumber0.5How soft the edges of the shape are, from 0 to 1.
scalenumber1Size of the shape, from 0.4 to 2.5.
flownumber0.5How much the light wavers as it drifts, from 0 to 2.
speednumber1Speed of the drift; 0 holds the shape still.
grainnumber0.08Strength of the film grain, from 0 to 0.4.
variationnumber0Picks a different drift and a different pattern of characters.
mouseInteractionbooleantrueScrambles the characters under the cursor as it moves; they settle back a moment later.
scrambleRadiusnumber0.1Size of the scrambled area around the cursor, relative to the container height.
clickEffect"wave" | "burst" | "none""wave"Wave sends a ring of scrambled characters out from the click, burst scrambles a patch under it.
introbooleantrueFades the light in from its source while the characters decode.
lightModebooleanfalseDraws the gradient as a wash on light backgrounds, with characters a shade darker.
fontFamilystring"\"Geist Mono\", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace"Font used for the characters; monospaced fonts keep the grid even.
dprnumber2Highest device pixel ratio drawn.
classNamestringNoneExtra class names for the canvas.
styleCSSPropertiesNoneInline styles for the canvas.

More background effects in Pro

View all

Related