Physics Nonlinear Dynamics Kuramoto Chimera States WebGL2

Kuramoto Coupled Oscillators & Chimera States on the GPU


WebGL2 Non-Local Kuramoto FBO · Click anywhere to inject an incoherent phase-defect core
Live 60 FPS GPU simulation of 2D non-locally coupled identical oscillators: tune phase lag $\alpha \approx 1.42$ to watch coherent rotating spiral arms coexist stably around a boiling incoherent chimera core.

In The 2D XY Model & BKT Vortex Unbinding, equilibrium spins aligned smoothly everywhere except at point-like topological vortices. Replace thermal noise with non-local phase-lagged coupling among identical oscillators (Kuramoto & Battogtokh, 2002), and symmetry shatters spontaneously into a Chimera State: an impossible-looking hybrid where perfectly phase-locked spiral waves surround a macroscopic, boiling core of completely desynchronized oscillators – even though every single oscillator obeys the exact same equation!


1. The 2D Non-Local Kuramoto–Sakaguchi Equation

Each pixel $\mathbf{r}$ carries a phase $\theta(\mathbf{r}, t) \in [0, 2\pi)$ coupled to all neighbors within a disk of radius $R$ with phase frustration parameter $\alpha \in [0, \pi/2)$:

Non-Local Kuramoto–Sakaguchi Phase Evolution & Local Order Parameter
$$\frac{\partial \theta(\mathbf{r}, t)}{\partial t} = \omega + \frac{K}{|B_R|} \iint_{|\mathbf{r}' - \mathbf{r}| \le R} \sin\!\big(\theta(\mathbf{r}', t) - \theta(\mathbf{r}, t) - \alpha\big)\, d^2\mathbf{r}'$$ $$Z(\mathbf{r}, t) = R_{\text{loc}}(\mathbf{r}, t)\, e^{i\Phi(\mathbf{r}, t)} = \frac{1}{|B_R|} \iint_{|\mathbf{r}' - \mathbf{r}| \le R} e^{i\theta(\mathbf{r}', t)}\, d^2\mathbf{r}'$$

When $\alpha = 0$, the system minimizes the XY energy and locks into global synchronization ($R_{\text{loc}} \to 1$). As $\alpha \to \pi/2 \approx 1.57$, the coupling becomes nearly conservative/repulsive near spiral cores: oscillators inside the core experience a vanished mean field $R_{\text{loc}} \approx 0$ and drift chaotically while oscillators outside the core remain phase-locked in rotating spiral arms.

💻 GLSL: 2D Non-Local Kuramoto–Sakaguchi Phase Evolution KernelGLSL (WebGL2)
// 2D Non-Local Kuramoto-Sakaguchi Phase Field in WebGL2
// d(theta)/dt = omega + (K / N) * sum_{r' in disk(R)} sin(theta(r') - theta(r) - alpha)
float sumSin = 0.0;
float count = 0.0;
for (int dy = -5; dy <= 5; dy++) {
    for (int dx = -5; dx <= 5; dx++) {
        if (dx*dx + dy*dy > 25) continue;
        float thN = texture(uPhase, vUv + vec2(dx, dy) * uTexel).r;
        sumSin += sin(thN - th - uAlpha);
        count += 1.0;
    }
}
float nextTh = mod(th + dt * (uOmega + uK * (sumSin / max(1.0, count))), 6.2831853);