I don't have a way of testing this locally, but I believe it should work.
It adds a new endpoint /cardboard that redirects to cardboard.html. The UI consists of the same image side by side for Google Cardboard support. It may need some tweaking.
Next step would be to use DeviceOrientation for controlling the camera.
I'm going to close this for now as it's gotten out of sync. We've also changed the controls a bit, I'd be curious to see how that works with cardboard =)
I don't have a way of testing this locally, but I believe it should work.
It adds a new endpoint
/cardboard
that redirects tocardboard.html
. The UI consists of the same image side by side for Google Cardboard support. It may need some tweaking.Next step would be to use DeviceOrientation for controlling the camera.