Giter Club home page Giter Club logo

live2d's Introduction

Live2D 看板娘(少女前线)

详细说明:给你的网站添加一个萌萌哒的Live2D看板娘

默认

  1. 下载项目代码,将 live2d_default 放到你的站点根目录,waifu-tips.json 中为触发内容可以修改,最后引用 autoload.js 即可,一般放到 footer.php</body> 标签之前:
<script src="/live2d_load/autoload.js"></script>

少女前线

  1. 下载项目代码,除了 live2d_default 将其他目录放到你的站点根目录,waifu-tips.json 中为触发内容可以修改

  2. live2d/model_list.jsonlive2d/model 为加载的模型列表,可以自己精简

  3. 然后在你主题的 footer.php 文件 </body> 标签之前引用即可

<script src="/live2d_girls/autoload.js"></script>
  1. 如果你要修改更多请查看下面引用的前两个项目的说明文档

补充

autoload.js 中的 apiPath: 为 live2d API 接口,默认即可,如果你有其他的也可以修改 autoload.js 中的 cdnPath: 为对象存储路径,注意跨域的问题,不使用请注释掉 Json配置(SDK 2):http://live2d.pavostudio.com/doc/zh-cn/live2d/model-config/

引用

Live2D API

Live2D Widget

live2d's People

Contributors

fog-forest avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.