Newer
Older
reroad-test / 2020-ryusei / sample.html
@ryusei ryusei on 20 Nov 2020 1 KB edit file
<!DOCTYPE html>
<html lang="ja">

<head>
  <title>やまなの作業場</title>
  <link rel="stylesheet" href="./skip.css" type="text/css">
  <script type="text/javascript" src="aframe-master/dist/aframe-v1.0.4.min.js"></script>
</head>

<body>
  <a-scene id="vr" embedded>
    <a-assets>
      <img id="360" src="360picture/R0010010.JPG" alt="松ヶ岡">
      <img id="icon" src="icon.png" alt="マップアイコン">
    </a-assets>
    <a-sky src="#360" rotation="0 100 0"></a-sky>
    <a-camera position="0 0 0">
      <a-cursor fuse="true" fuse-timeout="3000" color="red" scale="4 4">
        <a-animation begin="mouseenter" easing="ease-out" attribute="scale" fill="forwards" from="4 4 4" to="1 1 1" dur="300">
        </a-animation>
      </a-cursor>
    </a-camera>
    <a-entity class="link-object" data-link="https://www.yatex.org/gitbucket/SKIP/reroad-test/pages/2020-skippage/index.html" geometry="primitive: plane; width: 10; height: 10" position="-35 0 8" rotation="0 90 0" material="color: white"></a-entity>
    <a-image src="#icon" width="12" height="12" position="-35 0 8" rotation="0 90 0"></a-image>
  </a-scene>
  <script type="text/javascript" src="move.js"></script>
</body>