Skip to content

Commit

Permalink
Tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkennedy22 committed May 15, 2024
1 parent de523fb commit dfbba7f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion public/editor/stateStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ const gallerySectionInfos: (Pick<
selectionType: "range",
renderOptions: {
rangeConfig: {
min: 0.6,
min: 0.8,
max: 1.2,
},
},
Expand Down
8 changes: 4 additions & 4 deletions src/generate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ export const generate = (
id: getID("eyeLine", gender),
opacity:
Math.random() < 0.75 ? roundTwoDecimals(0.6 + 0.4 * Math.random()) : 0,
strokeWidthModifier: roundTwoDecimals(2 * Math.random()),
strokeWidthModifier: roundTwoDecimals(1 + Math.random()),
},
smileLine: {
id: getID("smileLine", gender),
Expand All @@ -196,14 +196,14 @@ export const generate = (
? 0
: 0.6 + 0.4 * Math.random(),
),
strokeWidthModifier: roundTwoDecimals(1.4 * Math.random()),
strokeWidthModifier: roundTwoDecimals(1 + 0.5 * Math.random()),
},
miscLine: {
id: getID("miscLine", gender),
opacity: roundTwoDecimals(
Math.random() < 0.5 ? 0 : 0.6 + 0.4 * Math.random(),
),
strokeWidthModifier: roundTwoDecimals(2 * Math.random()),
strokeWidthModifier: roundTwoDecimals(1 + Math.random()),
},
facialHair: {
id: Math.random() < 0.5 ? getID("facialHair", gender) : "none",
Expand All @@ -228,7 +228,7 @@ export const generate = (
mouth: {
id: getID("mouth", gender),
flip: isFlipped(),
size: roundTwoDecimals(0.6 + Math.random() * 0.6),
size: roundTwoDecimals(0.8 + Math.random() * 0.4),
},
nose: {
id: getID("nose", gender),
Expand Down

0 comments on commit dfbba7f

Please sign in to comment.