3D动漫人物代码

<div id="page_end_html">
    <script src="https://eqcn.ajz.miesnfu.com/wp-content/plugins/wp-3d-pony/live2dw/lib/L2Dwidget.min.js"></script>
    <script>
        var  style2="https://unpkg.com/live2d-widget-model-hijiki@1.0.5/assets/hijiki.model.json"
            ,style3="https://unpkg.com/live2d-widget-model-shizuku@1.0.5/assets/shizuku.model.json"
            ,style4="https://unpkg.com/live2d-widget-model-tororo@1.0.5/assets/tororo.model.json"
            ,style5="https://unpkg.com/live2d-widget-model-wanko@1.0.5/assets/wanko.model.json"
            ,style6="https://unpkg.com/live2d-widget-model-z16@1.0.5/assets/z16.model.json"
            ,style7="https://unpkg.com/live2d-widget-model-koharu@1.0.5/assets/koharu.model.json"
        L2Dwidget.init({ "model": { jsonPath:
                style6,
                "scale": 1 }, "display": { "position": "left", "width": 150, "height": 300,
                "hOffset": 0, "vOffset": -20 }, "mobile": { "show": true, "scale": 0.5 },
            "react": { "opacityDefault": 0.7, "opacityOnHover": 0.2 } });
    </script>
</div>

  效果图:

 

posted @ 2020-04-08 16:08  宁佳兵  阅读(2091)  评论(0编辑  收藏  举报