Skip to content

Commit

Permalink
Create freefrap.html
Browse files Browse the repository at this point in the history
  • Loading branch information
crabby605 authored Aug 18, 2024
1 parent 15a2a3f commit 2a41b4d
Showing 1 changed file with 63 additions and 0 deletions.
63 changes: 63 additions & 0 deletions freefrap.html
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>

0 comments on commit 2a41b4d

Please sign in to comment.