Lab: Glitch Code
- artbysmak
- May 7
- 1 min read
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<a-scene>
<a-assets>
<a-asset-item
id="meow"
src="https://cdn.glitch.global/61671037-31f4-4b4c-8912-d263910e3d0d/meow?v=1743102644448"></a-asset-item>
</a-assets>
<a-entity
gltf-model="#meow"
position="0 0 .75"
scale="1 1 1"></a-entity>
<a-box position="0 0 0" width="5" height="0.2" depth="5" color="red"></a-box>
<a-box position="-2.5 0.5 0" width="0.1" height="1" depth="5" color="white"></a-box>
<a-box position="2.5 0.5 0" width="0.1" height="1" depth="5" color="white"></a-box>
<a-box position="0 0.5 -2.5" width="5" height="1" depth="0.1" color="white"></a-box>
<a-box position="0 0.5 2.5" width="5" height="1" depth="0.1" color="white"></a-box>
<a-entity position="-4 1.6 0">
<a-camera></a-camera>
</a-entity>
<a-plane position="0 -0.1 0" rotation="-90 0 0" width="10" height="10" color="green"></a-plane>
<a-sky color="#87CEEB"></a-sky>
</a-scene>
</body>
</html>
Commentaires