How it works
When you open several windows (for example, comparing different configurations or ensembles), the visualiser keeps their cameras in sync:
make open FILES="surface_data/config_a.surf surface_data/config_b.surf"
- The window with focus writes its full viewing state (rotation matrices, angles, zoom, focus radius, selection centre, slice position, mode) to
/tmp/vortex_shared.bin every frame.
- Every unfocused window reads that file at 10 Hz and mirrors the state, then sleeps.
Click any window to make it the leader; the others follow. This makes it easy to inspect the same region of spacetime across different configurations with identical camera parameters.
Details
- Time-axis values are shared as fractions of Nt, so windows on lattices with different temporal extents stay aligned.
- The leader also propagates mode changes and timeslice position.
- The state file lives in
/tmp and is recreated on every launch; stale files are harmless.