aboutsummaryrefslogtreecommitdiffhomepage
path: root/public/bluebey-studio/src/presets.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/bluebey-studio/src/presets.js')
-rw-r--r--public/bluebey-studio/src/presets.js17
1 files changed, 7 insertions, 10 deletions
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,
},