360° Panorama Viewer — Part 2: The Code, Line by Line A code-focused walkthrough of the PanoramaViewer Astro component — WebGL setup, geometry construction, event wiring, quaternion gyro tracking, synchronization guards, and failure recovery patterns.