3D动漫人物代码

时间:2024-02-18 17:09:40
<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>

  效果图: