Skip to content

StatsVR

StatsVR is performance statistics HUD specifically for WebVR & THREE.js Projects that use a HMD, such as Oculus Rift

The purpose of StatsVR is to monitor your computers performance while developing and running your application so that you don't need to remove your headset to check.

https://github.com/Sean-Bradley/StatsVR

You can download the project and view the examples.

git clone https://github.com/Sean-Bradley/StatsVR.git
cd StatsVR
npm install
npm run dev

Visit https://127.0.0.1:8080/

Note that the above URL is HTTPS. When developing WebVR locally, you will need an SSL certificate. This project auto creates a self-signed certificate that you will need to accept when visiting the development URL in the browser.

Example 1

Basic StatsVR set up for WebVR and Threejs projects.

StatsVR Example 1

StatsVR Example 1

Example 2

Advanced StatsVR for WebVR and Threejs projects. Change position and show Millisecond Graph.

StatsVR Example 2

StatsVR Example 2

Example 3

Advanced StatsVR for WebVR and Threejs projects. Custom Variables and custom 3d objects.

StatsVR Example 3

StatsVR Example 3

Example 4

StatsVR in a mini-game using WebVR, Threejs, Haptic Feedback and Collision Detection.

StatsVR Example 4

StatsVR Example 4

Comments