pixelkiln 0.123.0 → 0.124.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/docs/SKELETONS.md CHANGED
@@ -15,7 +15,7 @@ connect. Each section links to the full reference.
15
15
  | Animate a character from a sentence or template, posed through its 3D skeleton | a `skeleton-v3` loop | 3 generations a direction (measured) |
16
16
  | Pin a held item to the hand in every frame | `pixelkiln anchors`, then an `attach` layer | 0.1 a frame to anchor, nothing to place |
17
17
  | Pose frames drawn on your own GPU | OpenPose maps with ComfyUI | Nothing (in progress) |
18
- | Rig a 3D model made from the sprites | the 3D research | Research, not a command |
18
+ | Rig a 3D model made from the sprites | [the 3D research](./CHARACTERS_3D.md) | Research, not a command |
19
19
 
20
20
  ## The 18 joints
21
21
 
@@ -297,7 +297,21 @@ must keep scale, camera and ground line fixed across a set. See
297
297
 
298
298
  The 3D research builds a mesh from a character's eight drawn directions,
299
299
  binds it to a skeleton, and drives it with motion. It is research, not a
300
- command yet. See [Research: 3D models from sprites](./RESEARCH_3D.md).
300
+ command yet. [3D characters from sprites](./CHARACTERS_3D.md) is the guide,
301
+ and [Research: 3D models from sprites](./RESEARCH_3D.md) records every step.
302
+
303
+ The rig starts from the same 18 joints. They are estimated in each of the
304
+ eight directions, and the eight flat answers are combined into one position
305
+ in space for each joint. From those, `rig.py` builds 21 bones under the names
306
+ Unity's and Godot's humanoid profiles use (Hips, Spine, Chest, Neck, Head, and
307
+ a Shoulder, UpperArm, LowerArm, Hand, UpperLeg, LowerLeg, Foot and Toes for
308
+ each side). Where the mesh has a thumb standing apart from the fingers, which
309
+ a 256px source gives and a 64px one does not, each hand also gets three thumb
310
+ bones, one chain of three for the four fingers together (under the middle
311
+ finger's names), and a point that marks where a grip goes. A hanging item such
312
+ as a cape gets chains of bones of its own. Stock animations are carried over
313
+ from a humanoid library made for a different skeleton, and a cape's swing is
314
+ simulated once and stored in each animation.
301
315
 
302
316
  ## Props, capes and hats
303
317
 
@@ -470,7 +484,7 @@ These are separate skeletons that share the same 18 joints:
470
484
  | An anchors file | committed JSON, one entry per frame | nobody: it records where the joints already are |
471
485
  | PixelLab's stored 3D skeleton | on your PixelLab account, with a v3 character | PixelLab, from a template or a sentence |
472
486
  | An OpenPose map | a committed PNG per frame | you, or a script |
473
- | A 3D rig | the research's model files | motion data, retargeted |
487
+ | A 3D rig | a `.glb` written by the research's `rig.py`: 21 humanoid bones, a thumb and one finger chain a hand where the mesh shows a thumb, plus chains for a cape | stock animations carried over by `retarget.py`; a cape's swing stored by `sway.py` |
474
488
 
475
489
  A keypoints file and an anchors file are local files PixelKiln reads, hashes
476
490
  and checks. A stored 3D skeleton is never downloaded, so PixelKiln cannot show
@@ -493,7 +507,7 @@ means no primary source confirmed the number.
493
507
  | [Godot 4 SkeletonProfileHumanoid](https://docs.godotengine.org/en/stable/classes/class_skeletonprofilehumanoid.html) | 3D rig | 56 bones in all | 15 | MIT | A target for exported rigs |
494
508
  | [VRM 1.0 humanoid](https://github.com/vrm-c/vrm-specification/blob/master/specification/VRMC_vrm-1.0/humanoid.md) | 3D rig | 15 required bones, 40 optional | 15, all optional | VRM specification | Not used |
495
509
  | [glTF 2.0 skins](https://github.com/KhronosGroup/glTF/blob/main/specification/2.0/Specification.adoc) | 3D file format | any | any | Khronos | The 3D research writes `.glb` |
496
- | [Quaternius Universal Animation Library](https://quaternius.com/packs/universalanimationlibrary.html) | 3D animations | unchecked (Unreal mannequin names) | unchecked | CC0 | The 3D research retargets its walks and attacks |
510
+ | [Quaternius Universal Animation Library](https://quaternius.com/packs/universalanimationlibrary.html) | 3D animations | 65 bones, Unreal mannequin names (standard edition, read from its file) | 15 a hand, plus a tip bone for each finger. Its animations do pose them: fists in the walk and idle, a closed right hand in the sword animations (read from the file) | CC0 | The 3D research retargets its walks and attacks, using 21 of the body bones and, for each hand, the thumb and middle finger |
497
511
  | [DragonBones](https://github.com/DragonBones/DragonBonesJS) / [Spine](https://esotericsoftware.com/spine-runtimes-license) | 2D bones | any | any | DragonBones MIT; Spine needs an editor license per user | Not used |
498
512
 
499
513
  Unity's Humanoid avatar, Mixamo and Unreal's mannequin all have finger bones, but
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pixelkiln",
3
- "version": "0.123.0",
3
+ "version": "0.124.0",
4
4
  "description": "Manifest-driven pixel-art generation, review, recovery, and packaging with deterministic provenance.",
5
5
  "type": "module",
6
6
  "sideEffects": false,