Skip to content

Commit

Permalink
use dist/aframe.js in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
cvan committed Dec 10, 2015
1 parent 895e6bb commit 5b0da82
Show file tree
Hide file tree
Showing 37 changed files with 71 additions and 71 deletions.
4 changes: 2 additions & 2 deletions examples/animation-aframe-logo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>A-Frame Logo</title>
<meta name="description" content="A-Frame Logo - A-Frame">
<script src="../../build/aframe.js"></script>
<script src="../../dist/aframe.js"></script>
</head>
<body>
<a-scene>
Expand All @@ -27,7 +27,7 @@

</a-cube>
</a-entity>

<!-- Cross-bar -->
<a-entity rotation="-90 0 0" position="0 8 7.5">
<a-animation attribute="scale" from="1 0 1" to="1 1 1" dur="600" begin="750" easing="ease-out" fill="backwards"></a-animation>
Expand Down
30 changes: 15 additions & 15 deletions examples/animation-arms/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>Arms</title>
<meta name="description" content="Arms - A-Frame">
<script src="../../build/aframe.js"></script>
<script src="../../dist/aframe.js"></script>
</head>
<body>
<a-scene>
Expand All @@ -19,7 +19,7 @@
<a-animation attribute="rotation" to="45 100 100" dur="5000" begin="250" repeat="indefinite" direction="alternate"></a-animation>
<a-sphere radius="1.5" color="#7BC8A4"></a-sphere>
<a-cylinder position="0 5 0" height="10" radius="0.075" color="#404040"></a-cylinder>

<a-entity position="0 10 0">
<a-animation attribute="rotation" to="90 90 0" dur="2000" begin="0" repeat="indefinite" direction="alternate"></a-animation>
<a-sphere radius="1" color="#F16745"></a-sphere>
Expand Down Expand Up @@ -56,15 +56,15 @@

<a-entity rotation="0 0 0">
<a-animation attribute="rotation" to="0 0 360" dur="20000" easing="linear" repeat="indefinite"></a-animation>

<a-entity position="-18.25 -5 0" rotation="0 0 0">
<a-sphere radius="0.3" color="#7e3f1a"></a-sphere>
<a-cylinder position="0 5 0" height="10" radius="0.015" color="#7e3f1a"></a-cylinder>

<a-entity position="0 10 0" rotation="0 0 -36">
<a-sphere radius="0.5" color="#372246"></a-sphere>
<a-cylinder position="0 5 0" height="10" radius="0.015" color="#7e3f1a"></a-cylinder>

<a-entity position="0 10 0" rotation="0 0 -36">
<a-sphere radius="0.2" color="#7e3f1a"></a-sphere>
<a-cylinder position="0 5 0" height="10" radius="0.015" color="#7e3f1a"></a-cylinder>
Expand Down Expand Up @@ -92,7 +92,7 @@
<a-entity position="0 10 0" rotation="0 0 -36">
<a-sphere radius="0.3" color="#372246"></a-sphere>
<a-cylinder position="0 5 0" height="10" radius="0.015" color="#7e3f1a"></a-cylinder>

<a-entity position="0 10 0" rotation="0 0 -36">
<a-sphere radius="0.05" color="#7e3f1a"></a-sphere>
<a-cylinder position="0 5 0" height="10" radius="0.015" color="#7e3f1a"></a-cylinder>
Expand All @@ -101,9 +101,9 @@
</a-entity>
</a-entity>
</a-entity>
</a-entity>
</a-entity>
</a-entity>
</a-entity>
</a-entity>
</a-entity>
</a-entity>
</a-entity>
Expand All @@ -112,12 +112,12 @@

<a-entity>
<a-animation attribute="rotation" to="360 0 0" dur="50000" easing="linear" repeat="indefinite" direction="normal" fill="none"></a-animation>

<a-entity position="0 -20 -50">
<a-animation attribute="rotation" to="45 100 100" dur="5000" begin="250" repeat="indefinite" direction="alternate"></a-animation>
<a-sphere radius="1.5" color="#7BC8A4"></a-sphere>
<a-cylinder position="0 5 0" height="10" radius="0.075" color="#404040"></a-cylinder>

<a-entity position="0 10 0">
<a-animation attribute="rotation" to="90 90 0" dur="2000" begin="0" repeat="indefinite" direction="alternate"></a-animation>
<a-sphere radius="1" color="#F16745"></a-sphere>
Expand Down Expand Up @@ -152,12 +152,12 @@

