← all recipes

Diagnostic / platform core

Diagnostic Lens

reveal field lines, causality, prediction, topology, energy, and overlays

frame bodies 0 relationships 0

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

"Diagnostic Lens" — reveal field lines, causality, prediction, topology, energy, and overlays. It has a attract layer (draw matter into a focus / well). The active render stack is particles, field-lines.

The lens reveals why something moved, where energy accumulated, which relationships are active, and which primitive caused the result. It reads diagnostics over any field rather than adding force.

Runtime tokens
attract
Concepts
inspectability
Metrics
density energy entropy density, energy are host-supplied lanes — drive them with data-field-<metric> (or a domain model); without that, their --field-* stays inert.
Diagnostics
topology inspector causality prediction energy potential contours force-vectors
Render
particles · field-lines
Reduced motion
a static inspector table and overlay toggles replace the live overlays
Without motion
every overlay has a textual table equivalent (counts, contributions, energy)

Copy this recipe

<field-root></field-root>
  <div data-body="attract" data-strength="0.6" data-range="260"></div>

See also