This application calculates whether you are squatting based on the current height of your HMD.
Press the trigger on the right controller to reset the neutral position.
Note: This experience includes background music. Please enjoy the music I created.
squat.mp4
The project is deployed on Vercel. You can access it directly via the following link:
- Please use the model I created on Womp.
- Add rigging, animations, and export the model using Mixamo (Air Squat Bent Arms, Yelling, Waving).
- Use Blender's NLA editor to apply multiple animations to the model.
- Compress the model and export it as a GLB file, then place it under
public/models(the code references it ashmdMan.glb). - Run the following command.
yarn
yarn dev
- Open the following link in a browser that supports WebXR on an HMD.(Replace "?" with the IP address)
https://???.???.?.?:8081/
https://immersive-web.github.io/webxr/explainer.html
https://developers.meta.com/horizon/documentation/web/webxr-overview

