Text Displacement Field
- group .........
- Text effects
- recording .....
- https://s4xw77gvirailb62.public.blob.vercel-storage.com/lab/text-displacement-field.mp4
- source ........
- https://ui.aryank.space/components/text-displacement-field
- markdown ......
- /lab/text-displacement-field.md
- human .........
- /lab/text-displacement-field
── WHAT_IT_IS ────────────────────────────────────────────────────────────────────────────────
A readable field of words and display letters pushed away by cursor proximity. Each span keeps an eased target, so the copy ripples around the pointer and then settles home.
── BEHAVIOUR ────────────────────────────────────────────────────────────────────────────────
* Measured spans
The copy is rendered as spans, measured after layout, and moved with transform only, so the paragraph stays readable.
* Soft field
Each span eases toward a target derived from pointer distance and returns to zero when the pointer leaves.