-
Notifications
You must be signed in to change notification settings - Fork 1
/
demo.html
44 lines (24 loc) · 930 Bytes
/
demo.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<!--
A-Frame Kinectron by Damian Dziwis - TH Köln / TU Berlin
based on Or Fleishers
Three-Kinectron : https://github.com/kinectron/Three-Kinectron
and Depthkit.js: https://github.com/juniorxsound/Depthkit.js
projects and shaders.
-->
<!DOCTYPE html>
<html>
<head>
<title>Kinectron A-Frame Demo</title>
<script src="https://aframe.io/releases/1.3.0/aframe.min.js"></script>
<!-- Kinectron client side library -->
<script src="./kinectron/client/dist/kinectron-client.js"></script>
<!--Three.js Kinectron plugin-->
<script src="./shared/aframe.kinectron.js"></script>
</head>
<body>
<a-scene>
<a-entity position="0 1 -0" kinectron="host:127.0.0.1; type: rgbd; pointSize: 0.1; colorOffSet: 0 0 0 0; brightness: 0.1; contrast: 1.0; opacity: 1.0; filterAmount: 0.9" scale="5. 5. 10."></a-entity>
<a-sky color="#000000"></a-sky>
</a-scene>
</body>
</html>