Skip to content

💃 Free CC0 mannequin pose reference library for AI image tools (Nano Banana, ChatGPT, ComfyUI, Midjourney) — 250+ poses × 5 angles in line art, names in ja/zh/en/ko

feat(web): compare line art and photo side by side

wquguru5c3f52bc2916
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 7b97d62d..20d87d77 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,12 @@ the catalog schema.
## [Unreleased]
+### Added
+- Compare mode: the lightbox's source switch is now line art / photo / compare. Compare shows both at one height side
+ by side (no overlay: they are framed differently), keeps the gap box for a missing side, marks angles that have both,
+ and offers both 900 downloads. `L` cycles the three; deep link `#P001-diag-compare`. Pose pages with photos get a
+ 「线稿与实拍对照」 section. The grid keeps two modes.
+
### Changed
- Images and the project's own data are now CC0 1.0 (`LICENSE-images`); code and docs stay Apache-2.0. Every zip ships
LICENSE, LICENSE-images and NOTICE. README and NOTICE credit the pose list to ai-pose-gallery by ギア (@giaaibusi).
diff --git a/docs/DESIGN.md b/docs/DESIGN.md
index 6aee4d8c..d88d44e5 100644
--- a/docs/DESIGN.md
+++ b/docs/DESIGN.md
@@ -26,7 +26,12 @@
- 实拍模式只列有实拍的 23 套;某机位无实拍时同样按缺机位处理(P050 只有正面)。
- 逐张视图:每个机位一张小卡,受分类和机位筛选影响。
- 灯箱:左边大图,右边四语名称、机位缩略图、线稿/实拍切换、可复制的 `desc_en`、下载 900 图、复制 ID、全尺寸包链接。
- 键盘 ← → 换机位、↑ ↓ 换姿势、L 切素材、Esc 关闭;手机左右滑动。
+ 键盘 ← → 换机位、↑ ↓ 换姿势、L 在线稿 / 实拍 / 对比之间轮换、Esc 关闭;手机左右滑动。
+- 对比模式(2026-10-29):只在灯箱和姿势页,网格仍是线稿 / 实拍两种(对比要一张大图的空间,且只有 std 的实拍套有内容)。
+ 线稿 3:4 和实拍 1:2 同高并排(3fr 2fr),放在中性底 `--tile` 上,线稿 multiply;不做叠图或滑杆,两者取景不同、对不齐。
+ 缺一边用缺机位虚线框和对应文案;两边都有的机位缩略图右上角一个珊瑚色小点;下载换成「线稿 900」「实拍 900」两个。
+ 整套没有实拍时「对比」和「实拍」一起禁用;↑ ↓ 翻到这样的套自动落回线稿。深链 `#P001-diag-compare`。
+ 姿势页在五个机位下面加「线稿与实拍对照」一节,只列两边都有的机位,点图进灯箱对比。
- 手机:两列网格,分类横滑,筛选收进底部面板(机位、素材、视图、重置、显示 N 套)。
- 语言菜单:点开列出 中文 / 日本語 / English / 한국어,当前语言打勾;选中即跳到该语言的页面(保留筛选参数和 hash,去掉 `?lang`),
选择记在 localStorage。不用单个按钮轮换语言:读者看不出下一下会到哪种语言。Esc 或点外面关闭。
diff --git a/tools/build_site.py b/tools/build_site.py
index d5288eef..32e919a3 100755
--- a/tools/build_site.py
+++ b/tools/build_site.py
@@ -203,7 +203,8 @@ def main() -> None:
# imported and reviewed, and a new series needs a human OK (AGENTS.md §8) before it gets indexable pages.
# Suggestive poses never get indexable pages or share cards; a pose with no usable view is hidden.
poses = [dict(p, ci=CAT_KEYS.index(p["class_en"]) if p["class_en"] in CAT_KEYS else 0,
- line=[p["views"].get(v) for v in VIEWS])
+ line=[p["views"].get(v) for v in VIEWS],
+ photo=[(p.get("photos") or {}).get(v) for v in VIEWS])
for p in catalog if p.get("series", "std") == "std" and p.get("rating", "general") == "general"
and any(p["views"].values())]
S = strings()
diff --git a/tools/site_pages.py b/tools/site_pages.py
index d2e01a6a..453c1e2f 100644
--- a/tools/site_pages.py
+++ b/tools/site_pages.py
@@ -216,6 +216,29 @@ class Site:
else:
figs.append(f'<figure class="pp-view"><div class="pp-tile missing"><b>{esc(v)} · {esc(T["notYet"])}</b></div>'
f'<figcaption><span>{esc(v)}</span></figcaption></figure>')
+ # Line art next to the photo for every angle that has both; the gallery lightbox has the same pairing.
+ pimg = lambda tier, f: f"{rel}images/photo/{tier}/{f}"
+ pairs = []
+ for k, (lf, pf) in enumerate(zip(p["line"], p.get("photo") or [None] * 5)):
+ if not (lf and pf):
+ continue
+ v = T["views"][k]
+ alt = esc(p["id"] + " " + name + " · " + v)
+ pairs.append(
+ f'<figure class="pp-pair"><div class="pp-pair-imgs">'
+ f'<a class="pp-pair-line" href="{home}#{p["id"]}-{VIEWS[k]}-compare"><img src="{img("w900", lf)}" srcset="{img("w300", lf)} 300w, {img("w900", lf)} 900w" '
+ f'sizes="(max-width: 720px) 50vw, 300px" width="900" height="1200" alt="{alt} · {esc(T["lineArt"])}" loading="lazy" decoding="async"></a>'
+ f'<a class="pp-pair-photo" href="{home}#{p["id"]}-{VIEWS[k]}-compare"><img src="{pimg("w900", pf)}" srcset="{pimg("w300", pf)} 300w, {pimg("w900", pf)} 900w" '
+ f'sizes="(max-width: 720px) 34vw, 200px" width="900" height="1800" alt="{alt} · {esc(T["photo"])}" loading="lazy" decoding="async"></a></div>'
+ f'<figcaption><span>{esc(v)}</span><span class="pp-pair-dl">'
+ f'<a href="{img("w900", lf)}" download="shisei_{p["id"]}_{VIEWS[k]}.webp">{esc(T["lineArt"])} 900</a>'
+ f'<a href="{pimg("w900", pf)}" download="shisei_{p["id"]}_{VIEWS[k]}_photo.webp">{esc(T["photo"])} 900</a></span></figcaption></figure>')
+ compare = (f"""
+ <section class="pp-sec" aria-labelledby="cmp-h">
+ <h2 id="cmp-h">{esc(T["compareTitle"])}</h2>
+ <p class="pp-lead">{esc(T["compareLead"])}</p>
+ <div class="pp-pairs">{"".join(pairs)}</div>
+ </section>""" if pairs else "")
prev, nxt = self.poses[i - 1], self.poses[(i + 1) % len(self.poses)]
pn = lambda q, label, cls: (f'<a class="pp-pn-{cls}" href="../{q["id"]}/" rel="{"prev" if cls == "l" else "next"}">'
f'<span>{esc(label)}</span><b>{q["id"]} · {esc(q["name_" + NAME_KEY[loc]])}</b></a>')
@@ -245,7 +268,7 @@ class Site:
<section class="pp-sec" aria-labelledby="angles-h">
<h2 id="angles-h">{esc(T["anglesTitle"])}</h2>
<div class="pp-views">{"".join(figs)}</div>
- </section>
+ </section>{compare}
<nav class="pp-pn" aria-label="{esc(T["prevPose"])} / {esc(T["nextPose"])}">{pn(prev, T["prevPose"], "l")}{pn(nxt, T["nextPose"], "r")}</nav>
<section class="pp-sec" aria-labelledby="rel-h">
<h2 id="rel-h">{esc(T["related"])}</h2>
diff --git a/web/app.css b/web/app.css
index 94c7b801..a018e546 100644
--- a/web/app.css
+++ b/web/app.css
@@ -53,6 +53,7 @@ img { display: block; }
.pill.tiny { height: 32px; padding: 0 12px; font-size: 12px; font-weight: 500; }
.pill.block { width: 100%; height: 56px; font-size: 16px; }
.pill:hover { filter: brightness(0.96); }
+.pill[aria-disabled="true"] { opacity: 0.4; cursor: default; pointer-events: none; }
.circle { width: 46px; height: 46px; flex: 0 0 auto; border-radius: 50%; border: 1px solid var(--line); background: var(--field); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; font-size: 13px; font-weight: 600; }
.linklike { border: 0; background: none; padding: 0; min-height: 44px; cursor: pointer; }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: 0.28em; color: var(--ink4); }
@@ -285,6 +286,24 @@ dialog::backdrop { background: rgba(38, 34, 30, 0.55); }
.lb.photo .lb-stage img { width: auto; max-width: 100%; height: 100%; border-radius: 18px; box-shadow: 0 10px 30px -16px rgba(24,24,27,0.5); }
.lb.photo .lb-chips button span { display: flex; justify-content: center; }
.lb.photo .lb-chips img { width: auto; height: 100%; }
+/* Compare: line art (3:4) and photo (1:2) side by side at one height H, so 0.75H and 0.5H wide: 3fr 2fr columns in a
+ 5:4 box, as large as the stage allows. No overlay or slider: the two are framed differently and would not line up. */
+.lb.compare .lb-stage { container-type: size; }
+.lb-pair { display: grid; grid-template-columns: 3fr 2fr; gap: 12px; width: min(calc(100cqw - 168px), calc((100cqh - 48px) * 1.25)); aspect-ratio: 5 / 4; }
+@media (max-width: 860px) { .lb-pair { width: min(calc(100cqw - 24px), calc((100cqh - 24px) * 1.25)); gap: 8px; } }
+.lb-cell { position: relative; margin: 0; min-width: 0; min-height: 0; border-radius: 18px; overflow: hidden; }
+.lb-cell img { width: 100%; height: 100%; }
+.lb-cell.line img { object-fit: contain; mix-blend-mode: multiply; }
+.lb-cell.photo img { object-fit: cover; mix-blend-mode: normal; }
+.lb-cell figcaption { position: absolute; left: 10px; bottom: 10px; height: 26px; padding: 0 10px; display: inline-flex; align-items: center; border-radius: 999px; background: rgba(245,242,237,0.92); color: #3F3D39; font-family: var(--mono); font-size: 12px; }
+.lb-cell.gap { border: 2px dashed rgba(24,24,27,0.28); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 12px; text-align: center; color: #3F3D39; font-size: 13px; }
+.lb-cell.gap span { font-size: 12px; line-height: 1.5; }
+.lb-chips span.photo { display: flex; justify-content: center; }
+.lb-chips span.photo img { width: auto; height: 100%; mix-blend-mode: normal; }
+.lb-chips span.both { position: relative; }
+.lb-chips span.both::after { content: ''; position: absolute; right: 5px; top: 5px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px var(--bg); }
+.lb-dls { display: flex; gap: 10px; }
+.lb-dls .pill { flex: 1 1 0; min-width: 0; }
@media (max-width: 1100px) { .static .nav-links { display: flex; } }
/* ---- generated pages (tools/site_pages.py): pose pages, changelog, 404; share sheet ---- */
@@ -307,6 +326,20 @@ dialog::backdrop { background: rgba(38, 34, 30, 0.55); }
.pp-tile.missing { display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px; border: 2px dashed rgba(24,24,27,0.28); background: var(--tile); color: var(--ink3); font-size: 14px; }
.pp-view figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 10px; font-size: 14px; color: var(--ink3); }
.pp-view figcaption a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink2); font-size: 13px; }
+.pp-lead { margin: -8px 0 18px; max-width: 720px; font-size: 15px; line-height: 1.6; color: var(--ink3); }
+.pp-pairs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 400px), 1fr)); gap: 24px; }
+.pp-pair { margin: 0; display: flex; flex-direction: column; gap: 10px; }
+/* One height for both: 3:4 and 1:2 side by side are 3fr and 2fr wide (same reasoning as the lightbox pair). */
+.pp-pair-imgs { display: grid; grid-template-columns: 3fr 2fr; gap: 10px; padding: 18px; border-radius: 24px; background: var(--tile); }
+.pp-pair-imgs a { display: block; border-radius: 16px; overflow: hidden; }
+.pp-pair-line { aspect-ratio: 3 / 4; }
+.pp-pair-photo { aspect-ratio: 1 / 2; align-self: end; }
+.pp-pair-imgs img { width: 100%; height: 100%; }
+.pp-pair-line img { object-fit: contain; mix-blend-mode: multiply; }
+.pp-pair-photo img { object-fit: cover; }
+.pp-pair figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; font-size: 14px; color: var(--ink3); }
+.pp-pair-dl { display: flex; gap: 14px; }
+.pp-pair-dl a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink2); font-size: 13px; }
.pp-pn { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 40px; }
.pp-pn a { display: flex; flex-direction: column; gap: 4px; padding: 16px 20px; border-radius: 20px; border: 1px solid var(--line); background: var(--field); text-decoration: none; min-width: 0; }
.pp-pn a span { font-size: 13px; color: var(--ink4); }
diff --git a/web/app.js b/web/app.js
index f95e9491..781e4b95 100644
--- a/web/app.js
+++ b/web/app.js
@@ -360,11 +360,11 @@
if (tile) {
e.preventDefault();
const p = byId.get(tile.closest('.card').dataset.id);
- openLb(p.id, curView(p), S.medium === 'photo');
+ openLb(p.id, curView(p), S.medium);
return;
}
const s = e.target.closest('.stile');
- if (s) { e.preventDefault(); openLb(s.dataset.open, +s.dataset.v, S.medium === 'photo'); }
+ if (s) { e.preventDefault(); openLb(s.dataset.open, +s.dataset.v, S.medium); }
});
// An explicit list of the four languages: a single button that cycles them hid where the next click would land.
// ?lang is dropped from the targets, because on arrival it outranks the reader's pick (tools/site_pages.py).
@@ -434,36 +434,60 @@
});
/* lightbox */
- const LB = { id: null, v: 0, photo: false };
+ // medium: 'line' | 'photo' | 'compare'. Compare exists only here, not in the grid: a side-by-side pair
+ // needs the room of one large image, and only the std sets with photos have anything to compare.
+ const LB = { id: null, v: 0, medium: 'line' };
+ const MEDIA = ['line', 'photo', 'compare'];
+ // In compare a view counts when either side has it; the missing side shows the usual gap box.
+ const lbFiles = (p, m) => (m === 'compare' ? p.line.map((f, i) => f || p.photo[i]) : files(p, m === 'photo'));
function lbList() {
const list = pool();
return list.some((p) => p.id === LB.id) ? list : allowed();
}
- function openLb(id, v, photo) {
+ function openLb(id, v, medium) {
const p = byId.get(id);
if (!p || (p.suggestive && !S.adult)) return;
LB.id = id;
- LB.photo = photo && p.photo.some(Boolean);
- const arr = files(p, LB.photo);
+ LB.medium = MEDIA.includes(medium) && p.photo.some(Boolean) ? medium : 'line';
+ const arr = lbFiles(p, LB.medium);
LB.v = arr[v] ? v : firstView(arr);
renderLb();
if (!$('lb').open) $('lb').showModal();
}
+ function setDl(a, label, f, kind, p) {
+ a.querySelector('span').textContent = label;
+ if (f) { a.href = src(kind, 'w900', f); a.setAttribute('download', 'shisei_' + p.id + '_' + VIEWS[LB.v] + (kind === 'photo' ? '_photo' : '') + '.webp'); a.removeAttribute('aria-disabled'); }
+ else { a.removeAttribute('href'); a.setAttribute('aria-disabled', 'true'); }
+ }
+ function pairCell(p, kind, f, T) {
+ const label = kind === 'photo' ? T.photo : T.line;
+ if (!f) {
+ const [b, s] = missingText(p, LB.v, kind === 'photo');
+ return '<div class="lb-cell ' + kind + ' gap"><b>' + esc(b) + '</b><span>' + esc(s) + '</span></div>';
+ }
+ return '<figure class="lb-cell ' + kind + '"><img src="' + src(kind, 'w900', f) + '" alt="' + esc(p.id + ' ' + nameOf(p) + ' · ' + T.views[LB.v] + ' · ' + label) + '">' +
+ '<figcaption>' + esc(label) + '</figcaption></figure>';
+ }
function renderLb() {
const T = t();
const p = byId.get(LB.id);
- const arr = files(p, LB.photo);
+ const m = LB.medium;
+ const photo = m === 'photo', compare = m === 'compare';
+ const arr = lbFiles(p, m);
const f = arr[LB.v];
- const kind = LB.photo ? 'photo' : 'line';
- const tint = LB.photo ? 'var(--tile)' : p.tint;
- $('lb').style.setProperty('--tint', tint);
- $('lb').classList.toggle('photo', LB.photo);
+ const kind = photo ? 'photo' : 'line';
+ $('lb').style.setProperty('--tint', m === 'line' ? p.tint : 'var(--tile)');
+ $('lb').classList.toggle('photo', photo);
+ $('lb').classList.toggle('compare', compare);
const img = $('lbImg');
- if (f) { img.src = src(kind, 'w900', f); img.alt = p.id + ' ' + nameOf(p) + ' · ' + T.views[LB.v]; }
- img.hidden = !f;
+ if (f && !compare) { img.src = src(kind, 'w900', f); img.alt = p.id + ' ' + nameOf(p) + ' · ' + T.views[LB.v]; }
+ img.hidden = !f || compare;
+ const pair = $('lbPair');
+ pair.hidden = !compare;
+ pair.innerHTML = compare ? pairCell(p, 'line', p.line[LB.v], T) + pairCell(p, 'photo', p.photo[LB.v], T) : '';
const miss = $('lbMissing');
miss.hidden = !!f;
- const [mb, ms] = missingText(p, LB.v, LB.photo);
+ const [mb, ms] = missingText(p, LB.v, photo);
miss.innerHTML = f ? '' : '<b>' + esc(mb) + '</b><span>' + esc(ms) + '</span>';
$('lbCounter').textContent = T.views[LB.v] + ' ' + (LB.v + 1) + '/5';
// With one view or none there is nowhere to step; a live-looking arrow that does nothing reads as broken.
@@ -473,29 +497,36 @@
$('lbNames').innerHTML = ['cn', 'jp', 'en', 'kr'].filter((s) => s !== T.suffix)
.map((s) => '<dt>' + NAME_LABEL[s] + '</dt><dd>' + esc(p['name_' + s]) + '</dd>').join('');
$('lbChips').setAttribute('aria-label', T.angle);
- $('lbChips').innerHTML = VIEWS.map((_, i) => '<button type="button" data-lbv="' + i + '" aria-pressed="' + (i === LB.v) + '"' + (arr[i] ? '' : ' disabled') + '>' +
- '<span>' + (arr[i] ? '<img src="' + src(kind, 'w300', arr[i]) + '" alt="">' : '') + '</span>' + esc(T.views[i]) + '</button>').join('');
+ // Compare thumbnails show the line art when there is one; a dot marks the angles that have both sides.
+ $('lbChips').innerHTML = VIEWS.map((_, i) => {
+ const tk = compare ? (p.line[i] ? 'line' : 'photo') : kind;
+ const both = compare && p.line[i] && p.photo[i];
+ return '<button type="button" data-lbv="' + i + '" aria-pressed="' + (i === LB.v) + '"' + (arr[i] ? '' : ' disabled') + '>' +
+ '<span class="' + tk + (both ? ' both' : '') + '">' + (arr[i] ? '<img src="' + src(tk, 'w300', arr[i]) + '" alt="">' : '') + '</span>' + esc(T.views[i]) + '</button>';
+ }).join('');
const hasPhoto = p.photo.some(Boolean);
$('lbMedium').setAttribute('aria-label', T.medium);
- $('lbMedium').innerHTML = '<button type="button" data-lbm="line" aria-pressed="' + !LB.photo + '">' + esc(T.line) + '</button>' +
- '<button type="button" data-lbm="photo" aria-pressed="' + LB.photo + '"' + (hasPhoto ? '' : ' disabled') + '>' + esc(T.photo) + '</button>';
+ $('lbMedium').innerHTML = MEDIA.map((k) => '<button type="button" data-lbm="' + k + '" aria-pressed="' + (m === k) + '"' +
+ (k === 'line' || hasPhoto ? '' : ' disabled') + '>' + esc(T[k]) + '</button>').join('');
$('lbDesc').textContent = p.desc_en || '';
$('lbDescBox').hidden = !p.desc_en;
- const dl = $('lbDl');
- $('lbDlText').textContent = T.download + ' · ' + (LB.photo ? '900×1800' : '900×1200');
- if (f) { dl.href = src(kind, 'w900', f); dl.setAttribute('download', 'shisei_' + p.id + '_' + VIEWS[LB.v] + (LB.photo ? '_photo' : '') + '.webp'); dl.removeAttribute('aria-disabled'); }
- else { dl.removeAttribute('href'); dl.setAttribute('aria-disabled', 'true'); }
+ const dl2 = $('lbDl2');
+ dl2.hidden = !compare;
+ if (compare) {
+ setDl($('lbDl'), T.line + ' 900', p.line[LB.v], 'line', p);
+ setDl(dl2, T.photo + ' 900', p.photo[LB.v], 'photo', p);
+ } else setDl($('lbDl'), T.download + ' · ' + (photo ? '900×1800' : '900×1200'), f, kind, p);
// Static pose pages exist only for general std poses (tools/site_pages.py).
const hasPage = hasPosePage(p);
$('lbPage').hidden = !hasPage;
if (hasPage) $('lbPage').href = posePage(p.id);
- history.replaceState(null, '', location.pathname + location.search + '#' + p.id + '-' + VIEWS[LB.v] + (LB.photo ? '-photo' : ''));
+ history.replaceState(null, '', location.pathname + location.search + '#' + p.id + '-' + VIEWS[LB.v] + (m === 'line' ? '' : '-' + m));
}
const posePage = (id) => BASE + PREFIX[S.lang] + 'pose/' + id + '/';
// Same rule as tools/build_site.py: only general-rated std poses get a static page.
const hasPosePage = (p) => p.series === 'std' && !p.suggestive;
function stepAngle(d) {
- const arr = files(byId.get(LB.id), LB.photo);
+ const arr = lbFiles(byId.get(LB.id), LB.medium);
for (let k = 1; k <= 5; k++) {
const i = (LB.v + d * k + 25) % 5;
if (arr[i]) { LB.v = i; break; }
@@ -506,7 +537,7 @@
const list = lbList();
const i = list.findIndex((p) => p.id === LB.id);
const next = list[(i + d + list.length) % list.length];
- openLb(next.id, LB.v, LB.photo);
+ openLb(next.id, LB.v, LB.medium);
}
$('lbPrev').addEventListener('click', () => stepAngle(-1));
$('lbNext').addEventListener('click', () => stepAngle(1));
@@ -517,7 +548,7 @@
});
$('lbMedium').addEventListener('click', (e) => {
const b = e.target.closest('[data-lbm]');
- if (b && !b.disabled) openLb(LB.id, LB.v, b.dataset.lbm === 'photo');
+ if (b && !b.disabled) openLb(LB.id, LB.v, b.dataset.lbm);
});
$('lbCopyDesc').addEventListener('click', () => copy(byId.get(LB.id).desc_en));
$('lbCopyId').addEventListener('click', () => copy(LB.id));
@@ -544,7 +575,7 @@
else if (e.key === 'ArrowUp') { e.preventDefault(); stepPose(-1); }
else if (e.key === 'ArrowDown') { e.preventDefault(); stepPose(1); }
else if (e.key === 'l' || e.key === 'L') {
- if (byId.get(LB.id).photo.some(Boolean)) openLb(LB.id, LB.v, !LB.photo);
+ if (byId.get(LB.id).photo.some(Boolean)) openLb(LB.id, LB.v, MEDIA[(MEDIA.indexOf(LB.medium) + 1) % 3]);
}
});
let swipeX = null;
@@ -556,10 +587,10 @@
if (Math.abs(dx) > 50) stepAngle(dx < 0 ? 1 : -1);
});
- // Deep links: #P001, #P001-diag, #P001-diag-photo
+ // Deep links: #P001, #P001-diag, #P001-diag-photo, #P001-diag-compare
function openFromHash() {
- const m = location.hash.match(/^#([PSUD]\d{3})(?:-(front|diag|side|above|below))?(-photo)?$/);
- if (m && byId.has(m[1])) openLb(m[1], m[2] ? VIEWS.indexOf(m[2]) : 0, !!m[3]);
+ const m = location.hash.match(/^#([PSUD]\d{3})(?:-(front|diag|side|above|below))?(?:-(photo|compare))?$/);
+ if (m && byId.has(m[1])) openLb(m[1], m[2] ? VIEWS.indexOf(m[2]) : 0, m[3]);
}
window.addEventListener('hashchange', openFromHash);
diff --git a/web/changelog.yaml b/web/changelog.yaml
index 6ccf9ef2..6b6f6b18 100644
--- a/web/changelog.yaml
+++ b/web/changelog.yaml
@@ -4,6 +4,22 @@
# tag: new | improve | announce | removed. link: an in-site path without language prefix (/, /changelog/, /pose/P001/),
# optionally with ?query and #hash; the build prefixes the reader's language. Newest first.
entries:
+ - date: 2026-10-29
+ tag: new
+ title: Line art and photo side by side
+ desc: Poses with photos get a Compare option in the large view and a side-by-side section on their pose page, to see how the line art becomes a body at the same angle. L cycles line art, photo and compare.
+ link: /pose/P001/
+ cta: See P001 compared
+ title_zh: 线稿和实拍可以并排对比了
+ desc_zh: 有实拍的姿势,大图里多了「对比」,姿势页也加了一节并排对照,同一机位下线稿怎么变成真人一眼就能看清。按 L 在线稿、实拍、对比之间切换。
+ cta_zh: 看 P001 的对比
+ title_ja: 線画と実写を並べて比較
+ desc_ja: 実写のあるポーズは、拡大表示に「比較」が加わり、ポーズページにも並べて見る欄ができました。同じアングルで線画がどう人体になるかがすぐ分かります。L キーで線画・実写・比較を切り替えます。
+ cta_ja: P001 の比較を見る
+ title_ko: 선화와 실사를 나란히 비교
+ desc_ko: 실사가 있는 포즈는 크게 보기에 '비교'가 생겼고, 포즈 페이지에도 나란히 보는 섹션이 추가됐습니다. 같은 앵글에서 선화가 실제 몸으로 어떻게 바뀌는지 바로 보입니다. L 키로 선화, 실사, 비교를 오갑니다.
+ cta_ko: P001 비교 보기
+
- date: 2026-10-29
tag: improve
title: Angle arrows that always respond
diff --git a/web/i18n.js b/web/i18n.js
index 388a3f9f..1d78b7f6 100644
--- a/web/i18n.js
+++ b/web/i18n.js
@@ -14,7 +14,7 @@ window.I18N = {
qcFail: (v) => v + ' · 质检未通过', qcFailSub: '这个机位画得有问题,已经移除,其余机位可用',
cats: ['坐姿', '站立', '跪姿', '躺姿', '侧坐', '蹲姿', '前倾', '后仰', '扭转'],
angle: '机位', medium: '素材', view: '视图',
- line: '线稿', photo: '实拍', byPose: '按姿势', single: '逐张',
+ line: '线稿', photo: '实拍', compare: '对比', byPose: '按姿势', single: '逐张',
countPoses: (n, all) => n + ' / ' + all + ' 套', countImages: (n) => n + ' 张',
newBadge: 'NEW', hasPhoto: '含实拍',
missingLine: (v) => v + ' · 暂未收录', missingPhoto: (v) => v + ' · 没有实拍',
@@ -25,7 +25,7 @@ window.I18N = {
dlNote: (k) => '已为下载优化,做姿势参考画质几乎没有差别,体积约为原图的 1/' + k + '。',
dlRec: '推荐', dlAll: '全部系列', dlSetsAll: (n) => n + ' 套 · 五个机位', dlBySeries: '只要一个系列', dlSets: (n) => n + ' 套',
dlOriginal: '原图包', dlOriginalAll: '全部系列 · 原图', dlLicense: '图片 CC0 · 含 LICENSE 与 NOTICE',
- keys: '← → 换机位 ↑ ↓ 换姿势 L 线稿/实拍 Esc 关闭',
+ keys: '← → 换机位 ↑ ↓ 换姿势 L 线稿/实拍/对比 Esc 关闭',
terms: '注意事项',
howTitle: '使用方法',
how: ['把图片上传到 AI 绘图工具的姿势参考或构图参考里。', '同一个姿势换机位连续使用,生成出来的姿态更一致。', '线稿是无脸素体,脸、服装和背景靠提示词或别的参考图补上。', '点卡片看大图,← → 换机位,↑ ↓ 换姿势,Esc 关闭。'],
@@ -45,7 +45,7 @@ window.I18N = {
qcFail: (v) => v + ' · 品質チェック不合格', qcFailSub: 'このアングルは描画に問題があったため外しました。他のアングルは使えます',
cats: ['座り', '立ち', '膝立ち', '寝そべり', '横座り', 'しゃがみ', '前かがみ', '反り', 'ひねり'],
angle: 'アングル', medium: '素材', view: '表示',
- line: '線画', photo: '実写', byPose: 'ポーズごと', single: '1枚ずつ',
+ line: '線画', photo: '実写', compare: '比較', byPose: 'ポーズごと', single: '1枚ずつ',
countPoses: (n, all) => n + ' / ' + all + ' ポーズ', countImages: (n) => n + ' 枚',
newBadge: 'NEW', hasPhoto: '実写あり',
missingLine: (v) => v + ' · 未収録', missingPhoto: (v) => v + ' · 実写なし',
@@ -56,7 +56,7 @@ window.I18N = {
dlNote: (k) => 'ダウンロード向けに最適化済み。ポーズ参照なら画質はほぼ変わらず、サイズは原寸の約 1/' + k + ' です。',
dlRec: 'おすすめ', dlAll: 'すべてのシリーズ', dlSetsAll: (n) => n + ' ポーズ · 5 アングル', dlBySeries: 'シリーズごと', dlSets: (n) => n + ' ポーズ',
dlOriginal: '原寸パック', dlOriginalAll: 'すべてのシリーズ · 原寸', dlLicense: '画像 CC0 · LICENSE と NOTICE 同梱',
- keys: '← → アングル ↑ ↓ ポーズ L 線画/実写 Esc 閉じる',
+ keys: '← → アングル ↑ ↓ ポーズ L 線画/実写/比較 Esc 閉じる',
terms: '注意点',
howTitle: '使い方',
how: ['AI ツールのポーズ参照・構図参照に画像を読み込みます。', '同じポーズのアングル違いを続けて使うと、姿勢が揃いやすくなります。', '顔なし素体の線画です。顔・服装・背景はプロンプトや別の参照画像で足してください。', 'カードで拡大表示。← → でアングル、↑ ↓ でポーズ、Esc で閉じます。'],
@@ -76,7 +76,7 @@ window.I18N = {
qcFail: (v) => v + ' · failed QC', qcFailSub: 'This angle was drawn wrong and has been removed; the others are available',
cats: ['Sitting', 'Standing', 'Kneeling', 'Lying', 'Side sit', 'Squatting', 'Leaning', 'Arching', 'Twist'],
angle: 'Angle', medium: 'Source', view: 'View',
- line: 'Line art', photo: 'Photo', byPose: 'By pose', single: 'Single',
+ line: 'Line art', photo: 'Photo', compare: 'Compare', byPose: 'By pose', single: 'Single',
countPoses: (n, all) => n + ' / ' + all + ' poses', countImages: (n) => n + ' images',
newBadge: 'NEW', hasPhoto: 'Photo',
missingLine: (v) => v + ' · not yet', missingPhoto: (v) => v + ' · no photo',
@@ -87,7 +87,7 @@ window.I18N = {
dlNote: (k) => 'Optimised for download: for pose reference the quality is practically the same, at about 1/' + k + ' of the original size.',
dlRec: 'Recommended', dlAll: 'All series', dlSetsAll: (n) => n + ' poses · 5 angles', dlBySeries: 'Just one series', dlSets: (n) => n + ' poses',
dlOriginal: 'Originals', dlOriginalAll: 'All series · originals', dlLicense: 'Images CC0 · includes LICENSE and NOTICE',
- keys: '← → angle ↑ ↓ pose L line/photo Esc close',
+ keys: '← → angle ↑ ↓ pose L line/photo/compare Esc close',
terms: 'Terms',
howTitle: 'How to use',
how: ['Upload an image as the pose or composition reference in your AI image tool.', 'Use several angles of the same pose in a row to keep the figure consistent.', 'The figures are faceless mannequins; add face, clothing and background with your prompt or other references.', 'Click a card to open it. ← → change angle, ↑ ↓ change pose, Esc closes.'],
@@ -107,7 +107,7 @@ window.I18N = {
qcFail: (v) => v + ' · 품질 검사 불합격', qcFailSub: '이 앵글은 잘못 그려져 제외했습니다. 다른 앵글은 사용할 수 있습니다',
cats: ['앉기', '서기', '무릎 꿇기', '눕기', '옆 앉기', '쪼그려 앉기', '숙이기', '젖히기', '비틀기'],
angle: '앵글', medium: '소재', view: '보기',
- line: '선화', photo: '실사', byPose: '포즈별', single: '한 장씩',
+ line: '선화', photo: '실사', compare: '비교', byPose: '포즈별', single: '한 장씩',
countPoses: (n, all) => n + ' / ' + all + ' 포즈', countImages: (n) => n + '장',
newBadge: 'NEW', hasPhoto: '실사 포함',
missingLine: (v) => v + ' · 미수록', missingPhoto: (v) => v + ' · 실사 없음',
@@ -118,7 +118,7 @@ window.I18N = {
dlNote: (k) => '다운로드용으로 최적화했습니다. 포즈 참조라면 화질 차이는 거의 없고, 용량은 원본의 약 1/' + k + '입니다.',
dlRec: '추천', dlAll: '전체 시리즈', dlSetsAll: (n) => n + '가지 포즈 · 5개 앵글', dlBySeries: '시리즈별', dlSets: (n) => n + '가지 포즈',
dlOriginal: '원본 묶음', dlOriginalAll: '전체 시리즈 · 원본', dlLicense: '이미지 CC0 · LICENSE와 NOTICE 포함',
- keys: '← → 앵글 ↑ ↓ 포즈 L 선화/실사 Esc 닫기',
+ keys: '← → 앵글 ↑ ↓ 포즈 L 선화/실사/비교 Esc 닫기',
terms: '주의사항',
howTitle: '사용법',
how: ['AI 이미지 도구의 포즈 참조나 구도 참조에 이미지를 올립니다.', '같은 포즈의 여러 앵글을 이어서 쓰면 자세가 더 일정해집니다.', '얼굴 없는 마네킹 선화입니다. 얼굴·의상·배경은 프롬프트나 다른 참조 이미지로 채우세요.', '카드를 누르면 크게 봅니다. ← → 앵글, ↑ ↓ 포즈, Esc 닫기.'],
@@ -145,7 +145,7 @@ window.I18N_PAGES = // BEGIN-JSON
"poseTitle": "{name} · {cat}姿势参考 {id} | Shisei",
"poseDesc": "{cat}姿势「{name}」的无脸白模线稿,{views}共 {n} 个机位,CC0 免费可商用,可直接放进 Nano Banana、ComfyUI、Midjourney 等 AI 绘图工具当姿势参考。",
"poseOgAlt": "{id} {name} 的线稿,{views}",
- "anglesN": "{n} 个机位", "anglesTitle": "五个机位", "notYet": "暂未收录",
+ "anglesN": "{n} 个机位", "anglesTitle": "五个机位", "compareTitle": "线稿与实拍对照", "compareLead": "同一机位并排看:线稿给骨架和比例,实拍给体积和衣褶。实拍为 AI 生成的成年人,不对应真人。", "lineArt": "线稿", "photo": "实拍", "notYet": "暂未收录",
"otherNames": "其他语言", "openInGallery": "在画廊中打开", "downloadView": "下载 900×1200",
"prevPose": "上一套", "nextPose": "下一套", "related": "同类姿势", "crumb": "面包屑导航", "skip": "跳到正文",
"posePage": "姿势详情页", "share": "分享", "shareTitle": "分享这套姿势", "shareSite": "分享 Shisei", "copyLink": "复制链接",
@@ -173,7 +173,7 @@ window.I18N_PAGES = // BEGIN-JSON
"poseTitle": "{name} · {cat}のポーズ参考 {id} | Shisei",
"poseDesc": "{cat}のポーズ「{name}」の顔なし素体線画。{views}の {n} アングル。Nano Banana・ComfyUI・Midjourney などの画像生成 AI でポーズ指定にそのまま使えます(CC0・無料)。",
"poseOgAlt": "{id} {name} の線画({views})",
- "anglesN": "{n} アングル", "anglesTitle": "5 つのアングル", "notYet": "未収録",
+ "anglesN": "{n} アングル", "anglesTitle": "5 つのアングル", "compareTitle": "線画と実写の比較", "compareLead": "同じアングルを並べて見られます。線画は骨格と比率、実写は立体感と服のしわ。実写は AI 生成の成人で、実在の人物ではありません。", "lineArt": "線画", "photo": "実写", "notYet": "未収録",
"otherNames": "他の言語", "openInGallery": "ギャラリーで開く", "downloadView": "900×1200 をダウンロード",
"prevPose": "前のポーズ", "nextPose": "次のポーズ", "related": "同じカテゴリのポーズ", "crumb": "パンくずリスト", "skip": "本文へ移動",
"posePage": "ポーズのページ", "share": "共有", "shareTitle": "このポーズを共有", "shareSite": "Shisei を共有", "copyLink": "リンクをコピー",
@@ -201,7 +201,7 @@ window.I18N_PAGES = // BEGIN-JSON
"poseTitle": "{name} · {cat} pose reference {id} | Shisei",
"poseDesc": "{cat} pose “{name}” as faceless mannequin line art in {n} angles ({views}). Free under CC0; use it as a pose reference in Nano Banana, ComfyUI, Midjourney and other AI image tools.",
"poseOgAlt": "Line art of {id} {name}: {views}",
- "anglesN": "{n} angles", "anglesTitle": "Five angles", "notYet": "not yet",
+ "anglesN": "{n} angles", "anglesTitle": "Five angles", "compareTitle": "Line art and photo side by side", "compareLead": "The same angle next to each other: the line art gives the skeleton and proportions, the photo gives volume and fabric. Photos show AI-generated adults, not real people.", "lineArt": "Line art", "photo": "Photo", "notYet": "not yet",
"otherNames": "Other languages", "openInGallery": "Open in gallery", "downloadView": "Download 900×1200",
"prevPose": "Previous pose", "nextPose": "Next pose", "related": "More in this category", "crumb": "Breadcrumb", "skip": "Skip to content",
"posePage": "Pose page", "share": "Share", "shareTitle": "Share this pose", "shareSite": "Share Shisei", "copyLink": "Copy link",
@@ -229,7 +229,7 @@ window.I18N_PAGES = // BEGIN-JSON
"poseTitle": "{name} · {cat} 포즈 참고 {id} | Shisei",
"poseDesc": "{cat} 포즈 「{name}」의 얼굴 없는 마네킹 선화. {views} {n}개 앵글. CC0 무료. Nano Banana, ComfyUI, Midjourney 등 AI 그림 도구에서 포즈 참고로 바로 쓸 수 있습니다.",
"poseOgAlt": "{id} {name} 선화: {views}",
- "anglesN": "{n}개 앵글", "anglesTitle": "5개 앵글", "notYet": "미수록",
+ "anglesN": "{n}개 앵글", "anglesTitle": "5개 앵글", "compareTitle": "선화와 실사 비교", "compareLead": "같은 앵글을 나란히 봅니다. 선화는 뼈대와 비율, 실사는 입체감과 옷 주름을 보여 줍니다. 실사는 AI로 생성한 성인이며 실존 인물이 아닙니다.", "lineArt": "선화", "photo": "실사", "notYet": "미수록",
"otherNames": "다른 언어", "openInGallery": "갤러리에서 열기", "downloadView": "900×1200 다운로드",
"prevPose": "이전 포즈", "nextPose": "다음 포즈", "related": "같은 분류의 포즈", "crumb": "이동 경로", "skip": "본문으로 건너뛰기",
"posePage": "포즈 페이지", "share": "공유", "shareTitle": "이 포즈 공유", "shareSite": "Shisei 공유", "copyLink": "링크 복사",
diff --git a/web/index.html b/web/index.html
index 38940ddf..d80cb2b4 100644
--- a/web/index.html
+++ b/web/index.html
@@ -105,6 +105,7 @@ __NOSCRIPT__
<div class="lb-stage" id="lbStage">
<img id="lbImg" alt="">
<div class="lb-missing" id="lbMissing" hidden></div>
+ <div class="lb-pair" id="lbPair" hidden></div>
<button type="button" class="lb-nav l" id="lbPrev" data-i18n-aria="prevAngle"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" aria-hidden="true"><path d="M15 5l-7 7 7 7"/></svg></button>
<button type="button" class="lb-nav r" id="lbNext" data-i18n-aria="nextAngle"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" aria-hidden="true"><path d="M9 5l7 7-7 7"/></svg></button>
<span class="lb-counter" id="lbCounter"></span>
@@ -122,8 +123,12 @@ __NOSCRIPT__
<p id="lbDesc"></p>
</div>
<div class="lb-actions">
+ <div class="lb-dls">
<a class="pill dark block" id="lbDl" download>
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" aria-hidden="true"><path d="M12 4v11m0 0-4-4m4 4 4-4M5 20h14"/></svg><span id="lbDlText"></span></a>
+ <a class="pill dark block" id="lbDl2" download hidden>
+ <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" aria-hidden="true"><path d="M12 4v11m0 0-4-4m4 4 4-4M5 20h14"/></svg><span id="lbDl2Text"></span></a>
+ </div>
<div class="lb-row">
<button type="button" class="pill light" id="lbCopyId" data-i18n="copyId"></button>
<button type="button" class="pill light" data-open="dl" aria-haspopup="dialog" data-i18n="fullZip"></button>