From 629dfd09777d1abb3cdecd8fc58d18234d1063cf Mon Sep 17 00:00:00 2001 From: Yasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com> Date: Mon, 5 Oct 2026 00:08:30 +0900 Subject: bluebey-studio: 帽子の高さ・傾き、髪の下地書き出し、目の形メニューの再構成 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/bluebey-studio/src/presets.js | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) (limited to 'public/bluebey-studio/src/presets.js') diff --git a/public/bluebey-studio/src/presets.js b/public/bluebey-studio/src/presets.js index 7f091f1..5ba46af 100644 --- a/public/bluebey-studio/src/presets.js +++ b/public/bluebey-studio/src/presets.js @@ -194,12 +194,14 @@ export function defaultState() { }, face: { // 帽子 (a hat on the head). `kind` is one of HAT_LIBRARY in src/hats.js. - hat: { kind: 'none' }, + // `height` lifts it off the head; `tiltX` leans it forward/back and `tiltZ` + // leans it sideways. + hat: { kind: 'none', height: 0, tiltX: 0, tiltZ: 0 }, eyes: { source: 'parametric', // parametric | opened | closed | ... (hand-drawn) linked: true, // move both eyes together - left: { open: 1, lookX: 0, lookY: 0, eyeX: 0, closed: 'line', closedLines: 1, irisShape: 'circle', threeFlip: false, tear: 0, tearY: 0, tearX: 0, tearTilt: 0 }, - right: { open: 1, lookX: 0, lookY: 0, eyeX: 0, closed: 'line', closedLines: 1, irisShape: 'circle', threeFlip: false, tear: 0, tearY: 0, tearX: 0, tearTilt: 0 }, + left: { open: 1, lookX: 0, lookY: 0, eyeX: 0, closed: 'line', closedLines: 1, irisShape: 'circle', threeFlip: false, tear: 0, tearY: 0, tearX: 0, tearTilt: 0, white: null }, + right: { open: 1, lookX: 0, lookY: 0, eyeX: 0, closed: 'line', closedLines: 1, irisShape: 'circle', threeFlip: false, tear: 0, tearY: 0, tearX: 0, tearTilt: 0, white: null }, irisScale: 1, lookMax: 1.2, highlight: true, @@ -210,12 +212,8 @@ export function defaultState() { // narrowed eye. See faceArt.js. lidShape: 'curve', lidTilt: 0, - // Hide the eyeball's white everywhere (not only for a heart): a line - // squint then reads as a bare line. - hideWhite: false, heartScale: 2, heartColor: '#e0344f', - heartHideWhite: true, // The tears live on each eye (see `eyes.left.tear`), so one eye can cry // on its own; only the colour is shared. tearColor: '#8fd8ff', @@ -511,11 +509,10 @@ export const FACE_PRESETS = [ label: 'すき', face: { eyes: { - left: { open: 1, lookX: -0.1, lookY: -0.3, closed: 'line', irisShape: 'heart' }, - right: { open: 1, lookX: 0.1, lookY: -0.3, closed: 'line', irisShape: 'heart' }, + left: { open: 1, lookX: -0.1, lookY: -0.3, closed: 'line', irisShape: 'heart', white: false }, + right: { open: 1, lookX: 0.1, lookY: -0.3, closed: 'line', irisShape: 'heart', white: false }, irisScale: 1, // The white behind a heart would poke out around its lobes, so hide it. - hideWhite: true, heartColor: '#e0344f', highlight: false, }, -- cgit v1.3.1