How to Calculate skinIndices and skinWeights for Developing SkinnedMesh?

Something more recent:

From the Collection of examples from discourse.threejs.org

Pino

see Pino - a procedurally generated and moved skeleton figure