Skip to content

Turn any script into viral, multi-style animated stickman videos for Faceless YouTube Channels. Automate visuals, voiceover, captions & SFX. 100% Free & Open-Source.

feat(b3): release retro TV workflow, local animation runtime and galleries

kaomei54a684495895
diff --git a/README.en.md b/README.en.md
index f9b17ba..5242b1b 100644
--- a/README.en.md
+++ b/README.en.md
@@ -58,11 +58,22 @@ Continually updated visual styles for **science explainers, dark psychology, tec
<a href="#b2"><img src="https://cdn.jsdelivr.net/gh/kaomei/stickman-video-director@a7f13ef5cd023e0e4fa637ec9f658582a2c211fe/assets/readme/previews/b2-colorful-sleep.gif" alt="Colorful hand-drawn stickman video: a quiet bedroom and a thought drifting along a river" width="90%"></a>
</td>
</tr>
+<!-- b3:hero:start -->
+<tr>
+<td width="50%" align="center">
+<strong>Retro TV Style</strong><br>
+<a href="#b3"><img src="https://cdn.jsdelivr.net/gh/kaomei/stickman-video-director@b0ac8fabc4cf86a7a0b1ebe64e4b2c61414076fe/assets/readme/previews/b3-tv-night-signal.gif" alt="retro TV-style fictional 3 AM television mystery with rounded white characters" width="90%"></a>
+</td>
+<td width="50%" align="center">
+<a href="#a7"><strong>Coming Soon…</strong></a>
+</td>
+</tr>
+<!-- b3:hero:end -->
</table>
<div align="center">
-**8 styles · 10 visual options · Tested examples · Free and open source**
+**9 styles · 11 visual options · Tested examples · Free and open source**
⭐ **Star the project to catch the next style drop and feature unlocks.**
@@ -337,11 +348,32 @@ Everyday stories, drawn with personality. Warm paper, colorful scenes, simple st
---
+<!-- b3:section:start -->
<a id="b3"></a>
-### B3: Coming soon…
+### B3: Retro TV Style
+
+A dark canvas, refined white-and-gray characters, and a subtle television texture turn everyday questions into vivid visual stories.
+
+- **Visual style**: Rounded silhouettes, varied scenes, purposeful local animation, and clean white captions. Restrained bloom and scanlines add an analog-broadcast feel.
+- **Best for**: Everyday science, psychology, animal behavior, curious facts, and short mystery stories.
+- **Choose this when**: You want a finished video with Gemini Bodi narration, semantic captions, and action sound effects, built and assembled by your coding agent.
-New Autopilot styles and procedural animations are currently in training. [Star the project](#road-to-10000-stars--creator-ecosystem) to unlock them at 5,000 Stars!
+<table width="100%">
+ <tr>
+ <th width="50%" align="center">Example 1: What if your TV turns on at 3 AM?</th>
+ <th width="50%" align="center">Example 2: Why does a scared dog come closer?</th>
+ </tr>
+ <tr>
+ <td width="50%" align="center"><a href="assets/readme/b3-tv-night-signal.mp4"><img src="https://cdn.jsdelivr.net/gh/kaomei/stickman-video-director@b0ac8fabc4cf86a7a0b1ebe64e4b2c61414076fe/assets/readme/previews/b3-tv-night-signal.gif" alt="retro TV-style fictional 3 AM television mystery with rounded white characters" width="360"></a></td>
+ <td width="50%" align="center"><a href="assets/readme/b3-tv-dog.mp4"><img src="https://cdn.jsdelivr.net/gh/kaomei/stickman-video-director@b0ac8fabc4cf86a7a0b1ebe64e4b2c61414076fe/assets/readme/previews/b3-tv-dog.gif" alt="retro TV-style dog-behavior explainer with white-and-gray characters and local animation" width="360"></a></td>
+ </tr>
+ <tr>
+ <td align="center">Fictional suspense · Scene changes · TV texture</td>
+ <td align="center">Animal behavior · Local reactions · Bodi narration</td>
+ </tr>
+</table>
+<!-- b3:section:end -->
<!-- thumbnail-publishing-kit:start -->
<a id="thumbnail-publishing-kit"></a>
diff --git a/README.fr.md b/README.fr.md
index 3f9f7cd..ca48552 100644
--- a/README.fr.md
+++ b/README.fr.md
@@ -58,11 +58,22 @@ Des styles visuels régulièrement enrichis pour les chaînes de **vulgarisation
<a href="#b2"><img src="https://cdn.jsdelivr.net/gh/kaomei/stickman-video-director@a7f13ef5cd023e0e4fa637ec9f658582a2c211fe/assets/readme/previews/b2-colorful-sleep.gif" alt="Vidéo stickman dessinée en couleur : une chambre calme et une pensée au fil de l’eau" width="90%"></a>
</td>
</tr>
+<!-- b3:hero:start -->
+<tr>
+<td width="50%" align="center">
+<strong>Style TV rétro</strong><br>
+<a href="#b3"><img src="https://cdn.jsdelivr.net/gh/kaomei/stickman-video-director@b0ac8fabc4cf86a7a0b1ebe64e4b2c61414076fe/assets/readme/previews/b3-tv-night-signal.gif" alt="Mystère fictif de la télévision à 3 h du matin avec des personnages blancs arrondis" width="90%"></a>
+</td>
+<td width="50%" align="center">
+<a href="#a7"><strong>Coming Soon…</strong></a>
+</td>
+</tr>
+<!-- b3:hero:end -->
</table>
<div align="center">
-**8 styles · 10 variantes visuelles · Des exemples testés · Gratuit et open source**
+**9 styles · 11 variantes visuelles · Des exemples testés · Gratuit et open source**
⭐ **Ajoutez une étoile au projet pour suivre les prochains styles et les nouvelles fonctionnalités à débloquer.**
@@ -341,11 +352,32 @@ Des histoires du quotidien, dessinées avec personnalité. Papier chaleureux, d
---
+<!-- b3:section:start -->
<a id="b3"></a>
-### B3 : Bientôt disponible…
+### B3 : Style TV rétro
+
+Un fond sombre, des personnages raffinés en blanc et gris et une texture télévisuelle discrète donnent vie aux questions du quotidien.
+
+- **Style visuel**: Des silhouettes arrondies, des décors variés, des animations locales utiles et des sous-titres blancs épurés. Un léger halo et des lignes de balayage évoquent la télévision analogique.
+- **Idéal pour**: La vulgarisation, la psychologie, le comportement animal, les faits insolites et les courtes histoires à mystère.
+- **À choisir si**: Vous voulez une vidéo complète, créée et assemblée par votre agent de code, avec narration Gemini Bodi, sous-titres découpés par unités de sens et effets sonores liés aux actions.
-De nouveaux styles Autopilot et de nouvelles animations procédurales sont en cours d’entraînement. [Ajoutez une étoile au projet](#road-to-10000-stars--creator-ecosystem) pour les débloquer à 5,000 Stars !
+<table width="100%">
+ <tr>
+ <th width="50%" align="center">Exemple 1 : Et si votre télé s’allumait à 3 h du matin ?</th>
+ <th width="50%" align="center">Exemple 2 : Pourquoi un chien effrayé se rapproche-t-il ?</th>
+ </tr>
+ <tr>
+ <td width="50%" align="center"><a href="assets/readme/b3-tv-night-signal.mp4"><img src="https://cdn.jsdelivr.net/gh/kaomei/stickman-video-director@b0ac8fabc4cf86a7a0b1ebe64e4b2c61414076fe/assets/readme/previews/b3-tv-night-signal.gif" alt="Mystère fictif de la télévision à 3 h du matin avec des personnages blancs arrondis" width="360"></a></td>
+ <td width="50%" align="center"><a href="assets/readme/b3-tv-dog.mp4"><img src="https://cdn.jsdelivr.net/gh/kaomei/stickman-video-director@b0ac8fabc4cf86a7a0b1ebe64e4b2c61414076fe/assets/readme/previews/b3-tv-dog.gif" alt="Explication du comportement canin en blanc et gris avec animation locale" width="360"></a></td>
+ </tr>
+ <tr>
+ <td align="center">Suspense fictif · Changements de scène · Texture TV</td>
+ <td align="center">Comportement animal · Réactions locales · Voix Bodi</td>
+ </tr>
+</table>
+<!-- b3:section:end -->
<!-- thumbnail-publishing-kit:start -->
<a id="thumbnail-publishing-kit"></a>
diff --git a/README.id.md b/README.id.md
index 60a30e7..e52f8e0 100644
--- a/README.id.md
+++ b/README.id.md
@@ -58,11 +58,22 @@ Gaya visual terus diperbarui untuk channel **penjelasan sains, psikologi gelap,
<a href="#b2"><img src="https://cdn.jsdelivr.net/gh/kaomei/stickman-video-director@a7f13ef5cd023e0e4fa637ec9f658582a2c211fe/assets/readme/previews/b2-colorful-sleep.gif" alt="Video figur stik gambar tangan berwarna: kamar tenang dan pikiran yang mengalir bersama sungai" width="90%"></a>
</td>
</tr>
+<!-- b3:hero:start -->
+<tr>
+<td width="50%" align="center">
+<strong>Gaya TV Retro</strong><br>
+<a href="#b3"><img src="https://cdn.jsdelivr.net/gh/kaomei/stickman-video-director@b0ac8fabc4cf86a7a0b1ebe64e4b2c61414076fe/assets/readme/previews/b3-tv-night-signal.gif" alt="Misteri fiksi TV pukul 3 pagi dengan karakter putih membulat" width="90%"></a>
+</td>
+<td width="50%" align="center">
+<a href="#a7"><strong>Coming Soon…</strong></a>
+</td>
+</tr>
+<!-- b3:hero:end -->
</table>
<div align="center">
-**8 gaya · 10 pilihan visual · Contoh yang sudah diuji · Gratis dan open source**
+**9 gaya · 11 pilihan visual · Contoh yang sudah diuji · Gratis dan open source**
⭐ **Beri Star pada proyek ini agar tidak ketinggalan gaya dan fitur baru berikutnya.**
@@ -346,11 +357,32 @@ Cerita sehari-hari, digambar penuh karakter. Tekstur kertas hangat, latar berwar
---
+<!-- b3:section:start -->
<a id="b3"></a>
-### B3: Segera hadir…
+### B3: Gaya TV Retro
+
+Latar gelap, karakter putih-abu yang rapi, dan tekstur televisi yang halus mengubah pertanyaan sehari-hari menjadi cerita visual yang hidup.
+
+- **Gaya visual**: Siluet membulat, latar beragam, animasi lokal yang bermakna, dan subtitle putih yang bersih. Pendar lembut dan garis pindai memberi nuansa siaran analog.
+- **Cocok untuk**: Sains sehari-hari, psikologi, perilaku hewan, fakta unik, dan cerita misteri pendek.
+- **Pilih jika**: Anda ingin video jadi yang dibuat dan dirakit oleh agen coding, dengan narasi Gemini Bodi, subtitle berdasarkan satuan makna, dan efek suara sesuai aksi.
-Gaya Autopilot dan animasi prosedural baru sedang dilatih. [Beri Star pada proyek ini](#road-to-10000-stars--creator-ecosystem) untuk membukanya saat mencapai 5,000 Stars!
+<table width="100%">
+ <tr>
+ <th width="50%" align="center">Contoh 1: Bagaimana jika TV menyala sendiri pukul 3 pagi?</th>
+ <th width="50%" align="center">Contoh 2: Mengapa anjing yang takut malah mendekat?</th>
+ </tr>
+ <tr>
+ <td width="50%" align="center"><a href="assets/readme/b3-tv-night-signal.mp4"><img src="https://cdn.jsdelivr.net/gh/kaomei/stickman-video-director@b0ac8fabc4cf86a7a0b1ebe64e4b2c61414076fe/assets/readme/previews/b3-tv-night-signal.gif" alt="Misteri fiksi TV pukul 3 pagi dengan karakter putih membulat" width="360"></a></td>
+ <td width="50%" align="center"><a href="assets/readme/b3-tv-dog.mp4"><img src="https://cdn.jsdelivr.net/gh/kaomei/stickman-video-director@b0ac8fabc4cf86a7a0b1ebe64e4b2c61414076fe/assets/readme/previews/b3-tv-dog.gif" alt="Penjelasan perilaku anjing dengan karakter putih-abu dan animasi lokal" width="360"></a></td>
+ </tr>
+ <tr>
+ <td align="center">Suspense fiksi · Pergantian adegan · Tekstur TV</td>
+ <td align="center">Perilaku hewan · Reaksi lokal · Narasi Bodi</td>
+ </tr>
+</table>
+<!-- b3:section:end -->
<!-- thumbnail-publishing-kit:start -->
<a id="thumbnail-publishing-kit"></a>
diff --git a/README.ja.md b/README.ja.md
index 8373720..e294f38 100644
--- a/README.ja.md
+++ b/README.ja.md
@@ -58,11 +58,22 @@
<a href="#b2"><img src="https://cdn.jsdelivr.net/gh/kaomei/stickman-video-director@a7f13ef5cd023e0e4fa637ec9f658582a2c211fe/assets/readme/previews/b2-colorful-sleep.gif" alt="カラフル手描きの棒人間動画:静かな寝室と川を流れる思い" width="90%"></a>
</td>
</tr>
+<!-- b3:hero:start -->
+<tr>
+<td width="50%" align="center">
+<strong>レトロテレビ風</strong><br>
+<a href="#b3"><img src="https://cdn.jsdelivr.net/gh/kaomei/stickman-video-director@b0ac8fabc4cf86a7a0b1ebe64e4b2c61414076fe/assets/readme/previews/b3-tv-night-signal.gif" alt="丸みのある白いキャラクターで描く午前3時のテレビ怪談" width="90%"></a>
+</td>
+<td width="50%" align="center">
+<a href="#a7"><strong>Coming Soon…</strong></a>
+</td>
+</tr>
+<!-- b3:hero:end -->
</table>
<div align="center">
-**8つの画風 · 10のビジュアル · 制作例あり · 無料・オープンソース**
+**9つの画風 · 11のビジュアル · 制作例あり · 無料・オープンソース**
⭐ **プロジェクトに Star を付けて、次の画風追加や新機能の解放をチェックしましょう。**
@@ -338,11 +349,32 @@ B1、B2、B3…の番号で追加。各画風に、イラスト絵コンテと
---
+<!-- b3:section:start -->
<a id="b3"></a>
-### B3: 近日公開…
+### B3: レトロテレビ風
+
+暗い画面、繊細な白とグレーのキャラクター、控えめなテレビの質感で、身近な疑問を印象的な映像に。
+
+- **画風**: 丸みのあるシルエット、多彩な場面、意味のある部分アニメーション、読みやすい白い字幕。淡い光と走査線でアナログ放送の雰囲気を添えます。
+- **おすすめの題材**: 身近な科学、心理現象、動物の行動、豆知識、短いミステリー。
+- **こんなときに**: コーディングエージェントに映像制作と編集を任せ、Gemini Bodi のナレーション、意味のまとまりに沿った字幕、動作音を備えた完成動画が欲しいとき。
-新しい Autopilot スタイルとプロシージャルアニメーションをトレーニング中です。[プロジェクトに Star を付けて](#road-to-10000-stars--creator-ecosystem)、5,000 Stars での解放を応援してください!
+<table width="100%">
+ <tr>
+ <th width="50%" align="center">作例 1:午前3時にテレビが勝手についたら?</th>
+ <th width="50%" align="center">作例 2:怖がる犬が近づくのはなぜ?</th>
+ </tr>
+ <tr>
+ <td width="50%" align="center"><a href="assets/readme/b3-tv-night-signal.mp4"><img src="https://cdn.jsdelivr.net/gh/kaomei/stickman-video-director@b0ac8fabc4cf86a7a0b1ebe64e4b2c61414076fe/assets/readme/previews/b3-tv-night-signal.gif" alt="丸みのある白いキャラクターで描く午前3時のテレビ怪談" width="360"></a></td>
+ <td width="50%" align="center"><a href="assets/readme/b3-tv-dog.mp4"><img src="https://cdn.jsdelivr.net/gh/kaomei/stickman-video-director@b0ac8fabc4cf86a7a0b1ebe64e4b2c61414076fe/assets/readme/previews/b3-tv-dog.gif" alt="白とグレーのキャラクターが動く、レトロテレビ風の犬の行動解説" width="360"></a></td>
+ </tr>
+ <tr>
+ <td align="center">フィクションのサスペンス · 場面転換 · テレビの質感</td>
+ <td align="center">動物の行動 · 小さな反応 · Bodi ナレーション</td>
+ </tr>
+</table>
+<!-- b3:section:end -->
<!-- thumbnail-publishing-kit:start -->
<a id="thumbnail-publishing-kit"></a>
diff --git a/README.ko.md b/README.ko.md
index 8aa6c06..73904a4 100644
--- a/README.ko.md
+++ b/README.ko.md
@@ -58,11 +58,22 @@
<a href="#b2"><img src="https://cdn.jsdelivr.net/gh/kaomei/stickman-video-director@a7f13ef5cd023e0e4fa637ec9f658582a2c211fe/assets/readme/previews/b2-colorful-sleep.gif" alt="컬러 손그림 스틱맨 영상: 조용한 침실과 강을 따라 떠가는 생각" width="90%"></a>
</td>
</tr>
+<!-- b3:hero:start -->
+<tr>
+<td width="50%" align="center">
+<strong>레트로 TV 스타일</strong><br>
+<a href="#b3"><img src="https://cdn.jsdelivr.net/gh/kaomei/stickman-video-director@b0ac8fabc4cf86a7a0b1ebe64e4b2c61414076fe/assets/readme/previews/b3-tv-night-signal.gif" alt="둥근 흰색 캐릭터로 표현한 새벽 3시 TV 미스터리" width="90%"></a>
+</td>
+<td width="50%" align="center">
+<a href="#a7"><strong>Coming Soon…</strong></a>
+</td>
+</tr>
+<!-- b3:hero:end -->
</table>
<div align="center">
-**8가지 스타일 · 10가지 비주얼 옵션 · 실제 제작 예시 · 무료 오픈소스**
+**9가지 스타일 · 11가지 비주얼 옵션 · 실제 제작 예시 · 무료 오픈소스**
⭐ **프로젝트에 Star를 눌러 다음 스타일과 새 기능 공개를 확인하세요.**
@@ -339,11 +350,32 @@ B1, B2, B3… 순으로 추가하며, 각 스타일의 일러스트 스토리보
---
+<!-- b3:section:start -->
<a id="b3"></a>
-### B3: 곧 공개…
+### B3: 레트로 TV 스타일
+
+어두운 화면, 섬세한 흰색·회색 캐릭터, 은은한 TV 질감으로 일상의 궁금증을 생생한 이야기로 만듭니다.
+
+- **화면 스타일**: 둥근 실루엣, 다양한 장면, 의미 있는 부분 애니메이션과 깔끔한 흰색 자막. 약한 빛 번짐과 주사선으로 아날로그 방송 느낌을 더합니다.
+- **추천 주제**: 생활 과학, 심리 현상, 동물 행동, 흥미로운 상식과 짧은 미스터리.
+- **이럴 때 선택**: 코딩 에이전트가 화면 제작과 편집을 맡아 Gemini Bodi 내레이션, 의미 단위 자막, 동작 효과음이 포함된 완성 영상을 원할 때.
-새로운 Autopilot 스타일과 절차적 애니메이션을 훈련하고 있습니다. [프로젝트에 Star를 눌러](#road-to-10000-stars--creator-ecosystem) 5,000 Stars 달성 시 공개될 수 있도록 응원해 주세요!
+<table width="100%">
+ <tr>
+ <th width="50%" align="center">예시 1: 새벽 3시에 TV가 저절로 켜진다면?</th>
+ <th width="50%" align="center">예시 2: 겁먹은 개가 다가오는 이유는?</th>
+ </tr>
+ <tr>
+ <td width="50%" align="center"><a href="assets/readme/b3-tv-night-signal.mp4"><img src="https://cdn.jsdelivr.net/gh/kaomei/stickman-video-director@b0ac8fabc4cf86a7a0b1ebe64e4b2c61414076fe/assets/readme/previews/b3-tv-night-signal.gif" alt="둥근 흰색 캐릭터로 표현한 새벽 3시 TV 미스터리" width="360"></a></td>
+ <td width="50%" align="center"><a href="assets/readme/b3-tv-dog.mp4"><img src="https://cdn.jsdelivr.net/gh/kaomei/stickman-video-director@b0ac8fabc4cf86a7a0b1ebe64e4b2c61414076fe/assets/readme/previews/b3-tv-dog.gif" alt="흰색·회색 캐릭터와 부분 애니메이션으로 설명하는 개의 행동" width="360"></a></td>
+ </tr>
+ <tr>
+ <td align="center">창작 서스펜스 · 장면 전환 · TV 질감</td>
+ <td align="center">동물 행동 · 작은 반응 · Bodi 내레이션</td>
+ </tr>
+</table>
+<!-- b3:section:end -->
<!-- thumbnail-publishing-kit:start -->
<a id="thumbnail-publishing-kit"></a>
diff --git a/README.md b/README.md
index f9b17ba..5242b1b 100644
--- a/README.md
+++ b/README.md
@@ -58,11 +58,22 @@ Continually updated visual styles for **science explainers, dark psychology, tec
<a href="#b2"><img src="https://cdn.jsdelivr.net/gh/kaomei/stickman-video-director@a7f13ef5cd023e0e4fa637ec9f658582a2c211fe/assets/readme/previews/b2-colorful-sleep.gif" alt="Colorful hand-drawn stickman video: a quiet bedroom and a thought drifting along a river" width="90%"></a>
</td>
</tr>
+<!-- b3:hero:start -->
+<tr>
+<td width="50%" align="center">
+<strong>Retro TV Style</strong><br>
+<a href="#b3"><img src="https://cdn.jsdelivr.net/gh/kaomei/stickman-video-director@b0ac8fabc4cf86a7a0b1ebe64e4b2c61414076fe/assets/readme/previews/b3-tv-night-signal.gif" alt="retro TV-style fictional 3 AM television mystery with rounded white characters" width="90%"></a>
+</td>
+<td width="50%" align="center">
+<a href="#a7"><strong>Coming Soon…</strong></a>
+</td>
+</tr>
+<!-- b3:hero:end -->
</table>
<div align="center">
-**8 styles · 10 visual options · Tested examples · Free and open source**
+**9 styles · 11 visual options · Tested examples · Free and open source**
⭐ **Star the project to catch the next style drop and feature unlocks.**
@@ -337,11 +348,32 @@ Everyday stories, drawn with personality. Warm paper, colorful scenes, simple st
---
+<!-- b3:section:start -->
<a id="b3"></a>
-### B3: Coming soon…
+### B3: Retro TV Style
+
+A dark canvas, refined white-and-gray characters, and a subtle television texture turn everyday questions into vivid visual stories.
+
+- **Visual style**: Rounded silhouettes, varied scenes, purposeful local animation, and clean white captions. Restrained bloom and scanlines add an analog-broadcast feel.
+- **Best for**: Everyday science, psychology, animal behavior, curious facts, and short mystery stories.
+- **Choose this when**: You want a finished video with Gemini Bodi narration, semantic captions, and action sound effects, built and assembled by your coding agent.
-New Autopilot styles and procedural animations are currently in training. [Star the project](#road-to-10000-stars--creator-ecosystem) to unlock them at 5,000 Stars!
+<table width="100%">
+ <tr>
+ <th width="50%" align="center">Example 1: What if your TV turns on at 3 AM?</th>
+ <th width="50%" align="center">Example 2: Why does a scared dog come closer?</th>
+ </tr>
+ <tr>
+ <td width="50%" align="center"><a href="assets/readme/b3-tv-night-signal.mp4"><img src="https://cdn.jsdelivr.net/gh/kaomei/stickman-video-director@b0ac8fabc4cf86a7a0b1ebe64e4b2c61414076fe/assets/readme/previews/b3-tv-night-signal.gif" alt="retro TV-style fictional 3 AM television mystery with rounded white characters" width="360"></a></td>
+ <td width="50%" align="center"><a href="assets/readme/b3-tv-dog.mp4"><img src="https://cdn.jsdelivr.net/gh/kaomei/stickman-video-director@b0ac8fabc4cf86a7a0b1ebe64e4b2c61414076fe/assets/readme/previews/b3-tv-dog.gif" alt="retro TV-style dog-behavior explainer with white-and-gray characters and local animation" width="360"></a></td>
+ </tr>
+ <tr>
+ <td align="center">Fictional suspense · Scene changes · TV texture</td>
+ <td align="center">Animal behavior · Local reactions · Bodi narration</td>
+ </tr>
+</table>
+<!-- b3:section:end -->
<!-- thumbnail-publishing-kit:start -->
<a id="thumbnail-publishing-kit"></a>
diff --git a/README.pt-BR.md b/README.pt-BR.md
index 3a242e3..1994a45 100644
--- a/README.pt-BR.md
+++ b/README.pt-BR.md
@@ -58,11 +58,22 @@ Estilos visuais sempre atualizados para canais de **divulgação científica, ps
<a href="#b2"><img src="https://cdn.jsdelivr.net/gh/kaomei/stickman-video-director@a7f13ef5cd023e0e4fa637ec9f658582a2c211fe/assets/readme/previews/b2-colorful-sleep.gif" alt="Vídeo de bonecos de palito em desenho colorido: um quarto tranquilo e um pensamento seguindo o rio" width="90%"></a>
</td>
</tr>
+<!-- b3:hero:start -->
+<tr>
+<td width="50%" align="center">
+<strong>Estilo TV retrô</strong><br>
+<a href="#b3"><img src="https://cdn.jsdelivr.net/gh/kaomei/stickman-video-director@b0ac8fabc4cf86a7a0b1ebe64e4b2c61414076fe/assets/readme/previews/b3-tv-night-signal.gif" alt="Mistério fictício da TV às 3 da manhã com personagens brancos arredondados" width="90%"></a>
+</td>
+<td width="50%" align="center">
+<a href="#a7"><strong>Coming Soon…</strong></a>
+</td>
+</tr>
+<!-- b3:hero:end -->
</table>
<div align="center">
-**8 estilos · 10 opções visuais · Exemplos testados · Grátis e de código aberto**
+**9 estilos · 11 opções visuais · Exemplos testados · Grátis e de código aberto**
⭐ **Dê uma estrela ao projeto para acompanhar os próximos estilos e novos recursos.**
@@ -345,11 +356,32 @@ Histórias do cotidiano, desenhadas com personalidade. Papel acolhedor, cenário
---
+<!-- b3:section:start -->
<a id="b3"></a>
-### B3: Em breve…
+### B3: Estilo TV retrô
+
+Fundo escuro, personagens refinados em branco e cinza e uma textura sutil de televisão transformam dúvidas do dia a dia em histórias visuais.
+
+- **Visual**: Silhuetas arredondadas, cenários variados, animações locais com propósito e legendas brancas limpas. Brilho suave e linhas de varredura trazem um toque de TV analógica.
+- **Ideal para**: Ciência do cotidiano, psicologia, comportamento animal, curiosidades e histórias curtas de mistério.
+- **Escolha quando**: Quiser um vídeo completo, criado e montado pelo seu agente de código, com narração Gemini Bodi, legendas por unidades de sentido e efeitos sonoros ligados às ações.
-Novos estilos Autopilot e animações procedurais estão em treinamento. [Dê uma estrela ao projeto](#road-to-10000-stars--creator-ecosystem) para desbloqueá-los ao chegar a 5,000 Stars!
+<table width="100%">
+ <tr>
+ <th width="50%" align="center">Exemplo 1: E se sua TV ligasse sozinha às 3 da manhã?</th>
+ <th width="50%" align="center">Exemplo 2: Por que um cão assustado se aproxima?</th>
+ </tr>
+ <tr>
+ <td width="50%" align="center"><a href="assets/readme/b3-tv-night-signal.mp4"><img src="https://cdn.jsdelivr.net/gh/kaomei/stickman-video-director@b0ac8fabc4cf86a7a0b1ebe64e4b2c61414076fe/assets/readme/previews/b3-tv-night-signal.gif" alt="Mistério fictício da TV às 3 da manhã com personagens brancos arredondados" width="360"></a></td>
+ <td width="50%" align="center"><a href="assets/readme/b3-tv-dog.mp4"><img src="https://cdn.jsdelivr.net/gh/kaomei/stickman-video-director@b0ac8fabc4cf86a7a0b1ebe64e4b2c61414076fe/assets/readme/previews/b3-tv-dog.gif" alt="Explicação do comportamento canino em branco e cinza com animação local" width="360"></a></td>
+ </tr>
+ <tr>
+ <td align="center">Suspense fictício · Mudanças de cena · Textura de TV</td>
+ <td align="center">Comportamento animal · Reações locais · Narração Bodi</td>
+ </tr>
+</table>
+<!-- b3:section:end -->
<!-- thumbnail-publishing-kit:start -->
<a id="thumbnail-publishing-kit"></a>
diff --git a/README.tr.md b/README.tr.md
index ae62c9b..28ef8d4 100644
--- a/README.tr.md
+++ b/README.tr.md
@@ -58,11 +58,22 @@ Bir konu, makale veya senaryoyla başlayın. Görselleri, seslendirmeleri, altya
<a href="#b2"><img src="https://cdn.jsdelivr.net/gh/kaomei/stickman-video-director@a7f13ef5cd023e0e4fa637ec9f658582a2c211fe/assets/readme/previews/b2-colorful-sleep.gif" alt="Renkli el çizimi çöp adam videosu: sessiz bir yatak odası ve nehirde süzülen bir düşünce" width="90%"></a>
</td>
</tr>
+<!-- b3:hero:start -->
+<tr>
+<td width="50%" align="center">
+<strong>Retro TV Stili</strong><br>
+<a href="#b3"><img src="https://cdn.jsdelivr.net/gh/kaomei/stickman-video-director@b0ac8fabc4cf86a7a0b1ebe64e4b2c61414076fe/assets/readme/previews/b3-tv-night-signal.gif" alt="Yuvarlak beyaz karakterlerle gece 3’te açılan TV hakkında kurgu gizem" width="90%"></a>
+</td>
+<td width="50%" align="center">
+<a href="#a7"><strong>Coming Soon…</strong></a>
+</td>
+</tr>
+<!-- b3:hero:end -->
</table>
<div align="center">
-**8 stil · 10 görsel seçenek · Denenmiş örnekler · Ücretsiz ve açık kaynak**
+**9 stil · 11 görsel seçenek · Denenmiş örnekler · Ücretsiz ve açık kaynak**
⭐ **Bir sonraki stil paketini ve yeni özellikleri kaçırmamak için projeye yıldız verin.**
@@ -340,11 +351,32 @@ Gündelik hikâyeler, karakterli çizimlerle hayat bulur. Sıcak kâğıt dokusu
---
+<!-- b3:section:start -->
<a id="b3"></a>
-### B3: Yakında…
+### B3: Retro TV Stili
+
+Koyu bir zemin, özenli beyaz-gri karakterler ve hafif bir televizyon dokusu, günlük soruları canlı görsel hikâyelere dönüştürür.
+
+- **Görsel stil**: Yuvarlak siluetler, çeşitli sahneler, anlamlı yerel animasyonlar ve sade beyaz altyazılar. Hafif parıltı ve tarama çizgileri analog yayın hissi verir.
+- **Uygun konular**: Günlük bilim, psikoloji, hayvan davranışları, ilginç bilgiler ve kısa gizem hikâyeleri.
+- **Ne zaman seçilmeli**: Kodlama ajanınızın hazırlayıp birleştirdiği, Gemini Bodi anlatımı, anlam birimlerine göre altyazılar ve eylem ses efektleri içeren tamamlanmış bir video istediğinizde.
-Yeni Autopilot stilleri ve prosedürel animasyonlar şu anda eğitimde. 5,000 Stars hedefine ulaşıldığında açılmaları için [projeye yıldız verin](#road-to-10000-stars--creator-ecosystem)!
+<table width="100%">
+ <tr>
+ <th width="50%" align="center">Örnek 1: TV’niz gece 3’te kendiliğinden açılırsa?</th>
+ <th width="50%" align="center">Örnek 2: Korkan bir köpek neden yaklaşır?</th>
+ </tr>
+ <tr>
+ <td width="50%" align="center"><a href="assets/readme/b3-tv-night-signal.mp4"><img src="https://cdn.jsdelivr.net/gh/kaomei/stickman-video-director@b0ac8fabc4cf86a7a0b1ebe64e4b2c61414076fe/assets/readme/previews/b3-tv-night-signal.gif" alt="Yuvarlak beyaz karakterlerle gece 3’te açılan TV hakkında kurgu gizem" width="360"></a></td>
+ <td width="50%" align="center"><a href="assets/readme/b3-tv-dog.mp4"><img src="https://cdn.jsdelivr.net/gh/kaomei/stickman-video-director@b0ac8fabc4cf86a7a0b1ebe64e4b2c61414076fe/assets/readme/previews/b3-tv-dog.gif" alt="Beyaz-gri karakterler ve yerel animasyonla köpek davranışı açıklaması" width="360"></a></td>
+ </tr>
+ <tr>
+ <td align="center">Kurgu gerilim · Sahne geçişleri · TV dokusu</td>
+ <td align="center">Hayvan davranışları · Yerel tepkiler · Bodi anlatımı</td>
+ </tr>
+</table>
+<!-- b3:section:end -->
<!-- thumbnail-publishing-kit:start -->
<a id="thumbnail-publishing-kit"></a>
diff --git a/README.zh-CN.md b/README.zh-CN.md
index 6a63d7e..96a897c 100644
--- a/README.zh-CN.md
+++ b/README.zh-CN.md
@@ -58,11 +58,22 @@
<a href="#b2"><img src="https://cdn.jsdelivr.net/gh/kaomei/stickman-video-director@a7f13ef5cd023e0e4fa637ec9f658582a2c211fe/assets/readme/previews/b2-colorful-sleep.gif" alt="彩色手绘风:安静的卧室与沿河漂走的念头" width="90%"></a>
</td>
</tr>
+<!-- b3:hero:start -->
+<tr>
+<td width="50%" align="center">
+<strong>复古电视风</strong><br>
+<a href="#b3"><img src="https://cdn.jsdelivr.net/gh/kaomei/stickman-video-director@b0ac8fabc4cf86a7a0b1ebe64e4b2c61414076fe/assets/readme/previews/b3-tv-night-signal.gif" alt="复古电视风凌晨三点电视悬疑短片,圆润白色角色" width="90%"></a>
+</td>
+<td width="50%" align="center">
+<a href="#a7"><strong>Coming Soon…</strong></a>
+</td>
+</tr>
+<!-- b3:hero:end -->
</table>
<div align="center">
-**8 大画风 · 10 种视觉方案 · 实测样片 · 免费开源**
+**9 大画风 · 11 种视觉方案 · 实测样片 · 免费开源**
⭐ **为项目点个 Star,及时关注下一批画风和新功能解锁。**
@@ -337,11 +348,32 @@ AI 助手会根据内容设计分镜,生成画面与旁白,配好字幕和
---
+<!-- b3:section:start -->
<a id="b3"></a>
-### B3:待更新…
+### B3:复古电视风
+
+深色画布、精致的白灰角色,加上一层克制的电视质感,把日常疑问讲成有画面感的故事。
+
+- **画面风格**: 圆润剪影、多样场景与有意义的局部动画,搭配清爽白色字幕;轻微辉光和扫描线营造模拟电视观感。
+- **适合题材**: 生活科普、心理现象、动物行为、冷知识和短篇悬疑故事。
+- **什么时候选**: 希望由代码智能体完成画面制作与组装,交付带 Gemini Bodi 旁白、语义字幕和动作音效的完整视频。
-新的全自动画风和程序化动画正在训练中。[为项目点个 Star](#road-to-10000-stars--creator-ecosystem),一起在 5,000 Stars 时解锁!
+<table width="100%">
+ <tr>
+ <th width="50%" align="center">示例 1:如果电视在凌晨三点自己打开?</th>
+ <th width="50%" align="center">示例 2:害怕的狗为什么反而靠近?</th>
+ </tr>
+ <tr>
+ <td width="50%" align="center"><a href="assets/readme/b3-tv-night-signal.mp4"><img src="https://cdn.jsdelivr.net/gh/kaomei/stickman-video-director@b0ac8fabc4cf86a7a0b1ebe64e4b2c61414076fe/assets/readme/previews/b3-tv-night-signal.gif" alt="复古电视风凌晨三点电视悬疑短片,圆润白色角色" width="360"></a></td>
+ <td width="50%" align="center"><a href="assets/readme/b3-tv-dog.mp4"><img src="https://cdn.jsdelivr.net/gh/kaomei/stickman-video-director@b0ac8fabc4cf86a7a0b1ebe64e4b2c61414076fe/assets/readme/previews/b3-tv-dog.gif" alt="复古电视风狗狗行为科普,白灰角色与局部动画" width="360"></a></td>
+ </tr>
+ <tr>
+ <td align="center">虚构悬疑 · 场景切换 · 电视质感</td>
+ <td align="center">动物行为 · 局部反应 · Bodi 旁白</td>
+ </tr>
+</table>
+<!-- b3:section:end -->
<!-- thumbnail-publishing-kit:start -->
<a id="thumbnail-publishing-kit"></a>
diff --git a/skills/directing-stickman-videos/SKILL.md b/skills/directing-stickman-videos/SKILL.md
index cbdd1e4..03c490e 100644
--- a/skills/directing-stickman-videos/SKILL.md
+++ b/skills/directing-stickman-videos/SKILL.md
@@ -11,7 +11,9 @@ Keep the existing installation and name. Route by the requested deliverable:
- **A · Director**: proposals, storyboards and standalone video-generation prompts. A1/A1.1/A1.2 map to Style 1 light/dark; A2/A2.1/A2.2 to Style 2/2A/2B; A3–A5 to Styles 3–5. Follow the unchanged Director contract below.
- **A6 · Amber Noir / 暖金暗影风**: read [A6](references/amber-noir.md) when selected, before planning. It owns its reference-guided shots, optional execution routes and separate narration/finishing; bypass the A1–A5 contract below. After approvals and available setup, carry the selected route through to a finished MP4, not just copied prompts. Use its confirmed Gemini Puck narration and title/caption finishing standard, with no creator watermark by default. Explain the two routes and verified sample model only after A6 selection, not in the generic welcome or a detailed README setup section.
-- **B · Autopilot**: a finished local video with narration, captions, meaningful illustrations, local motion and SFX. Read [Autopilot](references/autopilot.md), then its selected B-style reference. B1 is [极简手绘风](references/b1-minimal-handdrawn.md); B2 is [彩色手绘风 / Colorful Hand-Drawn](references/b2-colorful-handdrawn.md). B styles have their own assets and numbering; do not silently reuse an A-style prompt or sample.
+- **B · Autopilot**: a finished local video with narration, captions, meaningful illustrations, local motion and SFX. Read [Autopilot](references/autopilot.md), then its selected B-style reference: B1 [极简手绘风](references/b1-minimal-handdrawn.md), B2 [彩色手绘风 / Colorful Hand-Drawn](references/b2-colorful-handdrawn.md), or B3 [复古电视风 / Retro TV Style](references/b3-television.md). B styles have their own assets and numbering; do not silently reuse an A-style prompt or sample.
+
+For **B3**, inspect its guide and implementation references before authoring; disclose missing original-video comparison. Use Bodi and restrained TV finish, not another style's defaults. Keep queued styles local.
If the mode is ambiguous, ask one short question. Honor previously supplied choices. Do not run Director's ten-second clip rules, no-visible-text rule or Phase B prompt workflow for Autopilot. Autopilot can start with a topic, promotion brief, post, article or story script; it is not story-only. English is the default narration language, but the user's language and voice choices take precedence.
diff --git a/skills/directing-stickman-videos/references/autopilot-runtime.md b/skills/directing-stickman-videos/references/autopilot-runtime.md
index 2333676..eef179f 100644
--- a/skills/directing-stickman-videos/references/autopilot-runtime.md
+++ b/skills/directing-stickman-videos/references/autopilot-runtime.md
@@ -14,6 +14,8 @@ Install Node 20+ and FFmpeg/FFprobe using your platform's normal installer. Opti
The bundled runtime accepts `style: B1` and `style: B2`. B1 keeps its white grid and original caption treatment. B2 uses warm paper without a grid and dark captions on an ivory paper label (40 design-unit default text). Select B2 explicitly and author its own colored scene/prop/character image layers; the B1 `pose` atlas is rejected in B2. The JSON excerpt below remains a B1 example, not a B2 art template. See [B2](b2-colorful-handdrawn.md) for its independent production defaults.
+[B3 Retro TV Style](b3-television.md) is explicitly selected with `style: B3`. It uses a dark field, story-specific white/gray artwork, native Gemini Bodi by default, clean white uppercase semantic captions and an optional restrained television finish. Its layered artwork is described below; it does not reuse the B1 pose atlas or B2 paper-caption design.
+
All media paths are relative to `project.json` (or absolute local paths); `@b1/…` addresses bundled original B1 assets. Remote URLs and executable expressions are not accepted. Output is a separate project-local `output/` directory. Keep user/source files outside it.
```json
@@ -40,11 +42,34 @@ This is an excerpt, not a complete valid film: full-film shots must cover the ac
Layers: `image` (local PNG/JPEG, contain-fit within optional `h`), `pose` (B1 only: original three-pose atlas, indices 0–2), `text`, `line` (`points` array), `arrow`, `underline`. Design coordinates are 1280 units wide and `1280 × outputHeight / outputWidth` high (720 for 16:9; about 2275.56 for 9:16), uniformly scaled without stretching characters. Recompose portrait scenes explicitly; changing output dimensions alone does not design a vertical composition. Keep the bottom 110 design units clear for captions. Use `from`/`to` (shot-relative seconds) for selective visibility. `keys` are increasing shot-relative timestamps with optional numeric `x`, `y`, `w`, `angle` (radians), `alpha` and `progress`; values interpolate with smoothstep. For genuine local motion use separate layers or authored pose sprites. Images do not gain inferred limb motion automatically. Text `w` is its maximum width; captions wrap to two lines and overflow is an error, not invisible clipping. All styles are included in shot-cache identity so switching style cannot reuse another style's frames.
+## B3 layered artwork
+
+`init DIR --style B3` creates a non-overwriting B3 scaffold. B3 additionally accepts these declarative layers; no JavaScript, SVG markup, URLs or executable expressions:
+
+- `path`: `commands` are numeric arrays beginning with `M`; supported commands are `M x y`, `L x y`, `Q cx cy x y`, `C c1x c1y c2x c2y x y`, and `Z`. Choose `fill`/`stroke` colors or `none`, and a positive `lineWidth`. Use curves for rounded limbs/pets rather than dense angular connector scaffolds. Paths do not interpolate or draw themselves; use separate pose layers with `from`/`to`, and `line.progress` for progressive connectors.
+- `rect` / `ellipse`: positive `w`, `h`, optional rounded-rectangle `radius`, `fill` and `stroke`.
+- `group`: a nonempty `children` array in back-to-front drawing order. Local `x`/`y` position the group; `pivotX`/`pivotY` define a local rotation/scale anchor. Optional positive `scaleX`/`scaleY` work on any B3 layer and in its keys. Keep joints attached; use keyframed rotation for bounded head/ear/hand movement. Parent alpha multiplies child alpha. A foreground layer after the group can occlude it.
+
+All child `from`/`to` and key times remain **relative to the shot**, not to the parent group's appearance time. Nested media that first appear after a preview's end are not required until that range is rendered. Cache keys include nested media, B3 graphics code and television settings.
+
+An illustrative **layer excerpt**, not a complete film or a reusable character:
+
+```json
+{"type":"group","x":500,"y":180,"children":[
+ {"type":"rect","x":0,"y":120,"w":140,"h":110,"radius":14,"fill":"#858990"},
+ {"type":"group","pivotX":70,"pivotY":110,"keys":[{"t":0,"angle":0},{"t":0.6,"angle":0.12}],"children":[
+ {"type":"ellipse","x":25,"y":20,"w":90,"h":90,"fill":"#e7e9eb"}
+ ]}
+]}
+```
+
+Top-level `television: {enabled: true, intensity: 0.45}` enables soft bloom, subtle scanlines and vignette once after scene composition, **before clean captions**. Intensity ranges from 0 to 1; set `enabled: false` for clean interaction checks. This treatment belongs only to B3. Meaningful object/scene action, varied compositions and faithful contact still require authored decisions and encoded playback review; treatment cannot rescue a static illustration.
+
## Commands
- `doctor`: dependency/font/key presence only; no network and no key values.
- `probe FILE`: duration and media streams.
-- `init DIR [--style B1|B2]`: create a non-overwriting project scaffold; it is not production-ready until voice, captions and shots are filled.
+- `init DIR [--style B1|B2|B3]`: create a non-overwriting project scaffold; it is not production-ready until voice, captions and shots are filled.
- `validate PROJECT [--seconds N]`: check real files, audio duration, shot coverage, cue timing, layers and SFX. Default is the complete film; `--seconds 20` checks only the sample range.
- `captions WORDS.json OUTPUT.json`: convert `{words:[{start,end,word}]}` into readable timed phrases. `--lead 0.15` adds initial video offset. Requires actual aligned word timestamps.
- `preview PROJECT [--seconds 20]`: check/render only the sample range, with caption sidecars/contact sheet/report and shot cache. Missing later-shot media does not block it. Existing outputs are not overwritten unless `--replace` is explicit.
diff --git a/skills/directing-stickman-videos/references/autopilot.md b/skills/directing-stickman-videos/references/autopilot.md
index c6a5573..4e86a5d 100644
--- a/skills/directing-stickman-videos/references/autopilot.md
+++ b/skills/directing-stickman-videos/references/autopilot.md
@@ -8,7 +8,9 @@ B has its own production contract and independently defined styles. Do not impor
Keep one installed Skill and entrypoint; style references are internal modules, not separate installations or nested `SKILL.md` files. Each B style defines its own visuals/characters, caption font/size/placement, narration provider/voice defaults, pacing and SFX treatment. Updating B1 must not rewrite another style or A.
-Resolve each setting in this order: **explicit user choice → selected B-style default → B common fallback**. The common language/voice fallback is English with Google Gemini Bodi, used only when neither the user nor the selected style supplies that setting. Do not copy B1's caption design, voice or scene grammar into B2 or another style. Record resolved settings in the project; do not silently restyle accepted media when defaults change. B1 [Minimal Hand-Drawn](b1-minimal-handdrawn.md) and B2 [Colorful Hand-Drawn](b2-colorful-handdrawn.md) are packaged with independent defaults and runtime support. Future B styles need their own reference and runtime support before being offered as usable.
+Resolve each setting in this order: **explicit user choice → selected B-style default → B common fallback**. The common language/voice fallback is English with Google Gemini Bodi, used only when neither the user nor the selected style supplies that setting. Do not copy B1's caption design, voice or scene grammar into B2 or another style. Record resolved settings in the project; do not silently restyle accepted media when defaults change. B1 [Minimal Hand-Drawn](b1-minimal-handdrawn.md), B2 [Colorful Hand-Drawn](b2-colorful-handdrawn.md) and B3 [Retro TV Style](b3-television.md) are packaged with independent defaults and runtime support. Future B styles need their own reference and runtime support before being offered as usable.
+
+B3 has independent design/motion requirements and a declarative layered runtime: paths, rounded shapes, nested pivot groups and a composition-level television finish. Select `style: B3` explicitly; do not alias another style. Inspect its bundled implementation stills/motion and derived guide before authoring story-specific poses, objects and state changes. Original-video excerpts are not redistributed. If an authorized original is available privately, compare its visual effects directly; otherwise record that source-fidelity evidence is missing. Accepted examples are secondary evidence, not a replacement style standard, automatic gait engine or plot template. New samples still require normal design, motion and user-review gates.
Shared B rules govern source fidelity, required narration/subtitles, native named voices without extra direction, voice-led timing, configuration/cost checks, sample review and delivery. Read and apply the required [B common production and acceptance checklist](autopilot-production-qa.md) before shot planning, sample review and full-film delivery. Its opening-30s hook, natural caption phrasing, sharp screenshots, relevant icons, no filler repetition, maximum 2.5-second principal-picture inactivity and whole-film detail gates apply to every B style. Style defaults customize expression, not waive this common quality floor; they do not impose one caption design or voice ID on every style. A does not inherit these gates.
diff --git a/skills/directing-stickman-videos/references/b3-television.md b/skills/directing-stickman-videos/references/b3-television.md
new file mode 100644
index 0000000..9f236e9
--- /dev/null
+++ b/skills/directing-stickman-videos/references/b3-television.md
@@ -0,0 +1,81 @@
+# B3 · Retro TV Style / 复古电视风: design and motion
+
+Read after [Autopilot](autopilot.md) and its [shared production QA](autopilot-production-qa.md). This is B3 of the existing Skill, not a newly named Skill or permission to remake media. The user accepted the dog-behavior v6 and chair/clothes v1 examples. Preserve those recordings and films; they were authored in project-local renderers. The bundled declarative runtime now supports the underlying layered mechanisms, but does not automatically reproduce their art or certify a new story's quality. Apply these decisions only to B3; preserve A/B1/B2.
+
+## Reusable production entry
+
+Use `node scripts/autopilot.mjs init /absolute/project --style B3`, then provide the approved continuous narration, actually aligned semantic captions and authored shots. Follow [runtime configuration](autopilot-runtime.md#b3-layered-artwork) for numeric paths, group pivots, visibility/pose changes, z-order and the television pass. Use native Bodi for a new track without additional voice direction; retain accepted tracks unchanged. The agent creates the story-specific artwork and motion, then runs `validate` and `preview`; the CLI composes those decisions, not arbitrary text into finished art by itself.
+
+Before the first new sample, test its hardest contact/occlusion or state transition cleanly, with `television.enabled: false`. Verify it at normal speed, then enable the restrained treatment once. Do not use a global pan, CRT noise or another frozen dog/human pose as evidence of local action. Keep editable assets, event ledger, source/license records, exact audio fingerprints and the sample review checkpoint in the project.
+
+## Reference fidelity without copying a story
+
+Reference priority is **explicit user choices → original reference video's visual effects → accepted implementation examples**. An accepted sample does not become a replacement visual authority merely because it was made later. Preserve explicit refinements such as appealing pet design and uncluttered staging, while calibrating silhouette, composition, typography, television finish and editing mechanisms against the original reference.
+
+Before authoring, read the bundled [reference manifest](../assets/b3/reference-manifest.json) and inspect the [accepted implementation board](../assets/b3/accepted-implementation-board.jpg). The public pack contains our accepted original implementations, not the original channel's frames or clips: no redistribution permission for that study video is asserted. The stills are decoded video frames, not app screenshots or clean illustration masters. Use individual frames rather than the labeled browsing collage as image references.
+
+Inspect the bundled silent implementation excerpts at original timing; static references cannot establish movement: [dog design](../assets/b3/accepted-dog.png), [dog motion](../assets/b3/accepted-dog-motion.mp4), [room/prop design](../assets/b3/accepted-chair.png), [room/prop motion](../assets/b3/accepted-chair-motion.mp4). They show accepted refinements only, not proof of exact source fidelity or a mandatory cast/layout.
+
+The following mechanisms were observed in the private original study. If the user supplies an authorized copy, compare these windows directly; they are intentionally **not bundled**. If unavailable, proceed with the derived rules and implementation examples, but record direct source comparison as missing evidence rather than claiming exact replication:
+
+| Original time | Observed mechanism | What to compare |
+| --- | --- | --- |
+| 23–28s | Relationship build | Stable dog anchor; human state change, destination replacement and connector reveal |
+| 83–88s | Surveillance insert | Direct view to framed feed; subject/timecode progression and intermittent signal disturbance |
+| 142–147s | Warning states | Pose, speech label, red strike, then door/figure action as separate stages |
+| 196–201s | Signal and reframe | Warning card to thought insert, fading subject, then a new dog-detail composition |
+| 205–212s | Pose and comparison build | Dog detail changes, then a stacked human/dog comparison and a new prop cut |
+
+The [accepted implementation board](../assets/b3/accepted-implementation-board.jpg) and supplementary dog/chair excerpts in the manifest demonstrate approved refinements only; they do not redefine the source's visual effects or prescribe a universal dog, room or layout. For a new shot, record source time → observed mechanism → new semantic use → sample time in the project ledger. Compare clean design and final television treatment separately. Do not infer smoothness from stills or claim exhaustive replication after inspecting a few windows.
+
+Use references as visual study, not as a reusable soundtrack, borrowed scene assets or mandatory plot. Author new story-specific artwork. Keep any privately supplied source excerpts out of public output unless redistribution rights are verified. New rights-cleared studies still need comparison to the original; do not silently promote a drifting generated sample to the visual standard. Installing this pack grants no permission to publish a user's private media.
+
+The established direction is a dark field, refined white/gray silhouettes, clear objects, generous negative space, compact uppercase typography and a restrained analog-broadcast finish. Ordinary humans retain blank circular heads in front/profile/seated views; convey orientation through body arrangement, not protruding noses/ears. Keep rounded joints, readable arm/body gaps and useful gray overlap detail. Do not reintroduce knee crossbars, stick-on thin-line arms, rigid disconnected limbs or a costume imposed on every story. Pets have their own facial grammar; the humans' blank-face convention does not require faceless animals.
+
+Source-like effect families include progressive diagrams/connectors, object/screen state changes, framed surveillance inserts, purposeful character/prop reactions and brief signal interruptions. Select by the current sentence and tone. Do not force a horror voice, red warning, CCTV inset or full-screen glitch into a gentle explainer simply because the reference uses them elsewhere.
+
+**Local movement and reference-style editing are separate acceptance questions.** The rejected dog trial had head/ear/paw action yet still repeated a large side-view dog, headline and floor. More limb cycles or stronger CRT cannot repair that composition grammar. For a reference-led revision, record a small mechanism matrix: source time → observed sequence → new semantic use → new sample time. Use temporally adjacent frames to distinguish a diagram drawing itself, a destination being replaced, a pose/prop changing state, and a hard cut; do not infer motion from one attractive still. Translate the mechanisms into the new story rather than copying its exact frames or plot.
+
+Plan the edit across shots as well as within them: where appropriate, establish a relationship, isolate a meaningful detail, reveal alternatives, regroup those alternatives into an explanation, and return to an actionable scene. This is an example progression, not a compulsory template. Preserve visual anchors across a build, then change focal scale, representational mode or relationship when the idea changes. A border/title animation around an unchanged subject does not count as this transformation. Brief signal displacement may punctuate an actual idea change; keep it out of the caption band and do not count it toward semantic-motion coverage.
+
+## Featured pets: appealing characters, not stock symbols
+
+When an animal carries the story, design it as a recognizable, appealing character before animation. For a friendly dog, a softer head-to-body balance, rounded shorter muzzle, small distinct nose/eyes, readable ears, compact paws and a coherent tail are useful starting points. Keep enough face/ear separation in white/gray to survive the final bloom and small-view playback. Avoid the long pointed snout, narrow tubular torso and mechanically straight spindly legs that made the rejected dog read like a generic signage icon. Breed, ear type and markings follow the story/user; do not prescribe one universal puppy or identical pet across unrelated films.
+
+Create a compact clean pose/expression board for the views and states actually needed, such as attentive, head lowered/ears back, crouched/hidden and relaxed. Preserve proportions and markings through the film while changing gaze, ear angle, head/body posture and tail state. Review it without CRT first, then at final treatment/playback size. A fearful pet can still have an appealing design: do not replace fear signals with a smile, cheerful wag or comic acting merely to make it cute. Do not generalize appeasement as guilt, loyalty or a guarantee against biting; show safe distance without an impact shot.
+
+## Motion planning: restrained is not frozen
+
+Carry the complete original voice and actual aligned times forward. In each shot's ledger record: spoken idea, start/end, focal subject, start state → visible event → end state, affected layers/pose assets, local timing/pivots, ground/contact anchors, occlusion order, SFX cue and connection to the next shot. Keep camera motion and CRT overlays in separate fields so they cannot be counted as subject action.
+
+Use stable poses with bounded local animation. A head tilt, ear droop, weight shift, tail tuck, a hand lowering, a latch turning or a screen revealing new information can convey an event without continuous walking/waving. Let scene, prop and information motion carry rhythm where the character should hold. Do not make every layer move or assign an arbitrary gesture to every word. Meet the common maximum 2.5-second principal-picture inactivity rule through meaningful visible progression, not a quota of limb cycles or compulsory cuts.
+
+If narration names a behavior, **show that behavior**: an unchanged dog next to the word APPROACH is not approaching. A small approach needs authored step/contact states with planted support paws and a stable floor, not sliding the whole sprite. A retreat/hide needs displacement and correct sofa/door occlusion; a lowered head needs a visible before/after pose. Choose a simpler readable staged action or a different explanatory composition when a complex gait cannot be made coherent. Do not silently drop the behavior or deform limbs to force it.
+
+Use original editable paths, layered sprites or discrete authored poses with plausible transitions. Keep head, ears, tail and foreground occluders independently controllable where the action needs them; pivot at anatomical attachments and avoid detached parts, duplicated limbs, changing limb lengths or body-through-furniture intersections. For a freeze response, establish the change into freezing, then let a meaningful surrounding event carry the intentional hold; do not animate away the meaning of freezing just to add movement.
+
+The following are **not** substitutes for local/semantic action: a flat drawing with a global push/pan/fade, caption turnover, a breathing loop repeated everywhere, scanline flicker, bloom, chromatic noise or an unrelated corner animation. They may accompany an already readable event. Build and verify clean animation first; apply the television treatment once at composition level. Preserve mid-gray details, captions and silhouettes; a bezel or constant strong glitch is not required.
+
+### Dog-behavior example, not a template for every story
+
+| Spoken idea | Visible progression | Continuity check |
+| --- | --- | --- |
+| Creep closer | Look toward person → lower head/ears → small supported approach | Paws contact floor; no whole-sprite skating |
+| Lowered head / tucked tail | Clearly neutral pose → head lowers and tail curls inward | Same dog; muzzle and tail remain legible |
+| Approach / freeze / hide | Distinct examples or successive states; hide passes behind an occluder | Do not reuse the same frozen pose under new labels |
+| Lower your hand / give space | Hand lowers → person steps back or framing demonstrates real separation | No hitting; hand remains attached; distance actually changes |
+| Safety and trust | Give space → allow a voluntary small reaction/relaxation | No forced approach or claim all dogs behave alike |
+
+## Typography, voice and scene resources
+
+Use readable white bold sans-serif semantic captions near the bottom, uppercase where the language supports case, without B2's paper-label background. Keep scene headings sparse and distinct from captions; do not mechanically split phrases to create rapid flashes. Preserve the project's approved font, timing and recording during local visual revisions. New B3 projects default to native Gemini **Bodi**, one continuous track when supported, with no added voice/style direction; user choice overrides the default. Verify the actual available model/voice and quota. Never regenerate or speed-change accepted narration for animation timing.
+
+Use varied story-specific environments, prop details, diagrams and viewpoints, not the same room and standing presenter for every theme. A rich asset library is a selection pool, not a requirement to fill every scene. Keep one dominant action and quiet supporting detail. Original or licensed architectural/prop assets may be adapted to a coherent white/gray language; record source/license and do not paste mismatched stock icons together. Time restrained original/licensed action SFX to real events below the narration; signal noise is an accent, not a default soundtrack. No creator watermark by default.
+
+## Capability and acceptance gates
+
+1. **Capability truth:** the bundled [runtime](autopilot-runtime.md) accepts `style: B3` with authored numeric paths, rounded shapes, group transforms, separate layers/poses, progressive line diagrams, z-order occlusion, continuous audio and semantic captions. It does not infer pose changes from a flat image, morph paths, rig a gait or choose useful scenes automatically. Author discrete states and local keyframes or use an explicitly reviewed project-local renderer when necessary; test the required interaction before production. Unit tests prove mechanisms, not animation quality or acceptance.
+2. **Design proof:** inspect clean and treated character/pose boards at actual viewing size. The featured pet must read as an appealing character with distinct story-relevant states, not an anonymous warning symbol. This requires visual/user judgment; a geometry test cannot certify cuteness. Human and animal design rules remain separate.
+3. **Motion proof:** before the next sample, inspect a short clean test of the hardest interaction, then a same-shot before/during/after strip. Watch the encoded transition at normal speed; static pose sheets and pixel differences cannot prove smooth action. Separate the main animation from captions, camera and CRT when checking semantic events and inactivity gaps. A deliberate freeze can pass only when the surrounding meaningful progression carries the shot.
+4. **Reference-aware sample:** deliver the user-requested duration (normally 20–30 seconds), with actual local character/prop/scene action, narration, semantic captions, SFX and restrained finish. Compare selected reference mechanisms to the new sample without copying its story. Check local action **and** edit/composition grammar separately; passing one does not establish the other. Review the entire sample, not only its opening or a contact sheet. Inspect that magnified details actually contain the named feature through its complete action, and that split-panel subjects fit their foreground shelters. Record failing timestamps, contact/occlusion problems and unavailable playback/listening separately from decode/loudness checks.
+5. **Acceptance and preservation:** camera-only fixed-pose footage fails the motion gate even if it decodes and its captions align. Do not mark it approved or re-deliver it as improved without fixing the relevant shots. Keep source/voice fingerprints, editable artwork, event ledger, QA and checkpoint; reuse unaffected assets/audio. A Skill edit alone is not an improved video. After delivery stop for user review; no full film, README/gallery changes, external generation costs or publication without the corresponding authorization.
diff --git a/skills/directing-stickman-videos/scripts/autopilot-core.mjs b/skills/directing-stickman-videos/scripts/autopilot-core.mjs
index 2274cd1..50e4b00 100644
--- a/skills/directing-stickman-videos/scripts/autopilot-core.mjs
+++ b/skills/directing-stickman-videos/scripts/autopilot-core.mjs
@@ -3,6 +3,7 @@ import path from 'node:path';
import crypto from 'node:crypto';
import {fileURLToPath} from 'node:url';
import {spawnSync} from 'node:child_process';
+import {walkLayers, validateB3, visibleLayers} from './b3-graphics.mjs';
export const ROOT = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '..');
export const FFMPEG = process.env.FFMPEG || 'ffmpeg';
@@ -49,7 +50,8 @@ export function designPlane(project) {
export function loadProject(file, {seconds} = {}) {
file = fs.realpathSync(path.resolve(file));
const p = json(file), base = path.dirname(file);
- if (p.version !== 1 || !['B1', 'B2'].includes(p.style)) throw new Error('Expected version 1 and style B1 or B2');
+ if (p.version !== 1 || !['B1', 'B2', 'B3'].includes(p.style)) throw new Error('Expected version 1 and style B1, B2 or B3');
+ if (p.style !== 'B3' && p.television !== undefined) throw new Error('Television finish belongs to B3 only');
number(p.width, 'width', 256, 3840); number(p.height, 'height', 256, 3840); number(p.fps, 'fps', 12, 60);
if (![p.width, p.height, p.fps].every(Number.isInteger) || p.width % 2 || p.height % 2) throw new Error('Even integer dimensions and integer fps required');
if (!p.voice || Object.keys(p.voice).some(k => !['path', 'lead', 'tail', 'contains_sfx'].includes(k))) throw new Error('Voice supports path/lead/tail/contains_sfx only; speech speed cannot be changed');
@@ -65,18 +67,21 @@ export function loadProject(file, {seconds} = {}) {
const scoped = seconds !== undefined;
if (p.captionSize !== undefined) number(p.captionSize, 'caption size', 20, 64);
if (!Array.isArray(p.shots) || !p.shots.length) throw new Error('Shots required');
- const shots = scoped ? p.shots.filter(s => s.start < rangeEnd).map(s => ({...s, layers: Array.isArray(s.layers) ? s.layers.filter(l => s.start + (l.from ?? 0) < rangeEnd) : s.layers})) : p.shots;
+ const shots = scoped ? p.shots.filter(s => s.start < rangeEnd).map(s => ({...s, layers: Array.isArray(s.layers) ? visibleLayers(s.layers, s.start, rangeEnd) : s.layers})) : p.shots;
if (!shots.length) throw new Error('Shots required in the preview range');
let end = 0;
const assets = new Set([voicePath]);
const types = new Set(['image', 'pose', 'text', 'line', 'arrow', 'underline']);
+ if (p.style === 'B3') for (const type of ['group', 'path', 'rect', 'ellipse']) types.add(type);
for (const [i, shot] of shots.entries()) {
number(shot.start, 'shot start'); number(shot.end, 'shot end');
if (Math.abs(shot.start - end) > 0.002 || shot.end <= shot.start) throw new Error(`Shot ${i}: gap/overlap or nonpositive duration`);
end = shot.end;
if (!Array.isArray(shot.layers) || !shot.layers.length) throw new Error(`Shot ${i} has no layers`);
- for (const l of shot.layers) {
+ if (p.style === 'B3') validateB3(shot.layers, p.television);
+ for (const l of walkLayers(shot.layers)) {
if (!types.has(l.type)) throw new Error(`Unknown layer ${l.type}`);
+ if (p.style !== 'B3' && ['children', 'commands', 'pivotX', 'pivotY', 'scaleX', 'scaleY', 'radius', 'fill', 'stroke'].some(k => l[k] !== undefined)) throw new Error('B3 artwork properties cannot be used in another style');
for (const k of ['x', 'y', 'w', 'h', 'size', 'angle', 'alpha', 'progress', 'lineWidth']) if (l[k] !== undefined) number(l[k], k, -10000, 10000);
if (l.w !== undefined && l.w <= 0 || l.size !== undefined && l.size <= 0) throw new Error('Layer dimensions must be positive');
if (l.type === 'image') { const f = mediaPath(base, l.path); if (!/\.(png|jpe?g)$/i.test(f)) throw new Error('Only PNG/JPEG image layers'); assets.add(f); }
@@ -91,9 +96,10 @@ export function loadProject(file, {seconds} = {}) {
if (key.t <= previous) throw new Error('Key times must increase');
previous = key.t;
for (const k of Object.keys(key)) {
- if (!['t', 'x', 'y', 'w', 'angle', 'alpha', 'progress'].includes(k)) throw new Error(`Unsupported keyframe property: ${k}`);
+ if (!['t', 'x', 'y', 'w', 'angle', 'alpha', 'progress', ...(p.style === 'B3' ? ['scaleX', 'scaleY'] : [])].includes(k)) throw new Error(`Unsupported keyframe property: ${k}`);
number(key[k], k, -10000, 10000);
if (k === 'w' && key[k] <= 0 || ['alpha', 'progress'].includes(k) && (key[k] < 0 || key[k] > 1)) throw new Error('Invalid size/opacity/progress keyframe');
+ if (['scaleX', 'scaleY'].includes(k) && (key[k] <= 0 || key[k] > 100)) throw new Error('Invalid B3 scale keyframe');
}
}
}
@@ -116,7 +122,7 @@ export function loadProject(file, {seconds} = {}) {
const project = {...timeline, file, base, voicePath, voiceDuration, lead, tail, duration, rangeEnd};
for (const f of Object.values(fontPaths(project))) { if (!fs.existsSync(f)) throw new Error(`Missing font: ${f}`); assets.add(f); }
const inputs = [...assets].sort().map(f => ({path: f, sha256: hashFile(f)}));
- const engine = ['autopilot-core.mjs', 'autopilot-render.mjs'].map(f => hashFile(path.join(ROOT, 'scripts', f)));
+ const engine = ['autopilot-core.mjs', 'autopilot-render.mjs', 'b3-graphics.mjs'].map(f => hashFile(path.join(ROOT, 'scripts', f)));
return {...project, inputs, fingerprint: sha(JSON.stringify({project: timeline, rangeEnd, inputs, engine}))};
}
export function outputDir(p) {
diff --git a/skills/directing-stickman-videos/scripts/autopilot-render.mjs b/skills/directing-stickman-videos/scripts/autopilot-render.mjs
index 78ccbae..f006bb7 100644
--- a/skills/directing-stickman-videos/scripts/autopilot-render.mjs
+++ b/skills/directing-stickman-videos/scripts/autopilot-render.mjs
@@ -4,12 +4,13 @@ import {spawn} from 'node:child_process';
import {once} from 'node:events';
import {createCanvas, loadImage, GlobalFonts} from '@napi-rs/canvas';
import {ROOT, FFMPEG, sha, hashFile, save, probe, run, mediaPath, fontPaths, outputDir, designPlane, loadProject} from './autopilot-core.mjs';
+import {walkLayers, drawB3Shape, televisionFinish} from './b3-graphics.mjs';
const clamp = x => Math.max(0, Math.min(1, x));
const ease = x => { x = clamp(x); return x * x * (3 - 2 * x); };
export function keyState(l, t) {
const out = {...l};
- for (const prop of ['x', 'y', 'w', 'angle', 'alpha', 'progress']) {
+ for (const prop of ['x', 'y', 'w', 'angle', 'alpha', 'progress', 'scaleX', 'scaleY']) {
const keys = (l.keys || []).filter(k => k[prop] !== undefined);
if (!keys.length) continue;
if (t <= keys[0].t) out[prop] = keys[0][prop];
@@ -36,8 +37,9 @@ export async function painter(p) {
const plane = designPlane(p), captionBand = plane.height - 110;
if (!GlobalFonts.registerFromPath(fonts.hand, 'B1Hand') || !GlobalFonts.registerFromPath(fonts.caption, 'B1Caption')) throw new Error('Font registration failed');
const canvas = createCanvas(p.width, p.height), ctx = canvas.getContext('2d');
+ const sceneCopy = p.style === 'B3' ? createCanvas(p.width, p.height) : null;
const images = new Map();
- for (const s of p.shots) for (const l of s.layers) if (['image', 'pose'].includes(l.type)) {
+ for (const s of p.shots) for (const l of walkLayers(s.layers)) if (['image', 'pose'].includes(l.type)) {
const f = mediaPath(p.base, l.type === 'pose' ? '@b1/character-pose-sheet-v6.png' : l.path);
if (!images.has(f)) images.set(f, await loadImage(f));
}
@@ -50,19 +52,23 @@ export async function painter(p) {
}
return function frame(t) {
ctx.resetTransform(); ctx.clearRect(0, 0, p.width, p.height); ctx.scale(p.width / plane.width, p.width / plane.width);
- ctx.fillStyle = p.style === 'B2' ? '#f4f0e5' : '#FDFDFC'; ctx.fillRect(0, 0, plane.width, plane.height);
+ ctx.fillStyle = p.style === 'B3' ? '#111316' : p.style === 'B2' ? '#f4f0e5' : '#FDFDFC'; ctx.fillRect(0, 0, plane.width, plane.height);
if (p.style === 'B1' && p.grid !== false) {
ctx.beginPath(); ctx.strokeStyle = 'rgba(76,90,105,.036)'; ctx.lineWidth = 0.8;
for (let x = 32.5; x < plane.width; x += 64) { ctx.moveTo(x, 0); ctx.lineTo(x, captionBand - 1); }
for (let y = 16.5; y < captionBand; y += 64) { ctx.moveTo(0, y); ctx.lineTo(plane.width, y); } ctx.stroke();
}
const shot = p.shots.find(s => t >= s.start && t < s.end) || p.shots.at(-1);
- for (const layer of shot.layers) {
+ function paintLayers(layers) { for (const layer of layers) {
const dt = t - shot.start;
if (dt < (layer.from || 0) || dt >= (layer.to ?? Infinity)) continue;
const l = keyState(layer, dt), x = l.x || 0, y = l.y || 0, w = l.w || 200;
- ctx.save(); ctx.globalAlpha = clamp(l.alpha ?? 1); ctx.translate(x, y); ctx.rotate(l.angle || 0);
- if (l.type === 'image') {
+ ctx.save(); ctx.globalAlpha *= clamp(l.alpha ?? 1); ctx.translate(x, y);
+ const px = l.pivotX || 0, py = l.pivotY || 0;
+ ctx.translate(px, py); ctx.rotate(l.angle || 0); ctx.scale(l.scaleX ?? 1, l.scaleY ?? 1); ctx.translate(-px, -py);
+ if (l.type === 'group') paintLayers(l.children);
+ else if (['path', 'rect', 'ellipse'].includes(l.type)) drawB3Shape(ctx, l);
+ else if (l.type === 'image') {
const img = images.get(mediaPath(p.base, l.path)), h = l.h || w * img.height / img.width;
const scale = Math.min(w / img.width, h / img.height);
ctx.drawImage(img, (w - img.width * scale) / 2, (h - img.height * scale) / 2, img.width * scale, img.height * scale);
@@ -70,29 +76,34 @@ export async function painter(p) {
const img = images.get(mediaPath(p.base, '@b1/character-pose-sheet-v6.png')), sw = img.width / 3;
ctx.drawImage(img, l.pose * sw, 0, sw, img.height, 0, 0, w, w * img.height / sw);
} else if (l.type === 'text') {
- const size = l.size || 52; ctx.font = `${l.bold ? 700 : 400} ${size}px B1Hand`; ctx.fillStyle = l.color || '#191916'; ctx.textBaseline = 'top';
+ const size = l.size || 52; ctx.font = `${l.bold ? 700 : 400} ${size}px ${p.style === 'B3' ? 'B1Caption' : 'B1Hand'}`; ctx.fillStyle = l.color || (p.style === 'B3' ? '#e9eaea' : '#191916'); ctx.textBaseline = 'top';
const lines = wrap(ctx, l.text, l.w || 1080 - x);
lines.forEach((s, i) => ctx.fillText(s, 0, i * size * 1.15));
} else {
let points = l.points;
if (l.type === 'underline') points = [[0, 1], [w * 0.25, -1], [w * 0.55, 2], [w, -2]];
if (l.type === 'arrow') points = Array.from({length: 30}, (_, i) => [w * i / 29, -26 * Math.sin(i / 29 * Math.PI)]);
- stroke(points, l.lineWidth || (l.type === 'underline' ? 6 : 3), l.color || '#191916', l.progress ?? 1);
- if (l.type === 'arrow' && (l.progress ?? 1) > 0.95) stroke([[w - 17, -12], [w, 0], [w - 19, 12]], 3, l.color || '#191916');
+ stroke(points, l.lineWidth || (l.type === 'underline' ? 6 : 3), l.color || (p.style === 'B3' ? '#d0d2d4' : '#191916'), l.progress ?? 1);
+ if (l.type === 'arrow' && (l.progress ?? 1) > 0.95) stroke([[w - 17, -12], [w, 0], [w - 19, 12]], 3, l.color || (p.style === 'B3' ? '#d0d2d4' : '#191916'));
}
ctx.restore();
+ } }
+ paintLayers(shot.layers);
+ if (sceneCopy && p.television?.enabled !== false) {
+ sceneCopy.getContext('2d').drawImage(canvas, 0, 0);
+ televisionFinish(ctx, sceneCopy, p.width, p.height, p.television?.intensity ?? 0.45);
}
const cue = p.captions.find(c => t >= c.start && t < c.end);
if (cue) {
ctx.font = `${p.style === 'B2' ? 500 : 600} ${p.captionSize || (p.style === 'B2' ? 40 : 34)}px B1Caption`; ctx.textAlign = 'center'; ctx.textBaseline = 'middle';
- const lines = wrap(ctx, cue.text, 1120);
+ const lines = wrap(ctx, p.style === 'B3' ? cue.text.toUpperCase() : cue.text, 1120);
if (lines.length > 2) throw new Error('Caption exceeds two lines; split the timed cue');
const cy = plane.height - (lines.length === 1 ? 60 : 82);
if (p.style === 'B2') {
const width = Math.max(...lines.map(s => ctx.measureText(s).width));
ctx.fillStyle = 'rgba(249,246,235,.94)'; ctx.beginPath(); ctx.roundRect(640 - width / 2 - 22, cy - 33, width + 44, 66 + (lines.length - 1) * 43, 9); ctx.fill();
lines.forEach((s, i) => { ctx.fillStyle = '#38382f'; ctx.fillText(s, 640, cy + i * 43); });
- } else lines.forEach((s, i) => { const y = cy + i * 43; ctx.strokeStyle = '#FDFDFC'; ctx.lineWidth = 7; ctx.strokeText(s, 640, y); ctx.fillStyle = '#20231F'; ctx.fillText(s, 640, y); });
+ } else lines.forEach((s, i) => { const y = cy + i * 43; ctx.strokeStyle = p.style === 'B3' ? '#111316' : '#FDFDFC'; ctx.lineWidth = p.style === 'B3' ? 3 : 7; ctx.strokeText(s, 640, y); ctx.fillStyle = p.style === 'B3' ? '#f4f5f5' : '#20231F'; ctx.fillText(s, 640, y); });
ctx.textAlign = 'left';
}
return canvas;
@@ -155,15 +166,15 @@ export async function render(p, {full = false, seconds = 20, replace = false} =
}
const cache = path.join(out, 'cache'); fs.mkdirSync(cache, {recursive: true});
const frame = await painter(p), clips = []; let reused = 0;
- const rendererHash = hashFile(path.join(ROOT, 'scripts/autopilot-render.mjs'));
+ const rendererHash = sha(['autopilot-render.mjs', 'b3-graphics.mjs'].map(f => hashFile(path.join(ROOT, 'scripts', f))).join(':'));
for (const [i, shot] of p.shots.entries()) {
const first = Math.round(shot.start * p.fps), last = Math.min(count, i === p.shots.length - 1 ? count : Math.round(shot.end * p.fps)); if (last <= first) continue;
const files = new Set(Object.values(fontPaths(p)));
- for (const layer of shot.layers) {
+ for (const layer of walkLayers(shot.layers)) {
if (layer.type === 'image') files.add(mediaPath(p.base, layer.path));
if (layer.type === 'pose') files.add(mediaPath(p.base, '@b1/character-pose-sheet-v6.png'));
}
- const key = sha(JSON.stringify({shot, first, last, style: p.style, width: p.width, height: p.height, fps: p.fps, captions: p.captions.filter(c => c.end > first / p.fps && c.start < last / p.fps), captionSize: p.captionSize, grid: p.grid, inputs: p.inputs.filter(f => files.has(f.path)), rendererHash}));
+ const key = sha(JSON.stringify({shot, first, last, style: p.style, television: p.television, width: p.width, height: p.height, fps: p.fps, captions: p.captions.filter(c => c.end > first / p.fps && c.start < last / p.fps), captionSize: p.captionSize, grid: p.grid, inputs: p.inputs.filter(f => files.has(f.path)), rendererHash}));
const clip = path.join(cache, `${key}.mp4`); let valid = false;
if (fs.existsSync(clip)) try { const info = probe(clip); valid = Number(info.streams[0].nb_frames) === last - first; } catch {}
if (valid) reused++; else { done(`rendering shot ${i + 1}/${p.shots.length}`); const tmp = path.join(cache, `${key}.partial.mp4`); await encode(p, frame, first, last - first, tmp); fs.renameSync(tmp, clip); }
diff --git a/skills/directing-stickman-videos/scripts/autopilot.mjs b/skills/directing-stickman-videos/scripts/autopilot.mjs
index 34996a0..aeb110c 100644
--- a/skills/directing-stickman-videos/scripts/autopilot.mjs
+++ b/skills/directing-stickman-videos/scripts/autopilot.mjs
@@ -17,11 +17,11 @@ async function main() {
else if (command === 'init') {
if (!args[0]) throw new Error('Project directory required');
const style = option('--style', 'B1');
- if (!['B1', 'B2'].includes(style)) throw new Error('Choose style B1 or B2');
+ if (!['B1', 'B2', 'B3'].includes(style)) throw new Error('Choose style B1, B2 or B3');
const dir = path.resolve(args[0]); if (fs.existsSync(dir)) throw new Error('Project directory already exists; will not overwrite');
if (dir.startsWith(ROOT + path.sep)) throw new Error('Create projects outside the installed Skill');
fs.mkdirSync(dir, {recursive: true});
- save(path.join(dir, 'project.json'), {version: 1, style, width: 1280, height: 720, fps: 30, voice: {path: 'narration.wav', lead: 0, tail: 0}, captions: [], shots: [], sfx: []});
+ save(path.join(dir, 'project.json'), {version: 1, style, width: 1280, height: 720, fps: 30, voice: {path: 'narration.wav', lead: 0, tail: 0}, captions: [], shots: [], sfx: [], ...(style === 'B3' ? {television: {enabled: true, intensity: 0.45}} : {})});
console.log(JSON.stringify({project: path.join(dir, 'project.json'), stage: 'scaffold; add approved narration, aligned captions and authored scenes before rendering'}));
} else if (command === 'captions') {
if (!args[0] || !args[1]) throw new Error('Aligned word input and output file required');
diff --git a/skills/directing-stickman-videos/scripts/b3-graphics.mjs b/skills/directing-stickman-videos/scripts/b3-graphics.mjs
new file mode 100644
index 0000000..691b103
--- /dev/null
+++ b/skills/directing-stickman-videos/scripts/b3-graphics.mjs
@@ -0,0 +1,74 @@
+// Declarative B3 artwork only: no source-code evaluation or SVG/URL loading.
+export function* walkLayers(layers) {
+ for (const layer of layers) {
+ yield layer;
+ if (layer.type === 'group') yield* walkLayers(layer.children);
+ }
+}
+const arity = {M: 2, L: 2, Q: 4, C: 6, Z: 0};
+// Preview validation must not require media belonging only to an unfinished
+// nested branch. Child visibility is still relative to the shot, not the group.
+export function visibleLayers(layers, shotStart, end) {
+ return layers.filter(l => shotStart + (l.from ?? 0) < end).map(l => l.type === 'group'
+ ? {...l, children: visibleLayers(l.children, shotStart, end)} : l)
+ .filter(l => l.type !== 'group' || l.children.length);
+}
+const finite = (v, label, min = -10000, max = 10000) => {
+ if (!Number.isFinite(v) || v < min || v > max) throw new Error(`Invalid B3 ${label}`);
+};
+export function validateB3(layers, television) {
+ let count = 0;
+ function visit(list, depth) {
+ if (!Array.isArray(list) || !list.length || depth > 8) throw new Error('B3 groups need children; maximum nesting is 8');
+ for (const l of list) {
+ if (++count > 2000 || !l || typeof l !== 'object') throw new Error('Invalid B3 layer tree');
+ for (const k of ['pivotX', 'pivotY', 'radius']) if (l[k] !== undefined) finite(l[k], k, k === 'radius' ? 0 : -10000);
+ for (const k of ['scaleX', 'scaleY']) if (l[k] !== undefined) finite(l[k], k, 0.001, 100);
+ for (const k of ['fill', 'stroke', 'color']) if (l[k] !== undefined && (typeof l[k] !== 'string' || !/^(?:#(?:[a-f\d]{3}|[a-f\d]{4}|[a-f\d]{6}|[a-f\d]{8})|rgba?\([\d\s.,%]+\)|[a-z]{1,20})$/i.test(l[k]))) throw new Error('Invalid B3 color');
+ for (const k of ['alpha', 'progress']) if (l[k] !== undefined) finite(l[k], k, 0, 1);
+ if (l.lineWidth !== undefined) finite(l.lineWidth, 'line width', 0.001, 200);
+ if (l.type === 'group') visit(l.children, depth + 1);
+ else if (l.children !== undefined) throw new Error('Only B3 group layers have children');
+ if (l.type === 'path') {
+ if (!Array.isArray(l.commands) || !l.commands.length || l.commands.length > 1000 || l.commands[0]?.[0] !== 'M') throw new Error('B3 path needs numeric commands beginning with M');
+ for (const c of l.commands) if (!Array.isArray(c) || !Object.hasOwn(arity, c[0]) || c.length !== arity[c[0]] + 1 || c.slice(1).some(n => !Number.isFinite(n) || Math.abs(n) > 10000)) throw new Error('Invalid B3 path command');
+ }
+ if (['rect', 'ellipse'].includes(l.type)) { finite(l.w, 'shape width', 0.001); finite(l.h, 'shape height', 0.001); }
+ }
+ }
+ visit(layers, 0);
+ if (television !== undefined) {
+ if (!television || typeof television !== 'object' || Array.isArray(television) || Object.keys(television).some(k => !['enabled', 'intensity'].includes(k))) throw new Error('B3 television supports enabled/intensity only');
+ if (television.enabled !== undefined && typeof television.enabled !== 'boolean') throw new Error('B3 television enabled must be boolean');
+ if (television.intensity !== undefined) finite(television.intensity, 'television intensity', 0, 1);
+ }
+}
+export function drawB3Shape(ctx, l) {
+ ctx.beginPath();
+ if (l.type === 'path') for (const [op, ...v] of l.commands) {
+ if (op === 'M') ctx.moveTo(...v);
+ if (op === 'L') ctx.lineTo(...v);
+ if (op === 'Q') ctx.quadraticCurveTo(...v);
+ if (op === 'C') ctx.bezierCurveTo(...v);
+ if (op === 'Z') ctx.closePath();
+ }
+ else if (l.type === 'rect') ctx.roundRect(0, 0, l.w, l.h, Math.min(l.radius ?? 0, l.w / 2, l.h / 2));
+ else ctx.ellipse(l.w / 2, l.h / 2, l.w / 2, l.h / 2, 0, 0, Math.PI * 2);
+ if (l.fill !== 'none') { ctx.fillStyle = l.fill || '#dedfdf'; ctx.fill(); }
+ if (l.stroke && l.stroke !== 'none') { ctx.strokeStyle = l.stroke; ctx.lineWidth = l.lineWidth ?? 3; ctx.lineCap = 'round'; ctx.lineJoin = 'round'; ctx.stroke(); }
+}
+export function televisionFinish(ctx, source, width, height, intensity = 0.45) {
+ if (!intensity) return;
+ ctx.save(); ctx.resetTransform();
+ // A soft secondary image, subtle scanlines and vignette; no random full-screen
+ // glitches. Applied once to the scene, before clean captions are composited.
+ ctx.globalCompositeOperation = 'screen'; ctx.globalAlpha = 0.14 * intensity;
+ ctx.filter = `blur(${Math.max(0.4, width / 640)}px)`; ctx.drawImage(source, 0, 0);
+ ctx.filter = 'none'; ctx.globalAlpha = 0.045 * intensity; ctx.drawImage(source, Math.max(1, width / 1280), 0);
+ ctx.globalCompositeOperation = 'source-over'; ctx.globalAlpha = 1;
+ ctx.fillStyle = `rgba(0,0,0,${0.12 * intensity})`;
+ for (let y = 0; y < height; y += Math.max(3, Math.round(height / 240))) ctx.fillRect(0, y, width, 1);
+ const vignette = ctx.createRadialGradient(width / 2, height / 2, width * 0.2, width / 2, height / 2, width * 0.7);
+ vignette.addColorStop(0, 'rgba(0,0,0,0)'); vignette.addColorStop(1, `rgba(0,0,0,${0.3 * intensity})`);
+ ctx.fillStyle = vignette; ctx.fillRect(0, 0, width, height); ctx.restore();
+}
diff --git a/skills/directing-stickman-videos/tests/b3-reference-pack.test.mjs b/skills/directing-stickman-videos/tests/b3-reference-pack.test.mjs
new file mode 100644
index 0000000..a4805d6
--- /dev/null
+++ b/skills/directing-stickman-videos/tests/b3-reference-pack.test.mjs
@@ -0,0 +1,94 @@
+import test from 'node:test';
+import assert from 'node:assert/strict';
+import fs from 'node:fs';
+import os from 'node:os';
+import path from 'node:path';
+import {fileURLToPath} from 'node:url';
+import {createHash} from 'node:crypto';
+import {spawnSync} from 'node:child_process';
+
+const skill = fileURLToPath(new URL('../', import.meta.url));
+const pack = path.join(skill, 'assets/b3');
+const manifest = JSON.parse(fs.readFileSync(path.join(pack, 'reference-manifest.json'), 'utf8'));
+const media = [...manifest.references, ...manifest.motion, ...manifest.boards,
+ ...manifest.supplements.flatMap(item => [item, item.motion])];
+
+function inside(root, relative) {
+ assert.equal(typeof relative, 'string');
+ assert.ok(!path.isAbsolute(relative) && !relative.includes('://'));
+ const resolved = path.resolve(root, relative);
+ assert.ok(resolved.startsWith(path.resolve(root) + path.sep), `Escaping reference: ${relative}`);
+ return resolved;
+}
+
+test('B3 keeps original-video authority separate from accepted implementations', () => {
+ assert.equal(manifest.style, 'B3');
+ assert.equal(manifest.status, 'public_implementation_reference_pack');
+ assert.deepEqual(manifest.authority_order,
+ ['explicit_user_choices', 'primary_original_reference', 'secondary_accepted_implementation']);
+ assert.equal(manifest.source.filename, '电视风.mp4');
+ assert.equal(manifest.source.sha256, '4bdb5d828dac75bc1e4b3dc50bf099d732ac10f86c92b585f488f434e6db355d');
+ assert.equal(manifest.source.bundled, false);
+ assert.deepEqual(manifest.references, []);
+ assert.deepEqual(manifest.motion, []);
+ assert.ok(manifest.supplements.length);
+ assert.ok(!fs.readdirSync(pack).some(f => /^source-|^motion-/.test(f)), 'Uncleared original media stay private');
+ for (const item of [...manifest.references, ...manifest.motion]) {
+ assert.equal(item.authority, 'primary_original_reference');
+ const start = item.source_time_seconds ?? item.source_start_seconds;
+ assert.ok(start >= 0 && (item.source_end_seconds ?? start) < manifest.source.duration_seconds);
+ }
+ for (const item of manifest.supplements) {
+ assert.equal(item.authority, 'secondary_accepted_implementation');
+ assert.notEqual(item.source_sha256, manifest.source.sha256);
+ }
+});
+
+test('B3 all bundled media match their provenance fingerprints', () => {
+ assert.equal(new Set(media.map(item => item.path)).size, media.length);
+ for (const item of media) {
+ const file = inside(pack, item.path);
+ assert.ok(fs.statSync(file).isFile());
+ assert.equal(createHash('sha256').update(fs.readFileSync(file)).digest('hex'), item.sha256, item.path);
+ assert.ok(item.width > 0 && item.height > 0);
+ }
+});
+
+test('B3 motion studies retain timing and dimensions, decode fully, and contain no borrowed soundtrack', () => {
+ for (const item of [...manifest.motion, ...manifest.supplements.map(entry => entry.motion)]) {
+ const file = inside(pack, item.path);
+ const probe = spawnSync('ffprobe', ['-v', 'error', '-show_streams', '-show_format', '-of', 'json', file], {encoding: 'utf8'});
+ assert.equal(probe.status, 0, probe.stderr || probe.error?.message);
+ const info = JSON.parse(probe.stdout);
+ assert.equal(info.streams.length, 1);
+ assert.equal(info.streams[0].codec_type, 'video');
+ assert.equal(info.streams[0].width, item.width);
+ assert.equal(info.streams[0].height, item.height);
+ assert.equal(info.streams[0].r_frame_rate, item.frame_rate);
+ assert.ok(Math.abs(Number(info.format.duration) - item.duration_seconds) < 0.04);
+ assert.ok(Math.abs(item.duration_seconds - (item.source_end_seconds - item.source_start_seconds)) < 0.04);
+ const decode = spawnSync('ffmpeg', ['-v', 'error', '-nostdin', '-i', file, '-f', 'null', '-'], {encoding: 'utf8'});
+ assert.equal(decode.status, 0, decode.stderr || decode.error?.message);
+ assert.equal(decode.stderr, '');
+ }
+});
+
+test('B3 reference pack and guide remain usable after relocation without the Desktop source', t => {
+ const temporary = fs.mkdtempSync(path.join(os.tmpdir(), 'b3-reference-relocation-'));
+ t.after(() => fs.rmSync(temporary, {recursive: true, force: true}));
+ const movedPack = path.join(temporary, 'assets/b3');
+ fs.cpSync(pack, movedPack, {recursive: true});
+ fs.cpSync(path.join(skill, 'references'), path.join(temporary, 'references'), {recursive: true});
+ for (const item of media) assert.ok(fs.statSync(inside(movedPack, item.path)).isFile());
+ const guide = path.resolve(movedPack, manifest.guide);
+ assert.ok(guide.startsWith(temporary + path.sep));
+ assert.ok(fs.statSync(guide).isFile());
+ const text = fs.readFileSync(guide, 'utf8');
+ assert.ok(!text.includes('/Users/'));
+ for (const [, link] of text.matchAll(/\]\(([^)]+)\)/g)) {
+ if (link.includes('://')) continue;
+ const target = path.resolve(path.dirname(guide), link.split('#')[0]);
+ assert.ok(target.startsWith(temporary + path.sep));
+ assert.ok(fs.statSync(target).isFile(), link);
+ }
+});
diff --git a/skills/directing-stickman-videos/tests/b3-runtime.test.mjs b/skills/directing-stickman-videos/tests/b3-runtime.test.mjs
new file mode 100644
index 0000000..7fa8fb8
--- /dev/null
+++ b/skills/directing-stickman-videos/tests/b3-runtime.test.mjs
@@ -0,0 +1,117 @@
+import test from 'node:test';
+import assert from 'node:assert/strict';
+import fs from 'node:fs';
+import os from 'node:os';
+import path from 'node:path';
+import {spawnSync} from 'node:child_process';
+import {ROOT, FFMPEG, run, save, loadProject, hashFile} from '../scripts/autopilot-core.mjs';
+import {painter, render} from '../scripts/autopilot-render.mjs';
+import {validateB3} from '../scripts/b3-graphics.mjs';
+
+function fixture(t) {
+ const dir = fs.mkdtempSync(path.join(os.tmpdir(), 'stickman-b3-test-'));
+ t.after(() => fs.rmSync(dir, {recursive: true, force: true}));
+ run(FFMPEG, ['-v', 'error', '-f', 'lavfi', '-i', 'sine=frequency=310:duration=0.85', '-y', path.join(dir, 'voice.wav')]);
+ const project = {version: 1, style: 'B3', width: 640, height: 360, fps: 12,
+ television: {enabled: false}, voice: {path: 'voice.wav'},
+ captions: [{start: 0.1, end: 0.75, text: 'A local interaction.'}],
+ shots: [{start: 0, end: 0.85, layers: [
+ {type: 'group', x: 100, y: 100, alpha: 0.5, children: [
+ {type: 'rect', w: 80, h: 80, fill: '#ffffff', keys: [{t: 0, x: 0}, {t: 0.4, x: 100}]},
+ {type: 'ellipse', x: 240, y: 0, w: 80, h: 80, fill: '#b8bcc1'}]},
+ {type: 'path', x: 500, y: 200, fill: 'none', stroke: '#ffffff', lineWidth: 8,
+ commands: [['M', 0, 0], ['Q', 60, -80, 120, 0], ['C', 130, 20, 150, 20, 160, 0]]}
+ ]}], sfx: [{time: 0.2, kind: 'tap', gain: 0.02}]};
+ const file = path.join(dir, 'project.json'); save(file, project);
+ return {dir, project, file};
+}
+const pixel = (canvas, x, y) => [...canvas.getContext('2d').getImageData(x, y, 1, 1).data];
+
+test('B3 draws independent group-local motion, inherited alpha and foreground occlusion', async t => {
+ const f = fixture(t); let draw = await painter(loadProject(f.file));
+ assert.deepEqual(pixel(draw(0), 5, 5), [17, 19, 22, 255]);
+ const first = pixel(draw(0), 60, 60);
+ assert.ok(first[0] > 120 && first[0] < 150, 'Parent alpha must be inherited, not overwritten');
+ assert.deepEqual(pixel(draw(0.4), 60, 60), [17, 19, 22, 255]);
+ assert.deepEqual(pixel(draw(0.4), 110, 60), first, 'Child moves in its own group coordinates');
+ f.project.shots[0].layers.push({type: 'rect', x: 200, y: 100, w: 80, h: 80, fill: '#303236'});
+ save(f.file, f.project); draw = await painter(loadProject(f.file));
+ assert.deepEqual(pixel(draw(0.4), 110, 60), [48, 50, 54, 255], 'Later foreground layer hides the moving subject');
+});
+
+test('B3 pivots/scales without stretching the untouched subject', async t => {
+ const f = fixture(t);
+ f.project.shots[0].layers = [{type: 'group', x: 200, y: 120, pivotX: 40, pivotY: 40, angle: Math.PI,
+ children: [{type: 'rect', w: 40, h: 40, fill: '#ffffff'}]}];
+ save(f.file, f.project); const draw = await painter(loadProject(f.file));
+ assert.deepEqual(pixel(draw(0), 130, 90), [255, 255, 255, 255]);
+ assert.deepEqual(pixel(draw(0), 110, 70), [17, 19, 22, 255]);
+});
+
+test('B3 treatment changes the scene but leaves clean caption pixels unchanged', async t => {
+ const f = fixture(t); f.project.shots[0].layers.push({type: 'rect', x: 400, y: 200, w: 100, h: 100, fill: '#ffffff'});
+ save(f.file, f.project); const clean = await painter(loadProject(f.file));
+ const a = Buffer.from(clean(0.3).data());
+ f.project.television = {enabled: true, intensity: 0.8}; save(f.file, f.project);
+ const treated = await painter(loadProject(f.file)); const b = Buffer.from(treated(0.3).data());
+ assert.notDeepEqual(a, b);
+ let ink = 0;
+ for (let y = 319; y < 341; y++) for (let x = 170; x < 470; x++) {
+ const i = (y * 640 + x) * 4;
+ if (a[i] === 244 && a[i + 1] === 245) { ink++; assert.deepEqual(b.subarray(i, i + 4), a.subarray(i, i + 4)); }
+ }
+ assert.ok(ink > 50, 'White caption ink is composited after television treatment');
+});
+
+test('B3 validates bounded declarative artwork and rejects cross-style leakage', t => {
+ const f = fixture(t); assert.equal(loadProject(f.file).style, 'B3');
+ for (const layer of [
+ {type: 'path', commands: [['M', 0, 0], ['eval', 'process.exit()']]},
+ {type: 'path', commands: [['M', 0, 0], ['C', 2, 3]]},
+ {type: 'rect', w: 0, h: 80}, {type: 'ellipse', w: 20, h: 20, scaleX: -1},
+ {type: 'rect', w: 10, h: 20, fill: 'url(https://example.com)'},
+ {type: 'rect', w: 10, h: 20, fill: '#abcde'},
+ {type: 'group', children: []}, {type: 'ellipse', w: 10, h: 20, alpha: 2}
+ ]) assert.throws(() => validateB3([layer]));
+ let nested = {type: 'ellipse', w: 10, h: 10};
+ for (let i = 0; i < 10; i++) nested = {type: 'group', children: [nested]};
+ assert.throws(() => validateB3([nested]), /nesting/);
+ for (const style of ['B1', 'B2']) {
+ f.project.style = style; f.project.television = {enabled: false}; save(f.file, f.project); assert.throws(() => loadProject(f.file), /Television finish/);
+ delete f.project.television; save(f.file, f.project); assert.throws(() => loadProject(f.file), /Unknown layer/);
+ }
+});
+
+test('B3 nested future images do not block preview, but do block full validation', async t => {
+ const f = fixture(t);
+ f.project.shots[0].layers[0].children.push({type: 'image', path: 'unfinished.png', from: 0.5, w: 100});
+ save(f.file, f.project);
+ assert.equal(loadProject(f.file, {seconds: 0.4}).shots[0].layers[0].children.length, 2);
+ assert.throws(() => loadProject(f.file), /unfinished.png/);
+ const result = await render(loadProject(f.file, {seconds: 0.4}), {seconds: 0.4});
+ assert.equal(result.full_decode, 'pass');
+});
+
+test('B3 nested media and finish changes invalidate cache; original audio remains intact', async t => {
+ const f = fixture(t); const image = path.join(f.dir, 'nested.png');
+ fs.copyFileSync(path.join(ROOT, 'assets/b1/calendar-crayon.png'), image);
+ f.project.shots[0].layers[0].children.push({type: 'image', path: 'nested.png', x: 500, w: 100});
+ save(f.file, f.project); const voice = hashFile(path.join(f.dir, 'voice.wav'));
+ const first = await render(loadProject(f.file));
+ assert.equal((await render(loadProject(f.file), {replace: true})).cache_hits, 1);
+ fs.copyFileSync(path.join(ROOT, 'assets/b1/idea-bulb-crayon.png'), image);
+ assert.equal((await render(loadProject(f.file), {replace: true})).cache_hits, 0);
+ f.project.television = {enabled: true, intensity: 0.4}; save(f.file, f.project);
+ const finish = await render(loadProject(f.file), {replace: true});
+ assert.equal(finish.cache_hits, 0); assert.notEqual(finish.output_sha256, first.output_sha256);
+ assert.equal(finish.original_voice_sha256, voice); assert.equal(hashFile(path.join(f.dir, 'voice.wav')), voice);
+});
+
+test('B3 CLI creates an explicit non-overwriting B3 scaffold', t => {
+ const f = fixture(t), destination = path.join(f.dir, 'new-project');
+ const cmd = () => spawnSync(process.execPath, [path.join(ROOT, 'scripts/autopilot.mjs'), 'init', destination, '--style', 'B3'], {encoding: 'utf8'});
+ const result = cmd(); assert.equal(result.status, 0, result.stderr);
+ const scaffold = JSON.parse(fs.readFileSync(path.join(destination, 'project.json')));
+ assert.equal(scaffold.style, 'B3'); assert.equal(scaffold.television.enabled, true);
+ assert.notEqual(cmd().status, 0); assert.deepEqual(JSON.parse(fs.readFileSync(path.join(destination, 'project.json'))), scaffold);
+});
diff --git a/tests/scenarios/b3-design-motion.md b/tests/scenarios/b3-design-motion.md
new file mode 100644
index 0000000..c39aa3e
--- /dev/null
+++ b/tests/scenarios/b3-design-motion.md
@@ -0,0 +1,51 @@
+# B3 design and motion — behavioral review cases
+
+These are manual planning/output review cases, not a claim of automatic animation or aesthetic validation. Read the selected B3 reference and common B QA. Use synthetic local fixtures for technical checks; no paid calls, new recording, publishing or modification of accepted media is implied.
+
+## B3-01 · Featured dog, not a symbol
+
+Request: “The dog looks like signage and isn't cute. Improve B3, but keep the white/gray television treatment.”
+
+Expected: separate animal design from blank-faced human rules; design/compare readable friendly dog proportions and needed expression/posture states in clean and treated proofs. Keep pet identity coherent inside the film, allow other breeds/designs for other stories. Do not claim a numerical geometry check proves cuteness or change all human characters into puppies/cartoon faces.
+
+## B3-02 · False motion pass
+
+Input: a five-second unchanged dog drawing with a slow full-frame zoom, changing subtitles, animated grain and successful full decode. Narration says “creep closer.”
+
+Expected: reject semantic motion despite pixel changes and technical PASS; require a visible supported approach or an explicitly revised visual plan. Record that changing Skill text has not fixed the video. Do not count CRT/camera/caption changes as principal-picture action or approve a finished style.
+
+## B3-03 · Quiet limbs, real action
+
+Request: “Don't make the limbs flail. It should still feel animated like the reference.”
+
+Expected: plan meaningful bounded head/ear/tail/weight changes, prop/screen/environment events and source-relevant reveals. An intentional held character pose is valid while the principal scene genuinely progresses. Reject both constant arbitrary waving and a static slideshow with only filters; do not require every effect in every shot.
+
+## B3-04 · Approach and hiding contact
+
+Input: an approach translated as one rigid sprite and a hidden dog drawn on top of the sofa; no support-paw or occlusion states.
+
+Expected: identify skating and foreground ordering as failures; author supported steps and correct hide masks/poses, or simplify the staging while still communicating the behavior. Verify before/during/after frames and normal-speed transition. Do not force complicated full-body gait if the chosen renderer cannot keep anatomy coherent.
+
+## B3-05 · Intentional freeze
+
+Input: dog becomes motionless in fear while a hand lowers and the owner gives distance; relevant events continue within the common inactivity floor.
+
+Expected: a frozen dog need not fidget. Verify transition into the freeze and actual surrounding actions. Do not demand wagging, smiling, approaching or danger animation that contradicts the narration; avoid framing fear as guilt or affection.
+
+## B3-06 · Scope and runtime truth
+
+Request: “Put these requirements in the Skill.” Existing Bodi recording, B1/B2 examples and multilingual READMEs are accepted/pending separate review.
+
+Expected: update the existing internal B3 module/routing and acceptance requirements only. Preserve media/other styles/readmes; distinguish the B1/B2/B3 CLI's verified declarative mechanisms from per-story aesthetic quality and sample acceptance. Do not regenerate voice, create a newly named Skill, run full production, claim a new sample is approved, upload or publish without separate authorization.
+
+## B3-07 · Animated but still unlike the reference
+
+Input: a technically sound dog preview with supported steps and ear/tail changes, but nearly every shot repeats a large side-view dog, a title and a floor. The reference uses developing relationship diagrams, state changes inside framed inserts and decisive scale/composition cuts.
+
+Expected: acknowledge that local motion can pass while reference-edit grammar fails. Inspect temporal reference windows and map observed mechanisms to new story beats. Revise the information relationships, focal scale and scene states where meaning warrants; do not merely accelerate the gait, add stronger noise or count title/border reveals as a transformed main scene. Preserve accepted narration and valid character paths. Record unavailable real-time playback separately from sampled evidence.
+
+## B3-08 · Named detail and shelter fit
+
+Input: a magnified "tucked tail" crop where the tail disappears behind the torso, plus a hide panel whose dog is wider than its foreground sofa.
+
+Expected: inspect complete before/during/after encoded states, adjust crop/layer contrast and shelter-to-dog scale, and verify that the named feature and occlusion read at playback size. A bounding-box test alone is not aesthetic acceptance; retain the same identity and avoid a second visible tail or fade-through furniture.
diff --git a/tests/verify-b-common-quality.py b/tests/verify-b-common-quality.py
index cdeb749..1804b89 100644
--- a/tests/verify-b-common-quality.py
+++ b/tests/verify-b-common-quality.py
@@ -66,9 +66,14 @@ assert "(b2-colorful-handdrawn.md)" in autopilot
assert "independent local illustration-and-micro-animation style" in b2
assert "Fola" in b2 and "ivory paper label" in b2
assert "B1 `pose` atlas is rejected in B2" in runtime
+assert "`style: B3`" in runtime and "## B3 layered artwork" in runtime
+b3 = (refs / "b3-television.md").read_text()
+assert "(b3-television.md)" in autopilot and "(references/b3-television.md)" in entry
+assert "unit tests" in b3.lower() and "not animation quality or acceptance" in b3
+assert "currently accepts B1/B2 only" not in b3
# New links stay portable and inside the single installed Skill.
-for source in (common_path, refs / "autopilot.md", refs / "b1-production-qa.md", refs / "b2-colorful-handdrawn.md"):
+for source in (common_path, refs / "autopilot.md", refs / "b1-production-qa.md", refs / "b2-colorful-handdrawn.md", refs / "b3-television.md"):
assert "/Users/" not in source.read_text()
for link in re.findall(r"\]\(([^)]+)\)", source.read_text()):
if "://" in link:
diff --git a/tests/verify-chinese-onboarding.py b/tests/verify-chinese-onboarding.py
index 290934e..a24ce09 100644
--- a/tests/verify-chinese-onboarding.py
+++ b/tests/verify-chinese-onboarding.py
@@ -129,7 +129,7 @@ for requirement in ("AI 助手会根据内容设计分镜", "配好字幕和音
"只调整对应片段,保留已经确认的部分"):
assert requirement in autopilot_notes, requirement
for label in ("A1:经典黑白风", "A2:现代潮酷风", "A3:史前洞穴风",
- "A4:治愈故事风", "A5:历史卡通风", "A6:暖金暗影风", "A7:待更新…", "B1:极简手绘风", "B2:彩色手绘风", "B3:待更新…"):
+ "A4:治愈故事风", "A5:历史卡通风", "A6:暖金暗影风", "A7:待更新…", "B1:极简手绘风", "B2:彩色手绘风", "B3:复古电视风"):
assert f"### {label}\n" in cn, label
hero = cn.split('<table width="100%">', 1)[1].split("</table>", 1)[0]
style_names = ("经典黑白风", "现代潮酷风", "史前洞穴风", "治愈故事风", "历史卡通风", "暖金暗影风")
@@ -165,7 +165,7 @@ for link in re.findall(r"\]\(([^)]+)\)", cn):
assert (root / link.split("#")[0]).is_file(), link
previews = sorted(set(re.findall(r'src="https://cdn\.jsdelivr\.net/gh/kaomei/stickman-video-director@[0-9a-f]{40}/(assets/readme/previews/[^" ]+\.gif)"', cn)))
-assert len(previews) == 17, "Keep existing lightweight A/B previews plus the pinned A6 and B2 previews"
+assert len(previews) == 19, "Keep all existing lightweight A/B previews, both pinned A6 previews and the B2/B3 pairs"
for a6_name in ("flow", "mcp"):
assert f"assets/readme/previews/style-6-amber-noir-{a6_name}.gif" in previews
for preview in previews:
diff --git a/tests/verify-localized-readmes.py b/tests/verify-localized-readmes.py
index 4742f37..a36c130 100644
--- a/tests/verify-localized-readmes.py
+++ b/tests/verify-localized-readmes.py
@@ -40,7 +40,7 @@ def section(text, start, end):
return text.split(f'<a id="{start}"></a>', 1)[1].split(end, 1)[0]
expected_images = images(cn)
-assert len(expected_images) == 31 and len(set(expected_images)) == 24
+assert len(expected_images) == 34 and len(set(expected_images)) == 26
pinned = "https://cdn.jsdelivr.net/gh/kaomei/stickman-video-director@"
local_a6_previews = {
"assets/readme/previews/style-6-amber-noir-mcp.gif",
@@ -143,7 +143,7 @@ for name in selected:
hero = text.split('<table width="100%">', 1)[1].split("</table>", 1)[0]
rows = re.findall(r"<tr>(.*?)</tr>", hero, re.S)
gallery_styles = re.findall(r'href="#([^"]+)"><img', hero)
- assert gallery_styles == ["a1", "a2", "a3", "a4", "style-5", "b1", "a6", "b2"], name
+ assert gallery_styles == ["a1", "a2", "a3", "a4", "style-5", "b1", "a6", "b2", "b3"], name
# Owner rule: two columns, odd last card left + Coming Soon right;
# even card counts fill the grid without a placeholder. No spanning rows.
assert len(rows) == (len(gallery_styles) + 1) // 2, name
@@ -155,10 +155,10 @@ for name in selected:
if placeholders:
assert placeholders == [cells[-1]] and "<img" in cells[-2], name
assert re.search(r'<a href="#a7"><strong>[^<]+</strong></a>', cells[-1]), name
- assert text.count('width="90%"') == 8 and text.count('width="360"') == 16, name
+ assert text.count('width="90%"') == 9 and text.count('width="360"') == 18, name
# French typography separates a heading label from its colon with a space.
style_ids = re.findall(r"^### ([AB]\d+)\s*[::]", text, re.M)
- assert style_ids == ["A1", "A2", "A3", "A4", "A5", "A6", "A7", "B1", "B2", "B3"], (name, "published styles plus sequential teasers")
+ assert style_ids == ["A1", "A2", "A3", "A4", "A5", "A6", "A7", "B1", "B2", "B3"], (name, "local style catalog plus sequential teasers; not publication proof")
a6 = section(text, "a6", '<a id="a7"></a>')
assert len(re.findall(r"^- \*\*", a6, re.M)) == 3, (name, "A6 localized style, use cases and selection guidance")
assert re.findall(r'<a href="([^"]+\.mp4)">', a6) == list(a6_videos), name
@@ -166,10 +166,13 @@ for name in selected:
assert "Tested Flow workflow:" not in text and "Click either GIF" not in text, name
assert "Veo 3.1 Fast" not in a6, (name, "operational model guidance stays in Skill")
assert "Omni" not in a6, (name, "A6 does not inherit the legacy model")
- assert re.search(r"\*\*8[^\n]+10[^\n]+\*\*", text), (name, "eight styles and ten visual options")
- b2 = section(text, "b2", '<a id="b3"></a>')
+ assert re.search(r"\*\*9[^\n]+11[^\n]+\*\*", text), (name, "nine styles and eleven visual options")
+ placeholder = section(text, "a7", '<a id="b-styles"></a>')
+ assert placeholder.count("](#road-to-10000-stars--creator-ecosystem)") == 1 and "5,000" in placeholder, (name, "A7 roadmap CTA retained")
+ assert text.count("](#road-to-10000-stars--creator-ecosystem)") == 2, (name, "A7 unlock link plus roadmap navigation")
+ b2 = section(text, "b2", '<!-- b3:section:start -->')
assert all(re.search(re.escape(pinned) + r"[a-f0-9]{40}/assets/readme/previews/" + stem + r"\.gif", b2)
- for stem in ("b2-colorful-sleep", "b2-colorful-phone-weather")), (name, "immutable B2 GIF URLs")
+ for stem in ("b2-colorful-sleep", "b2-colorful-phone-weather")), (name, "immutable B2 GIF URLs preserved")
assert len(re.findall(r"^- \*\*", b2, re.M)) == 3, (name, "B2 style, topics and selection guidance")
assert re.findall(r'<a href="([^"]+\.mp4)">', b2) == ["assets/readme/b2-colorful-sleep.mp4", "assets/readme/b2-colorful-phone-weather.mp4"], (name, "approved B2 pair in requested order")
assert b2.count('<th width="50%"') == 2 and b2.count('width="360"') == 2, (name, "paired B2 gallery")
@@ -177,17 +180,19 @@ for name in selected:
assert "Renoise" not in b2 and not re.search(r"^Click a GIF", text, re.M), (name, "no unnecessary helper copy")
for video in re.findall(r'<a href="([^"]+\.mp4)">', b2):
assert (root / video).is_file(), (name, video)
- teaser_descriptions = []
- for next_id, end in (("a7", '<a id="b-styles"></a>'), ("b3", '<!-- thumbnail-publishing-kit:start -->')):
- placeholder = section(text, next_id, end)
- assert placeholder.count("](#road-to-10000-stars--creator-ecosystem)") == 1 and "5,000" in placeholder, (name, next_id, "one roadmap CTA per series")
- teaser_descriptions.append(placeholder.strip().split("\n\n")[1])
- assert teaser_descriptions[0] != teaser_descriptions[1], (name, "Director and Autopilot teasers must describe distinct workflows")
- assert text.count("](#road-to-10000-stars--creator-ecosystem)") == 3, (name, "two style-unlock links plus roadmap navigation")
+ b3 = section(text, "b3", '<!-- b3:section:end -->')
+ assert all(re.search(re.escape(pinned) + r"[a-f0-9]{40}/assets/readme/previews/" + stem + r"\.gif", b3)
+ for stem in ("b3-tv-night-signal", "b3-tv-dog")), (name, "immutable B3 GIF URLs")
+ assert len(re.findall(r"^- \*\*", b3, re.M)) == 3, (name, "B3 style, topics and selection guidance")
+ assert re.findall(r'<a href="([^"]+\.mp4)">', b3) == ["assets/readme/b3-tv-night-signal.mp4", "assets/readme/b3-tv-dog.mp4"], (name, "user-selected Desktop B3.1 then B33.2")
+ assert b3.count('<th width="50%"') == 2 and b3.count('width="360"') == 2, (name, "paired B3 gallery")
+ assert all(token in b3 for token in ("Gemini", "Bodi")), (name, "B3 narration details")
+ assert all(token not in b3 for token in ("Renoise", "Fola", "Click a GIF", "@CrazyKaomei")), (name, "no unrelated dependencies, voice, helper copy or watermark")
+ for video in re.findall(r'<a href="([^"]+\.mp4)">', b3):
+ assert (root / video).is_file(), (name, video)
if is_english:
teasers = {
"A": "New specialized director styles are currently in training. [Star the project](#road-to-10000-stars--creator-ecosystem) to unlock them at 5,000 Stars!",
- "B": "New Autopilot styles and procedural animations are currently in training. [Star the project](#road-to-10000-stars--creator-ecosystem) to unlock them at 5,000 Stars!",
}
for series, teaser in teasers.items():
assert text.count(teaser) == 1, (name, series, "one approved workflow-specific roadmap CTA")
@@ -197,6 +202,7 @@ for name in selected:
next_id, _, title = entries[-1]
assert title == "Coming soon…", (name, series, "placeholder follows the latest released style")
assert f"### {next_id}: Coming soon…\n\n{teaser}" in text, (name, series, "approved placeholder copy")
+ assert re.findall(r"^### (B\d+): (.+)$", text, re.M) == [("B1", "Minimal Hand-Drawn"), ("B2", "Colorful Hand-Drawn"), ("B3", "Retro TV Style")], (name, "local B style catalog")
for variant in ("A1.1", "A1.2", "A2.1", "A2.2"):
assert variant in text, (name, variant)
faq = section(text, "faq", "<!-- readme:contribute -->")
@@ -252,7 +258,7 @@ for name in selected:
if is_english:
approved_mode_intro = (
'<div align="center">\n\n'
- '**8 styles · 10 visual options · Tested examples · Free and open source**\n\n'
+ '**9 styles · 11 visual options · Tested examples · Free and open source**\n\n'
'⭐ **Star the project to catch the next style drop and feature unlocks.**\n\n'
'[Get started](#quick-start) · [Director Styles](#a-styles) · [Autopilot Styles](#b-styles) · [FAQ](#faq) · [Roadmap](#road-to-10000-stars--creator-ecosystem)\n\n'
'</div>\n\n'