top of page
Search
juliaslomovic

A-frame glitch VR popquiz

Updated: Mar 10, 2022

Preview Link: https://productive-curious-fire.glitch.me/

Glitch code:


<!DOCTYPE html>

<html>

<head>

<script src="https://aframe.io/releases/1.2.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-box position="-1 0.5 -3" rotation="0 45 0" color="#ccccff"></a-box>


<a-sphere position="0 1.25 -5" radius=".75" color="#ffcc66"></a-sphere>


<a-cylinder

position="1 0.25 -3"

radius="1"

height=".5"

color="#ccffcc"

></a-cylinder>

<a-plane

material="src:https://cdn.glitch.global/c026b60d-3513-42a6-a003-e60f78d0ea8d/flower%20video%20copy.mp4?v=1646943572175"

position="0 0 -4"

rotation="-90 0 0"

width="8"

height="4"

color="#6699ff"

></a-plane>


<a-videosphere

autoplay

loop="true"

src="https://cdn.glitch.global/c026b60d-3513-42a6-a003-e60f78d0ea8d/flower%20video%20copy.mp4?v=1646943572175"

></a-videosphere>

<a-entity

gltf-model="https://cdn.glitch.global/c026b60d-3513-42a6-a003-e60f78d0ea8d/bee1%20final.gltf?v=1646774421057"

position="0 5 -20"

animation-mixer="loop : true"

scale="0.7 0.7 0.7"

rotation="0 270 0"

></a-entity>

</a-scene>

</body>

</html>


2 views0 comments

Recent Posts

See All

Comments


bottom of page