Skip to content
项目

关于

A Live2D Cubism model renderer for terminal, support face tracking

设计与媒体

这些数字如何统计

可以做什么

  • Separate live2d framework to a crate.
  • Support processes interaction.
  • Enable multiply expressions.

实测星标增长

24小时
0
7天
0
15天
+1
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Live-ASCII

A Live2D Cubism model renderer for terminal. It also support face tracking.

showcase

Usage

You must have the Live2D Cubism SDK Core library: Live2D Cubism SDK.
(need version 5-r.5) Create a .env file in the project root to specify the path to the SDK directory:

# Example .env configuration
CubismSDKDir=/path/to/your/CubismSDK/Core/lib
cargo run --release -- ./path/to/model.model3.json

You can download and try Live2D sample model here.

# Run with camera tracking enabled
cargo run --release -- ./path/to/model.model3.json --camera

Note: For face tracking, ensure OpenSeeFace is running and sending data to the default UDP port (11573).

Basic Operations

The arrow keys are used for moving the camera, and the + - keys are used for zooming in and out.

Interactions

In order to interact with app. You need to write a model_name.live.json file and place it in the same folder as your model_name.model3.json.
examples:

{
  "Version": 1,
  "Name": "your_model_name",
  "Hotkeys": [
    {
      "Action": "Open/Close Motion Panel",
      "Triggers": {
        "Trigger1": "M",
        "Trigger2": "",
        "Trigger3": ""
      }
    },
    {
      "Action": "Open/Close Debug Panel",
      "Triggers": {
        "Trigger1": "D",
        "Trigger2": "",
        "Trigger3": ""
      }
    },
    {
      "Action": "Enable/Disable Physics",
      "Triggers": {
        "Trigger1": "P",
        "Trigger2": "",
        "Trigger3": ""
      }
    },
    {
      "Action": "Open/Close Camera",
      "Triggers": {
        "Trigger1": "C",
        "Trigger2": "",
        "Trigger3": ""
      }
    }
  ]
}

Features in future

  • Separate live2d framework to a crate.
  • Support processes interaction.
  • Enable multiply expressions.

探索相关项目

加载中…