@automovie/human 0.0.0 → 0.2.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.
Files changed (233) hide show
  1. package/README.md +29 -16
  2. package/lib/generation/AutoMovieHumanDigitJoints.d.ts +8 -26
  3. package/lib/generation/AutoMovieHumanDigitJoints.js +9 -37
  4. package/lib/generation/AutoMovieHumanDigitJoints.js.map +1 -1
  5. package/lib/generation/{AutoMovieHumanLegSection.d.ts → AutoMovieHumanLegSectionProportion.d.ts} +1 -1
  6. package/lib/generation/{AutoMovieHumanLegSection.js → AutoMovieHumanLegSectionProportion.js} +17 -14
  7. package/lib/generation/AutoMovieHumanLegSectionProportion.js.map +1 -0
  8. package/lib/generation/arm/AutoMovieHumanArmFrame.js +2 -2
  9. package/lib/generation/arm/AutoMovieHumanArmFrame.js.map +1 -1
  10. package/lib/generation/arm/index.d.ts +28 -0
  11. package/lib/generation/arm/index.js +45 -0
  12. package/lib/generation/arm/index.js.map +1 -0
  13. package/lib/generation/conic/AutoMovieHumanConicLoft.d.ts +154 -0
  14. package/lib/generation/conic/AutoMovieHumanConicLoft.js +430 -0
  15. package/lib/generation/conic/AutoMovieHumanConicLoft.js.map +1 -0
  16. package/lib/generation/conic/AutoMovieHumanConicPose.d.ts +92 -0
  17. package/lib/generation/conic/AutoMovieHumanConicPose.js +202 -0
  18. package/lib/generation/conic/AutoMovieHumanConicPose.js.map +1 -0
  19. package/lib/generation/conic/AutoMovieHumanConicRelief.d.ts +52 -0
  20. package/lib/generation/conic/AutoMovieHumanConicRelief.js +88 -0
  21. package/lib/generation/conic/AutoMovieHumanConicRelief.js.map +1 -0
  22. package/lib/generation/conic/AutoMovieHumanConicSection.d.ts +252 -0
  23. package/lib/generation/conic/AutoMovieHumanConicSection.js +567 -0
  24. package/lib/generation/conic/AutoMovieHumanConicSection.js.map +1 -0
  25. package/lib/generation/f1/AutoMovieHumanF1.d.ts +265 -0
  26. package/lib/generation/f1/AutoMovieHumanF1.js +1254 -0
  27. package/lib/generation/f1/AutoMovieHumanF1.js.map +1 -0
  28. package/lib/generation/f1/AutoMovieHumanF1Antihelix.d.ts +23 -0
  29. package/lib/generation/f1/AutoMovieHumanF1Antihelix.js +65 -0
  30. package/lib/generation/f1/AutoMovieHumanF1Antihelix.js.map +1 -0
  31. package/lib/generation/f1/AutoMovieHumanF1Arm.d.ts +18 -0
  32. package/lib/generation/f1/AutoMovieHumanF1Arm.js +82 -0
  33. package/lib/generation/f1/AutoMovieHumanF1Arm.js.map +1 -0
  34. package/lib/generation/f1/AutoMovieHumanF1Axilla.d.ts +18 -0
  35. package/lib/generation/f1/AutoMovieHumanF1Axilla.js +91 -0
  36. package/lib/generation/f1/AutoMovieHumanF1Axilla.js.map +1 -0
  37. package/lib/generation/f1/AutoMovieHumanF1Breast.d.ts +18 -0
  38. package/lib/generation/f1/AutoMovieHumanF1Breast.js +75 -0
  39. package/lib/generation/f1/AutoMovieHumanF1Breast.js.map +1 -0
  40. package/lib/generation/f1/AutoMovieHumanF1Concha.d.ts +40 -0
  41. package/lib/generation/f1/AutoMovieHumanF1Concha.js +81 -0
  42. package/lib/generation/f1/AutoMovieHumanF1Concha.js.map +1 -0
  43. package/lib/generation/f1/AutoMovieHumanF1FingerIndex.d.ts +18 -0
  44. package/lib/generation/f1/AutoMovieHumanF1FingerIndex.js +59 -0
  45. package/lib/generation/f1/AutoMovieHumanF1FingerIndex.js.map +1 -0
  46. package/lib/generation/f1/AutoMovieHumanF1FingerMiddle.d.ts +18 -0
  47. package/lib/generation/f1/AutoMovieHumanF1FingerMiddle.js +59 -0
  48. package/lib/generation/f1/AutoMovieHumanF1FingerMiddle.js.map +1 -0
  49. package/lib/generation/f1/AutoMovieHumanF1FingerPinky.d.ts +18 -0
  50. package/lib/generation/f1/AutoMovieHumanF1FingerPinky.js +75 -0
  51. package/lib/generation/f1/AutoMovieHumanF1FingerPinky.js.map +1 -0
  52. package/lib/generation/f1/AutoMovieHumanF1FingerRing.d.ts +18 -0
  53. package/lib/generation/f1/AutoMovieHumanF1FingerRing.js +75 -0
  54. package/lib/generation/f1/AutoMovieHumanF1FingerRing.js.map +1 -0
  55. package/lib/generation/f1/AutoMovieHumanF1FingerThumb.d.ts +18 -0
  56. package/lib/generation/f1/AutoMovieHumanF1FingerThumb.js +59 -0
  57. package/lib/generation/f1/AutoMovieHumanF1FingerThumb.js.map +1 -0
  58. package/lib/generation/f1/AutoMovieHumanF1Frames.d.ts +97 -0
  59. package/lib/generation/f1/AutoMovieHumanF1Frames.js +160 -0
  60. package/lib/generation/f1/AutoMovieHumanF1Frames.js.map +1 -0
  61. package/lib/generation/f1/AutoMovieHumanF1Hand.d.ts +18 -0
  62. package/lib/generation/f1/AutoMovieHumanF1Hand.js +81 -0
  63. package/lib/generation/f1/AutoMovieHumanF1Hand.js.map +1 -0
  64. package/lib/generation/f1/AutoMovieHumanF1Helix.d.ts +20 -0
  65. package/lib/generation/f1/AutoMovieHumanF1Helix.js +64 -0
  66. package/lib/generation/f1/AutoMovieHumanF1Helix.js.map +1 -0
  67. package/lib/generation/f1/AutoMovieHumanF1Joints.d.ts +231 -0
  68. package/lib/generation/f1/AutoMovieHumanF1Joints.js +249 -0
  69. package/lib/generation/f1/AutoMovieHumanF1Joints.js.map +1 -0
  70. package/lib/generation/f1/AutoMovieHumanF1Landmarks.d.ts +86 -0
  71. package/lib/generation/f1/AutoMovieHumanF1Landmarks.js +89 -0
  72. package/lib/generation/f1/AutoMovieHumanF1Landmarks.js.map +1 -0
  73. package/lib/generation/f1/AutoMovieHumanF1Leg.d.ts +18 -0
  74. package/lib/generation/f1/AutoMovieHumanF1Leg.js +82 -0
  75. package/lib/generation/f1/AutoMovieHumanF1Leg.js.map +1 -0
  76. package/lib/generation/f1/AutoMovieHumanF1Nose.d.ts +18 -0
  77. package/lib/generation/f1/AutoMovieHumanF1Nose.js +82 -0
  78. package/lib/generation/f1/AutoMovieHumanF1Nose.js.map +1 -0
  79. package/lib/generation/f1/AutoMovieHumanF1Nostril.d.ts +18 -0
  80. package/lib/generation/f1/AutoMovieHumanF1Nostril.js +59 -0
  81. package/lib/generation/f1/AutoMovieHumanF1Nostril.js.map +1 -0
  82. package/lib/generation/f1/AutoMovieHumanF1Placement.d.ts +75 -0
  83. package/lib/generation/f1/AutoMovieHumanF1Placement.js +151 -0
  84. package/lib/generation/f1/AutoMovieHumanF1Placement.js.map +1 -0
  85. package/lib/generation/f1/AutoMovieHumanF1Placing.d.ts +45 -0
  86. package/lib/generation/f1/AutoMovieHumanF1Placing.js +301 -0
  87. package/lib/generation/f1/AutoMovieHumanF1Placing.js.map +1 -0
  88. package/lib/generation/f1/AutoMovieHumanF1Plate.d.ts +18 -0
  89. package/lib/generation/f1/AutoMovieHumanF1Plate.js +59 -0
  90. package/lib/generation/f1/AutoMovieHumanF1Plate.js.map +1 -0
  91. package/lib/generation/f1/AutoMovieHumanF1ToeBig.d.ts +18 -0
  92. package/lib/generation/f1/AutoMovieHumanF1ToeBig.js +59 -0
  93. package/lib/generation/f1/AutoMovieHumanF1ToeBig.js.map +1 -0
  94. package/lib/generation/f1/AutoMovieHumanF1ToeIndex.d.ts +18 -0
  95. package/lib/generation/f1/AutoMovieHumanF1ToeIndex.js +59 -0
  96. package/lib/generation/f1/AutoMovieHumanF1ToeIndex.js.map +1 -0
  97. package/lib/generation/f1/AutoMovieHumanF1ToeLittle.d.ts +18 -0
  98. package/lib/generation/f1/AutoMovieHumanF1ToeLittle.js +75 -0
  99. package/lib/generation/f1/AutoMovieHumanF1ToeLittle.js.map +1 -0
  100. package/lib/generation/f1/AutoMovieHumanF1ToeMiddle.d.ts +18 -0
  101. package/lib/generation/f1/AutoMovieHumanF1ToeMiddle.js +75 -0
  102. package/lib/generation/f1/AutoMovieHumanF1ToeMiddle.js.map +1 -0
  103. package/lib/generation/f1/AutoMovieHumanF1ToeRing.d.ts +18 -0
  104. package/lib/generation/f1/AutoMovieHumanF1ToeRing.js +75 -0
  105. package/lib/generation/f1/AutoMovieHumanF1ToeRing.js.map +1 -0
  106. package/lib/generation/f1/AutoMovieHumanF1Trunk.d.ts +18 -0
  107. package/lib/generation/f1/AutoMovieHumanF1Trunk.js +79 -0
  108. package/lib/generation/f1/AutoMovieHumanF1Trunk.js.map +1 -0
  109. package/lib/generation/f1/AutoMovieHumanF1Vault.d.ts +18 -0
  110. package/lib/generation/f1/AutoMovieHumanF1Vault.js +75 -0
  111. package/lib/generation/f1/AutoMovieHumanF1Vault.js.map +1 -0
  112. package/lib/generation/foot/index.d.ts +51 -0
  113. package/lib/generation/foot/index.js +68 -0
  114. package/lib/generation/foot/index.js.map +1 -0
  115. package/lib/generation/frame/AutoMovieHumanSegmentFrame.d.ts +149 -0
  116. package/lib/generation/frame/AutoMovieHumanSegmentFrame.js +290 -0
  117. package/lib/generation/frame/AutoMovieHumanSegmentFrame.js.map +1 -0
  118. package/lib/generation/hand/index.d.ts +53 -0
  119. package/lib/generation/hand/index.js +70 -0
  120. package/lib/generation/hand/index.js.map +1 -0
  121. package/lib/generation/head/index.d.ts +37 -0
  122. package/lib/generation/head/index.js +54 -0
  123. package/lib/generation/head/index.js.map +1 -0
  124. package/lib/generation/index.d.ts +176 -0
  125. package/lib/generation/index.js +193 -0
  126. package/lib/generation/index.js.map +1 -0
  127. package/lib/generation/leg/AutoMovieHumanLegLaws.d.ts +1 -1
  128. package/lib/generation/leg/AutoMovieHumanLegLaws.js +23 -11
  129. package/lib/generation/leg/AutoMovieHumanLegLaws.js.map +1 -1
  130. package/lib/generation/leg/index.d.ts +34 -0
  131. package/lib/generation/leg/index.js +51 -0
  132. package/lib/generation/leg/index.js.map +1 -0
  133. package/lib/generation/limb/{AutoMovieHumanJointTurn.d.ts → AutoMovieHumanBendArc.d.ts} +1 -1
  134. package/lib/generation/limb/{AutoMovieHumanJointTurn.js → AutoMovieHumanBendArc.js} +12 -8
  135. package/lib/generation/limb/AutoMovieHumanBendArc.js.map +1 -0
  136. package/lib/generation/limb/AutoMovieHumanDigitWalk.js +2 -2
  137. package/lib/generation/limb/AutoMovieHumanDigitWalk.js.map +1 -1
  138. package/lib/generation/limb/AutoMovieHumanWalkPart.js +72 -17
  139. package/lib/generation/limb/AutoMovieHumanWalkPart.js.map +1 -1
  140. package/lib/generation/limb/index.d.ts +12 -0
  141. package/lib/generation/limb/index.js +29 -0
  142. package/lib/generation/limb/index.js.map +1 -0
  143. package/lib/generation/trunk/index.d.ts +17 -0
  144. package/lib/generation/trunk/index.js +34 -0
  145. package/lib/generation/trunk/index.js.map +1 -0
  146. package/lib/generation/web/index.d.ts +14 -0
  147. package/lib/generation/web/index.js +31 -0
  148. package/lib/generation/web/index.js.map +1 -0
  149. package/lib/index.d.ts +14 -4
  150. package/lib/index.js +14 -9
  151. package/lib/index.js.map +1 -1
  152. package/lib/lofting/index.d.ts +14 -0
  153. package/lib/lofting/index.js +31 -0
  154. package/lib/lofting/index.js.map +1 -0
  155. package/lib/skeleton/AutoMovieHumanCanonicalBody.d.ts +7 -3
  156. package/lib/skeleton/AutoMovieHumanCanonicalBody.js +31 -3
  157. package/lib/skeleton/AutoMovieHumanCanonicalBody.js.map +1 -1
  158. package/lib/skeleton/AutoMovieHumanCanonicalProfile.d.ts +22 -31
  159. package/lib/skeleton/AutoMovieHumanCanonicalProfile.js +112 -172
  160. package/lib/skeleton/AutoMovieHumanCanonicalProfile.js.map +1 -1
  161. package/lib/skeleton/AutoMovieHumanCanonicalSolids.d.ts +65 -0
  162. package/lib/skeleton/AutoMovieHumanCanonicalSolids.js +105 -0
  163. package/lib/skeleton/AutoMovieHumanCanonicalSolids.js.map +1 -0
  164. package/lib/skeleton/index.d.ts +29 -0
  165. package/lib/skeleton/index.js +46 -0
  166. package/lib/skeleton/index.js.map +1 -0
  167. package/lib/structures/index.d.ts +2 -2
  168. package/lib/structures/index.js +2 -2
  169. package/lib/structures/index.js.map +1 -1
  170. package/lib/typings/index.d.ts +1 -1
  171. package/lib/typings/index.js +1 -1
  172. package/lib/typings/index.js.map +1 -1
  173. package/package.json +21 -13
  174. package/src/generation/AutoMovieHumanDigitJoints.ts +12 -47
  175. package/src/generation/{AutoMovieHumanLegSection.ts → AutoMovieHumanLegSectionProportion.ts} +15 -6
  176. package/src/generation/arm/AutoMovieHumanArmFrame.ts +2 -2
  177. package/src/generation/arm/index.ts +28 -0
  178. package/src/generation/conic/AutoMovieHumanConicLoft.ts +566 -0
  179. package/src/generation/conic/AutoMovieHumanConicPose.ts +213 -0
  180. package/src/generation/conic/AutoMovieHumanConicRelief.ts +94 -0
  181. package/src/generation/conic/AutoMovieHumanConicSection.ts +609 -0
  182. package/src/generation/f1/AutoMovieHumanF1.ts +1448 -0
  183. package/src/generation/f1/AutoMovieHumanF1Antihelix.ts +64 -0
  184. package/src/generation/f1/AutoMovieHumanF1Arm.ts +82 -0
  185. package/src/generation/f1/AutoMovieHumanF1Axilla.ts +90 -0
  186. package/src/generation/f1/AutoMovieHumanF1Breast.ts +74 -0
  187. package/src/generation/f1/AutoMovieHumanF1Concha.ts +80 -0
  188. package/src/generation/f1/AutoMovieHumanF1FingerIndex.ts +58 -0
  189. package/src/generation/f1/AutoMovieHumanF1FingerMiddle.ts +58 -0
  190. package/src/generation/f1/AutoMovieHumanF1FingerPinky.ts +74 -0
  191. package/src/generation/f1/AutoMovieHumanF1FingerRing.ts +74 -0
  192. package/src/generation/f1/AutoMovieHumanF1FingerThumb.ts +58 -0
  193. package/src/generation/f1/AutoMovieHumanF1Frames.ts +191 -0
  194. package/src/generation/f1/AutoMovieHumanF1Hand.ts +81 -0
  195. package/src/generation/f1/AutoMovieHumanF1Helix.ts +63 -0
  196. package/src/generation/f1/AutoMovieHumanF1Joints.ts +319 -0
  197. package/src/generation/f1/AutoMovieHumanF1Landmarks.ts +101 -0
  198. package/src/generation/f1/AutoMovieHumanF1Leg.ts +82 -0
  199. package/src/generation/f1/AutoMovieHumanF1Nose.ts +82 -0
  200. package/src/generation/f1/AutoMovieHumanF1Nostril.ts +58 -0
  201. package/src/generation/f1/AutoMovieHumanF1Placement.ts +148 -0
  202. package/src/generation/f1/AutoMovieHumanF1Placing.ts +313 -0
  203. package/src/generation/f1/AutoMovieHumanF1Plate.ts +59 -0
  204. package/src/generation/f1/AutoMovieHumanF1ToeBig.ts +58 -0
  205. package/src/generation/f1/AutoMovieHumanF1ToeIndex.ts +58 -0
  206. package/src/generation/f1/AutoMovieHumanF1ToeLittle.ts +74 -0
  207. package/src/generation/f1/AutoMovieHumanF1ToeMiddle.ts +74 -0
  208. package/src/generation/f1/AutoMovieHumanF1ToeRing.ts +74 -0
  209. package/src/generation/f1/AutoMovieHumanF1Trunk.ts +79 -0
  210. package/src/generation/f1/AutoMovieHumanF1Vault.ts +74 -0
  211. package/src/generation/foot/index.ts +51 -0
  212. package/src/generation/frame/AutoMovieHumanSegmentFrame.ts +309 -0
  213. package/src/generation/hand/index.ts +53 -0
  214. package/src/generation/head/index.ts +37 -0
  215. package/src/generation/index.ts +176 -0
  216. package/src/generation/leg/AutoMovieHumanLegLaws.ts +80 -25
  217. package/src/generation/leg/index.ts +34 -0
  218. package/src/generation/limb/{AutoMovieHumanJointTurn.ts → AutoMovieHumanBendArc.ts} +39 -11
  219. package/src/generation/limb/AutoMovieHumanDigitWalk.ts +2 -2
  220. package/src/generation/limb/AutoMovieHumanWalkPart.ts +163 -41
  221. package/src/generation/limb/index.ts +12 -0
  222. package/src/generation/trunk/index.ts +17 -0
  223. package/src/generation/web/index.ts +14 -0
  224. package/src/index.ts +14 -4
  225. package/src/lofting/index.ts +14 -0
  226. package/src/skeleton/AutoMovieHumanCanonicalBody.ts +53 -3
  227. package/src/skeleton/AutoMovieHumanCanonicalProfile.ts +153 -358
  228. package/src/skeleton/AutoMovieHumanCanonicalSolids.ts +175 -0
  229. package/src/skeleton/index.ts +29 -0
  230. package/src/structures/index.ts +2 -2
  231. package/src/typings/index.ts +1 -1
  232. package/lib/generation/AutoMovieHumanLegSection.js.map +0 -1
  233. package/lib/generation/limb/AutoMovieHumanJointTurn.js.map +0 -1
