aboutsummaryrefslogtreecommitdiffhomepage
path: root/public/bluebey-studio/src/faceArt.js
diff options
context:
space:
mode:
authorYasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com>2026-10-05 14:51:36 +0900
committerYasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com>2026-10-05 14:51:36 +0900
commit257516e2bde90e65439d01f19434cd2d9d5a03f7 (patch)
treecab680958a6bb1249c288d5974b083cfa9de1f3f /public/bluebey-studio/src/faceArt.js
parent1bf7ee115176bc366315a90ab31740e6cd968744 (diff)
bluebey-studio: 帽子切替のエラー修正とGLB帽子インポート、閉じ目の目線範囲・まつげ位置を調整
帽子切替時にトラバース中でハルを外して子がundefinedになる不具合を修正。GLBの帽子モデルを読み込めるようにし、なしで解除できるようにした。閉じ目の目線範囲を通常並みに広げ、まつげを上まぶたの外側へ配置。
Diffstat (limited to 'public/bluebey-studio/src/faceArt.js')
-rw-r--r--public/bluebey-studio/src/faceArt.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/public/bluebey-studio/src/faceArt.js b/public/bluebey-studio/src/faceArt.js
index 482ddd7..adecbb9 100644
--- a/public/bluebey-studio/src/faceArt.js
+++ b/public/bluebey-studio/src/faceArt.js
@@ -131,7 +131,7 @@ export const EYE_LAYOUT = {
},
arch: { edgesUp: 8, apexUp: 44 },
// まつげ: a few strokes flicking out from the upper-outer lid (see drawEyes).
- lash: { length: 34, width: 9, angles: [26, 52, 78] },
+ lash: { length: 30, width: 8, angles: [46, 66, 86] },
};
/**
@@ -1463,7 +1463,6 @@ export function drawEyes(ctx, p) {
);
let travelBase = irisRadius;
if (isHeart) travelBase = heartRadius;
- else if (isShutShape && showWhite) travelBase = shapeHalfLimit;
const eyeTravel = Math.max(0, EYE_LAYOUT.radius - travelBase) * lookMax;
let dx = clamp(spec.lookX ?? 0, -1, 1) * eyeTravel;
let dy = -clamp(spec.lookY ?? 0, -1, 1) * eyeTravel;