Swiftpack.co -  tattn/VTuberKit as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
tattn/VTuberKit
Avatar support library like an AvatarKit (Animoji)
.package(url: "https://github.com/tattn/VTuberKit.git", from: "0.1.4")

VTuberKit

Avatar support library

demo

Features

  • ☑ Show VRM avatar
  • ☑ Facial morphing (blend shape)
  • ☑ Bone animation (skin / joint)
  • ☑ 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

ToDo

  • ☐ Improve face tracking
  • ☐ Face tracking for All iOS devices without TrueDepth API
  • ☐ Add pose presets
  • ☐ Add many utility functions

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Support this project

Donating to help me continue working on this project.

Donate

License

VTuberKit is released under the MIT license. See LICENSE for details.

Author

Tatsuya Tanaka

Twitter GitHub

GitHub

link
Stars: 98
Last commit: 18 weeks ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Dependencies

Release Notes

Swift PM support 🎉
1 year ago

Thanks @noppefoxwolf

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API