Gather Field
Points hold a picture, then throw and settle into the next one. Drift pulls one side of a line. Splash is how hard they throw. Gather is how fast they come back. Depth lifts the bright pixels off the page. Swarm remixes which point goes where. Melt keeps each point's place and lets the near layer leave first. Drop in up to four pictures. The sand is brightness, edge, and a blur, with no depth model.
npx shadcn@latest add @compronents/gather-fieldInstalls from ui.aryank.space. Needs a registry token and a one-time @compronents entry in components.json. The docs walk through both.
| Prop | Type | Default | Description |
|---|---|---|---|
| drift / splash / gather / depth | number | 80 / 70 / 33 / 80 | 0 to 100. Drift is how far the held side lifts. Splash and Gather are the throw and the return. Depth is how far bright pixels come off the page. |
| travel | "swarm" | "melt" | swarm | Swarm sends each point to a random place in the next picture. Melt keeps the curve order and lets nearer points leave first. |
| track / links / scan / trails / marks | boolean | true / true / false / false / true | Trackers and their links, a plane that walks through depth every 8 seconds, streaks while drift is up, and the ruler with the readouts. |
| trackers | "sparse" | "dense" | sparse | Sparse locks 7 trackers onto bright edges and lets 3 ride the drifting sand. Dense locks 24 and lets 6 ride. |
| lineAngle / lineOffset / fadeSide | number | 100 / 0 / -1 | Angle is the direction the line runs, in degrees. Offset slides it along its normal. fadeSide is 1 or -1, the side that blows away. |
| lightColor | string | #fbe7c6 | Colour of the lamp. S, or Fire in the studio, strikes one inside the cloud near a bright part of the picture. |
| paper / tone | "dark" | "light" / "negative" | "true" | dark / negative | Dark paper draws pale sand on black. Light paper draws ink. Negative keeps bright pixels. True, on white paper, keeps the dark ones. |
| pointCount | number | 0 | How many points. 0 picks 524288 on an 8-core machine, 262144 on others and 131072 on narrow screens, then halves once if the field runs under 30 fps. |
| autoplay | boolean | true | Turns the page at 5.5 seconds, then every 6.5, until a pointer, a key, or a studio control. |
drift / splash / gather / depthsliderDrift 0 holds every point. Splash 100 is a short throw. Gather 100 returns at once. Depth 0 flattens the picture.
lineAngle / lineOffset / fadeSidesliderThe split is a line through the picture. fadeSide picks which side lifts.
track / links / scan / trails / marks / trackerstextTrackers, the hairlines between them, the depth scan, drift streaks, the ruler, and sparse or dense tracker counts.
lightColor / paper / tone / pointCountcolorLamp colour, black or white paper, whether white or black pixels are the sand, and how many points.