Our goal is to build interactive WebXR environments with navigable rooms and dynamic backgrounds that will be used by CUNY.
To run the WebXR on your local machine, follow these steps:
-
Clone the repository:
git clone https://github.com/CUNYTechPrep/webxr-experiments.git
-
Navigate to the project directory:
cd webxr-experiments
-
Install dependencies (ensure Node.js is installed):
npm install
-
Start the local server:
npm start
The application should now be running on localhost:8080
.
The main functionalities of the project are defined in rooms.js
and config.js
, where rooms.js
handles the creation of different "rooms" in the WebXR environment, and config.js
specifies the configuration for these rooms.
- Dynamic Room Navigation: Navigate through different virtual rooms, each with its own set of interactions and backgrounds.
- Background Management: Set different backgrounds for each room.
- Interactions: Interact with elements within each room to trigger various actions like changing rooms or displaying information.