Protocol

Sync continuous
state across
browsers

Synchronize continuous state across devices without streaming. Broadcast anchors. Evaluate anywhere. Clients typically agree within ~30ms of server time.

How it works

01

Instead of streaming position updates, broadcast rare anchors: timestamp + value + motion descriptor.

02

Every client syncs to server time using NTP-style offset estimation. Monotonic. Deterministic.

03

Given an anchor and server time, any client can compute current state via pure math. No network calls.

Two layers

Layer 1

@syncframe/core

Clock synchronization, anchor protocol, evaluators, smoother, pluggable storage. Zero runtime dependencies.

Layer 2

@syncframe/spatial

Screen registry, world-coordinate poses, presence. Headless library for multi-display setups — demo includes calibration UI.

Use cases

  • Video syncsynchronized playback across devices
  • Multi-screen installationspanoramic image flows across N monitors
  • Collaborative canvasdistributed 2D drawing surface
  • Event timersidentical countdowns across every display

As long as each device has a browser and internet connection, you can sync continuous state across all of them.