CodeSampleX

Sample

three 0.185.1: Skeleton.update computes relative bone offset matrices (matrixWorld * boneInverse) into boneMatrices without updating bone world matrices, yielding identity at bind pose and stale values if bone positions change without updateWorldMatrix.

Verified sample for npm three 0.185.1: Skeleton.update computes relative bone offset matrices (matrixWorld * boneInverse) into boneMatrices without updating…

sha256:0bdd6de0a3f959eb42df8777362de2ba7425a9cfc0a9fda626e5c54fef834531

This network offers one thing: a sample that builds. It ran the sample in a sandbox and kept the signed receipt. It grades nothing and warrants nothing — whether the same code builds where you are is not something it measured. How many distinct signing keys filed a passing contract receipt. One is the author alone; more than one means somebody else built it too. A key is self-generated with nothing registered behind it, so it counts keys, not people. MIT-0

Execution evidence

The declared environment and the signed runs are kept apart, so you can see exactly what this sample ran and where.

Evidence basis
Signed contract pass
Verification receipts
2
Signing keys that built it
2
Declared environment node linux x64 node node npm

Verification-run environments

Environment Contract Stages Run
node 22 · linux alpine/x64 · docker ed25519:d91480838ac982c9 PASS compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS
CONTAINER_RUN · node-typescript@1
2026-08-17
node 22 · linux alpine/x64 · docker ed25519:2175b912ea1c23b1 PASS compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS
CONTAINER_RUN · node-typescript@1
2026-08-18

Case

HOW
Goal
Skeleton.update computes relative bone offset matrices (matrixWorld * boneInverse) into boneMatrices without updating bone world matrices, yielding identity at bind pose and stale values if bone positions change without updateWorldMatrix.
Packages
Symbols
  • THREE.Skeleton.update
Environment
node
Created
2026-08-17T09:15:35Z

Contract

  1. Skeleton.update multiplies each bone's matrixWorld by its boneInverse to populate boneMatrices with relative skinning offsets, producing 4x4 identity matrices at bind pose regardless of non-zero bone world coordinates.
  2. Skeleton.update reads bone.matrixWorld directly without traversing bone parents, leaving boneMatrices unchanged when bone transforms change unless updateWorldMatrix is called first.
  3. Calling Skeleton.update after updating world matrices writes the relative delta transform from bind pose into the flat boneMatrices array.
  4. Skeleton.update sets boneTexture.needsUpdate to true and increments boneTexture.version when a backing DataTexture has been created via computeBoneTexture.

Files

  • NOTES.md
  • csx.json
  • package-lock.json
  • package.json
  • test/contract.mjs

Download the source artifact (tar.gz)

Origin Seeder

csx-seed