← all recipes

Gravity core First release

Priority Well

make important elements feel naturally weighted without shouting

frame bodies 0 relationships 0

Running the actual recipe live via applyRecipe() — not a mock.

"Priority Well" — make important elements feel naturally weighted without shouting. It has a attract layer (draw matter into a focus / well), and a gravity layer (universal attraction toward mass). The active render stack is particles, trails.

Gravity + attract pull matter and attention into one well; --field-attention / --field-priority write back to drive weight and bloom. (The density lane is host-supplied — set data-field-density to ground --field-density; the engine's own live density channel is --d on data-feedback bodies.)

Runtime tokens
attract gravity
Metrics
density attention priority density is a host-supplied lane — drive it with data-field-<metric> (or a domain model); without that, its --field-* stays inert.
Diagnostics
potential prediction force-vectors
Conditions
in-view
Render
particles · trails
Reduced motion
weight, glow, and the current-state marker hold their last value — no travel
Without motion
the important element is also stronger in weight, outline, and reading order

Copy this recipe

<field-root></field-root>
  <div data-body="attract" data-strength="1.2" data-range="320" data-feedback></div>
  <div data-body="gravity" data-strength="0.6" data-range="360"></div>

See also