Commit Graph
11 Commits
Author SHA1 Message Date
Tanish Manku 2972440207 feat(bones): mixed armatures, symbol instances and shapes in one armature (M7)
Bones marked with the shape they are inside bend it through that shape's skin;
other bones move an instance or a whole shape. One pose, solver and tween.
A document with a mixed armature is written as format version 4; every other
document byte for byte as before.

Measured (optimised test profile): 25 bones, two shapes of 1,002 points and
8 instances bind in 1.6 ms and pose in 0.066 ms per frame; IK through all 25
bones 0.07 ms.
2026-11-16 18:32:56 -07:00
Tanish Manku 6e8749ff4b feat(engine): bone.paint_weights, bone.set_weight, and Subselection edits that reshape a bound shape at rest (M7) 2026-11-13 19:26:11 -07:00
Tanish Manku 42a69a3b59 feat(engine): joint translation, bone springs and member properties in place (M7) 2026-11-13 00:54:20 -07:00
Tanish Manku 5136eef95b feat(doc): joint translation and bone springs in the armature model (M7) 2026-11-13 00:53:41 -07:00
Tanish Manku f2efea8191 feat(doc): groups (Modify › Group, Ungroup), edited in place, and Combine Objects (M1)
A group element kind holding its members as a one-layer, one-frame timeline
(serde default; older files unchanged), evaluated like an instance on its
layer; every walker (Library uses, sounds, player, HTML export, explorer,
clipboard, Library deletion) sees inside groups. symbol.edit opens a group in
place; the editing stack levels are symbols or groups. modify.group (Ctrl+G),
modify.ungroup (Ctrl+Shift+G), Break Apart on groups, and modify.combine
(Union, Intersect, Punch, Crop) on the planar map. Reserves ADR 0073.

Refs #206, #229
2026-11-12 13:53:34 -07:00
Tanish Manku 82b13c9cce fix(bones): chains join end to start and grabbed points follow the drag (M1) 2026-11-12 12:42:55 -07:00
Tanish Manku 430ebb04ec feat(ui): bones inside shapes with the Bone tool, and the Bind tool (M7) 2026-11-12 00:41:58 -07:00
Tanish Manku 77fe2d152e feat(engine): bone.add_in_shape and bone.bind for shape armatures (M7) 2026-11-12 00:41:58 -07:00
Tanish Manku 97f7d5c50d feat(doc): shape armatures: skins, automatic binding and linear blend skinning (M7) 2026-11-12 00:41:58 -07:00
Tanish Manku 43f7bff81e feat(engine): edit a symbol's timeline in place: every command, merge drawing and the raw tools work inside it (M1) 2026-11-10 19:00:39 -07:00
Tanish Manku 70f1305bb6 feat(doc): armature layers, joint-angle poses and CCD inverse kinematics (M7)
An armature layer holds symbol instances joined by bones (a joint on the
parent instance, the child turning about it). Keyframes store poses as
joint angles, tweened with the span's easing and applied by forward
kinematics in evaluate_layer_elements, so every export, the GPU stage and
the player see them. bone.add/remove/set_limits/pin/pose/solve/info
commands; IK by cyclic coordinate descent with joint limits and pins.
2026-11-10 15:10:36 -07:00