https://github.com/rhdeck/react-reality-holokit
Holokit bindings for react-reality
https://github.com/rhdeck/react-reality-holokit
Last synced: over 1 year ago
JSON representation
Holokit bindings for react-reality
- Host: GitHub
- URL: https://github.com/rhdeck/react-reality-holokit
- Owner: rhdeck
- License: mit
- Created: 2018-06-06T19:44:01.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-06-13T14:12:27.000Z (about 8 years ago)
- Last Synced: 2025-01-22T00:35:38.973Z (over 1 year ago)
- Language: JavaScript
- Size: 11.7 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# react-reality-holokit
Extension for [React Reality](https://github.com/rhdeck/react-reality) to support stereoscopic headmounted AR via use of the [Holokit](https://holokit.io).
# Installation
This is a JS-only extension of react-reality. To install along with peer dependencies:
```
yarn add \
rhdeck/react-reality-holokit
rhdeck/react-reality \
react-native-swift \
react-native-device-info
react-native link
```
# Usage
Note that the ARDualView is designed to be full height/width for your window. All interpupillary distance calculations are based on that assumption.
```xml
{ Your nodes! }
```
# Credit-Where-Credit-Is-Due
Also the headset view uses ideas from [iOS-ARKit-Headset-View](https://github.com/hanleyweng/iOS-ARKit-Headset-View) which is a cool Swift-first project
And of course the best headset is Holokit from Amber Garage, who gave a talk at ARiA in January that was my inspiration for getting headset view going in the first place!