Skip to content
PixiKit

Lift Field

A field of particles that gather into a rippling ring around the pointer, trail behind it, and blast outward on a click.

pixikit.com/docs/effects/lift-field

Customize

Colors3 of 10
Color
Color mode
Color speed0.05
Particle shape
Count1500
Particle size0.90
Particle variance1.00
Magnet radius9.0
Ring radius7.0
Field strength10.0
Wave amplitude1.0
Wave count3
Wave speed0.40
Rotation speed0.0
Pulse speed3.0
Depth factor1.0
Ambient0.25
Lerp speed0.05
Auto animate
Interactive
Click burst
Intro
Light mode
Opacity1.00

Props

28
NameTypeDefaultDescription
colorsstring[]["#5227FF", "#FF9FFC", "#B497CF"]The palette the particles are coloured from. How it is spread depends on `colorMode`.
colorstring""A single colour for every particle. Overrides `colors` when set.
colorMode"conic" | "radial" | "random""conic"Spreads the palette around the pointer, outward from the ring, or gives each particle a random colour from it.
colorSpeednumber0.05How fast the conic palette turns around the pointer. 0 keeps it still.
particleShape"capsule" | "sphere" | "box" | "tetrahedron""capsule"The shape of the particles. Capsules stretch into dashes that point at the pointer.
countnumber1500The number of particles in the field.
particleSizenumber0.9The size of the particles.
particleVariancenumber1How much each particle pulses in size, 0 to 1.
magnetRadiusnumber9The size of the area around the pointer whose particles get pulled into the ring.
ringRadiusnumber7The radius of the ring the particles form.
fieldStrengthnumber10How tightly the particles line up on the ring. Lower values spread them into a wider band.
waveAmplitudenumber1How much the ring ripples. 0 gives a clean circle.
waveCountnumber3The number of ripples around the ring.
waveSpeednumber0.4How fast the ripples travel around the ring.
rotationSpeednumber0How fast the particles orbit the pointer. Negative values orbit the other way.
pulseSpeednumber3How fast the particles pulse in size.
depthFactornumber1The strength of the depth: particles in front grow, particles behind shrink and soften.
ambientnumber0.25How visible the particles away from the ring are, 0 to 1.
lerpSpeednumber0.05How quickly the particles follow the pointer. Lower values leave longer trails.
autoAnimatebooleantrueThe ring drifts around on its own after a couple of seconds without pointer movement.
interactivebooleantrueThe ring follows the pointer or finger. Turn off for a purely ambient background.
clickBurstbooleantruePressing pulls the ring in and spins it faster; releasing blasts the particles outward.
introbooleantrueThe particles float up into place on mount.
lightModebooleanfalseDeepens pale colours so the particles stay visible on light backgrounds.
opacitynumber1The overall opacity, 0 to 1.
maxDevicePixelRationumber2The highest pixel ratio the canvas renders at.
classNamestringNone
styleCSSPropertiesNoneInline styles for the container.

More background effects in Pro

View all

Related