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
ComponentsFlow Field

Flow Field

Trigonometric curl-noise vector field steering tracer particles with FPS throttling.

PreviousLetter Pile
NextText Rail
ResourcesFull TemplatesProProject StudioSource on GitHub

Flow Field

Trigonometric vector field steering thousands of tracer particles with triple-harmonic curl noise, batched 12-bucket stroke rendering, dynamic EMA frame throttling, and additive glow caustics.

Interactive Stage

Move cursor over particles to warp current
Controls
Particle Stream1600
Drift Speed90
Vorticity (Curl)1.20
Field Scale1.40
Hue Angle190°

Installation & Usage

component.tsx
1import { FlowField } from "nexoreui";
2
3export function VectorFieldDemo() {
4 return (
5 <div className="relative h-[440px] w-full overflow-hidden rounded-2xl">
6 <FlowField
7 count={1800}
8 speed={95}
9 curl={1.3}
10 scale={1.5}
11 hue={190}
12 range={140}
13 glow={1}
14 bg="#07080c"
15 className="h-full w-full"
16 />
17 </div>
18 );
19}

API Reference

API Reference (Props)

PropTypeDefaultDescription
countnumber1600Target number of tracer particles in the flow field.
scalenumber1.4Spatial frequency scale determining vortex density.
curlnumber1.2Curl magnitude distorting trajectory angles.
speednumber90Particle linear velocity in pixels per second.
driftnumber0.6Continuous temporal field drift rate.
fadenumber0.045Canvas background trail persistence alpha.
lwnumber1.2Tracer particle stroke width.
pfnumber1.2Pointer repulsion vector force.
pradnumber200Pointer influence radius in pixels.
huenumber190Base HSLA hue angle in degrees.
rangenumber140Spectral hue distribution width.
glownumber1Additive lighter blend mode toggle (1 on, 0 off).
bgstring"#07080c"Background clear color.
pausedbooleanfalsePause animation loop manually.