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 ساعة
٠
خلال 7 أيام
٠
خلال 15 يومًا
+١
خلال شهر
جارٍ جمع السجل

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

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.

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…