Skip to main content

Module coupling

Module coupling 

Source
Expand description

Coupling — Gravity-weighted Kuramoto stepping for substrates.

The coupling function K_ij = K_base × G × cos(sim(e_i, e_j)) makes semantically similar atoms synchronize faster. This is the geometric kernel: the coupling IS the kernel function on the semantic manifold.

Uses the existing phase::kuramoto::kuramoto_step for the actual phase evolution, but computes the adjacency matrix from embeddings.

Structs§

AudioMetrics
Audio metrics passed from JS via SharedArrayBuffer.

Functions§

coupled_step
Perform one coupled Kuramoto step on all atoms in the substrate.
gravity_coupling
Compute gravity coupling between two atoms using embedding similarity. K_ij = K_base × gravity_scale × max(0, cos(sim(e_i, e_j)))