Hair: noise and curl from the groom's style groups #310
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/holdmysocks--SixNG!310
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/310/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@holdmysocks on GitHub · 2026-11-25 20:07 UTC · original
holdmysocks:claude/people-hair-shape→master· +208 −16 · 5 files · 9 commits · merged 2026-11-25 22:28 UTCPorts the noise and curl step of the game's hair strand generation into the grown coat (viewer and
--coatexports).What it does
hairgen: the bit-128 step of the strand program. At arc lengthsfrom the root, each point gets a 2D offset across the strand:floor(4 s Fn), scaled by the amplitude;fract(Fc s + r)(r = the strand's length draw).groom: reads the two curl groups (system +0xF8 and +0x104, six half floats each: an unread word, fade, noise amplitude, curl radius, noise and curl frequency) intocurl. The game copies the first group into the per-instance record its generator reads, so it applies to every strand. No known program reads the second. Both go into the growth JSON.Verified
apply_style.Not verified / not done
1 - m, wheremis a per-guide value not yet found; it is taken as 0.