Skip to content
PixiKit

Ether Flow

A glowing liquid that swirls under the pointer and is coloured by how fast it flows. It stirs itself while the pointer is away, and a click shoots a puff through it.

pixikit.com/docs/effects/ether-flow

Customize

Colors3 of 10
Intensity1.00
Mouse force20
Cursor size100px
Persistence0.75
Viscosity0.00
Resolution0.50
Auto demo
Auto speed0.50
Auto intensity2.2
Auto resume delay1000ms
Click burst
Bounce edges
Intro
Light mode
Background color
Max device pixel ratio2.00

Props

19
NameTypeDefaultDescription
colorsstring[]["#5227FF", "#FF9FFC", "#B497CF"]Colours from slow to fast flow: calm areas take the first, the fastest currents the last. Any CSS colours.
intensitynumber1The brightness of the flow.
mouseForcenumber20How strongly the pointer pushes the liquid.
cursorSizenumber100The size of the area the pointer stirs, in px.
persistencenumber0.75How long the motion lingers before it settles, 0 to 1.
viscositynumber0How thick the liquid is, 0 to 1; thicker liquid moves in broad, slow swirls.
resolutionnumber0.5The detail of the simulation, 0.1 to 1; lower is faster and softer.
autoDemobooleantrueStirs the liquid on its own while the pointer is away.
autoSpeednumber0.5The speed of the automatic stirring.
autoIntensitynumber2.2The strength of the automatic stirring compared with the pointer.
autoResumeDelaynumber1000Milliseconds without input before the automatic stirring resumes.
clickBurstbooleantrueA click shoots a puff of liquid in the direction the pointer was moving.
bounceEdgesbooleanfalseThe liquid bounces off the edges instead of flowing out of view.
introbooleantrueA swirl sweeps out from the centre on mount.
lightModebooleanfalseRenders the flow as soft ink, for light backgrounds.
backgroundColorstring"transparent"A solid colour behind the flow; transparent shows the page through.
maxDevicePixelRationumber2The highest pixel ratio the canvas renders at.
classNamestringNone
styleCSSPropertiesNoneInline styles for the container.

Related