Skip to content
PixiKit

Center Splash

Rings of liquid chrome that spread from a point on the edge or the center, with bending light at every rim.

pixikit.com/docs/effects/center-splash

Customize

Speed0.7
Color1
Color2
Color3
Background color
Iterations4
Position
Overall opacity1.0
Wave size5.0
Edge softness0.0
Scale1.1
Quality
Distortion type
Distortion scale0.2
Chroma shift0.00
Enable cursor interaction
Refraction strength25.0
Refraction edge width0.50
Refraction wave speed1.5
Refraction wave frequency10
Fresnel intensity0.50
Edge highlight0.50

Props

27
NameTypeDefaultDescription
widthstring | numberNoneWidth of the root; it fills its container when not set.
heightstring | numberNoneHeight of the root; it fills its container when not set.
speednumber0.7Animation speed multiplier.
color1string"#ffffff"First color of the liquid.
color2string"#000000"Second color of the liquid.
color3string"#000000"Third color of the liquid.
backgroundColorstring"#ffffff"Color outside the rings.
iterationsnumber4Number of rings, 1 to 5; each one adds to the size.
position"center" | "top" | "bottom" | "left" | "right""bottom"Where the rings start.
overallOpacitynumber1Opacity of the whole effect.
waveSizenumber5Size of the waves in the reflections.
edgeSoftnessnumber0Blurs the ring edges.
scalenumber1.1Overall size of the rings.
quality"low" | "medium" | "high""high"Trades sharpness for speed.
distortionType"lava" | "plasma""plasma"The kind of flow in the reflections.
distortionScalenumber0.2Size of the flow pattern.
chromaShiftnumber0Splits the colors apart at the reflections.
enableCursorInteractionbooleantrueLets the pointer nudge the liquid.
refractionStrengthnumber25How much the reflections bend at the ring rims.
refractionEdgeWidthnumber0.5Width of the bending zone at each rim.
refractionWaveSpeednumber1.5Speed of the wobble in the bent rim.
refractionWaveFrequencynumber10How tight the wobble in the bent rim is.
fresnelIntensitynumber0.5Glow along the rims.
edgeHighlightnumber0.5Brightness of the thin rim line.
classNamestringNoneClasses for the root element; give it a height.
styleCSSPropertiesNoneInline styles for the root element.
childrenReactNodeNoneContent layered above the effect.

Related