Skip to main content

Module field_viz

Module field_viz 

Source
Expand description

Force field visualization — renders directional arrows on a grid showing the direction and strength of combined force fields in the scene.

Arrows are rendered as Unicode characters (→ ← ↑ ↓ ↗ ↘ ↙ ↖) with color and size mapped to field strength. The visualization is toggled by debug mode (F2) or activated automatically during specific boss encounters.

§Grid Layout

The visualizer samples force fields on a 2D grid in world space:

  ↗ → ↘ ↓ ↙    (arrows show force direction at each sample point)
  → → ↘ ↓ ↙
  ↑ ↗ ● ↙ ↓    (● = gravity well center)
  ↗ → ↗ ↓ ↙
  → → → ↘ ↓

§Boss-specific overlays

  • The Algorithm Reborn: adaptation field distortion
  • The Null: void field consuming nearby arrows
  • The Ouroboros: healing flow shown as golden arrows
  • Any gravity well: concentric inward-pointing rings
  • Shockwave: expanding outward ring

Structs§

BossFieldOverlay
Boss-specific field visualization overlay.
FieldSnapshot
A snapshot of the visualization grid that can be used for analysis or export.
FieldVisualizer
Force field visualization system.
FieldVizConfig
Configuration for the force field visualization grid.

Enums§

BossOverlayType
The type of boss overlay, determining visual behavior.

Functions§

spawn_streamline_glyphs
Spawn streamline glyphs using dash characters along the path.
trace_streamline
Trace a streamline through the force field from a starting point.