Skip to content
PixiKit

Photo Trail

Images pop up along the pointer path one after another, then shrink and fade away.

pixikit.com/docs/effects/photo-trail

Customize

Scope
Size190px
Aspect ratio1.10
Radius15px
Threshold80px
Lifetime0.4s
Appear scale1.00
Zoom1.00
Flash0.00
Exit scale0.20
Drift0.00
Rotation0°
Size variance0.00
Align to motion
Stack0
Tilt0°

Props

18
NameTypeDefaultDescription
scope"container" | "page""container"Where the trail appears: the nearest positioned parent, or the whole page.
itemsstring[][]The image addresses shown in turn; with none, soft gradient cards are used.
sizenumber | string190Width of each image in pixels, or any CSS length.
aspectRationumber1.1Width divided by height for each image.
radiusnumber | string15Corner radius of the images, in pixels or any CSS length.
thresholdnumber80How far the pointer travels, in pixels, before the next image appears.
lifetimenumber0.4Seconds an image stays before it fades out.
appearScalenumber1Size an image starts at as it appears: 0 grows it from nothing, 1 shows it at full size right away.
zoomnumber1How far each picture starts zoomed in before settling inside its frame; 1 turns it off.
flashnumber0Brightness flash as an image appears, 0 to 1.
exitScalenumber0.2Size an image shrinks or grows to while it fades out; 1 keeps its size.
driftnumber0How far images keep flying in the pointer's direction as they fade, 0 to 1.
rotationnumber0Random tilt of each image, in degrees.
sizeVariancenumber0Random size variation between images, 0 to 1.
alignToMotionbooleanfalseTurns each image to face the direction the pointer is moving.
stacknumber0Keeps this many of the newest images on screen in a pile instead of fading each on its own; 0 turns it off.
tiltnumber0Tilts images in 3D toward the edge where they appear, in degrees.
classNamestringNone

More interaction effects in Pro

View all

Related