package/README.md CHANGED
@@ -1,10 +1,8 @@
1
1
  # @automovie/human
2
2
 
3
- A human figure generated by code from typed parameters: body measurements, head dimensions, and optionally appearance, pose and expression. The result is an `IAutoMovieModel` in metres, so the engine and viewer treat it like any other model.
3
+ The body of a person for AutoMovie, generated by code from typed parameters of body measurements and head dimensions. From them `AutoMovieHumanCanonicalBody` builds the canonical body: the skeleton of that person on the engine's humanoid joint set (the VRM 1.0 humanoid), and its contact profile, the mass and contact shapes of each segment. This is the body `@automovie/motions` performs with and `@automovie/viewer` draws as the polygon man.
4
4
 
5
- A production normally draws this body as a polygon man, plain primitives over the same joints, and generates the full skin only when a shot needs a particular person's build and face.
6
-
7
- The package is being rebuilt, so expect its API to change.
5
+ The package is being rebuilt. The realistic skin surface was removed and is being reconstructed from the same parameters, so expect the API to change.
8
6
 
9
7
  ## Use
10
8
 
@@ -15,34 +13,34 @@ npm install @automovie/human
15
13
  ```
16
14
 
17
15
  ```ts
18
- import { AutoMovieHuman, type IAutoMovieHumanParameters } from "@automovie/human";
16
+ import { AutoMovieHumanCanonicalBody, type IAutoMovieHumanParameters } from "@automovie/human";
19
17
 
