{
 "report": 14,
 "kind": "log",
 "title": "Posing the body",
 "about": "How the friend's body is posed, what each pose needs from the drawing (layering by depth above all), and notes for poses to come. A running log, made into a report later (Matthew, 2026-10-19: \"start to log details for a report about posing our body --- we want notes for further poses, if possible\").",
 "started": "2026-10-19T15:42-06:00",
 "entries": [
  {
   "at": "2026-10-19T15:42-06:00",
   "ticket": 412,
   "kind": "finding",
   "text": "Lying along a sleeping bag that runs away from us (the orange tent's, along a side wall), first try: the whole body turned in the picture to the bag's slant (rotate 38 degrees about the feet) and shortened to its length (0.70). It read as rolling over, not lying face up.",
   "source": "Matthew, 2026-10-19, on the first try (ticket 412): \"Looks like we are tilting to roll over, not face up.\""
  },
  {
   "at": "2026-10-19T15:42-06:00",
   "ticket": 412,
   "kind": "rule",
   "text": "A body lying face up along a surface that recedes keeps its width across the picture: shoulders and hips level. Only its length follows the surface, up its slant. So the map is a skew about the feet (across stays across, head to feet goes along the bag), not a turn. In 18-drawing.js: translate(0 g) matrix(1 0 -ux -uy 0 0) translate(0 -g), u the head's way up the bag per unit of the friend's height."
  },
  {
   "at": "2026-10-19T15:42-06:00",
   "ticket": 412,
   "kind": "rule",
   "text": "Matthew, the same moment: \"we need the back leg to obscure the front leg; the torso obscures the back arm, etc\". When a pose turns or rolls the body, its parts must be layered by depth: what is nearer to us over what is farther, part by part. Said looking at the first try, which looked like a roll onto one side.",
   "source": "Matthew, 2026-10-19, right after (ticket 412)"
  },
  {
   "at": "2026-10-19T15:42-06:00",
   "ticket": 412,
   "kind": "finding",
   "text": "How layering works today: the friend is one SVG drawn in a fixed order of layers (18-drawing.js, drawNow), each part's layers wrapped as data-part groups (veil): far arm and far leg first, then the body, the head, the near arm and hand. In profile the far arm and leg can be drawn apart, among the scene's objects (figure-far, legApart, farDeep), so a thing can stand between them and the rest. A turn (crawling, lying level: rot about the hips) or a skew (lying along) moves the drawing but never changes this order."
  },
  {
   "at": "2026-10-19T15:42-06:00",
   "ticket": 412,
   "kind": "finding",
   "text": "The poses so far: standing; sitting on a seat (ticket 50); crawling, turned about the hips (rot) or seen short toward or away from us (squash); lying level, on the back in profile or on the side facing us, the head left or right (ticket 299: lieHow, lieHead, turned plus or minus 90 degrees); lying along a receding surface (ticket 412: a skew); a hug (lifted, from the side); the dances and other POSES entries (joint angles: poseArmL/R and the like); on bubbles, a balancing stance and walk (ticket 343); swimming and treading water."
  },
  {
   "at": "2026-10-19T15:42-06:00",
   "ticket": 412,
   "kind": "next",
   "text": "Rolling over, or lying on one side along a bag: needs the depth order to follow the roll (the upper leg over the lower, the torso over the arm beneath it), so a per-pose order of the parts' layers, not the one fixed order."
  },
  {
   "at": "2026-10-19T15:42-06:00",
   "ticket": 412,
   "kind": "next",
   "text": "Lying along beds and bunk beds against a side wall (ticket 412's own later step, if they are redesigned that way): the same skew, from the bed's own ends."
  },
  {
   "at": "2026-10-19T15:42-06:00",
   "ticket": 412,
   "kind": "next",
   "text": "Perspective along the body: lying away from us, the head should be a little smaller than the feet. An SVG matrix cannot taper; each part would need its own scale by its depth (the head's, the hips', the feet's)."
  },
  {
   "at": "2026-10-19T15:46-06:00",
   "ticket": 412,
   "kind": "finding",
   "text": "Second try, a skew about the feet (width across, length along the bag): face up now, but \"too flat\" (Matthew). A third, the head and the feet skewed back to round and upright about their own middles, was written but not shown.",
   "source": "Matthew, 2026-10-19: \"latest attempt looks better, but now we are 'too flat'\""
  },
  {
   "at": "2026-10-19T15:46-06:00",
   "ticket": 412,
   "kind": "rule",
   "text": "THE DIRECTION: new angles of the body, each its own drawing routine, not 2D transformations (turns, skews, squashes) of the views we have. All three tries are parked, not released, on kids-choice-games branch lie-along-412 (2dd96e6), with the parts worth keeping: the tent's bags as lie seats with their open end and pillow (SEATS.tent, tentFrame, bagEnds, TENT_BAGS), lieOn's feet at the open end, click to lie.",
   "source": "Matthew, 2026-10-19: \"i think we just need more angles of the body, as their own drawing routine, not cheap 2d transformations of the poses that we have now.\""
  },
  {
   "at": "2026-10-19T15:46-06:00",
   "ticket": 412,
   "kind": "finding",
   "text": "The angles today, by the code: front (dir 0), profile left and right (dir -1, 1), from behind (away). Crawling toward or away from us is the front or back view squashed (squash), and crawling in profile and lying level are the profile turned about the hips (rot): both are 2D transformations already. Where the angles branch, counted on 0.0.337: 18-drawing.js (1,081 lines) 100 uses of dir, 45 of away, 27 of squash; 06-costumes.js 46 and 17; 04-hair.js 17 and 1; 08-body.js 6 and 6; 07-underwear.js 2; 03-face.js none (one front face; its profile is made in 18-drawing.js). So a new angle is a drawing of every part for it: the head and face, every hair style, the shirt, pants and every costume, the hands, the feet."
  },
  {
   "at": "2026-10-19T15:46-06:00",
   "ticket": 412,
   "kind": "next",
   "text": "Angles to draw as routines of their own, for the poses asked for so far: (1) lying face up, seen from the feet end and above, the body running away from us (the tent's sleeping bags, ticket 412; beds along a side wall later); (2) lying on one side, seen from the front, with the depth order of a roll (the upper leg over the lower, the torso over the arm beneath); (3) a three-quarter view, between front and profile, for turning. To decide with Matthew: which first, and whether a new angle must cover every costume and hair style at once or can start with the plain friend."
  },
  {
   "at": "2026-10-19T15:55-06:00",
   "ticket": 412,
   "kind": "rule",
   "text": "Matthew picked the first new angle: \"lying with head and feet at a 45 degree angle --- as in the tent. it's specialized to that, I think. L/R symmetry works, but otherwise it's specialized for laying down near the L or R wall edge of a room, where the pseudo 3d perspective requires a new approach, just for that.\" So a view per situation, not one general 3D body: this one for lying along a side wall, mirrored for the other wall.",
   "source": "Matthew, 2026-10-19"
  },
  {
   "at": "2026-10-19T15:55-06:00",
   "ticket": 412,
   "kind": "finding",
   "text": "The routine (lieAlongSvg, 18-drawing.js): the body as volumes on the bag's floor, each point placed by distance along the bag from its open end, place across it and height, in the bag's widths, with the bag's own perspective (its edges run to where the tent's seams meet, and a step along it shrinks as 1/(y - vy)). The head is a ball (round from any side) on the pillow, its hair on the pillow and over its far side, its face tipped toward the feet by the pillow, so toward us; the torso shows its top (the shirt) and its side toward the room; arms and legs are tapered capsules; the feet point up, soles toward us. Drawn far to near, the wall's side before the room's: hair, head, neck, the arm by the wall, the body, the arm by the room, the legs (wall's first), the feet."
  },
  {
   "at": "2026-10-19T15:55-06:00",
   "ticket": 412,
   "kind": "finding",
   "text": "First tries at that routine: the head too high past the pillow and its hair cap covering the face; fixed by tipping the face toward the feet (as a pillow tips a head) and keeping the hair to the far crescent. Not yet in it: costumes, hair styles one by one, the face's own settings, patterns, the 👁️ see-through sliders."
  },
  {
   "at": "2026-10-19T16:00-06:00",
   "ticket": 412,
   "kind": "finding",
   "text": "The hair's layering on the lying head (Matthew: \"the lying view looks way better, but there's a layering issue with the hair?\"): its cap over the head's far side came down past the eyes, which were drawn on top of it. A face placed on the ball's upper side projects to the very top of the circle, leaving no room for a hairline, so the head propped on the pillow faces us: the face in the circle's middle, the hair over its top to a hairline above the eyes (bangs bowing at the middle), the hair spread on the pillow behind. Order on a head: hair behind, head, hair cap, eyes, mouth. 0.0.340.",
   "source": "Matthew, 2026-10-19"
  },
  {
   "at": "2026-10-19T16:05-06:00",
   "ticket": 412,
   "kind": "rule",
   "text": "Lying face up, the face looks at the ceiling, not at us (Matthew: \"the face should be facing up -- not looking towards us --- it's pretty goofy face wise still\"; the legs, torso, arms and feet \"good enough for now\"). Seen from the feet and above, it shows on the head's upper part, shortened: hairline and forehead at the far top, the eyes (whites, the pupils at their far edges: looking up past the forehead), the brows, the nose, nearer us the mouth, and below them the underside of the chin and jaw in shade; the ears at the head's sides. 0.0.341.",
   "source": "Matthew, 2026-10-19"
  },
  {
   "at": "2026-10-19T16:11-06:00",
   "ticket": 412,
   "kind": "rule",
   "text": "The head reclined, looking up: its hair is on the ball's far face, the crown toward the pillow, not on its top (Matthew: \"the hair should be on the far face of the head ball, not the top of it (the head is reclined now, looking upward)\"). Drawn as a mass behind the head, showing round its far edge, a thin hairline at that edge, and the hair spread on the pillow. 0.0.342. A rule for every view: place each part on the ball by which way the head faces in that pose, then layer by what faces us.",
   "source": "Matthew, 2026-10-19"
  },
  {
   "at": "2026-10-19T16:20-06:00",
   "ticket": 414,
   "kind": "finding",
   "text": "Elbows and knees now turn in three dimensions (turned3, 18-drawing.js): the second bone (forearm, shin) curled toward the front of the body (the knee's toward the back), then swung about the first bone's line, and drawn as it then points, seen from the front of the picture; a bone toward us or away is seen short (kept a sliver long end on: at 0 the pants and shirt were lost to NaN). Four sliders in 🦒 Neck, arms & legs, both sides alike and mirrored: 🏋️ elbows curl, 🫖 elbows swing, 🦶 knees curl, ↔️ knees swing. On top of every pose and animation; an animation can give its own (ElbowCurlL/R, KneeCurlL/R)."
  },
  {
   "at": "2026-10-19T16:20-06:00",
   "ticket": 414,
   "kind": "rule",
   "text": "Layering by depth, one more case: facing us, a shin turned more than 30 degrees away puts the foot behind the leg, so its shoe is drawn before the leg and the pants, under them. Found by a bug worth remembering: the drawing is one text with saved positions (legsAt, feetAt); inserting before one moves every later one, and ticket 129's cut at feetAt then dropped the body. Insert only after the last cut that uses a position."
  },
  {
   "at": "2026-10-19T16:20-06:00",
   "ticket": 414,
   "kind": "finding",
   "text": "The audit of every animation's elbows and knees (moveNow sampled at 8 phases, 0.0.342, sliders at 0). Walking, stairs, running and crawling always turn sideways (ANIM_SIDEWAYS), so their bends are forward bends in profile: walk elbows 14, knees 4..45; stairs elbows 22, knees 8..100; run elbows 85, knees 25..95; crawl elbows 0, knees 78..102. Swimming: elbows 0..36, knees 10..80 (either way). Climbing: facing us elbows 20..50, knees 0..55; in profile elbows 6..20, knees 16..78. Crouching: elbows 25, knees 75, either way. The jumps and climbing up give no bends of their own. Re-adjusted: facing us, the crouch's 25-degree bend was in the picture, the elbows out to the sides; now a 55-degree curl, the forearms toward us. Left as they are, for Matthew to judge: climbing facing us (its in-picture elbow bends), and every animation with the new sliders set (with knees curled 70, walking is on the knees, as with the old knee bend)."
  },
  {
   "at": "2026-10-19T16:20-06:00",
   "ticket": 414,
   "kind": "next",
   "text": "Per side sliders (each elbow and knee its own), if wanted; the existing 💪 elbows bend is a bend in the picture, which facing us reads as side to side: whether to keep it beside the new swing, or fold it in."
  },
  {
   "at": "2026-10-19T17:01-06:00",
   "ticket": 425,
   "kind": "finding",
   "text": "The lying-along view draws the friend's own hair style lying on the pillow (lyingHair: none; short, close round the head; long, fanned out, farther the longer; curly, a ring of curls; spiky, spikes from the crown; an afro, a big puff; pigtails, two tied tails out on the pillow, kept on the bag, more length going along it), each behind the head and round its far side, with a hairline at the far edge (lower with more bangs); and every part as see-through as its 👁️ slider. A style is drawn for the pose, not the standing hair transformed. 0.0.345."
  }
 ]
}
