top of page
Search
  • colindonovan1

Project #4 Code

<html>

<head>

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

</head>

<body>

<a-scene>

<a-assets>

<img id="space" src="https://cdn.glitch.me/092c27f3-627f-4b78-95c0-ed6890b2f7cf%2Feso0932a.jpeg?v=1638322958703">

<img id="moon" src="https://cdn.glitch.me/092c27f3-627f-4b78-95c0-ed6890b2f7cf%2F78248589-seamless-texture-background-surface-of-the-moon-.jpeg?v=1638323787840">

<img id="White Planet" src="https://cdn.glitch.me/092c27f3-627f-4b78-95c0-ed6890b2f7cf%2FNaturalStone02_4K_BaseColor.png?v=1638493811775">

<img id="Bronze Planet" src="https://cdn.glitch.me/092c27f3-627f-4b78-95c0-ed6890b2f7cf%2FBronze03_4K_BaseColor.png?v=1638494331299">

<img id="Dark Planet" src="https://cdn.glitch.me/092c27f3-627f-4b78-95c0-ed6890b2f7cf%2FMarble04_4K_BaseColor.png?v=1638494129794">

<img id="Yellow Planet" src="https://cdn.glitch.me/092c27f3-627f-4b78-95c0-ed6890b2f7cf%2FPaintedMetal02_4K_BaseColor.png?v=1638494995064">

<img id="Rock Planet" src="https://cdn.glitch.me/092c27f3-627f-4b78-95c0-ed6890b2f7cf%2FSeasideRocks01_4K_BaseColor.png?v=1638494475333">

<img id="Blue Planet" src="https://cdn.glitch.me/092c27f3-627f-4b78-95c0-ed6890b2f7cf%2FSteppingStoneTiles05_4K_BaseColor.png?v=1638495273281">

<img id="Gold Planet" src="https://cdn.glitch.me/092c27f3-627f-4b78-95c0-ed6890b2f7cf%2FBrushedGold02_4K_BaseColor.png?v=1638495450457">

<img id="Pattern Planet" src="https://cdn.glitch.me/092c27f3-627f-4b78-95c0-ed6890b2f7cf%2FPattern02_4K_VarA.png?v=1638495559508">

<img id="Copper Planet" src="https://cdn.glitch.me/092c27f3-627f-4b78-95c0-ed6890b2f7cf%2FCopperTiles01_4K_BaseColor.png?v=1638495741355">

<img id="Sun Surface" src="https://cdn.glitch.me/092c27f3-627f-4b78-95c0-ed6890b2f7cf%2Fsunsurface.jpeg?v=1638495919950">

<img id="Pink Gloss" src="https://cdn.glitch.me/092c27f3-627f-4b78-95c0-ed6890b2f7cf%2Fdepositphotos_126506960-stock-photo-pink-lipstick-texture.jpeg?v=1638498286091z">

</a-assets>

<a-entity

light="type: point; color: white; intensity: 2"

material="color: white; shader: flat; src: glow.jpg"

position="0 0 0"></a-entity>

<a-sphere position="100 300 20" radius="10" src="#White Planet"></a-sphere>

<a-sphere position="-10 40 40" radius="1.25" src="#Dark Planet"></a-sphere>

<a-sphere position="40 80 60" radius="8" src="#Bronze Planet"></a-sphere>

<a-sphere position="-60 70 80" radius="10" src="#Yellow Planet"></a-sphere>

<a-sphere position="100 100 100" radius="5" src="#Rock Planet"></a-sphere>

<a-sphere position="-600 400 -20" radius="30" src="#Blue Planet"></a-sphere>

<a-sphere position="-60 100 -40" radius="4" src="#Pattern Planet"></a-sphere>

<a-sphere position="-10 140 -60" radius="10" src="#Gold Planet"></a-sphere>

<a-sphere position="90 1000 800" radius="40" src="#Copper Planet"></a-sphere>

<a-sphere position="-10 300 30" radius="30" src="#Sun Surface"></a-sphere>

<a-sky radius="10000" src="#space"></a-sky>

<a-gltf-model id="Blue Deity" position="1500 -500 -100" rotation="180 30 180" scale="400 400 400" src="https://cdn.glitch.me/092c27f3-627f-4b78-95c0-ed6890b2f7cf%2FBlueDeity.glb?v=1638931711356" ></a-gltf-model>

<a-gltf-model id="Red Deity" position="-900 700 5000" rotation="180 20 180" scale="800 800 800" src="https://cdn.glitch.me/092c27f3-627f-4b78-95c0-ed6890b2f7cf%2FRed%20Deity.glb?v=1638932828634" ></a-gltf-model>

<a-gltf-model id="Orange Deity" position="-900 -3000 -2000" rotation="175 -120 180" scale="1000 1000 1000" src="https://cdn.glitch.me/092c27f3-627f-4b78-95c0-ed6890b2f7cf%2FOrange%20Deity.glb?v=1638933160762" ></a-gltf-model>

<a-gltf-model id="ufo" position="-50 90 -150" rotation="-30 240 0" src="https://cdn.glitch.me/092c27f3-627f-4b78-95c0-ed6890b2f7cf%2Fscene.glb?v=1638928967501"></a-gltf-model>

<a-gltf-model id="ufo2" position="100 300 -150" rotation="-30 240 0" src="https://cdn.glitch.me/092c27f3-627f-4b78-95c0-ed6890b2f7cf%2Fscene.glb?v=1638928967501"></a-gltf-model>

<a-gltf-model id="ufo3" position="180 90 -100" rotation="-30 240 0" src="https://cdn.glitch.me/092c27f3-627f-4b78-95c0-ed6890b2f7cf%2Fscene.glb?v=1638928967501"></a-gltf-model>

<a-gltf-model id="ufo4" position="10 90 60" rotation="-30 240 0" src="https://cdn.glitch.me/092c27f3-627f-4b78-95c0-ed6890b2f7cf%2Fscene.glb?v=1638928967501"></a-gltf-model>

<a-gltf-model id="mars" position="0 3 0" scale="300 300 300" src="https://cdn.glitch.me/092c27f3-627f-4b78-95c0-ed6890b2f7cf%2FMars.glb?v=1638933303729" ></a-gltf-model>

<a-entity light="color: #ffba08; intensity: 1.5" position="-1 -2 0"></a-entity>



</a-scene>


</body>

</html>

1 view0 comments

Recent Posts

See All
bottom of page