20
18
  declare const parameters: IAutoMovieHumanParameters;
21
19
 
22
- const { model } = AutoMovieHuman.generate(parameters);
20
+ const body = AutoMovieHumanCanonicalBody.prepare(parameters, { mass: 72, id: "a" });
21
+ // body.skeleton, body.profile and body.joints
23
22
  ```
24
23
 
25
- `body` and `head` are required and everything else is optional. Each field's JSDoc gives its unit and what an unknown value means.
24
+ `body` and `head` are required and everything else is optional. Each field's JSDoc gives its unit.
26
25
 
27
26
  ## Entry points
28
27
 
29
- - `AutoMovieHuman.generate` returns the model in its neutral pose for one parameter set.
30
- - `AutoMovieHuman.prepare` generates once and also returns the skeleton and a pose evaluator. An `AutoMovieHumanInstance` then holds one pose, expression and root transform over that body, so posing never regenerates it.
31
- - `AutoMovieHuman.diagnose` lists the optional parts that failed their checks and fell back to a base shape. It is empty for a sound figure.
32
- - `AutoMovieHumanCanonicalBody.prepare(parameters, { mass, id })` builds the canonical body without any skin: the canonical skeleton, which is this person on the engine's humanoid joint set (the VRM 1.0 humanoid), and its contact profile, the mass and contact shapes of each segment. This is the body `@automovie/motions` performs with.
28
+ - `AutoMovieHumanCanonicalBody.prepare(parameters, { mass, id })` builds the canonical body at its T-pose rest: the rig as an `IAutoMovieSkeleton`, the contact profile as an `IAutoMoviePhysicalProfile`, and every joint with the bone that carries it.
29
+ - `AutoMovieHumanCanonicalBody.place(body, pose)` runs the rig's forward kinematics for a canonical pose and returns each joint's placement in the order of `body.joints`.
30
+ - `AutoMovieHumanCanonicalBody.display(body, pose?)` returns the rest bones and placements in this package's own frame for drawing, the T-pose when `pose` is omitted. `REFLECTION` is the column-major matrix that puts that drawing in the canonical world.
33
31
 
34
32
  ## Polygon man
35
33
 
36
- The polygon man is drawn by `@automovie/viewer` from the canonical body, and posed with canonical poses such as the ones `@automovie/motions` samples.
34
+ The polygon man is drawn by `@automovie/render` from the canonical body, and posed with canonical poses such as the ones `@automovie/motions` samples.
37
35
 
38
36
  ```bash
39
- npm install @automovie/viewer @automovie/interface three
37
+ npm install @automovie/render @automovie/interface three
40
38
  ```
41
39
 
42
40
  ```ts
43
41
  import { AutoMovieHumanCanonicalBody, type IAutoMovieHumanParameters } from "@automovie/human";
44
42
  import type { IAutoMoviePose } from "@automovie/interface";
45
- import { buildHumanPolygon } from "@automovie/viewer";
43
+ import { buildHumanPolygon } from "@automovie/render";
46
44
  import * as THREE from "three";
47
45
 
48
46
  declare const parameters: IAutoMovieHumanParameters;
@@ -62,6 +60,21 @@ drawing.setPose({ posed: AutoMovieHumanCanonicalBody.display(body, pose).posed }
62
60
 
63
61
  The polygon man is plain because it only has to show motion cheaply. Nothing about it stands for skin or clothing.
64
62
 
65
- ## Background and debugging
63
+ ## Inspection
64
+
65
+ The figure is inspected with AutoMovie's shared instrument. `src/executable/subjects.ts` is a draw-only subject module that offers every person the package defines, by name (`f1`), in its canonical pose; `<person>@<pose>` names another pose once the package defines one. From this folder, `pnpm capture` runs `automovie capture` on it for stills and contact sheets, and `pnpm inspect` opens the inspector page over it; both take the request keys the [`render` README](../render/README.md#inspection) lists.
66
+
67
+ | Path | What it names |
68
+ | --- | --- |
69
+ | `f1` | The whole person |
70
+ | `f1/body` | The sewn skin: the trunk with the limbs, digits, ears and nose joined to it |
71
+ | `f1/<family>`, `f1/<family>.mirror` | One family's construction curves, such as `f1/arm` and its reflected twin's `f1/arm.mirror`; a loose family, when one is defined, is also a piece of its own here |
72
+ | `f1/<family>/section/<k>` | The section ring at the family's `k`-th authored knot |
73
+ | `f1/<family>/guide/<q>` | The guide rail at quarter phase `q`, 0 to 3 |
74
+ | `f1/<family>/axis` | The line through the rings' centres |
75
+
76
+ The construction curves are marks of the kinds `curve/section`, `curve/guide` and `curve/axis`, so `--marks curve/*` draws them over the surface and `--marks curve/* --surface 0` draws them alone, through the same views. The skin is one piece, so a family's surface cannot be drawn apart from the body; select its curves and frame them with `@focus`.
77
+
78
+ ## Background
66
79
 
67
- The anatomy, sources and lofting technique behind the generator are written up in [`docs`](./docs/README.md). The [debug viewer](./debug/README.md) is a development tool in this repository, not part of the published package; `pnpm debug` in `packages/human` serves it on port 5197.
80
+ The anatomy, sources and lofting technique behind the generator are written up in [`docs`](./docs/README.md).
@@ -1,44 +1,26 @@
1
+ import { AutoMovieHandAnthropometry } from "@automovie/engine";
1
2
  import { AutoMovieHumanSex } from "../typings/AutoMovieHumanSex";
2
3
  /**
3
4
  * Each digit's breadth and girth at its two joints nearest the tip: the
4
5
  * digit's front-view outline and its tape at the knots the digit walk turns
5
6
  * at.
6
7
  *
7
- * Source: Rastgoo Balov L., Allahyari T., Jafari M., Hajaghazadeh M., "Hand
8
- * anthropometry, grip strength, and manual dexterity: a correlational study
9
- * among dental students", SAGE Open Med (2026), doi 10.1177/20503121261428206,
10
- * PMC13039577, Tables 1 and 2: the right hands of 51 women and 49 men,
11
- * breadth by digital caliper and circumference by tape at the first joint
12
- * (counted from the tip: the distal interphalangeal joint, the thumb's
13
- * interphalangeal joint) and the second (the proximal interphalangeal joint,
14
- * the thumb's metacarpophalangeal joint), with the hand length (means,
15
- * {@link JOINTS}, {@link HAND_LENGTH}).
8
+ * Source: the population table `@automovie/engine`'s
9
+ * `AutoMovieHandAnthropometry` holds (Rastgoo Balov et al. 2026, SAGE Open
10
+ * Med, PMC13039577, Tables 1 and 2: the right hands of 51 women and 49 men,
11
+ * each digit's breadth and girth at its first and second joint from the tip,
12
+ * with the hand length; means), which the objects a hand takes read too.
16
13
  *
17
14
  * Derivation: the person's digits scale with their hand length over the
18
15
  * sample's mean hand length. A joint's depth is not published; its box's
19
16
  * range (`AutoMovieHumanBodyBox.range`) bounds it from the breadth and girth,
20
17
  * between `girth / 2 - breadth` and `sqrt(girth^2 / 4 - breadth^2)`.
21
18
  *
22
- * Limits: a small sample of Iranian students; the joints are counted from the
23
- * tip as the paper's order of its measures implies (the first joint's breadth
24
- * is the smaller); the women's thumb breadth at its first joint carries a
25
- * large SD (7.90 mm), a sign of an outlier in the sample.
19
+ * Limits: the table's own, stated where it is held.
26
20
  */
27
21
  export declare namespace AutoMovieHumanDigitJoints {
28
22
  /** One joint's caliper breadth and tape girth, mm. */
29
- interface IJoint {
30
- /** Breadth across the joint, mm. */
31
- breadth: number;
32
- /** Circumference round the joint, mm. */
33
- girth: number;
34
- }
35
- /**
36
- * Digits 1 (thumb) to 5 (little), each `[first joint, second joint]` from
37
- * the tip, women then men (means).
38
- */
39
- const JOINTS: readonly [readonly (readonly [IJoint, IJoint])[], readonly (readonly [IJoint, IJoint])[]];
40
- /** The sample's mean hand length, women and men, mm. */
41
- const HAND_LENGTH: readonly [number, number];
23
+ type IJoint = AutoMovieHandAnthropometry.IJoint;
42
24
  /**
43
25
  * A digit's joint, scaled to the person's hand.
44
26
  *
@@ -1,56 +1,28 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.AutoMovieHumanDigitJoints = void 0;
4
+ const engine_1 = require("@automovie/engine");
4
5
  const AutoMovieHumanSex_1 = require("../typings/AutoMovieHumanSex");
5
6
  /**
6
7
  * Each digit's breadth and girth at its two joints nearest the tip: the
7
8
  * digit's front-view outline and its tape at the knots the digit walk turns
8
9
  * at.
9
10
  *
10
- * Source: Rastgoo Balov L., Allahyari T., Jafari M., Hajaghazadeh M., "Hand
11
- * anthropometry, grip strength, and manual dexterity: a correlational study
12
- * among dental students", SAGE Open Med (2026), doi 10.1177/20503121261428206,
13
- * PMC13039577, Tables 1 and 2: the right hands of 51 women and 49 men,
14
- * breadth by digital caliper and circumference by tape at the first joint
15
- * (counted from the tip: the distal interphalangeal joint, the thumb's
16
- * interphalangeal joint) and the second (the proximal interphalangeal joint,
17
- * the thumb's metacarpophalangeal joint), with the hand length (means,
18
- * {@link JOINTS}, {@link HAND_LENGTH}).
11
+ * Source: the population table `@automovie/engine`'s
12
+ * `AutoMovieHandAnthropometry` holds (Rastgoo Balov et al. 2026, SAGE Open
13
+ * Med, PMC13039577, Tables 1 and 2: the right hands of 51 women and 49 men,
14
+ * each digit's breadth and girth at its first and second joint from the tip,
15
+ * with the hand length; means), which the objects a hand takes read too.
19
16
  *
20
17
  * Derivation: the person's digits scale with their hand length over the
21
18
  * sample's mean hand length. A joint's depth is not published; its box's
22
19
  * range (`AutoMovieHumanBodyBox.range`) bounds it from the breadth and girth,
23
20
  * between `girth / 2 - breadth` and `sqrt(girth^2 / 4 - breadth^2)`.
24
21
  *
25
- * Limits: a small sample of Iranian students; the joints are counted from the
26
- * tip as the paper's order of its measures implies (the first joint's breadth
27
- * is the smaller); the women's thumb breadth at its first joint carries a
28
- * large SD (7.90 mm), a sign of an outlier in the sample.
22
+ * Limits: the table's own, stated where it is held.
29
23
  */
30
24
  var AutoMovieHumanDigitJoints;
31
25
  (function (AutoMovieHumanDigitJoints) {
32
- /**
33
- * Digits 1 (thumb) to 5 (little), each `[first joint, second joint]` from
34
- * the tip, women then men (means).
35
- */
36
- AutoMovieHumanDigitJoints.JOINTS = [
37
- [
38
- [{ breadth: 18.41, girth: 60.61 }, { breadth: 20.07, girth: 68.52 }],
39
- [{ breadth: 14.09, girth: 50.09 }, { breadth: 16.48, girth: 58.32 }],
40
- [{ breadth: 14.08, girth: 48.78 }, { breadth: 16.1, girth: 59.28 }],
41
- [{ breadth: 13.15, girth: 46.21 }, { breadth: 15.15, girth: 55.31 }],
42
- [{ breadth: 11.87, girth: 42.92 }, { breadth: 13.41, girth: 48.49 }],
43
- ],
44
- [
45
- [{ breadth: 18.85, girth: 66.47 }, { breadth: 23.56, girth: 76.71 }],
46
- [{ breadth: 15.34, girth: 53.58 }, { breadth: 17.98, girth: 64.06 }],
47
- [{ breadth: 15.74, girth: 54.55 }, { breadth: 17.93, girth: 64.45 }],
48
- [{ breadth: 14.79, girth: 51.64 }, { breadth: 17.21, girth: 61.77 }],
49
- [{ breadth: 13.49, girth: 46.61 }, { breadth: 14.99, girth: 54.3 }],
50
- ],
51
- ];
52
- /** The sample's mean hand length, women and men, mm. */
53
- AutoMovieHumanDigitJoints.HAND_LENGTH = [175.64, 194.98];
54
26
  /**
55
27
  * A digit's joint, scaled to the person's hand.
56
28
  *
@@ -62,8 +34,8 @@ var AutoMovieHumanDigitJoints;
62
34
  */
63
35
  function at(sex, handLength, digit, joint) {
64
36
  const k = sex === AutoMovieHumanSex_1.AutoMovieHumanSex.Female ? 0 : 1;
65
- const scale = handLength / AutoMovieHumanDigitJoints.HAND_LENGTH[k];
66
- const read = AutoMovieHumanDigitJoints.JOINTS[k][digit - 1][joint - 1];
37
+ const scale = handLength / engine_1.AutoMovieHandAnthropometry.HAND_LENGTH[k];
38
+ const read = engine_1.AutoMovieHandAnthropometry.JOINTS[k][digit - 1][joint - 1];
67
39
  return { breadth: scale * read.breadth, girth: scale * read.girth };
68
40
  }
69
41
  AutoMovieHumanDigitJoints.at = at;
@@ -1 +1 @@
1
- {"version":3,"file":"AutoMovieHumanDigitJoints.js","sourceRoot":"","sources":["../../src/generation/AutoMovieHumanDig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AgB,EAAE,CAAC,GAAsB,EAAE,UAAkB,EAAE,KAAwB,EAAE,KAAY;QACnG,MAAM,CAAC,GAAU,GAAG,KAAK,qCAAiB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAC1D,MAAM,KAAK,GAAW,UAAU,GAAG,mCAA0B,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;QAC7E,MAAM,IAAI,GAAW,mCAA0B,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,KAAK,GAAG,CAAC,CAAE,CAAC,KAAK,GAAG,CAAC,CAAE,CAAC;QAClF,OAAO,EAAE,OAAO,EAAE,KAAK,GAAG,IAAI,CAAC,OAAO,EAAE,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC,KAAK,EAAE,CAAC;IACtE,CAAC;IALe,0BAAA,EAAE,KAKjB,CAAA;AACH,CAAC,EAnBgB,yBAAyB,aAAzB,yBAAyB,GAAzB,yBAAyB,QAmBzC"}
@@ -18,7 +18,7 @@
18
18
  * Limits: four people; the sections are horizontal, standing for the
19
19
  * section normal to the near-vertical leg; the replacement stays open.
20
20
  */
21
- export declare namespace AutoMovieHumanLegSection {
21
+ export declare namespace AutoMovieHumanLegSectionProportion {
22
22
  /** One share's breadth over depth and fullness, means over the eight legs. */
23
23
  interface IRow {
24
24
  /** Share of the ankle-to-crotch span. */
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AutoMovieHumanLegSection = void 0;
3
+ exports.AutoMovieHumanLegSectionProportion = void 0;
4
4
  /**
5
5
  * The leg section's breadth over depth and its fullness in its box along the
6
6
  * leg, from the ankle (share 0) to the crotch (share 1): the width-to-depth
@@ -21,10 +21,10 @@ exports.AutoMovieHumanLegSection = void 0;
21
21
  * Limits: four people; the sections are horizontal, standing for the
22
22
  * section normal to the near-vertical leg; the replacement stays open.
23
23
  */
24
- var AutoMovieHumanLegSection;
25
- (function (AutoMovieHumanLegSection) {
24
+ var AutoMovieHumanLegSectionProportion;
25
+ (function (AutoMovieHumanLegSectionProportion) {
26
26
  /** The rows, ankle to crotch. */
27
- AutoMovieHumanLegSection.ROWS = [
27
+ AutoMovieHumanLegSectionProportion.ROWS = [
28
28
  { share: 0.05, ratio: 0.812, fullness: 0.266 },
29
29
  { share: 0.1, ratio: 0.914, fullness: 0.256 },
30
30
  { share: 0.15, ratio: 0.956, fullness: 0.256 },
@@ -52,21 +52,24 @@ var AutoMovieHumanLegSection;
52
52
  * @param share Share of the ankle-to-crotch span, 0 to 1.
53
53
  */
54
54
  function at(share) {
55
- const first = AutoMovieHumanLegSection.ROWS[0];
56
- const last = AutoMovieHumanLegSection.ROWS[AutoMovieHumanLegSection.ROWS.length - 1];
55
+ const first = AutoMovieHumanLegSectionProportion.ROWS[0];
56
+ const last = AutoMovieHumanLegSectionProportion.ROWS[AutoMovieHumanLegSectionProportion.ROWS.length - 1];
57
57
  if (share <= first.share)
58
58
  return { ratio: first.ratio, fullness: first.fullness };
59
59
  if (share >= last.share)
60
60
  return { ratio: last.ratio, fullness: last.fullness };
61
61
  let i = 0;
62
- while (AutoMovieHumanLegSection.ROWS[i + 1].share < share)
62
+ while (AutoMovieHumanLegSectionProportion.ROWS[i + 1].share < share)
63
63
  i++;
64
- const a = AutoMovieHumanLegSection.ROWS[i];
65
- const b = AutoMovieHumanLegSection.ROWS[i + 1];
64
+ const a = AutoMovieHumanLegSectionProportion.ROWS[i];
65
+ const b = AutoMovieHumanLegSectionProportion.ROWS[i + 1];
66
66
  const t = (share - a.share) / (b.share - a.share);
67
- return { ratio: a.ratio + t * (b.ratio - a.ratio), fullness: a.fullness + t * (b.fullness - a.fullness) };
67
+ return {
68
+ ratio: a.ratio + t * (b.ratio - a.ratio),
69
+ fullness: a.fullness + t * (b.fullness - a.fullness),
70
+ };
68
71
  }
69
- AutoMovieHumanLegSection.at = at;
72
+ AutoMovieHumanLegSectionProportion.at = at;
70
73
  /**
71
74
  * The breadth and depth of a section of girth G at a share.
72
75
  *
@@ -80,6 +83,6 @@ var AutoMovieHumanLegSection;
80
83
  const depth = girth / (2 * (diagonal + fullness * (ratio + 1 - diagonal)));
81
84
  return { breadth: ratio * depth, depth };
82
85
  }
83
- AutoMovieHumanLegSection.box = box;
84
- })(AutoMovieHumanLegSection || (exports.AutoMovieHumanLegSection = AutoMovieHumanLegSection = {}));
85
- //# sourceMappingURL=AutoMovieHumanLegSection.js.map
86
+ AutoMovieHumanLegSectionProportion.box = box;
87
+ })(AutoMovieHumanLegSectionProportion || (exports.AutoMovieHumanLegSectionProportion = AutoMovieHumanLegSectionProportion = {}));
88
+ //# sourceMappingURL=AutoMovieHumanLegSectionProportion.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AutoMovieHumanLegSectionProportion.js","sourceRoot":"","sources":["../../src/generation/AutoMovieHumanLegSectionProportion.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,IAAiB,kCAAkC,CA6ElD;AA7ED,WAAiB,kCAAkC;IAajD,iCAAiC;IACpB,uCAAI,GAAoB;QACnC,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE;QAC9C,EAAE,KAAK,EAAE,GAAG,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE;QAC7C,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE;QAC9C,EAAE,KAAK,EAAE,GAAG,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE;QAC7C,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE;QAC9C,EAAE,KAAK,EAAE,GAAG,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE;QAC7C,EAAE,KAAK,EAA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G,KAAK,GAAG,CAAC,CAAC,CAAC;QACtD,MAAM,KAAK,GACT,KAAK,GAAG,CAAC,CAAC,GAAG,CAAC,QAAQ,GAAG,QAAQ,GAAG,CAAC,KAAK,GAAG,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC;QAC/D,OAAO,EAAE,OAAO,EAAE,KAAK,GAAG,KAAK,EAAE,KAAK,EAAE,CAAC;IAC3C,CAAC;IATe,mCAAA,GAAG,MASlB,CAAA;AACH,CAAC,EA7EgB,kCAAkC,aAAlC,kCAAkC,GAAlC,kCAAkC,QA6ElD"}
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.AutoMovieHumanArmFrame = void 0;
4
- const AutoMovieHumanJointTurn_1 = require("../limb/AutoMovieHumanJointTurn");
4
+ const AutoMovieHumanBendArc_1 = require("../limb/AutoMovieHumanBendArc");
5
5
  const AutoMovieHumanWalkPart_1 = require("../limb/AutoMovieHumanWalkPart");
6
6
  /** Bone-relative material chart shared before arm or digit scalar constraints are requested. */
7
7
  var AutoMovieHumanArmFrame;
@@ -38,7 +38,7 @@ var AutoMovieHumanArmFrame;
38
38
  ? []
39
39
  : [
40
40
  {
41
- half: AutoMovieHumanJointTurn_1.AutoMovieHumanJointTurn.half(bones.wrist, knuckle, crease, reach),
41
+ half: AutoMovieHumanBendArc_1.AutoMovieHumanBendArc.half(bones.wrist, knuckle, crease, reach),
42
42
  },
43
43
  ]),
44
44
  ],
@@ -1 +1 @@
1
- {"version":3,"file":"AutoMovieHumanArmFrame.js","sourceRoot":"","sources":["../../../src/generation/arm/AutoMovieHumanArmFrame.ts"],"names":[],"mappings":";;;AAAA,6EAA0E;AAC1E,2EAAwE;AAIxE,gGAAgG;AAChG,IAAiB,sBAAsB,CAmJtC;AAnJD,WAAiB,sBAAsB;IA8CrC,qGAAqG;IACrG,SAAgB,MAAM,CAAC,KAAa;QAClC,MAAM,EACJ,IAAI,EACJ,KAAK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ieHumanArmAxis";
2
+ export * from "./AutoMovieHumanArmBones";
3
+ export * from "./AutoMovieHumanArmBreadth";
4
+ export * from "./AutoMovieHumanArmCurveSpec";
5
+ export * from "./AutoMovieHumanArmF1Lines";
6
+ export * from "./AutoMovieHumanArmFrame";
7
+ export * from "./AutoMovieHumanArmGirth";
8
+ export * from "./AutoMovieHumanArmGuides";
9
+ export * from "./AutoMovieHumanArmHandControls";
10
+ export * from "./AutoMovieHumanArmInterim";
11
+ export * from "./AutoMovieHumanArmJet";
12
+ export * from "./AutoMovieHumanArmLaw";
13
+ export * from "./AutoMovieHumanArmLayers";
14
+ export * from "./AutoMovieHumanArmPieces";
15
+ export * from "./AutoMovieHumanArmRows";
16
+ export * from "./AutoMovieHumanArmScye";
17
+ export * from "./AutoMovieHumanArmShoulder";
18
+ export * from "./AutoMovieHumanArmSources";
19
+ export * from "./AutoMovieHumanArmStation";
20
+ export * from "./AutoMovieHumanArmTube";
21
+ export * from "./AutoMovieHumanArmWalk";
22
+ export * from "./AutoMovieHumanDeltoidSpan";
23
+ export * from "./AutoMovieHumanElbowSpan";
24
+ export * from "./AutoMovieHumanForearmBelly";
25
+ export * from "./AutoMovieHumanUpperArmCompartments";
26
+ export * from "./AutoMovieHumanWristSpan";
27
+ export * from "./IAutoMovieHumanArmLaw";
28
+ export * from "./IAutoMovieHumanArmPiece";
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./AutoMovieHumanArmAxis"), exports);
18
+ __exportStar(require("./AutoMovieHumanArmBones"), exports);
19
+ __exportStar(require("./AutoMovieHumanArmBreadth"), exports);
20
+ __exportStar(require("./AutoMovieHumanArmCurveSpec"), exports);
21
+ __exportStar(require("./AutoMovieHumanArmF1Lines"), exports);
22
+ __exportStar(require("./AutoMovieHumanArmFrame"), exports);
23
+ __exportStar(require("./AutoMovieHumanArmGirth"), exports);
24
+ __exportStar(require("./AutoMovieHumanArmGuides"), exports);
25
+ __exportStar(require("./AutoMovieHumanArmHandControls"), exports);
26
+ __exportStar(require("./AutoMovieHumanArmInterim"), exports);
27
+ __exportStar(require("./AutoMovieHumanArmJet"), exports);
28
+ __exportStar(require("./AutoMovieHumanArmLaw"), exports);
29
+ __exportStar(require("./AutoMovieHumanArmLayers"), exports);
30
+ __exportStar(require("./AutoMovieHumanArmPieces"), exports);
31
+ __exportStar(require("./AutoMovieHumanArmRows"), exports);
32
+ __exportStar(require("./AutoMovieHumanArmScye"), exports);
33
+ __exportStar(require("./AutoMovieHumanArmShoulder"), exports);
34
+ __exportStar(require("./AutoMovieHumanArmSources"), exports);
35
+ __exportStar(require("./AutoMovieHumanArmStation"), exports);
36
+ __exportStar(require("./AutoMovieHumanArmTube"), exports);
37
+ __exportStar(require("./AutoMovieHumanArmWalk"), exports);
38
+ __exportStar(require("./AutoMovieHumanDeltoidSpan"), exports);
39
+ __exportStar(require("./AutoMovieHumanElbowSpan"), exports);
40
+ __exportStar(require("./AutoMovieHumanForearmBelly"), exports);
41
+ __exportStar(require("./AutoMovieHumanUpperArmCompartments"), exports);
42
+ __exportStar(require("./AutoMovieHumanWristSpan"), exports);
43
+ __exportStar(require("./IAutoMovieHumanArmLaw"), exports);
44
+ __exportStar(require("./IAutoMovieHumanArmPiece"), exports);
45
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/generation/arm/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC;AACxC,2DAAyC;AACzC,6DAA2C;AAC3C,+DAA6C;AAC7C,6DAA2C;AAC3C,2DAAyC;AACzC,2DAAyC;AACzC,4DAA0C;AAC1C,kEAAgD;AAChD,6DAA2C;AAC3C,yDAAuC;AACvC,yDAAuC;AACvC,4DAA0C;AAC1C,4DAA0C;AAC1C,0DAAwC;AACxC,0DAAwC;AACxC,8DAA4C;AAC5C,6DAA2C;AAC3C,6DAA2C;AAC3C,0DAAwC;AACxC,0DAAwC;AACxC,8DAA4C;AAC5C,4DAA0C;AAC1C,+DAA6C;AAC7C,uEAAqD;AACrD,4DAA0C;AAC1C,0DAAwC;AACxC,4DAA0C"}
@@ -0,0 +1,154 @@
1
+ import { AutoMovieViewAxis, AutoMovieViewLoft, type IAutoMovieLoftRelief, type IAutoMovieViewPart } from "@automovie/engine";
2
+ import { AutoMovieHumanConicSection } from "./AutoMovieHumanConicSection";
3
+ /**
4
+ * A conic family as it is authored, and its generation through the engine's
5
+ * view loft.
6
+ *
7
+ * A family is one part's tape wall: along a jointed course every section is
8
+ * an `AutoMovieHumanConicSection` whose fields are natural cubics through
9
+ * their values at a few shared station knots. Reliefs carry what lies inside
10
+ * that wall. Nothing else defines the part's surface.
11
+ */
12
+ export declare namespace AutoMovieHumanConicLoft {
13
+ /** A point or direction in the figure's absolute frame: millimetres, forward +X, up +Y, left +Z. */
14
+ type V3 = [number, number, number];
15
+ /** The complete authored definition of one part. */
16
+ interface IFamily {
17
+ /** Chain name. */
18
+ name: string;
19
+ /** Course centres: the first end, the joints and the last end, mm. */
20
+ centres: V3[];
21
+ /** Half arclength of the turn at each interior centre, mm. */
22
+ halves: number[];
23
+ /** The chart's `u` direction at the first segment before it is squared to the course. */
24
+ up: V3;
25
+ /**
26
+ * The chart's roll about the course; absent, none. A part whose sections turn in their planes along the course (a sheet that curls
27
+ * along its length, as the ear's plate does from the lobule up to the helix's top) keeps its long axis on `u` only if the chart turns
28
+ * with it: read in a chart carried by the course alone, its extremes trade places as it turns, and a field that follows one extreme
29
+ * jumps to the next.
30
+ */
31
+ roll?: IRoll;
32
+ /** The anchors every section is read through. */
33
+ layout: AutoMovieHumanConicSection.ILayout;
34
+ /** Shared station knots, arclength from the first centre, mm. */
35
+ knots: number[];
36
+ /** Knot values by section field then knot. */
37
+ values: number[][];
38
+ /** Reliefs composed onto the wall; absent means none. */
39
+ reliefs?: IAutoMovieLoftRelief[];
40
+ /** Where the part closes in a point, toward its first knot and toward its last; null leaves that end an open section. */
41
+ tips?: [ITip | null, ITip | null];
42
+ /**
43
+ * Largest distance between two neighbouring phases at the part's widest section, mm; absent, `PHASE_MM`. A small part whose skin turns
44
+ * within a few millimetres takes a finer pitch: at 4 mm the ear's thin rim was sampled by three phases and its edge drew a row of teeth.
45
+ */
46
+ pitch?: number;
47
+ /**
48
+ * Largest step between neighbouring phases, radians, beside the finest relief net's columns: the mesh's density round the part held
49
+ * apart from its nets'. f1's trunk took its phases from its finest net, the eyes' at 105 columns (0.016 rad); with that net coarsened to
50
+ * 73 columns for its own sake the whole face's mesh went from about 400 phases round to 270 and read in level bands and blocks.
51
+ */
52
+ phase?: number;
53
+ /**
54
+ * Largest turn of a ring's tangent between two neighbouring phases, radians; absent, the phases are uniform. With it the phases are
55
+ * spaced by how fast the rings turn as well as by `pitch`: at every phase the density is the most any ring asks there, its length over
56
+ * `pitch` or its turn over this, so a sharp edge that only some sections have (a sole's) takes its phases close together where it
57
+ * stands, and the rest of the part keeps its spacing. f1's leg on uniform phases set by its thigh's girth turned by up to 0.83 rad
58
+ * between two of them round the forefoot's outer edge, which showed as level stripes.
59
+ */
60
+ turn?: number;
61
+ }
62
+ /**
63
+ * A roll of a part's chart about its course: at each station the chart carried by the course is turned by the angle, from `u` toward
64
+ * `v`, a natural cubic through its values at its own knots (straight past the first and the last), so the frames stay C2.
65
+ */
66
+ interface IRoll {
67
+ /** Stations of the angle's knots, mm, increasing; at least two. */
68
+ knots: number[];
69
+ /** The angle at each knot, radians. */
70
+ values: number[];
71
+ }
72
+ /**
73
+ * One closed end of a part.
74
+ *
75
+ * Between `from` and `tip` the part is its section at `from` shrunk by one factor, with that section's tangent angles and shoulders kept. With
76
+ * `t = d / H`, `d` the distance to the tip and `H` that of `from`, the factor is `g = sqrt(P(t))` for the cubic `P(t) = a t + b t^2 + c t^3`:
77
+ * upright at the tip (`a > 0`, so `g` grows as `sqrt(t)`), 1 at `from`, leaving `from` at the wall's own taper `q = H mu` (`mu` the wall's
78
+ * relative growth per millimetre away from the tip) and bending there as the wall bends (`g'' = k`, the wall's relative second derivative
79
+ * times `H^2`), so the cap continues the wall without a crease in its slope or its curvature. Those three conditions at `t = 1`, `P = 1`,
80
+ * `P' = 2 q` and `P'' = 2 q^2 + 2 k`, give `c = (1 - q)^2 + k`, `b = 2 q - 1 - 2 c` and `a = 1 - b - c = 2 (1 - q) + c`; `c` is held at 0
81
+ * or more, which keeps `P` positive on the cap. With `c = 0` this is the conic `P = 2 (1 - q) t + (2 q - 1) t^2`, which bends by
82
+ * `-(1 - q)^2` at `from`: the earlier law, which met the slope of every wall but not its bend and left a ring round every finger's and toe's
83
+ * tip, where the wall runs on straight.
84
+ */
85
+ interface ITip {
86
+ /** Station of the last section the fields own, between the first and the last knot, mm. */
87
+ from: number;
88
+ /** Station of the point, mm. */
89
+ tip: number;
90
+ /**
91
+ * The end is not the figure's skin: buried inside another part, as a digit's root inside its limb, or under the digits merged onto it,
92
+ * as a hand's or a foot's closed end. It closes as the conic (`c = 0`), the slimmest the law allows, instead of bending on as its wall
93
+ * bends: the fuller cap brought the foot's end 5.9 mm below the sole and moved where the outer digits come out of their limbs' ends.
94
+ */
95
+ covered?: boolean;
96
+ /**
97
+ * The point of the chart, `[u, v]` mm, the cap's sections gather about while it closes, when the end's top does not stand over the
98
+ * course. A coordinate `x` of the cap is `x g + 2 c g (1 - g)^2` for its centre's coordinate `c`: at `from` it and its slope in `g` are
99
+ * the plain cap's, so the cap leaves the wall as before; it bulges toward the centre over its middle, by `8 c / 27` at most at
100
+ * `g = 1 / 3`; and it still closes on the course, where the pole is, since `x / g` tends to `x + 2 c`, which keeps the course inside
101
+ * every section while `|2 c|` is less than the section's extent on the far side. f1's crown: the course runs 16 mm behind the skull's
102
+ * top (the reference's top contour at 1,699 mm spans x -4 to 40), and the plain cap shrank the last section, 34 mm behind the course
103
+ * and 83 mm in front, toward it, so the back of the crown stood 4 mm proud of the reference at x -20 and the top was a flat lid with a
104
+ * corner behind.
105
+ */
106
+ centre?: [number, number];
107
+ /**
108
+ * Each coordinate of the cap takes the taper and the bend of its own outline at `from`, instead of the mean extent's. One factor for the
109
+ * whole section met the mean slope but not each side's: f1's crown section narrows 0.95 mm a millimetre in front (on 83 mm) and 1.2 behind
110
+ * (on 34 mm), and the shared factor took 1.9 in front and 0.77 behind, a dip at the crown's front and a corner at its back. A coordinate
111
+ * within `OWN_LEAST` of the section's size of zero keeps the shared factor, since its relative change has no meaning there.
112
+ */
113
+ own?: boolean;
114
+ /**
115
+ * How many rings the cap is meshed in between its first section and its tip; absent, one at each of its knots (`CAP_KNOTS`). A dome
116
+ * turns its normal through a quarter turn over its rings, and twelve showed as a bullseye of flat bands on a toe's tip.
117
+ */
118
+ rings?: number;
119
+ }
120
+ /** The part's course as the engine reads it, its chart turned by the part's roll. */
121
+ function axis(family: Pick<IFamily, "centres" | "halves" | "up" | "roll">): AutoMovieViewAxis.IAxis;
122
+ /** The family's field vector at one station. */
123
+ function reader(family: Pick<IFamily, "knots" | "values">): (s: number) => number[];
124
+ /**
125
+ * The engine's view part of a family.
126
+ *
127
+ * The engine reads a section as four guides on its box with conic pieces
128
+ * between them. Those guide coordinates, touch offsets, piece points,
129
+ * tangent angles and shoulders are not authored: at every requested
130
+ * station they are resolved from the family's fields through
131
+ * `AutoMovieHumanConicSection.resolve` and handed over as derived outlines
132
+ * with one knot per station.
133
+ *
134
+ * @param family The authored definition.
135
+ * @param stations Stations of the emitted layers and of the derived outlines, mm, increasing.
136
+ */
137
+ function part(family: IFamily, requested: number[]): IAutoMovieViewPart;
138
+ /**
139
+ * The family's twin across the median plane `z = 0`, as a family of its own.
140
+ *
141
+ * The course and the chart seed are reflected, and the roll negated. A course's chart is `v = u x t`, so the reflected course charts the
142
+ * reflected section with `v` negated, which also reverses its travel: the twin's anchors are the original's in reverse
143
+ * order from the first, each extreme with its `v` negated, and the arc after the twin's anchor `j` is the original's arc
144
+ * before its anchor `K - j`. A feature point is read again on the twin's frame from the reflected section at every knot. An inflection's neighbours swap, so its share is `1 - t` and its turn `-d`, and the twin's
145
+ * dependent anchors keep the original's order of resolution. A relief keeps its stations and heights and takes the
146
+ * negated phase window, the reflected axis and its columns in reverse.
147
+ *
148
+ * @param family A family whose layout is not itself a mirror layout.
149
+ * @param name The twin's chain name.
150
+ */
151
+ function mirror(family: IFamily, name: string): IFamily;
152
+ /** Loft a family through the engine. */
153
+ function create(family: IFamily, stations: number[]): AutoMovieViewLoft.IResult;
154
+ }