-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
63 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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> |