Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mouth size & facial line opacity #4

Merged
merged 1 commit into from
Nov 5, 2023
Merged

Conversation

tomkennedy22
Copy link
Owner

This PR makes two small-ish changes. This will lead to greater variability in player faces

Line Opacity:

  • This attribute is "face-wide", similar to fatness, and will apply to multiple features, including miscLines, mouthLines, eyeLines
  • This attribute is applied as opacity to the three features mentioned
  • The attribute is generated as random() ** 2 - meaning 0.9 ➡️ 0.81, 0.5 ➡️ 0.25, 0.1 ➡️ 0.01, and so on
  • The squared random function results in a phased-in line opacity, so most lines will not be 100% opaque
    image

Mouth Sizing

  • This attribute exists within mouth, and scales from 0.7 ➡️ 1.3

image


Request for feedback

  • Should line opacity influence whether lines appear at all? Should lines always be popualted, but not show up unless opacity > X?
  • Could line opacity lead to additional aging functionality? Aging zengm-games/facesjs#3
  • Is mouth range ok?
  • Should mouth range "anchor" or have normal curve closed to 1?

@tomkennedy22 tomkennedy22 merged commit 580ecc2 into master Nov 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant