Skip to content
PixiKit

Prism Burst

Rays of coloured light bursting from a dark core that turn in 3D, lean toward the pointer and send out a wave of light on click.

pixikit.com/docs/effects/prism-burst

Customize

Preset
Colors4 of 10
Intensity2.00
Speed0.50
Animation type
Zoom1.00
Ray width1.00
Ray count0
Distort0.0
Twist0.00
Flow0.00
Center fade1.00
Glow0.00
Grain0.80
Mouse interaction
Mouse strength0.50
Hover dampness0.25
Click burst
Intro
Fade0.00
Quality
Light mode
Paused

Props

30
NameTypeDefaultDescription
preset"nebula" | "prism" | "pearl" | "ember" | "sunburst" | "vortex""nebula"A starting look; any prop you pass yourself overrides the preset value.
colorsstring[]NoneUp to 64 ray colors. Empty gives the full spectrum.
intensitynumber2Ray brightness.
speednumber0.5Turning speed.
animationType"rotate" | "rotate3d" | "hover""rotate3d"Flat spin, 3D turn, or facing the pointer.
zoomnumber1Distance to the burst; higher is closer.
rayWidthnumber1Ray thickness.
rayCountnumber0Number of even spokes; 0 keeps irregular rays.
distortnumber0Bends the rays into organic curves.
twistnumber0Spiral of the rays; negative reverses it.
flownumber0Moves the colors along the rays; negative reverses it.
centerFadenumber1Size of the dark core, 0.5 to 3.
glownumber0Soft glow around the bright parts.
grainnumber0.8Grain on the light, 0.3 to 1.
offsetXnumber0Horizontal offset of the center in px.
offsetYnumber0Vertical offset of the center in px; positive is up.
mouseInteractionbooleantrueThe burst leans to the pointer and brightens near it.
mouseStrengthnumber0.5How much the pointer changes the effect.
hoverDampnessnumber0.25Lag of the pointer follow, 0 to 1; higher is heavier.
clickBurstbooleantrueA click sends a bright wave outward.
introbooleantrueOn mount the light spreads from the core.
fadenumber0Blends the edges of the canvas into the page, 0 to 1.
quality"low" | "medium" | "high""high"Render resolution preset.
resolutionnumberNoneExact render scale, 0.2 to 1. Replaces quality.
lightModebooleanfalseColored ink on white, for light pages.
mixBlendModestringNoneCSS blend mode applied to the canvas.
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

Related