Skip to content

An AI skill that turns books into animated, narrated, interactive web experiences

feat(madness-shorts): each episode offers the next one

yzr605cd391c202
diff --git a/site/madness-shorts/ch01/index.html b/site/madness-shorts/ch01/index.html
index 68420b5..fdedc13 100644
--- a/site/madness-shorts/ch01/index.html
+++ b/site/madness-shorts/ch01/index.html
@@ -18,7 +18,7 @@
<script src="../lib/madness.js"></script>
<script>
'use strict';
-const CHAPTER = { number: 1, title: 'The Ship', minutes: 2, language: 'en' };
+const CHAPTER = { number: 1, title: 'The Ship', minutes: 2, language: 'en', next: '../ch02/' };
/* ---------- beats ---------- */
const OPEN_PRE = .3;
diff --git a/site/madness-shorts/ch02/index.html b/site/madness-shorts/ch02/index.html
index fd90bde..ad9316f 100644
--- a/site/madness-shorts/ch02/index.html
+++ b/site/madness-shorts/ch02/index.html
@@ -18,7 +18,7 @@
<script src="../lib/madness.js"></script>
<script>
'use strict';
-const CHAPTER = { number: 2, title: 'Locked Up', minutes: 2, language: 'en' };
+const CHAPTER = { number: 2, title: 'Locked Up', minutes: 2, language: 'en', next: '../ch03/' };
/* ---------- this episode's own pieces ---------- */
// the chained Fool (Kling 3.0 from the documentary's fool-1735, its frames.py sheet): looks up, tugs the chain twice,
diff --git a/site/madness-shorts/ch03/index.html b/site/madness-shorts/ch03/index.html
index 77631f0..69ac25e 100644
--- a/site/madness-shorts/ch03/index.html
+++ b/site/madness-shorts/ch03/index.html
@@ -18,7 +18,7 @@
<script src="../lib/madness.js"></script>
<script>
'use strict';
-const CHAPTER = { number: 3, title: 'Liberation', minutes: 2, language: 'en' };
+const CHAPTER = { number: 3, title: 'Liberation', minutes: 2, language: 'en', next: '../ch04/' };
// this episode's pictures (books/madness-shorts/art/ch03-full.py), kept out of the shared img/art.js
Object.assign(ART, { 'e3-guard': [864, 1536], 'e3-head': [864, 1536], 'e3-unchain': [864, 1536], 'e3-watched': [864, 1536],
'e3-judge': [864, 1536], 'e3-door-empty': [864, 1536], 'e3-beaten': [864, 1536], 'e3-tea': [864, 1536],