NexoreUI
2.0
InstallationComponentsIconsTemplatesNewGeneratorBetaNexore MakePricing
Create Project
GitHub
NexoreUI
2.0
Navigation
InstallationComponentsIconsTemplatesGeneratorBetaNexore MakeCreate Project
InstallationComponents OverviewIcons
Components (72)
ButtonAction ButtonsInputSpecialized InputsForm ControlsCheckboxSelectSwitchSliderRatingFile Upload
CardAccordionTabsTableStepperScroll AreaNavigationDockData DisplayChartsCommerceMedia & Audio
Dialog (Modal)Overlays & DrawersAlertBadgeAvatarTooltipProgressSkeletonLoadersToasterSocial & ChatTheme Toggle
Aurora Border CardAurora Search PillAI Prompt InputCommand PaletteCode Block
Physics Showcase3D Product CardsLive 3D ObjectSoundPulseSilkUnveilNode Flow Graph
NexoreUI v2.0Studio
ComponentsLiquid Smear

Liquid Smear

Viscous velocity smear buffer using ping-pong FBOs with relaxation memory.

PreviousScroll Drum
NextType Proximity
ResourcesFull TemplatesProProject StudioSource on GitHub

Liquid Smear

Double-buffered ping-pong FBO fluid simulation where cursor motion pushes viscous velocity fields that slowly diffuse, relax, and settle.

Interactive Stage

Drag cursor to smear viscous liquid surface
Controls
Push Force1.40
Brush Radius0.22
Fluid Memory (Relax)0.975
Distortion Depth1.00
Dispersion0.40

Installation & Usage

component.tsx
1import { LiquidSmear } from "nexoreui";
2
3export function FluidSmearDemo() {
4 return (
5 <div className="relative h-[500px] w-full overflow-hidden rounded-2xl">
6 <LiquidSmear
7 push={1.5}
8 rad={0.25}
9 relax={0.98}
10 spread={0.35}
11 amt={1.2}
12 disp={0.35}
13 className="h-full w-full"
14 />
15 </div>
16 );
17}

API Reference

API Reference (Props)

PropTypeDefaultDescription
pushnumber1.4Cursor motion velocity impulse multiplier.
radnumber0.22Fluid brush dispersion radius.
relaxnumber0.975Temporal viscosity relaxation memory [0.9..0.998].
spreadnumber0.35Neighboring pixel velocity diffusion factor.
amtnumber1Visual refraction distortion depth.
dispnumber0.4Chromatic aberration spectral dispersion.
specnumber0.6Specular reflection gloss intensity.
shadenumber3Fluid surface gloss normal depth.
backgroundHTMLCanvasElement | HTMLImageElement | stringproceduralCustom background image URL or canvas source.
pausedbooleanfalsePause animation loop manually.