<a-entity>
<a-animation attribute="rotation" to="360 360 0" dur="20000" easing="linear" repeat="indefinite" direction="normal" fill="none"></a-animation>

<a-entity position="-20 0 100">
<a-animation attribute="rotation" to="45 100 100" dur="5000" begin="250" repeat="indefinite" direction="alternate"></a-animation>
<a-sphere radius="1.5" color="#7BC8A4"></a-sphere>
<a-cylinder position="0 5 0" height="10" radius="0.075" color="#404040"></a-cylinder>

<a-entity position="0 10 0">
<a-animation attribute="rotation" to="90 90 0" dur="2000" begin="0" repeat="indefinite" direction="alternate"></a-animation>
<a-sphere radius="1" color="#F16745"></a-sphere>
Expand Down Expand Up @@ -196,7 +196,7 @@
<a-animation attribute="rotation" to="45 100 100" dur="5000" begin="250" repeat="indefinite" direction="alternate"></a-animation>
<a-sphere radius="1.5" color="#7BC8A4"></a-sphere>
<a-cylinder position="0 5 0" height="10" radius="0.075" color="#404040"></a-cylinder>

<a-entity position="0 10 0">
<a-animation attribute="rotation" to="90 90 0" dur="2000" begin="0" repeat="indefinite" direction="alternate"></a-animation>
<a-sphere radius="1" color="#F16745"></a-sphere>
Expand Down Expand Up @@ -231,7 +231,7 @@
<a-animation attribute="rotation" to="45 100 100" dur="5000" begin="250" repeat="indefinite" direction="alternate"></a-animation>
<a-sphere radius="1.5" color="#7BC8A4"></a-sphere>
<a-cylinder position="0 5 0" height="10" radius="0.075" color="#404040"></a-cylinder>

<a-entity position="0 10 0">
<a-animation attribute="rotation" to="90 90 0" dur="2000" begin="0" repeat="indefinite" direction="alternate"></a-animation>
<a-sphere radius="1" color="#F16745"></a-sphere>
Expand Down Expand Up @@ -266,7 +266,7 @@
<a-animation attribute="rotation" to="45 100 100" dur="5000" begin="250" repeat="indefinite" direction="alternate"></a-animation>
<a-sphere radius="1.5" color="#7BC8A4"></a-sphere>
<a-cylinder position="0 5 0" height="10" radius="0.075" color="#404040"></a-cylinder>

<a-entity position="0 10 0">
<a-animation attribute="rotation" to="90 90 0" dur="2000" begin="0" repeat="indefinite" direction="alternate"></a-animation>
<a-sphere radius="1" color="#F16745"></a-sphere>
Expand Down Expand Up @@ -298,7 +298,7 @@
</a-entity>

</a-entity>

<a-sky src="../_skies/black-gradient-2.png" rotation="0 0 0"></a-sky>
<a-entity light="type: directional; color: #FFF; intensity: 0.5" position="-1 2 1"></a-entity>
<a-entity light="type: ambient; color: #461e06;"></a-entity>
Expand Down
4 changes: 2 additions & 2 deletions examples/animation-generic-logo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<meta charset="utf-8">
<title>Animations: Generic Logo</title>
<meta name="description" content="Animations: Generic Logo - A-Frame">
<script src="../../build/aframe.js"></script>
<script src="../../dist/aframe.js"></script>
</head>
<body>
<a-scene>

<a-camera fov="80" near="0.1" wasd-controls-enabled="false" cursor-visible="false"></a-camera>

<!-- A generic logo made of animated elements -->
Expand Down
2 changes: 1 addition & 1 deletion examples/animation-plane-reveals/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>Animations: Plane Reveals</title>
<meta name="description" content="Animations: Plane Reveals - A-Frame">
<script src="../../build/aframe.js"></script>
<script src="../../dist/aframe.js"></script>
</head>
<body>
<a-scene>
Expand Down
2 changes: 1 addition & 1 deletion examples/animation-template-test/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>Animations: Template Test</title>
<meta name="description" content="Animations: Template Test - A-Frame">
<script src="../../build/aframe.js"></script>
<script src="../../dist/aframe.js"></script>
</head>
<body>
<a-scene>
Expand Down
8 changes: 4 additions & 4 deletions examples/animation-translates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>Animations: Translates</title>
<meta name="description" content="Animations: Translates - A-Frame">
<script src="../../build/aframe.js"></script>
<script src="../../dist/aframe.js"></script>
</head>
<body>
<a-scene>
Expand All @@ -14,7 +14,7 @@
<!-- 1 -->
<!-- Animate the cylinder scales on the Y-axes -->
<a-entity position="-5 0 0">

