--- topic: makehuman-avatars triggers: [crates/human, crowd.rs, crowd_pose.wesl, CrowdMaterial, CrowdSwatch, starter_looks, AvatarLook, SetAvatarLook, AvatarLookOf, RemoteLooks, looks.rs, V38__avatar_looks.sql, net/look.rs, systems::human_avatar, human_avatar.rs, avatar_designer.rs, HumanLook, CARTO_HUMAN_LOOK, aim_height, human-pack, default.humanpack, assets/models/avatar/human, mocap.rs, rig.rs, hands.rs, level_gaze, HumanTextureLoader, HumanNormalLoader, nrm.avatar, avatar.jpg, PACK_VERSION, ProxyRef, MakeHuman, MPFB, 100STYLE, CMU, BVH, from_stored, skin_tone, extras, aim_reach, aim_screen, DesignerTurn] updated: 2026-11-26 --- # Realistic avatars are MakeHuman bodies built at runtime Every avatar is a person **built in the client** from MakeHuman's data: the base mesh, the shape targets the sliders blend, the `game_engine` rig and its weights, and clothes and hair as fitting rules. `crates/human` does the arithmetic (Bevy-free); `systems::human_avatar` turns the result into joints, skinned meshes and clips. It replaced the stylised Quaternius characters (`retired/quaternius-avatars.md`), whose only choice was a costume, on 2026-10-18; there is no switch back. ## Why MakeHuman, and what lost (2026-10-17) - **MakeHuman / MPFB 2** — realistic, parametric, and everything it exports and ships as data is CC0 (`mpfb2/LICENSE.md` §C; the system assets pack says so per file). Only the add-on's *code* is GPL, so the formats are implemented here from their docs, never by translating MPFB's Python. - **Ready Player Me** — shut down 2026-01-31 after Netflix bought it. - **VRoid / VRM** — customisable but anime-styled. - **MetaHuman, Character Creator, SMPL-X** — licences rule them out (Unreal-only, per-seat runtime terms, non-commercial research). - **Anny** (NAVER LABS, Apache 2.0) — MakeHuman-derived bodies for every age, body only. A later option for children's bodies, not a replacement. - **Generating bodies from code alone** — gives a mannequin, not a person; the anatomy *is* the data. Animation is the part code can usefully generate (foot placement, leaning, looking at someone), on top of clips. MPFB's maintainer advised exactly this shape for a Bevy game (makehumancommunity/mpfb2#381): parse the native files rather than push 1 200 mutually exclusive shape keys through glTF. ## The pack `human-pack` (`crates/human/src/bin`, feature `pack`) reads the sources and writes `assets/models/avatar/human/default.humanpack` (postcard) plus the textures beside it. Sources: mpfb2's `src/mpfb/data`, the MakeHuman system assets zip (`files2.makehumancommunity.org/asset_packs/makehuman_system_assets/`), and motion capture: 100STYLE's Neutral style (`zenodo.org/records/8127870`, CC BY 4.0) for the idle, and the CMU database's cgspeed BVH (`github.com/una-dinosauria/cmu-mocap`, free for all uses but not for resale) for the walk, the run, the gestures and the seat. The cuts — which take, which frames — are listed in `human-pack`. **The pack carries every macro target** (`TargetSet::Macros`), so the sliders can make any adult. That is most of it; one body needs about 30 of the 516, so fetching a body's targets on demand is the next step if it must get smaller. `HumanModel::missing_targets` is how a body asked of a pack without them says so. **Pack 7 nearly halved it losslessly (2026-10-18): 13.9 MB to 8.0 MB.** Measured field by field before: the 786 targets 10.26 MB, the clothing references 2.85 MB, the mesh 0.49, the clips 0.19, the weights 0.11. The targets became differenced columns (`Target`'s doc has the table — 5.13 MB, same numbers); the clothing references whole steps instead of `f32`s (`ProxyRef`). **Trap: MakeHuman's reference weights go past 2** (up to 5.1, in a bob haircut; every pair of shoes is 3.5), so an `i16` at 1/16384 clipped them, and the clipped shoes stood a grey spike out behind the legs. They are `i32`, which postcard writes in the same three bytes. The textures went from 9.9 MB to 7.5 MB by storing the grey (neutral) ones as one channel, plus alpha where they cut out. Measured 2026-10-17 on mac-1: the pack was 11.1 MB (13.6 MB from 2026-10-18 with the wardrobe and the face, plus 9.9 MB of textures) — ten clips and all 516 macro targets from age 18 up (the "child" ones blend in below 25; only the baby ones are left out), stored as half-millimetre steps and deflated, where floats were 70 MB —, the nine 2048² PNG textures 19 MB (too big for a phone; downscale and compress before this ships). The default man is 1.73 m, 18 700 vertices and 33 000 triangles across body, eyes, brows, lashes, hair, outfit and shoes — the Quaternius Adventurer file is about 20 000 vertices. `build` took about 10 ms in the test profile. ## Facts the code depends on - **Base mesh**: 19 158 vertices in decimetres, +Y up, facing +Z (Bevy's handedness — scale by 0.1, no axis change). Vertices `0..13380` are skin; the rest are helpers (125 joint cubes, eyes, teeth, tights, hair) that are shaped with the body and never drawn. Faces using only skin vertices are the body. - **The rig JSON has its bones at the top level**, not under `"bones"` as MPFB's docs say; alphabetical, so it is sorted parents-first on read. game_engine uses only `CUBE` joints (the mean of a joint cube's 8 vertices) plus one `MEAN`, and no offsets. - **Rolls and the T-pose are Blender's** (Z up, `vec_roll_to_mat3`, Euler XYZ in bone space), so `rig.rs` builds bone frames in Blender's frame and converts once; a bone's local frame is the same in both. - **A garment `.obj` is not in its fitted position** (authored on other bodies; the eyes are 0.84 m off). Only its faces and UVs are used; positions always come from the `.mhclo` fitting. - **100STYLE is Xsens, 60 fps, centimetres; CMU's conversion 120 fps in 0.056 m units.** Both rest in a T-pose facing +Z with the left at +X, like MakeHuman. Both name `LeftShoulder`, and mean different bones by it (Xsens's upper arm, CMU's clavicle); `mocap::map_bones` tells them apart by whether the skeleton has a `LeftCollar`. **CMU subjects 141 and 143 were captured at 60 fps though their files say 120** (a jump in them falls at four times gravity), so their cuts set the rate. Frame 0 of every CMU file is a T-pose the conversion added. - **Raw capture is cut, not used**: a loop is the stretch whose ends match best (`mocap::find_loop`), its remaining mismatch spread over it, its travel subtracted and kept as the clip's speed. A take turns at the walls of the capture room, and a turn on the spot can match its ends as well as a stride, so a travelling loop must also keep the take's usual pace in a straight line (before that, `Rushed`'s walk came out at 0.2 m/s). - **The gaits were chosen by speed** (`human-pack --probe`, 2026-10-17, on the default man): 100STYLE's Neutral walk is 0.86 m/s, and the game walks at 1.8 — twice its cadence; `Rushed` (1.65 m/s) was taken and later replaced by a CMU walk (below). Every 100STYLE run is a jog (2.3 m/s at best) and the game runs at 6 m/s; CMU 09_01 is a real run, 3.46 m/s on 0.73 s, played at 1.7×. - - **A capture rests in a T-pose and MakeHuman in an A-pose**, with different bone rolls, so clips cannot be copied channel for channel. They are stored as each bone's world rotation relative to the take's T-pose, and replayed relative to MakeHuman's own T-pose (`poses/game_engine_fk/t-pose.json`) — **with each of its bones first turned to point the way the take's does** (`rig::aligned_tpose`). A capture skeleton's spine and neck stand dead straight at rest and MakeHuman's lean forward; without the turn the take's own neck lean was added to a neck that had it, and every clip looked at its feet. Each clip is then stood on the ground by its lowest ankle (`rig::ground`), so no capture's floor height matters, and then on its soles (`build::plant_feet`, 2026-10-19): what is drawn below 12 cm at rest — feet or shoes — is skinned through every frame, and the clip is lifted or lowered so that its lowest point is at the ground in a quarter of the frames. The ankle alone stood the idle's toes 3.3 cm in the ground and let the walk's sole wander from 4.6 cm under to 1.6 cm over it; one frame's minimum would have lifted the whole walk for a toe dipping at push-off. `standing_clips_put_the_soles_on_the_ground` is the guard. `the_shipped_clips_play_like_people` is the guard: idle hands hang by the sides, and a walking ankle reaches the ground. ## The designer The Appearance panel is `systems::avatar_designer` (`docs/mockups/avatar-designer`). A look is `cartopolis_core::AvatarLook` (the client calls it `HumanLook`): whole percents, RGB bytes and names, so it compares exactly and travels in about 150 bytes. While the panel is open the avatar wears the draft (`HumanDraft`) and closing it unsaved puts the saved look back. **It opens on taps, not sliders**: eight starters and "Surprise me", a row of quick picks each for body shape, age, build (weight and muscle together) and height, and "Another face"; the sliders sit under "Fine-tune" and the face parts. **A changed look is swapped in, never rebuilt in place** (`HumanRebuild`, 2026-10-19). The body is built on a worker (`prepare_human`), spawned with its meshes hidden beside the old one, and shown — the old one despawned in the same frame — once its textures are in and two more frames have let its meshes reach the GPU; its clip starts where the old body's was (`avatar::animate_holder`). Before, a rebuild despawned the body and built the next on the following frame: the body vanished on every slider step until its meshes were up, came back white while any texture dropped with the old materials was re-encoded, and restarted its clip — the flicker the designer had. A change of colour alone (hair, top, bottom) repaints the materials and builds nothing (`same_body`). One build per avatar at a time, at most every 0.1 s, each about 1.5 MB of mesh uploads; the designer keeps every texture it has shown (`HumanTextures`) until it closes, so going back to a skin or hair is not another 350 ms encode. Another player's new look goes through the same swap. Three things it does so the avatar can be seen while it is shaped: - **The model turns to the camera** (`update_avatar_model_pose`), which in Follow is behind it. A turn of the model only: the heading the sim holds and the camera stay where they were. - **On a phone it is a sheet over the bottom half** (`lib_avatar.rs`), not the right panel, which on a compact screen is the whole screen. - **The camera puts the avatar in the middle of the half the sheet leaves**: it aims at the body's middle (`CameraState::aim_height`, 0.9 m) or the face (1.62 m, Face tab), and while the sheet is up tilts down until that point stands at NDC 0.5 (`CameraState::aim_screen`). Aiming lower instead (-0.3 m) held the body only at the default distance, and the Face tab's close-up was not lifted at all: the head sat on the sheet's edge, hidden but for the hair (2026-11-14). Not saved. `CARTO_HUMAN_LOOK="body_shape=0,weight=90,age=70"` starts an undesigned avatar with those sliders, for a capture, which cannot drag one. It takes the wardrobe and face too (`hair=afro01,top=150.40.40,face:nose/…=80`). ## Everyone sees everyone's look (protocol 42) A client sends `SetAvatarLook` on every new connection and whenever its saved look changes (never while it has not designed one: then nothing is kept and everyone, itself included, draws the default body). The server checks it is reasonable (`AvatarLook::is_reasonable`: sliders in range, age 18–90, short names, a bounded face list — not whether the names exist, which is the client pack's business), keeps it with the account (`accounts.look`, postcard bytes, migration V38), wears it in the world and broadcasts `AvatarLookOf { avatar_id, look }` on the world channel. A client that connects is handed every online look before the snapshot that brings the avatars, and its own saved look is worn and broadcast without it sending anything. Only the avatar id travels, never the account: who an avatar is stays something a client asks. On the client a look lives in `RemoteLooks` by sim id, not on `RemoteAvatar`, because it arrives before the avatar's snapshot. A look that changes after a model is built rebuilds it; the same look again (it is re-sent on every connection) does not. **At most one MakeHuman body is built a frame**, so a crowd coming into view is built over a few frames rather than in one hitch. Protocol 42, message kinds 121 and 122 and migration V38 were reserved through `midas reserve` on 2026-10-18, after the meetings work took 41, 111–120 and V37. ## The wardrobe, the skins and the face (2026-10-18) From MakeHuman's CC0 system assets: 10 hair styles, 5 brows, 7 outfits, 5 shoes, a hat, 6 eye colours, and all 18 skins (African, Asian and Caucasian, young, middle-aged and old, female and male — a look picks the family, its age and body shape pick the skin). **Left out on purpose: every outfit printed with MakeHuman's logo** (female_casualsuit01/02, male_casualsuit02/04/06, the T-shirt the first trial wore): the assets are free, the trademark is not ours to put on everyone's shirt. **Recolouring needs neutral textures** (`human::textures`): a tint multiplies, so over an authored texture it can only darken. Hair, brows, lashes and outfits are stored as their luminance over the texture's bright end, in grey, with the colour that gives the authored look back recorded per region; any colour, lighter ones included, is then a tint. **An outfit is split into a top and a bottom** by texture island — a suit is one mesh, but its shirt and trousers are separate islands — and an island whose middle is below the hip joint is the bottom. Splitting by skin weight first put a pair of overalls, bib and all, on top. **Textures went from 19 MB to 9.9 MB while tripling the wardrobe**: 1024 px for skins and garments, 512 for hair and brows, 256 for eyes, JPEG unless the alpha really cuts something out. MakeHuman marks most garments transparent whether or not they are, which made every outfit a 1.5 MB PNG; the pack now looks at the alpha. The client needed Bevy's `jpeg` feature, whose decoder the `image` crate already built. **On the GPU they are block-compressed, with mips** (`HumanTextureLoader`, reusing the map tiles' encoder): the default man's seven textures went from 16.0 MB of RGBA8 to 5.3 MB. What routes a file to that loader rather than Bevy's is its **inner extension**: every pack texture is `*.avatar.jpg` or `*.avatar.png` (`textures::TEXTURE_EXTENSION`), and Bevy tries a file's full extension before its last one. A texture written as plain `.jpg` still loads — uncompressed, with no error to say so. **The face is MakeHuman's modifiers**, carried whole (about 110 controls, 270 targets, 0.1 MB of the pack); the designer offers about thirty. A modifier is a pair of target sets by sign, a left-and-right one moving both sides; a one-sided one (`head-oval`) goes 0 to 1. Face values are stored as a sparse list, so an untouched face costs nothing. ## Detail and a more personal look (pack 9, protocol 45, 2026-10-27) - **Normal maps.** MakeHuman ships them for most garments, the hats and a pair of shoes, none for the skins. A garment's goes in the pack as `*.nrm.avatar.jpg` at 512 px; **the inner `nrm.avatar` extension is what sends it to `HumanNormalLoader`**, which uploads it in a linear format — the colour loader's sRGB would lean every normal. A skin's is baked by `textures::normal_from_detail` from the painting: its luminance with a 12 px box blur taken out, read as height (pores and creases are painted darker), at `SKIN_DETAIL`. A part with a normal map gets tangents (`Mesh::generate_tangents`) in `prepare_human`, on the worker. Normal maps added 2.3 MB of skin and 1.2 MB of garment files to the textures; a client fetches only those its avatars wear. **Judged on mac-1's GPU only; the strength is a first guess.** - **Body controls.** The pack carries MakeHuman's neck, torso, hip, stomach, buttocks, arms and legs groups as well as the face's (186 more targets, 0.18 MB: they touch few vertices each). They travel in `AvatarLook.face`, whose name stayed for the wire: **a face button must only clear the face's entries** (`avatar_designer::clear_face`), or "Average face" flattens a belly. - **Skin tone** (`AvatarLook.skin_tone`) is the body material's base colour, a linear factor of up to 1.8 either way over the painting, so a family's skins overlap the next family's. A tone change repaints; it builds nothing. - **Extras** (`AvatarLook.extras`): anything worn beyond the outfit, by pack name — a beard (tinted with the hair), glasses, and **separates**: an empty `outfit` and a `Top` and a `Bottom` among the extras, tinted with the top and bottom colours. From the MakeHuman community packs, CC0 and CC-BY, **only where the item's own `.mhclo` names its pack's licence** (`human-pack`'s `COMMUNITY` says what was left out and why; `LICENSE-THIRD-PARTY.md` credits the CC-BY authors). Each was looked at on mac-1 before it stayed: the cloche hat (hair through it), the leggings (thighs through them) and the wrap dress (6.8 cm stretch reaching, `clothes_do_not_spike`) did not. Models over ~8 000 vertices were not taken: the fitting references are most of the pack, **12.0 MB with 82 items** (8.1 MB before this work), loaded whole by every client — the next step, if it must shrink, is fetching a garment only when someone wears it. - **Separates need their skin hidden by rule.** The community's tops and trousers mostly list no `delete_verts`, so a sweater showed the chest through it and a trouser waistband through the sweater. `build` hides, for a top or bottom, the skin it hangs on, and for a bottom worn with a top, its faces over the top's skin — both through `close_over`, a three-ring closing of the scattered base vertices the garment hangs on, which fills the gaps without reaching past a hem (`a_bottom_tucks_under_a_top`). - **The designer**: Undo/Redo (a drag is one step, recorded when the pointer lets go), Back to saved, a Front/Side/Back view (`DesignerTurn`, added to the turn toward the camera), the camera close to the head on the Face tab (`CameraState::aim_reach`, 1.0 m at 1.62 m), "Similar face" (each moved control ±15, one or two new ones), a colour picker beside each palette, all twelve brows, twelve starters. **Trap: postcard gives no serde default to a field missing at the end.** `accounts.look` is postcard bytes, and a look saved before protocol 45 ends before `skin_tone`; `from_bytes` fails rather than defaulting, and the old `load` turned that into "no look" — every saved avatar would have come back as the default body. `AvatarLook::from_stored` reads each older layout (`AvatarLookV42`, frozen) and carries it forward; the next field added needs the next frozen layout. The client's own copy is JSON, where defaults work. ## The crowd: the street walkers are these people too (2026-11-04) The walkers `systems::traffic` moves (220 at most) are MakeHuman bodies, made by `cartopolis_human::crowd` and drawn by `systems::crowd`. An avatar would not do: ~33 000 triangles, ~5 MB of textures and a skeleton animated every frame each, so 220 of them is ~7 M triangles before shadows. A crowd body is: - **The designer's fourteen starters** (`avatar_designer::starter_looks`), with the skin families dealt out in turn and the tone spread ±30, built from the pack at startup on `workers::FAR`. - **Cut down by half-edge collapse under quadric error**, to 3 000 triangles (nearer than 30 m, kept to 34) and 600. A vertex is only ever merged into a neighbour, so every survivor is one of the body's own and keeps its skin weights, and the poses are skinned after the cut. Boundaries (hems, skin hidden under clothes) carry a heavy plane so they keep their line. Brows, lashes and glasses are left off; a cut-out (hair) face is kept where the material's `Mask(0.5)` would have drawn it. - **Coloured per vertex**, from 128 px swatches of the pack's textures (`CrowdSwatchLoader`, which claims no extension and is found by asset type, so the avatars' loaders keep their files), averaged over everything merged into the vertex. Neutral garments are baked grey with their region in the vertex alpha, and the shader tints them with the walker's own top and bottom from `crowd::COAT_COLOURS` / `TROUSER_COLOURS`. - **Walking without a skeleton**: 16 poses through the captured walk plus one standing, baked into an `Rgba16Float` texture (position and normal a vertex a pose). `crowd_pose.wesl` blends between neighbouring poses by the phase in the walker's `MeshTag` and toward standing as it slows; the colour pass and the prepass both pose the body, so its shadow steps with it. The vertex's own index is `vertex_index - mesh[i].first_vertex_index`: the mesh allocator shares vertex buffers between meshes. - **Reacting** (2026-11-15): the finer level also bakes ten poses of the `wave`, after the riders' poses, and every vertex carries its share of a head turn in its position texel's `w`, with the head joint per pose as a uniform — so a walker can wave back and look at you (`ambient-traffic.md`, "The crowd notices you"; +320 kB a body). Measured 2026-11-04 on vps-1 (debug build): the fourteen bodies took 2.6 s of worker time to shape, 11.1 s to cut and bake, and 2.0 s to decode swatches, and upload 0.7–1.6 MB each (12 MB in all, meshes and pose textures); the release-built test cuts one body in 0.43 s. Every walker wearing a body shares its mesh and material, so the crowd is at most 28 instanced draws, and nothing is uploaded once it is made. A walker whose body is not made yet walks unseen. **Not measured: frame time on the phone.** The worst case is 220 × 3 000 triangles if every walker were near; at a street's usual few dozen near, it is ~100–200 k. ## Rejected: Quaternius's animation library (2026-10-17) The first retarget used Quaternius's Universal Animation Library. Quaternius moved to a licence forbidding redistribution on 2026-08-28, and `LICENSE-THIRD-PARTY.md` bars anything downloaded from them since; the March 2025 CC0 release on OpenGameArt was arguably exempt, but motion capture was the better answer anyway — real motion suits a realistic body better than hand-keyed clips — and no commit on the branch ever carried a pack made from the library. Mixamo (no redistribution), Bandai Namco's set and LAFAN1 (non-commercial) and SFU's (no commercial products) were ruled out on licence. ## What code adds on top of the capture (2026-10-18) - **The gaze.** Retargeted as captured, the face looked 20–25° down at idle and in the gestures and 42° down in the walk (the run was level) — measured per clip as the head's turn from rest applied to forward. `rig::level_gaze` turns each upright clip's head so its average is 6° below level; the capture's motion about that average stays. Clips whose head pitches over more than 40° (the roll, the fall) keep their gaze. - **The neck** is halfway between the chest and the head, in every clip. CMU's skeleton has two neck joints to the rig's one; through the lower one the gestures held the rig's neck ~55° back and the head forward against it, and the wave's head lay on its shoulder until the neck was derived instead. - **The fingers.** Neither database records them (100STYLE stops at the wrist, CMU has a stub), so `hands` curls them per clip — relaxed at idle, a loose fist running, a fist to punch, open to wave, closing at the end of the reach — with a little movement through each cycle. The bend direction comes from the rest hand's own curl, so no bone roll had to be worked out; a test checks that a fist brings the fingertips toward the thumb's root. - **Clothes' skin weights are smoothed** (2026-10-19). A garment vertex copies its weights from the one to three body vertices it hangs on, and neighbours on a garment can hang on body vertices far apart: under the arm a shirt vertex 86% on the chest sat beside one wholly on the upper arm, and the casual suit spiked 21 cm at the armpit in the gestures and 13 cm at the crotch in the walk. `fit::smooth_weights` (8 rounds of half-self, half-neighbours over the garment's own edges, outfits, shoes and hats only) brings every outfit under 5 cm in every upright clip but a skirt running (6.6 cm). Measured by skinning each clip on the CPU — `clothes_do_not_spike`, which is also the way to find the next one. The body's own weights were never the problem. - **The shoulders** (2026-10-19). Every CMU clip — the run, the gestures, the seat — shrugged: the shoulder joints sat level with the base of the neck on average, where the rest pose and the 100STYLE clips hold them 9.4 cm below it. `rig::settle_shoulders` turns each collarbone, once per clip, so its average direction under the chest is 12° below the rest pose's (`SHOULDER_DROP` — the rest pose raises the arms 45°, which lifts the collarbones, and settled exactly at rest the walk still looked shrugged); the capture's motion about it stays (a wave still lifts its shoulder), and the upper arm keeps its world turn. `upright_clips_keep_the_shoulders_down` is the guard. The cause on CMU's side (its rest pose or its collar joints) was not found. - **The walk is CMU 08_08, an ordinary walk** (2026-10-19). The first walk was 100STYLE `Rushed`, picked for its pace: it leaned the trunk (pelvis to neck) 13–25° forward, held the upper arm 15–47° behind the body and pumped the elbow to 84° — a zombie, then, once code straightened the trunk and made an arm swing, "the ministry of funny walks". Patching a hurried walk does not make an ordinary one, so both patches were deleted and the walk replaced. `human-pack --try-walk PACK FILE…` plays candidate takes on the default man uncorrected and prints pace, cycle, trunk lean, arm swing and elbow bend; of 23 CMU walks, 08_08 is 1.76 m/s on a 0.92 s cycle (the game walks at 1.8, so it plays at its own pace), trunk 3°, arms -26° to +19°. Subjects 35 and 16 walk at 1.0–1.2 m/s with the arms nearly still; 07_01 (1.37 m/s, arms ±25°) is the pick if the game's walk ever slows. `human-pack --replace-walk PACK FILE START [END]` swapped it into the pack without the other sources — the CMU takes come from `raw.githubusercontent.com/una-dinosauria/cmu-mocap/ master/data/008/08_08.bvh`. `the_walk_is_an_ordinary_walk` is the guard. ## The greetings and the throw (pack 2026-11-15) Three CMU cuts, added to the shipped pack by `human-pack --add-clip PACK CMU_DIR NAME…` (the generalised `--add-swim`: it cuts the named clips exactly as `cmu_cuts` lists them, so a full rebuild cuts them the same way): - **`handshake`**: 18_01 "walk, shake hands", subject A, frames 20–290 (2.24 s), planted at 120. The right hands meet at ~75, pump once (~105) and let go at ~215. Subject A rather than B (19_01) because his hand reaches out in front of him; B's stays by his hip and A reaches it. - **`highfive`**: 21_11 "high-five, walk", subject B, frames 40–232 (1.59 s), planted at 132, where the palms meet at 1.6 m. B rather than A (20_11) because A slapped out sideways, 66° off his heading, as the two walked past each other; B reaches up in front. - **`throw`**: 15_12, frames 3160–3420 (2.16 s): an overhand throw with the feet still — the hand drawn back past the head from ~3180, released forward at head height at ~3302 at 4.4 m/s (the fastest the right hand moves in the 75 s take, the first of five throws in a row, found by scanning its speed), followed through to ~3342. It replaced the punch, which stood in for a throw since the carry work. Both greeting takes are two people **walking up to each other**, and the walk is not wanted. **`Cut::plant`** holds the hips and legs at one frame (the contact) through the whole clip and keeps the trunk's turn in the room as captured, so the gesture is made standing where it lands. Keeping the hips' captured travel instead slid the body 0.4 m over frozen feet in the approach; held, the hands stay within 0.1 m of where they met through the shake (measured on the take, frames 90–170) because the subjects barely move then. Both avatars play **one subject's clip**, stood point-symmetric by the sim (`paired-gestures.md`), so the partner offset is twice the palm's reach at contact on the default man — `--add-clip` prints it, `cartopolis_core::greet` carries it, and `greetings_meet_halfway` holds the pack to it. Grips (`hands::grip_for`): half closed for the handshake (a fist read as a punch), flat for the high five, round the ball for the throw. `clothes_do_not_spike` passes on all three with every outfit, and `standing_clips_put_the_soles_on_the_ground` and `upright_clips_keep_the_shoulders_down` include them, but for the high five and the throw in the shoulders test: a hand raised over the head lifts its shoulder by design, as the wave's does (the throw's averages 2 mm above rest, where the test wants 5–50 mm below). ## The climb and the dangle (pack 2026-11-15) Two more CMU cuts by `--add-clip`, for climbing onto walls and sitting on edges (`climbing-and-edges.md`). `--add-clip` prints, for these, the numbers the client lifts by (`measure_climb_and_seat`), and `build::lowest_sole` / `build::seat_height` are the measures. - **`climb`**: 15_02 "climb, step over, sit on, stand on stepstool", frames 4150–4330 (1.49 s): the left knee up onto the top of a two-step stool, the body onto it, the right foot after. On the default man the soles rise 0.365 m and the hips travel 0.60 m. It starts with the right foot already on the stool's 0.19 m step. Cut as **`CutKind::Travel`**: its travel taken out evenly and kept as its speed (0.40 m/s), however slow, because the client carries the avatar onto the wall over the clip — a `Once` cut keeps any travel under a metre a second. It rises and so is grounded on its **first** frame, not the quartile `plant_feet` stands the others on (a fifth of it is on the ground, so the quartile would sink it by the step). Searched: the stairs (13_35–38, 14_21–23, three 0.2 m steps in about three seconds), the playground (01_02–08, one foot already on a 0.28 m step and the hands up on a bar), every single-step rise in 15_02 (all step-overs, hips level). None hoists onto a waist-high wall. - **`dangle`**: 14_29 "sit on stepstool, stand up, swing legs", a 0.9–2.2 s loop out of frames 2180–2523: sitting on a 0.78 m stool, the hands on the thighs, both legs hanging and swinging together (ankles 0.19–0.40 m off the floor). The loop found is one swing, 1.08 s. Its seat is 0.62 m over its ground dressed, the `sit` clip's 0.30 m (`the_seats_are_where_an_edge_takes_them`, which also holds the soles within 4 cm of its ground and the knees in front of the seat). It was first measured at 0.44 m: the lowest skin under the hips was the calves swung back under the stool, until the measure was bounded to a third of the hips' height under the joint (`build::seat_depth`). Each body's own seats are measured as it is built (`build::seat_fit`). 01_06–08 ("climb, sit, dangle legs") hold an overhead bar throughout. Excuses, measured: the female elegant suit's skirt stretches 5.1 cm in the climb's raised knee (`clothes_do_not_spike`, beside its stride's); the dangle props the shoulders up 2 mm above rest, as sitting with the hands on an edge does (`upright_clips_keep_the_shoulders_down`). The pack grew from 12 099 KB to 12 123 KB. Known gaps: 100STYLE is all locomotion (CMU supplies the gestures), no faint in CMU (a slip-and-fall stands in), the waving hand is the only one that opens on purpose (both hands share the clip's grip), and the `--clip` sheet's first tile sometimes catches the city before it has loaded.