how this formula works
the actual math — edit it, it re-evaluates live. bright is 0–1 per cell. phase = 2π·frame/60 — stick to phase and multiples of phase/2 and the 120-frame loop stays seamless. Variables: x, y, frame, t, phase, cols, rows, W, H, cx, cy, d, dx, dy, s, theta. Functions: sin cos tan asin acos atan atan2 abs sqrt exp log pow floor ceil round min max clamp sign. No eval() — anything outside the whitelist is rejected and the last good formula keeps running.