Newer
Older
VirtualSchool / VR-2022 / VR-2022.html
@sakurai sakurai on 7 May 2022 1020 bytes Add files via upload
<!DOCTYPE html>
<html lang="ja">
 <head>
 <meta charset="utf-8">
 <title>タイトル</title>
 <link rel="stylesheet" href="VR-2022.css">
<script src="https://aframe.io/releases/1.2.0/aframe.min.js"></script>
 </head>

 <body>
   <a-scene id="vr" embedded>
    <a-assets>
      <img id="360"  src="360picture/360picture.JPG">
    </a-assets>
    <a-sky src="360picture/360picture.JPG" rotation="0 -130 0"></a-sky>


    <a-camera look-controls wasd-controls position="0 0 0">
      <a-entity
        cursor="fuse: true; timeout:500;"
        scale="0.2 0.2 0.2"
        position="0 0 -1"
        geometry="primitive: ring"
        material="color: red;">
      </a-entity></a-camera>

  <a-entity id="changeObject"></a-entity>

</a-scene>
<form id="form1" action="#">
<p><input type="text" id="X"></p>
<p><input type="text" id="Y"></p>
<p><input type="text" id="Z"></p>
<p><input type="button" value="送信" onclick="Click()"/></p>
</form>

 </body>


 <script type="text/javascript" src="VR-2022.js"></script>
</html>