Catalog of Regulatory Science Tools to Help Assess New Medical Devices
The WebXR tool  allows for the creation of immersive 3D scenes using a web browser. Using the WebXR API, typically a standard component of web browsers, users can instantaneously deploy Extended Reality applications to any compatible device. WebXR allows for an instant deployment of any 3D scene and scripts and does not need to cater to a specific 3D engine or headset hardware. Since most (if not all) modern head mounted displays (HMD) can use WebXR within their respective web browsers, website content can be directly accessed through the relevant URL.
A set of predefined patterns is provided, including solid colors, grilles, and checkerboards, each of which is linked to corresponding measurements for which they are useful (e.g., luminance, contrast). These patterns allow for the measurements and assessment of display features such as the ones recommended by the International Committee for Display Metrology (ICDM) .
This tool presents a set of virtual test objects, scenes and tools for measurements and assessments of HMD image quality.
The developed tools are the following:
- Chromatic aberration test script allows for the measurement of the color differences due to the lenses. 
- Scene generator: allows for the creation of a scene containing simple primitives (circle, triangle, plane, etc.) and other patterns (grille, checkerboard, calibrating textures, etc.). This tool allows for the export of pre-made scenes to be shared. A set of default scenes is provided to be used for standard measurements .
- Compatibility tool: allows for the test of headset and controller compatibility with WebXR as well as quick validation of sensors and buttons.
With a compatible headset and web browser, the URL can be opened, and a specific scene or tool can be chosen. Then, WebXR can activate an immersive mode.
Current compatible headsets are:
- Meta/Oculus Go, Quest, Quest Pro, Quest 2
- HP Reverb
- Microsoft Hololens and Hololens 2
Every HMD can be subject to chromatic aberration. The component lenses can lead to different wavelengths (colors) following a different trajectory, thus causing a discrepancy of color position, especially towards the display periphery. A tool has been developed to measure the angular chromatic aberration for HMDs . Pictures were taken from the screen and compared with previous publications using the same experimental setup , the WebXR tool was able to replicate the same visualizations.
The scene generator allows for the display of arbitrary patterns that the user can create or upload. These patterns are shown on the display in native 3D immersive mode within the WebXR environment. This tool was used to render test patterns for the assessment of spatial contrast variation on virtual reality headsets .
The compatibility tool was developed to test and validate the headset sensors, controllers, and buttons and their compatibility with the WebXR environment in general. The tool was tested on a range of headsets, and currently compatible headsets are those based on Windows Mixed Reality and standalone Android-based headsets. An updated list can be found on the GitHub repository .
These tools rely on a web browser running natively on the HMD. Browsers and WebXR are continuously updating, and this could cause some features unavailable. Moreover, older headsets can become outdated due to the rapid development of WebXR that is constantly adding and modifying features.
Additionally, although modern web browsers follow the established standards for web development, they are only interpreting the code and there is a possibility that the visual result has small variations. These variations will, however, be constant within a headset model or even a family of headsets.
Only HMDs with web browser capabilities are compatible with these tools. We developed a tool that shows the compatibility of the headset as well as the sensors and controller support for WebXR. A list of compatible browsers and updated documentation for WebXR can be found in .
In case of unknown errors or need of additional assistance, the GitHub repository  provides an issue forum in which questions can be posted. We will monitor this site to address bugs and respond to raised issues.
- WebXR Test Patterns
- R. Beams, A. S. Kim, A. Badano “Transverse chromatic aberrations in virtual reality head-mounted displays” Optics Express 27, 24877-24884 (2019). https://doi.org/10.1364/OE.27.024877
- C. Zhao, R. Beams, A. Badano “Radially variant contrast measurement in virtual reality headsets using circular concentric ring patterns” J Soc Inf Display. 2023; 31(5): 387 – 397. https://doi.org/10.1002/jsid.1208
- DIDSR/WebXR-tools (github.com)
- Compatibility: This directory includes the code for the compatibility test and instructions for use.
- Custom: This directory includes the code for the custom scene creator as well as instructions for use and documentation.
- TCA: This directory includes the code for the Transverse Chromatic Aberration test tool.
TCA: This directory contains the code for the transverse chromatic aberration testing too as well as instructions for use and documentation.
In addition to citing relevant publications please reference the use of this tool using DOI: 10.5281/zenodo.8383620