Juicebox: Screen Shake, Hitstop and Impact Effects Kit
README.md
probe
The showroom's two-player check. Every peer records the strongest camera shake, the most screen flashes and the deepest slow-down it actually showed since the last reset, and answers on the juiceKit.probe channel. That lets one peer measure what every other player saw after a Juice.play.
Probe.resetAll()zeroes the peaks here and on every other peer.Probe.askAll()asks the other peers for a snapshot.Probe.replies()returns their answers by peer id a moment later.Probe.snapshot()returns this peer's own:{ peer, avatar, at, peaks = { shake, rot, flashes, minTimeScale, frames }, timeScale, played, remote, recent }.Probe.tick()samples one frame. The Gallery component calls it every frame.
It is read-only: other peers can only reset the peaks and read them. It belongs to this showroom, not to the juiceKit package.