<a-cylinder position="0 2 0" radius="2" height="2" color="#4CC3D9" open-ended="true" side="double">
<a-animation attribute="scale" from="1 1.25 1" to="1 0 1" dur="2000" fill="forwards"></a-animation>
</a-cylinder>
Expand All @@ -29,7 +29,7 @@
<!-- Animate the cylinder scales on the Y-axes -->
<!-- Move the cylinder translates to the top and bottom edges, respectively, with translate and position -->
<a-entity>

<a-cylinder position="0 2 0" radius="2" height="2" translate="0 -1 0" color="#4CC3D9" open-ended="true" side="double">
<a-animation attribute="scale" from="1 1.25 1" to="1 0 1" dur="2000" fill="forwards"></a-animation>
</a-cylinder>
Expand All @@ -46,7 +46,7 @@
<!-- Animate the parent entity scale on the Y-axis -->
<a-entity position="5 0 0">
<a-animation attribute="scale" from="1 0 1" to="1 1 1" dur="2000" fill="forwards"></a-animation>

<a-cylinder position="0 2 0" radius="2" height="2" translate="0 -1 0" color="#4CC3D9" open-ended="true" side="double">
<a-animation attribute="scale" from="1 1.25 1" to="1 0 1" dur="2000" fill="forwards"></a-animation>
</a-cylinder>
Expand Down
8 changes: 4 additions & 4 deletions examples/animation-unfold/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
<meta charset="utf-8">
<title>Animation: Unfold</title>
<meta name="description" content="Animation: Unfold - A-Frame">
<script src="../../build/aframe.js"></script>
<script src="../../dist/aframe.js"></script>
</head>
<body>
<a-scene>

<!-- A series of nested boards that unfold one by one -->

<a-entity position="0 0 -4" scale="1 1 1">

<!-- Animations rotate and position the group for a bit of extra visual flair -->
Expand All @@ -29,10 +29,10 @@

<a-cube position="0 -1 0" width="6" height="1" depth=".05" translate="0 -0.5 0" color="#4CC3D9">
<a-animation attribute="rotation" from="-180 0 0" to="0 0 0" dur="1000" begin="750" fill="both"></a-animation>

<a-cube position="0 -1 0" width="6" height="1" depth=".05" translate="0 -0.5 0" color="#93648D">
<a-animation attribute="rotation" from="-180 0 0" to="0 0 0" dur="1000" begin="1000" fill="both"></a-animation>

</a-cube>
</a-cube>
</a-cube>
Expand Down
2 changes: 1 addition & 1 deletion examples/animation-warps/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>Animations: Warps</title>
<meta name="description" content="Animations: Warps - A-Frame">
<script src="../../build/aframe.js"></script>
<script src="../../dist/aframe.js"></script>
</head>
<body>
<a-scene>
Expand Down
6 changes: 3 additions & 3 deletions examples/boilerplate-360video/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
<meta charset="utf-8">
<title>360 Video</title>
<meta name="description" content="360 Video — A-Frame">
<script src="../../build/aframe.js"></script>
<script src="../../dist/aframe.js"></script>
</head>
<body>
<a-scene>

<a-videosphere src="https://ucarecdn.com/bcece0a8-86ce-460e-856b-40dac4875f15/" autoplay="true" loop="true" rotation="0 180 0"></a-videosphere>

</a-scene>
</body>
</html>
4 changes: 2 additions & 2 deletions examples/boilerplate-3Dmodel/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
<meta charset="utf-8">
<title>3D Model</title>
<meta name="description" content="3D Model — A-Frame">
<script src="../../build/aframe.js"></script>
<script src="../../dist/aframe.js"></script>
</head>
<body>
<a-scene>

<a-model src="../_models/tree2/tree2.dae" rotation="0 45 0"></a-model>

<a-sky color="#ECECEC"></a-sky>

