VTuberKit
VTuberKit copied to clipboard
Avatar support library like an AvatarKit (Animoji)
VTuberKit
Avatar support library
Features
- [x] Show VRM avatar
- [x] Facial morphing (blend shape)
- [x] Bone animation (skin / joint)
- [x] Face tracking
VTuber is a trending avatar style in Japan :wink:
For "VRM", please refer to this page.
Requirements
- Xcode 12.x
- Swift 5.x
- iOS 12.0+
Installation
Carthage (Recommended)
github "tattn/VTuberKit"
Add VTuberKit.framework, VRMKit.framework and VRMSceneKit.framework into Linked frameworks and Libraries.
CocoaPods
pod 'VTuberKit'
Dependencies
VTuberKit is depended on tattn/VRMKit. Please also see it.
Usage
Show avatar
import VTuberKit
@IBOutlet weak var avatarView: AvatarView!
try avatarView.loadModel(withName: "model.vrm")
Face tracking
avatarView.startFaceTracking()
avatarView.stopFaceTracking()
More details
- Facial morphing and bone animation
- Example
ToDo
- [ ] Improve face tracking
- [ ] Face tracking for All iOS devices without TrueDepth API
- [ ] Add pose presets
- [ ] Add many utility functions
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature - Commit your changes:
git commit -am 'Add some feature' - Push to the branch:
git push origin my-new-feature - Submit a pull request :D
Support this project
Donating to help me continue working on this project.
License
VTuberKit is released under the MIT license. See LICENSE for details.
Author
Tatsuya Tanaka