Skip to content
PixiKit

Night Drape

A dark veil of folded light that drifts and changes shape, and swirls, morphs and lights up around the pointer.

pixikit.com/docs/effects/night-drape

Customize

Preset
Color
Speed0.50
Scale1.00
Rotation0°
Flow1.00
Warp0.00
Variation0
Brightness1.00
Sheen0.00
Glow0.40
Grain0.03
Quality0.50
Mouse interaction
Mouse strength1.00
Intro
Fade0.00
Opacity1.00
Light mode
Paused

Props

23
NameTypeDefaultDescription
preset"veil" | "ember" | "jade" | "silver" | "storm""veil"A starting look; any prop you pass yourself overrides the preset value.
colorstring"#6b12ff"Veil color; the highlights come from it.
speednumber0.5Animation speed; 0 stops the motion.
scalenumber1Zoom; higher values move closer.
rotationnumber0Rotation of the pattern in degrees.
flownumber1How much the veil drifts and reshapes.
warpnumber0Fine ripple across the veil.
variationnumber0Seed for the shape; each whole number gives another arrangement.
brightnessnumber1Overall brightness.
sheennumber0Silky highlights on the folds, lit from the pointer side.
glownumber0.4Soft glow around the bright parts.
grainnumber0.03Amount of film grain.
qualitynumber0.5Render resolution, 0.25 to 1. The veil is soft, so low values still look right.
mouseInteractionbooleantrueThe veil twists, shifts and brightens around the pointer.
mouseStrengthnumber1Strength of the pointer bend.
introbooleantrueOn mount the veil fades in while unfolding.
fadenumber0Blends the edges of the canvas into the page, 0 to 1.
opacitynumber1Opacity of the whole canvas, 0 to 1.
lightModebooleanfalseTinted ink on white, for light pages.
pausedbooleanfalseStops the animation on the current frame.
dprnumberNoneUpper limit for the device pixel ratio, never above 2. Left unset, the screen ratio is used.
classNamestringNone
styleCSSPropertiesNone

More background effects in Pro

View all

Related