Files
moeka-project/packages/model-driver-magic-live2d
nanakura dc26878386
CI / Lint (push) Canceled after 0s
CI / Build Test (stage-web) (push) Canceled after 0s
CI / Build Test (ui-loading-screens) (push) Canceled after 0s
CI / Build Test (ui-transitions) (push) Canceled after 0s
CI / Unit Test (push) Canceled after 0s
CI / Type Check (push) Canceled after 0s
CI / Check Provenance (push) Canceled after 0s
Sync Labels / sync-labels (push) Successful in 1m43s
chore: prune unused apps and services for the moeka fork
- Remove stage-tamagotchi, stage-pocket, server, and engine workspaces with their workflows, addons, and docs
- Switch the toolchain from pnpm to bun, replace lockfiles with bun.lock
- Rewrite remaining product references to Moeka
2026-09-14 16:40:49 +07:00
..

@proj-airi/model-driver-magic-live2d

This package applies MAGIC motion generators to normalized Live2D poses. It owns pose conversion, fixed-rate scheduling, output filtering, and target release.

Use the package

import { createDriver } from '@proj-airi/model-driver-magic-live2d'

const driver = createDriver({
  target: {
    apply: pose => motionControl.setPose(ownerId, pose, dynamics),
    release: () => motionControl.release(ownerId),
  },
})

driver.start(model.toGenerator({ seed: 1 }))

The package does not import Vue, Pinia, BroadcastChannel, or a Live2D renderer. The application supplies the target adapter at the driver seam.