top of page
Search
chwi0908

Code and Website Pop Quizes

Updated: May 4, 2022

Video Of VR made in glitch

code:

<!DOCTYPE html>

<html>

<head>

<script src="https://aframe.io/releases/1.3.0/aframe.min.js"></script>

<script src="https://rawgit.com/donmccurdy/aframe-extras/master/dist/aframe-extras.loaders.min.js"></script>


<script src="inflate.min.js"></script>

</head>

<body>

<a-scene>

<a-assets>

<video

id="moving"

autoplay loop="true"

src="https://cdn.glitch.global/7e8afe29-5a89-42f0-a010-f698b71c5d51/moving.mp4?v=1646772860735">

</a-assets>

<a-videosphere src="#moving"></a-videosphere>

<a-assets>

<a-asset-item

id="tree"

src="https://cdn.glitch.global/7e8afe29-5a89-42f0-a010-f698b71c5d51/Bunny2.gltf?v=1646774355353"

></a-asset-item>

</a-assets>


<a-entity


gltf-model="#tree"

position="3 2.2 -4"

animation-mixer = "loop : true"

scale="0.3 0.3 0.3"

rotation = "0 270 0"

></a-entity>

<a-box

position="-2 1 -3"

rotation="0 45 0"

scale="2 3 2"

color="#4CC3D9"

></a-box>

<a-sphere

position="5 1.25 -5"

radius="1.25"

color="#FFFACD"

></a-sphere>

<a-plane

material="src:https://cdn.glitch.global/7e8afe29-5a89-42f0-a010-f698b71c5d51/moving.mp4?v=1646772860735"

position="0 0 -4"

rotation="-90 0 0"

width="20"

height="30"

></a-plane>


</a-scene>

</body>


</html>


Website link:

https://equal-abounding-aletopelta.glitch.me/

1 view0 comments

Recent Posts

See All

Kommentare


bottom of page