-
Notifications
You must be signed in to change notification settings - Fork 100
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
Aging #3
Comments
Hey @dumbmatter , had some thoughts on this. At least for hair: You could scale a players hair color with age, and even apply a linear gradient. So for instance, sure, a players hair might all slowly turn gray. But it could start at the ears and make it's wait up. Example and POC screenshots: (I forgot to do facial hair) Just somewhere in the svg object: The player hair (fill: url is the important part, with id matching the snippet above): I do need to think about how the age parameters would work... we would want the grayness to come in for different players at different ages, but can't truly use a random function as we would want it to generate the same way for each player every time. And then maybe shift a little each year of the players career. Maybe as players have their face generated the very first time we could establish a few variables then, like AgeFirstGray and GraySpeed with example values of like (33, .05). |
That's cool. I'm not sure if there is, but it'd be even cooler if there was a way to make it come in even more realistically, like "salt and pepper hair". But if not, a gradient like this is probably a good solution. Also to consider - players going bald, and wrinkles appearing. These might require changes to face generation too, because maybe some hair styles and facial lines should not be used when generating a player, and should only be applied based on age.
Yeah, that's a good idea. |
Check out this pull request for some aging related work: #18 |
Add in edibility to editor.html for text box
It'd be cool to put an
age
property on the root of the face object, and use that to control aging-related features, like facial lines, balding, and graying hair.The text was updated successfully, but these errors were encountered: