Web VR and AR demos using the following libraries:
- three.js: https://threejs.org/
- A-Frame: https://aframe.io/
- React Three Fiber: https://docs.pmnd.rs/react-three-fiber/
- Install the dependencies
npm install
- Run the dev command
npm run dev
Open vitest.config.ts
and set EXPOSE_TO_LOCAL_NETWORK
to true
.
- Activate developer options on the phone
- Activate USB debugging on the phone
- Open chrome://inspect/#devices on the computer
- Connect the phone via USB and allow USB debugging
- Enable port forwarding: https://developer.chrome.com/docs/devtools/remote-debugging/local-server/
- Open Google Chrome on the phone
- Visit local URL on the phone