From dfbba7f195dbebcdbb68c840ae6e06aefa4976b9 Mon Sep 17 00:00:00 2001 From: Thomas Kennedy Date: Wed, 15 May 2024 12:52:45 -0500 Subject: [PATCH] Tweaks --- public/editor/stateStore.ts | 2 +- src/generate.ts | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/public/editor/stateStore.ts b/public/editor/stateStore.ts index c867da4..2f018c3 100644 --- a/public/editor/stateStore.ts +++ b/public/editor/stateStore.ts @@ -113,7 +113,7 @@ const gallerySectionInfos: (Pick< selectionType: "range", renderOptions: { rangeConfig: { - min: 0.6, + min: 0.8, max: 1.2, }, }, diff --git a/src/generate.ts b/src/generate.ts index 5bdea6a..20ba8db 100644 --- a/src/generate.ts +++ b/src/generate.ts @@ -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), @@ -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", @@ -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),