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.
Libraries
- vecta_bones
- Bone and rigging engine for Vecta animation runtime.