From cb0cce903f8ea3ad4943cabab83b74a40d87fc00 Mon Sep 17 00:00:00 2001 From: Yasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com> Date: Sat, 3 Oct 2026 23:29:04 +0900 Subject: public/bluebey-studio: 間隔の表示を補正、ダリ高さ80、ペンシル削除 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 「左右の間隔」スライダーは内部値より10大きく表示するようにし、既定の -10 が 0 と見えるようにした。 ダリの高さの既定を 80 にした。 ペンシル髭を削除(選択肢・画像・1ファイル版の同梱から外した)。 --- public/bluebey-studio/src/faceArt.js | 25 ++++++------------------- 1 file changed, 6 insertions(+), 19 deletions(-) (limited to 'public/bluebey-studio/src/faceArt.js') diff --git a/public/bluebey-studio/src/faceArt.js b/public/bluebey-studio/src/faceArt.js index cf61c68..e999045 100644 --- a/public/bluebey-studio/src/faceArt.js +++ b/public/bluebey-studio/src/faceArt.js @@ -906,9 +906,10 @@ function tintedSprite(image, color) { /** * ひげ: a mustache or beard under the nose. Each kind is a small shape built on - * the spot; `scotch` and `cat` are drawn with round-capped strokes, `kaiser` is a - * thick waving band, and `apron` is a filled bib. In a line drawing nothing is - * filled and only the outlines are inked. + * the spot; `scotch` and `cat` are drawn with round-capped strokes, and `kaiser` + * is a thick waving band with a curl at each tip. A kind that ships a drawing in + * `assets/beards/` is drawn from that instead (see `textures`), tinted with the + * beard colour. In a line drawing nothing is filled and only the outlines are inked. */ function drawBeard(ctx, spec, lineOnly = false, textures = null) { const shape = spec?.shape ?? 'off'; @@ -994,22 +995,8 @@ function drawBeard(ctx, spec, lineOnly = false, textures = null) { return; } if (shape === 'apron') { - // エプロン: a bib-shaped beard hanging from the cheeks to a rounded point. - const pts = [ - { x: cx - w * 0.6, y: cy - w * 0.04 }, - { x: cx - w * 0.5, y: cy + w * 0.35 }, - { x: cx - w * 0.22, y: cy + w * 0.62 }, - { x: cx, y: cy + w * 0.7 }, - { x: cx + w * 0.22, y: cy + w * 0.62 }, - { x: cx + w * 0.5, y: cy + w * 0.35 }, - { x: cx + w * 0.6, y: cy - w * 0.04 }, - ]; - if (lineOnly) { - strokePolyline(ctx, pts, { color: line, width: lw }); - } else { - fillPolygon(ctx, pts, color); - strokePolyline(ctx, pts, { color: line, width: lw * 0.5 }); - } + // A filled bib was once a kind here; kept as a no-op so a saved state that + // still names it simply shows nothing rather than throwing. return; } // ねこ: three whiskers a side, growing out of the cheeks with a gap left in the -- cgit v1.3.1