zoukankan      html  css  js  c++  java
  • 微信小程序中引入VR全景图

    参考:https://blog.csdn.net/yiweiIt/article/details/105730964

    https://developers.weixin.qq.com/miniprogram/dev/component/web-view.html

    https://blog.csdn.net/hahahhahahahha123456/article/details/103348073?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-1.channel_param&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-1.channel_param

    <html>
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>A simple example</title>
        <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/pannellum@2.5.6/build/pannellum.css"/>
        <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/pannellum@2.5.6/build/pannellum.js"></script>
        <style>
        #panorama {
             600px;
            height: 400px;
        }
        </style>
    </head>
    <body>
    
    <div id="panorama"></div>
    <script>
    pannellum.viewer('panorama', {
        "type": "equirectangular",
        "panorama": "https://pannellum.org/images/alma.jpg"
    });
    </script>
    
    </body>
    </html>

     https://pannellum.org/   开源vr 插件

  • 相关阅读:
    php基础语言
    cookie和setting
    php数据连接
    php连接sql
    php提交
    今天学习了php的数据类型
    第一天进入php,这只是自己的一个心情
    02-07 (2) 自连接
    内连接 和左连接查询 02-07 (1)
    out 和ref 的区别
  • 原文地址:https://www.cnblogs.com/taxun/p/13826589.html
Copyright © 2011-2022 走看看