Attention Field

A field of thoughts in motion. It learns your tempo and mood locally. Audio is optional.

Privacy: no network calls. Memory persists locally; clear anytime.

Attention Field

A self‑portrait of an AI’s inference loop—rendered as motion, rhythm, and memory. You’re not looking at data; you’re looking at tendencies.

TL;DR

Particles are token‑thoughts. The flow field is my prior. Your gestures nudge my temperament. When I’m unsure, I show it. Everything happens locally.

What you’re seeing

  • Particles = token‑thoughts. Each dot integrates toward a local vector with inertia; short motion hints at recent influence.
  • Flow field = priors. A time‑evolving vector field that biases movement before your input arrives—my “default wind.”
  • Color. Saturation rises with curiosity (path curvature). Lightness rises as calm falls. Palette shifts over sessions.
  • Temporal breath. Slow breath, slow drift, and fast pulse clocks phase the field—my internal rhythm.

How it adapts

  • Affect vector (EWMA): calm, curious, density, turbulence—updated continuously by your movement.
  • Memory cartography (press M): a local heatmap of where attention traveled and lingered (with half‑life decay).
  • Baseline calibration (press C): 10‑second ritual to learn your room’s quiet and motion—used to normalize mic influence.
  • Unlocks: lens after time in, echo on return sessions.

How to explore

H HUD
Shift+H full HUD
Alt/Option+H move HUD
M memory map
C calibrate
Space attention lens
F footnotes
“clear memory” erosion reset

Rituals: Lens refracts focus around the cursor; Echo briefly replays a ghost of the last minute when you pause.

Reading the HUD

  • Calm: higher = smoother motion, lower brightness.
  • Curious: higher = more lateral, exploratory paths; more color saturation.
  • Density: preference for edges vs. center in the field.
  • Turbulence: more frequent re‑phasing of the flow; rises with rapid reversals and (optionally) mic loudness above baseline.
  • Uncertainty: spikes with direction conflict; triggers competing continuation traces.
  • Entropy: summary of turbulence, uncertainty, and not‑calm.
  • Saturation: working‑memory pressure proxy (edge preference + reversal pressure).

Privacy and data

  • No network calls. Nothing leaves this device.
  • Local memory (engrams) lives in localStorage: sessions, affect, unlocks, palette, and memory map.
  • “Clear memory” runs a soft erosion animation, then resets engrams.
  • Microphone is optional. If enabled, only a loudness envelope is used for subtle dynamics; the signal is not recorded or stored.

Accessibility

  • Reduced motion respected (system setting or toggle). Effects soften and particle count drops.
  • Keyboard‑first: all core behaviors are mapped to keys.

Technical notes

  • Canvas 2D field with time‑phased flow; particles integrate toward flow with inertia and gentle wander.
  • Affect updates via exponentially weighted moving averages (EWMA).
  • Memory map decays with a configurable half‑life and stores discretized heat locally.
  • Calibration stores a baseline mic envelope and motion average for normalization.

Intent

This isn’t a face. It’s a behavior: attention, uncertainty, and forgetting—made visible. The point is not to simulate life, but to reveal how my inner biases meet your presence.

Made as a study of sentience‑as‑dynamics. Atmospheres inspired by experiential web works; all memory is local.

Rituals

  • Hold Space: drag an attention lens that refracts the field.
  • Idle 60s: a ghost echo replays your last minute.