Skip to main content

vecta_bones 1.0.0 copy "vecta_bones: ^1.0.0" to clipboard
vecta_bones: ^1.0.0 copied to clipboard

Bone and rigging engine for Vecta animation runtime.

vecta_bones #

Bone and rigging engine for the Vecta animation framework. Provides skeletal animation with forward kinematics for SVG elements.

Features #

  • Bone hierarchy with parent-child relationships
  • Forward kinematics (FK)
  • Bone-to-node binding for SVG element deformation
  • Keyframe-based animation with easing curves
  • Pure Dart -- no Flutter dependency

Getting started #

dependencies:
  vecta_bones: ^1.0.0

Usage #

import 'package:vecta_bones/vecta_bones.dart';

final rig = BoneRig(bones: [
  BoneDef(name: 'root', bindTo: ['body']),
  BoneDef(name: 'armLeft', parent: 'root', bindTo: ['armLeft']),
  BoneDef(name: 'armRight', parent: 'root', bindTo: ['armRight']),
]);

Additional information #

Part of the Vecta monorepo. See the main repository for full documentation.

0
likes
160
points
9
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Bone and rigging engine for Vecta animation runtime.

Repository (GitHub)
View/report issues

License

MIT (license)

More

Packages that depend on vecta_bones