Open the console in developer tools (F12).
Click the button below to turn on/off camera tracking.
This webpage uses the render callback mechanism to simply print the
camera's world transform whenever the scene gets rendered. As you
pan the camera (or change the visibility of objects) a new message
gets written to the console including the camera's pose.
Initially, the callback is a no-op. Click the button below to toggle
the callback behavior.
Even without moving the camera or changing the scene, simply enabling
a callback should evaluate it; when you click the button, the camera
pose should be printed to the console immediately.
[If you read this, the page is broken]