Ink
Simulates pigment dispersing in water with curl vorticity tendrils, subtle optical UV refraction across ink density gradients, and backdrop-aware Additive Color Blending (ACD).
Live Playground
Ping-Pong FBO Brush to Paint Ink
Dissipation 0.982
Curl 1.75
Radius 0.004
Where to Use It
Editorial & Fashion Storytelling
Slow-dissipating pigment tendrils create an organic watercolor mood behind serif headlines and campaign lookbooks.
Art Portfolios & Galleries
Pair with bgColor="#ffffff" for archival paper ink washes or deep navy backdrops for glowing ink swirls.
Usage (Copy & Paste)
<section
data-fx="ink"
data-fx-dissipation="0.982"
data-fx-radius="0.004"
data-fx-curl="1.75"
style="min-height: 60vh;"
>
<div style="position: relative; z-index: 1;">Ink Canvas</div>
</section>
<script src="https://unpkg.com/@votax572002/fluxfx/dist/fluxfx.min.js"></script> 'use client';
import { Ink } from '@votax572002/fluxfx/react';
export function InkSection() {
return (
<Ink dissipation={0.982} radius={0.004} curl={1.75} style={{ minHeight: '60vh' }}>
<h1>Ink Dispersion</h1>
</Ink>
);
} import { FluxFX } from '@votax572002/fluxfx';
FluxFX.apply(el, 'ink', {
dissipation: 0.982,
radius: 0.004,
curl: 1.75,
colors: ['#1e1b4b', '#0284c7', '#e11d48'],
}); How It Works (Flowchart)
Props & Attributes
| HTML Attribute | JS / React Prop | Type | Default | Description |
|---|---|---|---|---|
data-fx-dissipation | dissipation | number | 0.982 | Ink retention factor (0.92–0.996). |
data-fx-radius | radius | number | 0.004 | Brush radius for cursor ink strokes. |
data-fx-curl | curl | number | 1.75 | Vorticity / tendril swirl intensity. |
data-fx-colors | colors | string | string[] | ['#1e1b4b','#0284c7','#e11d48'] | 3-stop ink pigment palette. |