Skip to content
PixiKit

Mote Silk

A sheet of fine grain folded like silk, shaded by a soft light and loosening into dust under the pointer.

pixikit.com/docs/effects/mote-silk

Customize

Preset
Colors2 of 10
Background color
Shape
Layers0
Particles1.00
Strands14
Grain size1.10px
Fuzz0.30
Opacity1.00
Size1.00
Width1.00
Curl1.00
Twist1.00
Billow1.00
Folds1.00
Tilt0°
Turn0°
Angle0°
Center x0.00
Center y0.00
Speed1.00
Flow1.00
Drift1.00
Sway1.00
Light x-0.40
Light y0.70
Gradient0.40
Depth0.20
Faces0.50
Sheen0.30
Shade0.60
Highlight0.20
Contrast1.00
Blur0.40
Intro
Interactive
Stir1.00
Scatter1.00
Seed0
Paused
Quality1.00

Props

46
NameTypeDefaultDescription
preset"silk" | "lagoon" | "glacier" | "rose" | "ember" | "haze" | "jade" | "graphite""silk"A complete look; the props it sets follow it until you pass them.
colors[string, string]["#FF9FFC", "#5227FF"]Light color, then shadow color of the silk.
backgroundColorstring"transparent"Color behind the silk.
shape"sweep" | "veil" | "dune" | "plume" | "loop""sweep"Form of the sheet: a wide billow, hanging curtains, stacked bands, a rising plume or a closed loop.
layersnumber0Extra sheets stacked behind the first.
particlesnumber1Amount of grain.
strandsnumber14Number of threads across the sheet.
grainSizenumber1.1Size of each grain in pixels.
fuzznumber0.3How loosely the grain sits on its thread.
opacitynumber1Overall opacity.
sizenumber1Scale of the sheet.
widthnumber1Width of the sheet across its threads.
curlnumber1Small ripples along the threads.
twistnumber1How far the sheet turns over along its length.
billownumber1Height of the large waves.
foldsnumber1How many waves fit along the sheet.
tiltnumber0Tilt toward the viewer in degrees.
turnnumber0Turn around the vertical axis in degrees.
anglenumber0Rotation in the picture plane in degrees.
centerXnumber0Horizontal offset, -1 to 1.
centerYnumber0Vertical offset, -1 to 1.
speednumber1Overall speed of the motion.
flownumber1Grain travelling along the threads.
driftnumber1Slow rolling of the large waves.
swaynumber1Swinging of the sheet.
lightXnumber-0.4Horizontal direction of the light.
lightYnumber0.7Vertical direction of the light.
gradientnumber0.4Blend of the two colors along the sheet instead of by light.
depthnumber0.2How much the far parts fade.
facesnumber0.5Darkening of the back of the sheet.
sheennumber0.3Glossy streak where the light reflects.
shadenumber0.6Strength of the shading.
highlightnumber0.2Brightening of the most lit grain.
contrastnumber1Contrast between light and shadow.
blurnumber0.4Softness of each grain.
introbooleantrueThe silk gathers from dust on mount.
interactivebooleantrueMoving the pointer through the silk loosens the threads into drifting dust that settles back; a click makes it breathe out and gather again.
stirnumber1How far the threads loosen where the pointer passes. 0 turns it off.
scatternumber1How far the silk breathes out on a click. 0 turns it off.
seednumber0Picks another arrangement of the grain.
pausedbooleanfalseFreezes the motion.
qualitynumber1Lower values draw less grain on slow devices.
refRef<MoteSilkHandle>Nonescatter(strength?) makes the silk breathe out, for scroll or click triggers of your own.
childrenReactNodeNoneContent layered above the silk.
classNamestringNoneClasses for the root element; give it a height.
styleCSSPropertiesNoneInline styles for the root element.

Related