1);
                    ++step_counter;
                }
            };
            document.getElementById("step-button").addEventListener("click", run_step);

        });
        // To test on a local network with a VR device, use a custom SSL certificate.
        // WebXR requires HTTPS; otherwise, the VRButton will be unresponsive.
        // Create a self-signed SSL certificate using the following OpenSSL command:
        // openssl req -x509 -nodes -newkey rsa:2048 -keyout key.pem -out cert.pem -days