Group Magnet
let related cards, assets, or controls cluster intelligently
frame — bodies 0 relationships 0
Running the actual recipe live via applyRecipe() — not a mock.
"Group Magnet" — let related cards, assets, or controls cluster intelligently. It has a cohesion layer (flocking — pull toward neighbours), a gravity layer (universal attraction toward mass), a crystallize layer (snap matter onto a lattice), a link layer (ropes / cloth between neighbours), and a memory layer (a decaying trail / hysteresis). The active render stack is metaballs, links, particles.
The strong force binds related items into one cluster around a representative center while gravity sets the local hub — crystallize snaps stragglers onto the lattice.
Copy this recipe
<field-root></field-root>
<div data-body="cohesion" data-strength="1" data-range="340" data-feedback></div>
<div data-body="gravity" data-strength="0.8" data-range="360"></div>
<div data-body="crystallize link" data-strength="0.6" data-range="300"></div>
<div data-body="memory" data-strength="0.5" data-range="260"></div> See also
- Relationship Bond keep related elements visually and behaviorally connected
- Concept Cluster group related terms, cards, or sections without hard layout changes
- Coherence Field show whether a form, workflow, or dataset is becoming stable
- Attention Weather show system urgency, density, and activity across a dashboard
- Navigation Current make routes, breadcrumbs, and likely next paths feel connected
- Citation Thread bind citations, footnotes, evidence, references into visible relationships