提交 fc3d1b6c 编写于 作者: J Jerome Etienne

updating webvr docs to explain relation between the polyfill and three.js

上级 3152d5b1
......@@ -25,7 +25,7 @@
repeat="indefinite" easing='ease-in-out-cubic'></a-animation> -->
</a-text>
<a-text side='double' value="So proud!" position='0.5 1.70 0' color='magenta'>
<a-text side='double' value="So proud!" position='0.5 1.70 0' color='magenta1'>
<a-animation attribute="position" from="0.6 1.1 0" to="0.6 1.3 0" direction="alternate" dur="500"
repeat="indefinite" easing='ease-in-out-cubic'></a-animation>
</a-text>
......
It is a polyfill for webvr API using artoolkit as positional tracker.
- it depends on three.js
Thus you can use the power of WebAR without depending on any specific API.
```html
<!-- include artoolkit-webvr-polyfill.js -->
<script src="artoolkit-webvr-polyfill.js"></script>
```
# NOTES:
- it currently depends on three.js for the maths
- It uses 3+ math classes Vector3/Quaternion/Matrix4...
- i would love it to be fully standalone but time is missing
- WebAR is currently a single personn effort and this is big compleex code :)
- the contribution is simple and a pull request
- if anybody is considering contributing it, i would love to help and point at the code.
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册