← all patterns

Diagnostic / platform core

Diagnostic Lens

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

Running the actual pattern live via applyPattern() — switch the substrate, stack overlays, watch the signals, or reverse the dynamics. 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 draw matter into a focus / well
Concepts
inspectability
Metrics
density a semantic lane — drive it with data-field-<metric> (or a domain model); without that its --field-<metric> stays inertenergy a semantic lane — drive it with data-field-<metric> (or a domain model); without that its --field-<metric> stays inertentropy computed every frame by the platform (proximity · engagement · relationships · age) 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 pattern

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

See also