-
Notifications
You must be signed in to change notification settings - Fork 0
/
freefrap.html
63 lines (52 loc) · 2.93 KB
/
freefrap.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>My A-Frame Room</title>
<script src="https://aframe.io/releases/1.2.0/aframe.min.js"></script>
</head>
<body>
<a-scene>
<!-- Black Baseplate -->
<a-plane position="0 0 0" rotation="-90 0 0" width="10" height="10" color="#000000"></a-plane>
<!-- Dark Green Walls -->
<!-- Back Wall -->
<a-box position="0 2.5 -5" depth="0.1" height="5" width="10" color="#004d00"></a-box>
<!-- Front Wall -->
<a-box position="0 2.5 5" depth="0.1" height="5" width="10" color="#004d00"></a-box>
<!-- Left Wall -->
<a-box position="-5 2.5 0" depth="10" height="5" width="0.1" color="#004d00"></a-box>
<!-- Right Wall -->
<a-box position="5 2.5 0" depth="10" height="5" width="0.1" color="#004d00"></a-box>
<!-- Ceiling -->
<a-box position="0 5 0" depth="10" height="0.1" width="10" color="#000000"></a-box>
<!-- Table -->
<a-box position="0 1 -3" depth="2" height="0.2" width="1.5" color="#8B4513"></a-box>
<!-- Table Legs -->
<a-box position="-0.7 0.5 -2.8" depth="0.2" height="0.8" width="0.2" color="#8B4513"></a-box>
<a-box position="0.7 0.5 -2.8" depth="0.2" height="0.8" width="0.2" color="#8B4513"></a-box>
<a-box position="-0.7 0.5 -3.2" depth="0.2" height="0.8" width="0.2" color="#8B4513"></a-box>
<a-box position="0.7 0.5 -3.2" depth="0.2" height="0.8" width="0.2" color="#8B4513"></a-box>
<!-- Bench -->
<a-box position="0 0.5 -2.5" depth="0.5" height="0.1" width="2" color="#8B4513"></a-box>
<!-- Laptop on the Table -->
<a-box position="0 1.2 -3" depth="0.1" height="0.8" width="0.8" color="#000"></a-box>
<a-box position="0 1.1 -3" depth="1" height="0.07" width="0.8" color="#666"></a-box>
<!-- Wardrobe -->
<a-box position="4 1 -4.5" depth="0.5" height="2" width="1" color="#8B4513"></a-box>
<!-- Bed -->
<a-box position="-3 0.5 -3" depth="2" height="0.5" width="3" color="#8B4513"></a-box>
<a-box position="-3 0.5 -3" depth="2" height="0.4" width="3" color="white"></a-box>
<!-- Text Boxes -->
<a-text value="this is a bsic 3d portfolio visit crabby.me for the full one" position="0 2 -3.2" align="center" color="#FFF" width="2"></a-text>
<a-text value="this is where i sit and code and study" position="0 0.7 -2.5" align="center" color="#FFF" width="2"></a-text>
<a-text value="this is my room and this is where i keep my stuff" position="4 2 -4.5" align="center" color="#FFF" width="2"></a-text>
<a-text value="this is where i sleep and scroll shorts" position="-3 1 -3.2" align="center" color="#FFF" width="2"></a-text>
<!-- Lights -->
<a-light type="ambient" color="#FFF"></a-light>
<a-light type="directional" color="#FFD700" position="5 10 5" intensity="0.5"></a-light>
<!-- Camera -->
<a-camera position="0 1.6 0"></a-camera>
</a-scene>
</body>
</html>