Ink Cursor
A real-time fluid simulation: the pointer pours ink that swirls, shades like liquid and fades, with a splash on every click.
pixikit.com/docs/effects/ink-cursor
Customize
Colors1 of 10
Rainbow
Color speed1.0
Intensity1.0
Size1.0
Force1.0
Swirl3.0
Trail1.0
Momentum1.0
Shading1.00
Glow0.00
Quality
Click splash
Intro
Contained
Theme
Props
19| Name | Type | Default | Description |
|---|---|---|---|
colors | string[] | ["#4f8cff", "#2dd4bf", "#ffd166"] | Palette the ink cycles through when rainbow is off; any CSS colours. |
rainbow | boolean | true | Cycles through the full spectrum instead of the palette. |
colorSpeed | number | 1 | How fast the colours shift while you move; 0 keeps one colour per stroke. |
intensity | number | 1 | How much ink each movement leaves behind. |
size | number | 1 | Width of the stroke and the splash. |
force | number | 1 | How hard the pointer pushes the fluid. |
swirl | number | 3 | Amount of curling eddies in the flow. |
trail | number | 1 | How long the ink lingers before it fades; 2 lasts twice as long. |
momentum | number | 1 | How long the fluid keeps moving after the pointer stops. |
shading | number | 1 | Depth shading on the ripples, 0 to 1. |
glow | number | 0 | Soft bloom around the brightest ink, 0 to 1. |
quality | "low" | "medium" | "high" | "high" | Simulation detail; lower settings are lighter on older devices. |
clickSplash | boolean | true | Bursts a splash where you click or tap. |
intro | boolean | true | Plays a short stroke across the screen on mount. |
contained | boolean | false | Fills the parent element instead of the whole viewport and only reacts inside it. |
theme | "dark" | "light" | "dark" | Glowing ink for dark backgrounds or absorbing ink for light ones. |
zIndex | number | 50 | Stacking order of the effect over your content. |
className | string | None | |
style | CSSProperties | None |