File tree 1 file changed +51
-0
lines changed
1 file changed +51
-0
lines changed Original file line number Diff line number Diff line change
1
+ <!DOCTYPE html>
2
+ < html >
3
+ < head >
4
+ < meta charset ="utf-8 " />
5
+ < title > TSL • A-Frame</ title >
6
+ < meta name ="description " content ="TSL • A-Frame " />
7
+ < script type ="importmap ">
8
+ {
9
+ "imports" : {
10
+ "aframe" : "../../../dist/aframe-master.module.min.js" ,
11
+ "three" : "../../../super-three-package/build/three.webgpu.js" ,
12
+ "three/webgpu" : "../../../super-three-package/build/three.webgpu.js" ,
13
+ "three/tsl" : "../../../super-three-package/build/three.tsl.js" ,
14
+ "three/addons/" : "../../../super-three-package/examples/jsm/" ,
15
+ "aframe-extras/controls" :
"https://cdn.jsdelivr.net/gh/c-frame/[email protected] /dist/aframe-extras.controls.min.js"
16
+ }
17
+ }
18
+ </ script >
19
+ < script type ="module ">
20
+ import AFRAME from "aframe" ;
21
+ import "aframe-extras/controls" ;
22
+ // import { } from "three/tsl";
23
+ </ script >
24
+ </ head >
25
+ < body >
26
+ < a-scene background ="color: #ECECEC ">
27
+ <!--
28
+ <a-entity
29
+ position="0 0 -2"
30
+ ></a-entity>
31
+ -->
32
+
33
+ < a-plane
34
+ position ="0 0 -2 "
35
+ rotation ="-90 0 0 "
36
+ width ="4 "
37
+ height ="4 "
38
+ color ="#7BC8A4 "
39
+ > </ a-plane >
40
+
41
+ < a-entity
42
+ position ="0 0 1 "
43
+ id ="rig "
44
+ movement-controls ="controls: gamepad,keyboard,nipple "
45
+ nipple-controls ="mode: static "
46
+ >
47
+ < a-entity camera position ="0 1.6 0 " look-controls > </ a-entity >
48
+ </ a-entity >
49
+ </ a-scene >
50
+ </ body >
51
+ </ html >
You can’t perform that action at this time.
0 commit comments