Skip to main content

Module app

Module app 

Source
Expand description

Ratatui event loop + key bindings + Life↔Audio coupling.

Every beat boundary the loop does three things in order:

  1. Audio → Life: seed cells in each unmuted track’s row based on its current amplitude; Heartbeat injects a glider.
  2. Life step: Conway B3/S23, one generation.
  3. Life → Audio (auto-evolve): every evolve_period beats, mutate the unmuted track whose row has the lowest live-cell count (fitness = row density).

The user can disable coupling (L) or auto-evolve (O) at any time.

Structs§

AppState

Enums§

Focus

Functions§

run