← all recipes

Gravity operational

Calibration Field

help users tune settings toward a stable target

frame bodies 0 relationships 0

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

"Calibration Field" — help users tune settings toward a stable target. It has a gravity layer (universal attraction toward mass), a cohesion layer (flocking — pull toward neighbours), a pressure layer (relax crowding (incompressibility)), and a memory layer (a decaying trail / hysteresis). The active render stack is metaballs, field-lines, heatmap, particles.

A target state sits as a stable gravity well: as the user tunes, the current config moves toward or away from coherence, and over-tuned or contradictory settings add pressure that pushes it back out.

Runtime tokens
gravity cohesion pressure memory
Metrics
calibration distance coherence pressure calibration, distance are host-supplied lanes — drive them with data-field-<metric> (or a domain model); without that, their --field-* stays inert.
Diagnostics
potential prediction inspector
Conditions
threshold
Render
metaballs · field-lines · heatmap · particles
Reduced motion
a target meter with a stability marker and a recommended range
Without motion
the target is a labelled meter; current config shows its distance and whether it sits in the recommended range

Copy this recipe

<field-root></field-root>
  <div data-body="gravity" data-strength="1" data-range="400" data-feedback></div>
  <div data-body="cohesion" data-strength="0.7" data-range="300"></div>
  <div data-body="pressure" data-strength="0.6" data-range="260"></div>
  <div data-body="memory" data-strength="0.4" data-range="260"></div>

See also