</a-scene>
</body>
</html>
2 changes: 1 addition & 1 deletion examples/boilerplate-flythrough/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>Fly Through</title>
<meta name="description" content="Fly Through - A-Frame">
<script src="../../build/aframe.js"></script>
<script src="../../dist/aframe.js"></script>
</head>
<body>
<a-scene>
Expand Down
2 changes: 1 addition & 1 deletion examples/boilerplate-helloworld/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>Hello, World! • A-Frame</title>
<meta name="description" content="Hello, World! • A-Frame">
<script src="../../build/aframe.js"></script>
<script src="../../dist/aframe.js"></script>
</head>
<body>
<a-scene>
Expand Down
2 changes: 1 addition & 1 deletion examples/boilerplate-panorama/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>Panorama</title>
<meta name="description" content="Panorama — A-Frame">
<script src="../../build/aframe.js"></script>
<script src="../../dist/aframe.js"></script>
</head>
<body>
<a-scene>
Expand Down
6 changes: 3 additions & 3 deletions examples/interaction-cursor/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>Cursor</title>
<meta name="description" content="Cursor — A-Frame">
<script src="../../build/aframe.js"></script>
<script src="../../dist/aframe.js"></script>
</head>
<body>
<a-scene>
Expand All @@ -14,15 +14,15 @@

<!-- Orange cube -->
<a-cube position="0 3.5 -2" rotation="30 30 0" width="2" depth="2" height="2" color="#F16745" roughness="0.8">

<a-mouseenter scale="3 1 1" color="#FFC65D"></a-mouseenter>
<a-mouseenter target="#shadow" scale="3 2 2"></a-mouseenter>

<a-mouseleave scale="1 1 1" color="#F16745"></a-mouseleave>
<a-mouseleave target="#shadow" scale="2 2 2"></a-mouseleave>

</a-cube>

<!-- Cube's shadow -->
<a-image id="shadow" position="0 0 -2" src="../_images/radial-shadow-2.png" opacity="0.5" rotation="-90 0 0" scale="2 2 2"></a-image>

Expand Down
2 changes: 1 addition & 1 deletion examples/interaction-hovers/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>Interactions</title>
<meta name="description" content="Interactions - A-Frame">
<script src="../../build/aframe.js"></script>
<script src="../../dist/aframe.js"></script>
</head>
<body>

Expand Down
2 changes: 1 addition & 1 deletion examples/interaction-lookat/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>Look At</title>
<meta name="description" content="Look At - A-Frame">
<script src="../../build/aframe.js"></script>
<script src="../../dist/aframe.js"></script>
</head>
<body>
<a-scene>
Expand Down
6 changes: 3 additions & 3 deletions examples/showcase-anime-UI/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>Anime UI</title>
<meta name="description" content="Anime UI — A-Frame">
<script src="../../build/aframe.js"></script>
<script src="../../dist/aframe.js"></script>
</head>
<body>
<a-scene>
Expand All @@ -19,7 +19,7 @@
<!-- WALL LIGHTS -->

<a-entity position="-7.25 1.5 2.9" rotation="0 90 0" scale="1.25 1.25 1.25">

<a-entity position="0 0 0" scale="0.05 0.05 0.05">
<a-plane width="1" height="4" shader="flat" color="#B4E2F8">
<a-animation attribute="visible" from="false" to="true" begin="350" dur="1" fill="both"></a-animation>
Expand Down Expand Up @@ -128,7 +128,7 @@
<a-image src="images/glow1.png" scale="5 5 5" position="0 0 -2">
<a-animation attribute="visible" from="false" to="true" begin="1500" dur="1" fill="both"></a-animation>
</a-image>

<a-image src="images/ring2.png" scale="1.75 1.75 1.75" position="0 0 -1.2">
<a-animation attribute="visible" from="false" to="true" begin="1400" dur="1" fill="both"></a-animation>
</a-image>
Expand Down
2 changes: 1 addition & 1 deletion examples/showcase-composite/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>Composite</title>
<meta name="description" content="Composite — A-Frame">
<script src="../../build/aframe.js"></script>
<script src="../../dist/aframe.js"></script>
</head>
<body>
<a-scene>
Expand Down
2 changes: 1 addition & 1 deletion examples/showcase-curved-mockups/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>Curved Images</title>
<meta name="description" content="Curved Images - A-Frame">
<script src="../../build/aframe.js"></script>
<script src="../../dist/aframe.js"></script>
</head>
<body>
<a-scene>
Expand Down
Loading

0 comments on commit 5b0da82

Please sign in to comment.