Skip to content

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

fix(madness-shorts): episode 2 round 2, words over pictures

yzr0873be51cf85
diff --git a/site/madness-shorts/ch02/audio/bgm/ep2.mp3 b/site/madness-shorts/ch02/audio/bgm/ep2.mp3
index 18421c2..290ebd6 100644
Binary files a/site/madness-shorts/ch02/audio/bgm/ep2.mp3 and b/site/madness-shorts/ch02/audio/bgm/ep2.mp3 differ
diff --git a/site/madness-shorts/ch02/audio/en/animal.mp3 b/site/madness-shorts/ch02/audio/en/animal.mp3
index 93f18cd..5db96ab 100644
Binary files a/site/madness-shorts/ch02/audio/en/animal.mp3 and b/site/madness-shorts/ch02/audio/en/animal.mp3 differ
diff --git a/site/madness-shorts/ch02/audio/en/beasts.mp3 b/site/madness-shorts/ch02/audio/en/beasts.mp3
index 147a191..97c5b7a 100644
Binary files a/site/madness-shorts/ch02/audio/en/beasts.mp3 and b/site/madness-shorts/ch02/audio/en/beasts.mp3 differ
diff --git a/site/madness-shorts/ch02/audio/en/card.mp3 b/site/madness-shorts/ch02/audio/en/card.mp3
index 91c4572..b0f7f43 100644
Binary files a/site/madness-shorts/ch02/audio/en/card.mp3 and b/site/madness-shorts/ch02/audio/en/card.mp3 differ
diff --git a/site/madness-shorts/ch02/audio/en/chains.mp3 b/site/madness-shorts/ch02/audio/en/chains.mp3
index 940fa79..dd49fb8 100644
Binary files a/site/madness-shorts/ch02/audio/en/chains.mp3 and b/site/madness-shorts/ch02/audio/en/chains.mp3 differ
diff --git a/site/madness-shorts/ch02/audio/en/decree.mp3 b/site/madness-shorts/ch02/audio/en/decree.mp3
index fc09ed1..fbad811 100644
Binary files a/site/madness-shorts/ch02/audio/en/decree.mp3 and b/site/madness-shorts/ch02/audio/en/decree.mp3 differ
diff --git a/site/madness-shorts/ch02/audio/en/end.mp3 b/site/madness-shorts/ch02/audio/en/end.mp3
index cc9d245..3a04235 100644
Binary files a/site/madness-shorts/ch02/audio/en/end.mp3 and b/site/madness-shorts/ch02/audio/en/end.mp3 differ
diff --git a/site/madness-shorts/ch02/audio/en/great.mp3 b/site/madness-shorts/ch02/audio/en/great.mp3
index 6334bb0..c8916d2 100644
Binary files a/site/madness-shorts/ch02/audio/en/great.mp3 and b/site/madness-shorts/ch02/audio/en/great.mp3 differ
diff --git a/site/madness-shorts/ch02/audio/en/hook.mp3 b/site/madness-shorts/ch02/audio/en/hook.mp3
index 30659f4..12c5d1a 100644
Binary files a/site/madness-shorts/ch02/audio/en/hook.mp3 and b/site/madness-shorts/ch02/audio/en/hook.mp3 differ
diff --git a/site/madness-shorts/ch02/audio/en/idle.mp3 b/site/madness-shorts/ch02/audio/en/idle.mp3
index 55c851b..c5ab727 100644
Binary files a/site/madness-shorts/ch02/audio/en/idle.mp3 and b/site/madness-shorts/ch02/audio/en/idle.mp3 differ
diff --git a/site/madness-shorts/ch02/audio/en/inmates.mp3 b/site/madness-shorts/ch02/audio/en/inmates.mp3
index c313850..b0bd707 100644
Binary files a/site/madness-shorts/ch02/audio/en/inmates.mp3 and b/site/madness-shorts/ch02/audio/en/inmates.mp3 differ
diff --git a/site/madness-shorts/ch02/audio/en/show.mp3 b/site/madness-shorts/ch02/audio/en/show.mp3
index 92e7ad5..629c50d 100644
Binary files a/site/madness-shorts/ch02/audio/en/show.mp3 and b/site/madness-shorts/ch02/audio/en/show.mp3 differ
diff --git a/site/madness-shorts/ch02/audio/en/timings.js b/site/madness-shorts/ch02/audio/en/timings.js
index bdf9725..7b8a55f 100644
--- a/site/madness-shorts/ch02/audio/en/timings.js
+++ b/site/madness-shorts/ch02/audio/en/timings.js
@@ -1,13 +1,13 @@
window.TIMINGS = {
"hook": {
- "dur": 8.16,
+ "dur": 7.81,
"marks": {
"y": 0.93,
"locked": 2.16,
"one": 2.7,
"hundred": 4.14,
- "sick": 5.84,
- "idle": 7.24
+ "sick": 5.656,
+ "idle": 6.89
},
"cues": [
[
@@ -15,22 +15,22 @@ window.TIMINGS = {
"In sixteen fifty-six, Paris locked up one person in every hundred."
],
[
- 5.22,
+ 5.043,
"Not for being sick."
],
[
- 6.8,
+ 6.45,
"For being idle."
]
]
},
"card": {
- "dur": 5.52,
+ "dur": 5.209,
"marks": {
"mf": 0.0,
"mc": 1.02,
- "two": 3.36,
- "locked": 4.54
+ "two": 3.199,
+ "locked": 4.229
},
"cues": [
[
@@ -38,22 +38,22 @@ window.TIMINGS = {
"Michel Foucault's Madness and Civilization."
],
[
- 3.36,
+ 3.199,
"Part two:"
],
[
- 4.54,
+ 4.229,
"locked up."
]
]
},
"decree": {
- "dur": 8.16,
+ "dur": 8.193,
"marks": {
- "king": 0.82,
- "hg": 2.4,
- "healed": 4.8,
- "conf": 6.66
+ "king": 0.8,
+ "hg": 2.3,
+ "healed": 4.672,
+ "conf": 6.693
},
"cues": [
[
@@ -61,24 +61,24 @@ window.TIMINGS = {
"That year, Louis the Fourteenth founded the General Hospital of Paris."
],
[
- 4.76,
- "It healed no one."
+ 4.412,
+ "It was no place for healing."
],
[
- 6.36,
+ 6.413,
"It was a house of confinement."
]
]
},
"inmates": {
- "dur": 9.44,
+ "dur": 8.795,
"marks": {
- "beg": 1.14,
- "jobless": 2.12,
- "vag": 3.04,
- "pros": 3.98,
- "old": 5.2,
- "mad": 8.48
+ "beg": 0.977,
+ "jobless": 1.957,
+ "vag": 2.877,
+ "pros": 3.817,
+ "old": 4.942,
+ "mad": 7.856
},
"cues": [
[
@@ -86,23 +86,23 @@ window.TIMINGS = {
"Inside:"
],
[
- 1.14,
+ 0.977,
"beggars, the jobless, vagrants, prostitutes, the old with no family."
],
[
- 7.32,
+ 6.814,
"And among them, the mad."
]
]
},
"idle": {
- "dur": 9.68,
+ "dur": 9.233,
"marks": {
"trial": 0.18,
"diag": 1.24,
- "work": 3.62,
- "sin": 4.82,
- "door": 8.54
+ "work": 3.507,
+ "sin": 4.373,
+ "door": 8.093
},
"cues": [
[
@@ -110,20 +110,20 @@ window.TIMINGS = {
"No trial, no diagnosis."
],
[
- 2.68,
+ 2.567,
"They simply didn't work."
],
[
- 4.82,
+ 4.373,
"Idleness was the age's great sin, and its cure was a locked door."
]
]
},
"great": {
- "dur": 5.2,
+ "dur": 5.032,
"marks": {
"gc": 0.9,
- "stop": 3.86
+ "stop": 3.692
},
"cues": [
[
@@ -131,15 +131,15 @@ window.TIMINGS = {
"Foucault calls it the Great Confinement."
],
[
- 3.02,
+ 2.852,
"Madness had stopped talking."
]
]
},
"beasts": {
- "dur": 5.2,
+ "dur": 5.158,
"marks": {
- "beasts": 4.18
+ "beasts": 4.138
},
"cues": [
[
@@ -149,14 +149,14 @@ window.TIMINGS = {
]
},
"chains": {
- "dur": 11.12,
+ "dur": 10.475,
"marks": {
"chain": 0.0,
- "straw": 2.32,
- "bars": 4.08,
- "norris": 6.56,
- "collar": 8.44,
- "pole": 10.32
+ "straw": 2.174,
+ "bars": 3.871,
+ "norris": 5.915,
+ "collar": 7.795,
+ "pole": 9.675
},
"cues": [
[
@@ -168,23 +168,23 @@ window.TIMINGS = {
"Sleeping on straw."
],
[
- 3.5,
+ 3.291,
"Fed through bars."
],
[
- 5.64,
+ 4.995,
"In London, James Norris spent years in an iron collar, chained to a pole."
]
]
},
"animal": {
- "dur": 8.08,
+ "dur": 7.649,
"marks": {
- "reason": 1.76,
- "animal": 2.94,
- "cold": 5.42,
- "hunger": 6.36,
- "pain": 7.34
+ "reason": 1.528,
+ "animal": 2.708,
+ "cold": 4.989,
+ "hunger": 5.929,
+ "pain": 6.909
},
"cues": [
[
@@ -192,23 +192,23 @@ window.TIMINGS = {
"The logic:"
],
[
- 1.22,
+ 0.988,
"a man without reason is an animal."
],
[
- 3.96,
+ 3.529,
"And an animal feels no cold, no hunger, no pain."
]
]
},
"show": {
- "dur": 9.92,
+ "dur": 9.647,
"marks": {
- "shown": 1.06,
- "bedlam": 2.3,
- "penny": 4.6,
- "mf": 6.52,
- "n": 7.69
+ "shown": 1.08,
+ "bedlam": 2.057,
+ "mf": 3.457,
+ "penny": 5.346,
+ "n": 7.067
},
"cues": [
[
@@ -216,20 +216,20 @@ window.TIMINGS = {
"And animals can be shown."
],
[
- 2.26,
- "At Bedlam in London, visitors paid a penny to stare."
+ 2.037,
+ "At Bedlam in London, Foucault writes, visitors paid a penny to stare:"
],
[
- 6.52,
- "Foucault counts ninety-six thousand visits a year."
+ 7.067,
+ "ninety-six thousand visits a year."
]
]
},
"watched": {
- "dur": 2.4,
+ "dur": 2.218,
"marks": {
- "but": 1.28,
- "seen": 1.56
+ "but": 1.162,
+ "seen": 1.378
},
"cues": [
[
@@ -239,14 +239,15 @@ window.TIMINGS = {
]
},
"end": {
- "dur": 14.32,
+ "dur": 14.096,
"marks": {
"fd": 0.0,
- "q": 2.3,
- "sanity": 6.16,
- "then": 7.62,
- "off": 9.74,
- "next": 10.78
+ "q": 2.084,
+ "sanity": 5.944,
+ "then": 7.057,
+ "paris": 9.157,
+ "off": 10.146,
+ "next": 11.466
},
"cues": [
[
@@ -254,19 +255,19 @@ window.TIMINGS = {
"Dostoevsky saw the trick:"
],
[
- 2.3,
+ 2.084,
"it is not by confining one's neighbor that one is convinced of one's own sanity."
],
[
- 7.62,
- "Then, in the seventeen-nineties, the chains came off."
+ 7.057,
+ "Then, in the seventeen-nineties, in Paris, the first chains came off."
],
[
- 10.78,
+ 11.466,
"Part three:"
],
[
- 13.38,
+ 13.156,
"liberation."
]
]
diff --git a/site/madness-shorts/ch02/audio/en/watched.mp3 b/site/madness-shorts/ch02/audio/en/watched.mp3
index c0f9e6e..e002eed 100644
Binary files a/site/madness-shorts/ch02/audio/en/watched.mp3 and b/site/madness-shorts/ch02/audio/en/watched.mp3 differ
diff --git a/site/madness-shorts/ch02/audio/sfx/fool-cut.mp3 b/site/madness-shorts/ch02/audio/sfx/fool-cut.mp3
index 80f57be..2989164 100644
Binary files a/site/madness-shorts/ch02/audio/sfx/fool-cut.mp3 and b/site/madness-shorts/ch02/audio/sfx/fool-cut.mp3 differ
diff --git a/site/madness-shorts/ch02/index.html b/site/madness-shorts/ch02/index.html
index 5cd38f5..fd90bde 100644
--- a/site/madness-shorts/ch02/index.html
+++ b/site/madness-shorts/ch02/index.html
@@ -53,40 +53,64 @@ function door(g, x, y, h) {
return d;
}
+// a point of a wide() picture, (fx, fy) as fractions of it: a group inside the camera's picture, so what is put
+// there (a ring, a coin, an arrow) moves with the camera
+function pin(im, name, fx, fy) {
+ const [iw, ih] = ART[name], k = Math.max(H / ih, W / iw);
+ return G(im, { x: (fx - .5) * iw * k, y: (fy - .5) * ih * k });
+}
+// a ring drawn round a point of a picture, r px in the picture's own scale
+function ring(g, r, t0, colour = RED) {
+ const c = path(g, `M${r} 0A${r} ${r} 0 1 1 ${-r} 0A${r} ${r} 0 1 1 ${r} 0`, { stroke: colour, 'stroke-width': r / 8, fill: 'none' }, { d: 0 });
+ draw(c, t0, .35, out);
+ return c;
+}
+// the chained Fool (the documentary's fool-1735) whose chain snaps at the wall ring at t0 and swings down from his
+// collar: the drawing twice, clipped to the chain and to the rest; h px tall, centred on (x, y)
+const CHAIN = 'M485 262L700 262L800 200L832 200L832 285L760 350L700 378L560 378L485 338Z', COLLAR = [485, 300];
+function freed(g, x, y, h, t0) {
+ const [iw, ih] = ART['e2-fool-1735'], k = h / ih, e = G(g, { x, y });
+ const inner = mk('g', { transform: `scale(${k}) translate(${-iw / 2},${-ih / 2})` }, e);
+ const id = 'fr' + (++fxN), defs = mk('defs', {}, inner);
+ mk('path', { d: `M0 0H${iw}V${ih}H0Z ${CHAIN}`, 'clip-rule': 'evenodd' }, mk('clipPath', { id: id + 'b' }, defs));
+ mk('path', { d: CHAIN }, mk('clipPath', { id: id + 'c' }, defs));
+ mk('image', { href: '../img/e2-fool-1735.webp', width: iw, height: ih, 'clip-path': `url(#${id}b)` }, inner);
+ const ch = G(inner, { x: COLLAR[0], y: COLLAR[1] }); // hinged at his collar
+ const w = mk('g', { transform: `translate(${-COLLAR[0]},${-COLLAR[1]})`, 'clip-path': `url(#${id}c)` }, ch);
+ mk('image', { href: '../img/e2-fool-1735.webp', width: iw, height: ih }, w);
+ tw(ch, { r: 74 }, t0, .4, q => q * q);
+ tw(ch, { r: 62 }, t0 + .4, .25, out); tw(ch, { r: 68 }, t0 + .65, .3, io);
+ tw(e, { y: y - 16 }, t0 + .15, .5, out); // he straightens
+ return e;
+}
+
/* ---------- beats ---------- */
const OPEN_PRE = .3;
-const FOOL_LINE = 3.2, SLAM = .3 + 2.62; // the Fool's line before the narrator; the clip is cut at 2.62 s by the door
+const FOOL_LINE = 2.55, SLAM = .05 + 2.19; // the Fool's line before the narrator (his clip, tightened, is cut at 2.19 s by the door)
const BEATS = [
- // 0. The hook: the crowd marched in through the hospital gate; one in a hundred; not sick; idle
+ // 0. The hook: the crowd marched in through the hospital gate; one of them ringed, 1 in 100; not sick; idle
['hook', 'The hook', (m, D) => {
const p = panel(0);
const lk = m('locked'), on = m('one'), hd = m('hundred'), sk = m('sick'), id = m('idle');
- let s = shot(p, 0, on);
- photo(s, 'e2-gate', 0, on + .3, { s0: 1.12, s1: 1.6, dy: -260 }); // into the gate, with the crowd
+ let s = shot(p, 0, id);
+ const gate = wide(s, 'e2-gate', [[0, .5, .42, 1.15], [on - .1, .55, .5, 1.3], [on + .45, .61, .56, 1.75], [id + .3, .6, .58, 1.85]]);
+ ring(pin(gate, 'e2-gate', .617, .585), 78, on + .4); // the Fool in the crowd: the one in a hundred
rect(s, 0, 0, W, H, { fill: '#000', opacity: .15 });
+ srcTag(s, 'AI illustration', 50, 150, 0);
word(s, '1656 · Paris', CX, 250, 0, { size: 104, fill: '#fff', stroke: DARK });
- word(s, 'Locked up', CX, 1180, lk, { size: 170, fill: RED, stroke: DARK });
+ const lw = word(s, 'Locked up', CX, 1180, lk, { size: 170, fill: RED, stroke: DARK });
+ hide(lw, hd - .08, .06, lin);
sfx('hook', lk + .05, 'thud', 1.2);
- // a hundred Parisians; one turns red and is boxed in
- s = shot(p, on, sk, { bg: BURG, whip: true });
- const grid = icons(s, 'person', 100, 10, 90, 340, 72, LIGHT, on, .5);
- const one = grid[57];
- tw(one, { s: 1.35 }, on + .5, .25, back);
- const red = ico(s, 'person', 90 + 7 * 72 + 36, 340 + 5 * 72 + 36, 72 * .86, RED, on + .5, { from: 1, dur: .15 });
- tw(red, { s: 1.35 }, on + .5, .25, back);
- const box = path(s, `M${90 + 7 * 72 - 4} ${340 + 5 * 72 - 4}h80v80h-80Z`, { stroke: RED, 'stroke-width': 7 }, { d: 0 });
- draw(box, hd - .2, .4, out);
- sfx('hook', hd - .2, 'latch', 1.2);
- word(s, '1 in 100', CX, 1180, hd, { size: 190, fill: RED });
- // not sick
- s = shot(p, sk, id, { bg: DARK, whip: true });
- const sw = word(s, 'Sick', CX, 860, sk, { size: 260, fill: LIGHT });
- strike(s, sw, CX, 860, sk + .45, 260);
+ sfx('hook', on + .4, 'latch', 1.2);
+ const n1 = word(s, '1 in 100', CX, 1180, hd, { size: 190, fill: RED, stroke: DARK });
+ hide(n1, sk - .08, .06, lin);
+ const sw = word(s, 'Sick', CX, 1180, sk, { size: 230, fill: '#fff', stroke: DARK });
+ strike(s, sw, CX, 1180, sk + .45, 230);
sfx('hook', sk + .45, 'whoosh', .4);
- // idle: a beggar sitting on the ground, stamped
- s = shot(p, id, undefined, { bg: BURG, swipe: true });
- const b = plate(s, 'e2-callot3', CX, 760, { h: 980 });
- tw(b, { s: 1.1 }, id, D - id + .2, lin);
+ // idle: Callot's beggar, sitting on the ground, stamped
+ s = shot(p, id, undefined, { swipe: true });
+ wide(s, 'e2-beggar', [[id, .5, .45, 1.05], [D, .5, .42, 1.2]]);
+ srcTag(s, 'Jacques Callot, Les Gueux, c. 1622', 50, 150, id);
stamp(s, 'IDLE', CX, 1180, id + .15, { size: 190, colour: '#c8281e' });
}, { pre: OPEN_PRE }],
@@ -117,7 +141,7 @@ const BEATS = [
const hw = word(s, 'Hospital?', CX, 1180, hg + .5, { size: 170, fill: '#fff', stroke: DARK });
strike(s, hw, CX, 1180, he + .2, 170);
s = shot(p, cf, undefined);
- photo(s, 'e2-inside', cf, D + .2, { s0: 1.0, s1: 1.16, dx: -40 });
+ photo(s, 'e2-inside', cf, D, { s0: 1.0, s1: 1.16, dx: -40 });
band(s, ['A house of', 'confinement'], 1100, cf + .05, { size: 84, step: .3 });
sfx('decree', cf + .9, 'latch', 1.4);
}],
@@ -137,7 +161,7 @@ const BEATS = [
else keys.push([t - .05, ...keys[keys.length - 1].slice(1)]);
keys.push([t + .3, fx, .42, i === 5 ? 1.55 : 1.45]);
});
- keys.push([D + .2, .915, .36, 1.75]);
+ keys.push([D, .915, .36, 1.75]);
wide(s, 'e2-crowd', keys);
srcTag(s, 'AI illustration', 50, 150, 0);
word(s, 'Inside', CX, 260, 0, { size: 130, fill: '#fff', stroke: DARK });
@@ -149,33 +173,34 @@ const BEATS = [
sfx('inmates', m('mad') + .1, 'thud', 1);
}],
- // 4. No trial, no diagnosis; they didn't work; idleness the sin; the locked door its cure
+ // 4. No trial, no diagnosis, stamped on the hall; they didn't work: idleness; its cure: the guard turns the key
['idle', 'Idleness', (m, D) => {
const p = panel(0);
const tr = m('trial'), dg = m('diag'), wk = m('work'), sn = m('sin'), dr = m('door');
- let s = shot(p, 0, wk, { bg: BURG });
- ico(s, 'gavel', CX, 520, 300, MUTED, 0, { from: .7 });
- stamp(s, 'NO TRIAL', CX, 900, tr + .05, { size: 130, colour: '#c8281e', r: -7 });
- stamp(s, 'NO DIAGNOSIS', CX, 1140, dg + .05, { size: 110, colour: '#c8281e', r: 5 });
- s = shot(p, wk, sn, { whip: true });
- wide(s, 'e2-crowd', [[wk, .235, .42, 1.3], [sn + .3, .235, .38, 1.45]]); // the jobless man again, closer
- word(s, "Didn't work", CX, 1180, wk + .05, { size: 150, fill: '#fff', stroke: DARK });
+ let s = shot(p, 0, wk);
+ wide(s, 'e2-inside', [[0, .35, .55, 1.25], [wk + .3, .25, .6, 1.5]]); // the hall, people on the floor
+ srcTag(s, 'AI illustration', 50, 150, 0);
+ stamp(s, 'NO TRIAL', CX, 560, tr + .05, { size: 140, colour: '#c8281e', r: -7 });
+ stamp(s, 'NO DIAGNOSIS', CX, 840, dg + .05, { size: 115, colour: '#c8281e', r: 5 });
const cu = sn + (dr - sn) * .5; // "and its cure"
- s = shot(p, sn, cu, { bg: DARK, whip: true });
- label(s, "The age's great sin", CX, 640, sn + .1, { size: 64, fill: LIGHT, colour: DARK });
- const iw = word(s, 'Idleness', CX, 860, sn, { size: 200, fill: RED });
- tw(iw, { s: 1.15 }, sn + .3, cu - sn, lin);
- // the cure: the door edges in, then slides shut on "door"
- s = shot(p, cu, undefined, { bg: BURG, swipe: 'quiet' });
- word(s, 'The cure', CX, 235, cu + .05, { size: 120, fill: LIGHT });
- const d = door(s, W + 160, 740, 900);
- tw(d, { x: W + 40 }, cu + .1, dr - cu - .5, lin);
- tw(d, { x: CX }, dr - .35, .35, out);
- prog(q => put(d, { x: CX + 10 * Math.sin(q * 40) * (1 - q) }), dr, .5, lin);
- sfx('idle', dr - .02, 'door', 1.6);
- sfx('idle', dr + .5, 'latch', 1.2);
- word(s, 'A locked door', CX, 1280, dr + .1, { size: 120, fill: RED });
- prog(() => {}, D, .5, lin);
+ s = shot(p, wk, cu, { whip: true });
+ wide(s, 'e2-crowd', [[wk, .235, .42, 1.3], [cu + .3, .235, .36, 1.7]]); // the jobless man again, closer
+ const dw = word(s, "Didn't work", CX, 1180, wk + .05, { size: 150, fill: '#fff', stroke: DARK });
+ hide(dw, sn - .08, .06, lin);
+ label(s, "The age's great sin", CX, 1040, sn + .1, { size: 60, fill: LIGHT, colour: DARK });
+ word(s, 'Idleness', CX, 1210, sn, { size: 200, fill: RED, stroke: DARK });
+ // the cure: back in the hall, close on the guard's hand, and he turns the key
+ s = shot(p, cu, undefined, { whip: true });
+ const hall = wide(s, 'e2-inside', [[cu, .7, .55, 1.35], [dr - .25, .87, .57, 2.5], [D, .88, .57, 2.65]]);
+ word(s, 'The cure', CX, 260, cu + .05, { size: 120, fill: '#fff', stroke: DARK });
+ const kp = pin(hall, 'e2-inside', .925, .573);
+ const arc = path(kp, 'M-38 -30A48 48 0 1 1 -30 38', { stroke: RED, 'stroke-width': 9, 'stroke-linecap': 'round', fill: 'none' }, { d: 0 });
+ path(kp, 'M-42 22L-30 40L-12 30', { stroke: RED, 'stroke-width': 9, 'stroke-linecap': 'round', 'stroke-linejoin': 'round', fill: 'none' }, { d: 0 });
+ draw(arc, dr - .15, .3, out); draw(kp.lastChild, dr + .12, .1, lin);
+ tw(s, { r: .6 }, dr, .06, out); tw(s, { r: 0 }, dr + .06, .2, out); // the lock's jolt
+ sfx('idle', dr - .1, 'latch', 1.6);
+ sfx('idle', dr + .15, 'door', 1.0);
+ word(s, 'A locked door', CX, 1200, dr + .1, { size: 130, fill: RED, stroke: DARK });
}],
// 5. The Fool, who still talked in part one, is cut off mid-word by the door: the Great Confinement
@@ -184,9 +209,9 @@ const BEATS = [
const gc = m('gc'), st = m('stop');
let s = shot(p, 0, gc, { bg: BURG });
const f = plate(s, 'e2-fool-1656', CX, 900, { h: 980 });
- speech(s, ['all', 'is', 'vanity,', 'and', 'the', 'king', 'is', 'a', 'f—'], 430, 270, 700, .3, SLAM, CX + 40, 410);
- prog(q => put(f, { r: 3 * Math.sin(q * 14), y: 900 - 8 * Math.abs(Math.sin(q * 7)) }), .3, SLAM - .3, lin);
- sfx('great', .3, 'fool-cut', 2);
+ speech(s, ['all', 'is', 'vanity,', 'and', 'the', 'king', 'is', 'a', 'f—'], 430, 270, 700, .05, SLAM, CX + 40, 410);
+ prog(q => put(f, { r: 3 * Math.sin(q * 14), y: 900 - 8 * Math.abs(Math.sin(q * 7)) }), .05, SLAM - .1, lin);
+ sfx('great', 0, 'fool-cut', 2);
const d = door(s, W + 500, 860, 1300);
tw(d, { x: CX }, SLAM - .4, .4, soft);
prog(q => put(d, { x: CX + 12 * Math.sin(q * 40) * (1 - q) }), SLAM, .5, lin);
@@ -199,11 +224,10 @@ const BEATS = [
word(s, 'Confinement', CX, 1260, gc + .25, { size: 130, fill: RED });
s = shot(p, st, undefined, { bg: DARK, swipe: 'quiet' });
const fq = plate(s, 'e2-fool-1656', CX, 820, { h: 820 }); put(fq, { o: .45 });
- tw(fq, { s: 1.12 }, st, D - st + .3, lin);
+ tw(fq, { s: 1.12 }, st, D - st, lin);
path(s, `M120 200H780V340H490L450 400L440 340H120Z`, { fill: 'none', stroke: MUTED, 'stroke-width': 6, 'stroke-dasharray': '18 14' }); // his balloon, empty
word(s, 'Madness', CX, 1080, st, { size: 170, fill: LIGHT });
word(s, 'stopped talking', CX, 1240, st + .25, { size: 120, fill: RED });
- prog(() => {}, D, .3, lin);
}, { pre: FOOL_LINE }],
// 6. Behind the walls: the laugh in the cell sinks into a growl
@@ -221,11 +245,11 @@ const BEATS = [
strike(s, pw, CX, 860, pt + .45, 220);
// the Fool in a cage, gripping the bars like an animal; the cage lunges with the growl
s = shot(p, bs, undefined, { whip: true });
- photo(s, 'e2-cage', bs, D + 1.0, { s0: 1.5, s1: 1.3, dy: 40 }); // close on his face, back to the keeper
+ photo(s, 'e2-cage', bs, D + .6, { s0: 1.5, s1: 1.3, dy: 40 }); // close on his face, back to the keeper
prog(q => put(s, { x: 12 * Math.sin(q * 70) * (1 - q), y: 7 * Math.sin(q * 53) * (1 - q) }), bs + .3, 1.0, lin);
const k = word(s, 'Beasts', CX, 1240, bs, { size: 230, fill: RED, stroke: DARK });
prog(q => put(k, { x: CX + 3 * Math.sin(q * 160), y: 1240 + 2 * Math.sin(q * 117) }), bs + .3, 1.6, lin);
- prog(() => {}, D, 1.0, lin); // the growl dies away
+ prog(() => {}, D, .6, lin); // the growl dies away
}],
// 7. Chained, straw, fed through bars; James Norris in his collar
@@ -236,16 +260,16 @@ const BEATS = [
chained(s, CX, 760, 900, go, D);
word(s, 'Chained', CX, 270, 0, { size: 150, fill: LIGHT });
sfx('chains', go + 1.5, 'chain', .7); sfx('chains', go + 2.6, 'chain', .5);
- // the same moment, close on the straw under him
- s = shot(p, sw, br, { bg: BURG });
- chained(s, CX + 100, -120, 2000, go, D);
- label(s, 'Straw', CX, 1220, sw + .05, { size: 90 });
- s = shot(p, br, nr, { whip: true });
- photo(s, 'e2-fed', br, nr + .3, { s0: 1.0, s1: 1.18, dy: 40 });
+ // the cell: close on the straw floor, then back to the bowl pushed through the bars
+ s = shot(p, sw, nr, { whip: true });
+ wide(s, 'e2-fed', [[sw, .62, .8, 2.3], [br - .05, .58, .78, 2.4], [br + .45, .5, .55, 1.05], [nr + .3, .5, .56, 1.12]]);
+ srcTag(s, 'AI illustration', 50, 150, sw);
+ const stl = label(s, 'Straw', CX, 1220, sw + .05, { size: 90 });
+ hide(stl, br - .05, .05, lin);
label(s, 'Fed through bars', CX, 1220, br + .05, { size: 76 });
// Norris: the whole print, then the collar, then the pole
s = shot(p, nr, undefined, { swipe: true });
- wide(s, 'e2-norris', [[nr, .5, .5, 1.0], [cl - .1, .5, .5, 1.12], [cl + .4, .4, .45, 2.2], [pl + .1, .4, .45, 2.2], [pl + .6, .22, .4, 2.0], [D + .2, .22, .4, 2.1]]);
+ wide(s, 'e2-norris', [[nr, .5, .5, 1.0], [cl - .1, .5, .5, 1.12], [cl + .4, .46, .51, 2.2], [pl - .1, .46, .51, 2.2], [pl + .45, .42, .37, 1.55], [D, .42, .37, 1.62]]); // the man, his collar and the pole in one frame
srcTag(s, 'G. Cruikshank after G. Arnald, James Norris in Bethlem, 1815', 50, 150, nr);
const nl = label(s, 'James Norris · London', CX, 1220, nr + .05, { size: 72 });
hide(nl, cl - .02, .05, lin);
@@ -264,66 +288,65 @@ const BEATS = [
tw(f0, { s: 1.18, y: 940 }, 0, an, lin);
const r = word(s, 'Reason', CX, 380, rs, { size: 190, fill: LIGHT }), rk = strike(s, r, CX, 380, rs + .35, 190);
tw(r, { y: 760, r: 14, o: 0 }, an - .35, .5, io); hide(rk, an - .35, .2);
- s = shot(p, an, cd, { bg: BURG });
- chained(s, CX, 980, 760, -99, D);
- word(s, 'Animal', CX, 380, an, { size: 230, fill: RED });
+ s = shot(p, an, cd, { whip: true });
+ photo(s, 'e2-cage', an, cd + .3, { s0: 1.35, s1: 1.5, dy: 30 }); // kept like an animal
+ word(s, 'Animal', CX, 1200, an, { size: 230, fill: RED, stroke: DARK });
sfx('animal', an, 'thud', 1.2);
s = shot(p, cd, undefined, { whip: true });
- photo(s, 'e2-fed', cd, D + .5, { s0: 1.05, s1: 1.25, dim: .55 }); // the cell: straw, a chain, a bowl through the bars
+ photo(s, 'e2-fed', cd, D + .3, { s0: 1.05, s1: 1.25, dim: .55 }); // the cell: straw, a chain, a bowl through the bars
label(s, 'An animal feels', CX, 420, cd, { size: 60, fill: LIGHT, colour: DARK });
[['No cold', cd], ['No hunger', hu], ['No pain', pn]].forEach(([str, t], i) => {
word(s, str, CX, 640 + i * 230, t, { size: 170, fill: i === 2 ? RED : LIGHT, stroke: DARK });
sfx('animal', t, 'tick', 1);
});
sfx('animal', pn + .4, 'chain', .7);
- prog(() => {}, D, .8, lin);
+ prog(() => {}, D, .3, lin);
}],
- // 9. Animals can be shown: Bedlam, a penny, 96,000 visits (Foucault's count)
+ // 9. Animals can be shown: all in Hogarth's Bedlam: the inmates, a penny in the ladies' hands, 96,000 over the plate
['show', 'Bedlam', (m, D) => {
const p = panel(0);
- const sh = m('shown'), bd = m('bedlam'), pe = m('penny'), mf = m('mf'), n = m('n');
- let s = shot(p, 0, pe);
- wide(s, 'e2-hogarth', [[0, .5, .5, 1.0], [sh, .5, .5, 1.05], [bd + .2, .66, .42, 2.2], [pe + .3, .67, .42, 2.35]]); // into the two ladies
+ const sh = m('shown'), bd = m('bedlam'), mf = m('mf'), pe = m('penny'), n = m('n');
+ const s = shot(p, 0, undefined);
+ const hg = wide(s, 'e2-hogarth', [[0, .5, .5, 1.0], [sh, .5, .5, 1.05], [bd + .25, .3, .6, 1.85], [pe - .35, .44, .56, 1.85],
+ [pe + .2, .635, .44, 2.6], [n - .25, .64, .44, 2.6], [n + .45, .55, .5, 1.6], [D, .58, .48, 1.68]]);
srcTag(s, 'Hogarth, A Rake’s Progress, plate 8 (Bedlam), 1735', 50, 150, 0);
- word(s, 'On show', CX, 260, sh, { size: 140, fill: '#fff', stroke: DARK });
- label(s, 'Bedlam · London', CX, 1220, bd + .05, { size: 80 });
- s = shot(p, pe, mf, { bg: DARK, whip: true });
- const c = G(s, { x: CX, y: 720, o: 0, s: .4 });
- mk('circle', { r: 220, fill: 'none', stroke: RED, 'stroke-width': 14 }, c);
- T(c, '1d', { y: 70, size: 220, font: SANS, weight: 600, fill: RED, anchor: 'middle' });
- pop(c, pe);
- sfx('show', pe + .1, 'coin', 1);
- band(s, ['A penny', 'to stare'], 1120, pe + .3, { size: 80, step: .4 });
- s = shot(p, mf, undefined, { bg: BURG, swipe: true });
- label(s, 'Foucault counts', CX, 560, mf, { size: 64, fill: LIGHT, colour: DARK });
- icons(s, 'person', 40, 10, 90, 620, 72, MUTED, mf + .1, n - mf - .2);
- counter(s, 96000, CX, 1130, n - .05, { size: 220, fill: RED, dur: .45 });
- word(s, 'Visits a year', CX, 1270, n + .4, { size: 100, fill: LIGHT });
- srcTag(s, 'Foucault, citing a report to the House of Commons, 1815', 50, 150, mf);
+ const os = word(s, 'On show', CX, 260, sh, { size: 140, fill: '#fff', stroke: DARK });
+ hide(os, mf - .08, .06, lin);
+ const bl = label(s, 'Bedlam · London', CX, 1220, bd + .05, { size: 80 });
+ hide(bl, pe - .05, .05, lin);
+ label(s, 'Foucault writes', CX, 250, mf, { size: 60, fill: LIGHT, colour: DARK });
+ // the penny, in the visitors' hands
+ const c = G(pin(hg, 'e2-hogarth', .628, .47), { o: 0, s: .4 });
+ mk('circle', { r: 34, fill: '#d9a441', stroke: DARK, 'stroke-width': 4 }, c);
+ T(c, '1d', { y: 12, size: 34, font: SANS, weight: 600, fill: DARK, anchor: 'middle' });
+ pop(c, pe + .1);
+ sfx('show', pe + .15, 'coin', 1);
+ const ps = G(s, {}); band(ps, ['A penny', 'to stare'], 1120, pe + .3, { size: 80, step: .3 });
+ hide(ps, n - .15, .1, lin);
+ // 96,000 over the plate as the camera runs back along the onlookers
+ const bd2 = G(s, { o: 0 }); rect(bd2, 0, 1000, W, 330, { fill: DARK, opacity: .62 }); show(bd2, n - .15, .2);
+ counter(s, 96000, CX, 1180, n - .05, { size: 200, fill: RED, dur: .45 });
+ word(s, 'Visits a year', CX, 1290, n + .4, { size: 90, fill: LIGHT });
+ srcTag(s, 'Foucault, citing a report to the House of Commons, 1815', 50, 190, mf);
}],
- // 10. Silent now, but seen: eyes open around the Fool
+ // 10. Silent now, but seen: the ladies' faces turned toward the cells
['watched', 'A spectacle', (m, D) => {
const p = panel(0);
const sn = m('seen');
- const s = shot(p, 0, undefined, { bg: BURG });
- const fo = plate(s, 'e2-fool-1735', CX, 720, { h: 600 });
- tw(fo, { s: 1.15 }, 0, D + .8, lin);
- word(s, 'Silent', CX, 1150, 0, { size: 150, fill: LIGHT });
- const R = seeded(5);
- [[180, 330], [720, 330], [110, 640], [790, 640], [450, 210], [130, 930], [770, 930]].forEach(([x, y], i) => {
- const e = plate(s, 'e2-eye', x, y, { h: 120, r: (R() - .5) * 20, t0: sn - .1 + i * .12, dy: 0 });
- if (i % 3 === 0) sfx('watched', sn - .1 + i * .12, 'tick', .7);
- });
- word(s, 'but seen', CX, 1285, sn, { size: 120, fill: RED });
- prog(() => {}, D, .8, lin);
+ const s = shot(p, 0, undefined);
+ wide(s, 'e2-hogarth', [[0, .655, .41, 2.6], [D + .5, .67, .395, 3.2]]);
+ srcTag(s, 'Hogarth, A Rake’s Progress, plate 8 (Bedlam), 1735', 50, 150, 0);
+ word(s, 'Silent', CX, 330, 0, { size: 150, fill: '#fff', stroke: DARK });
+ word(s, 'but seen', CX, 1230, sn, { size: 150, fill: RED, stroke: DARK });
+ prog(() => {}, D, .5, lin);
}],
// 11. Dostoevsky's line; the chains come off in the 1790s; part three
['end', 'Dostoevsky', (m, D) => {
const p = panel(0);
- const C = TIMINGS.end.cues, q = m('q'), sa = m('sanity'), th = m('then'), of = m('off'), nx = m('next');
+ const q = m('q'), sa = m('sanity'), th = m('then'), of = m('off'), nx = m('next');
const half = q + (sa - q) * .5;
let s = shot(p, 0, q);
wide(s, 'e2-dosto', [[0, .5, .45, 1.15], [q + .3, .5, .32, 1.5]]);
@@ -331,23 +354,26 @@ const BEATS = [
label(s, 'Fyodor Dostoevsky', CX, 1220, .05, { size: 72 });
s = shot(p, q, half);
wide(s, 'e2-dosto', [[q, .5, .27, 2.3], [half + .3, .5, .27, 2.6]]);
- rect(s, 0, 0, W, H, { fill: DARK, opacity: .8 });
+ rect(s, 0, 0, W, H, { fill: DARK, opacity: .72 });
quote(s, ['“It is not by confining', 'one’s neighbor'], 560, q, { size: 82 });
s = shot(p, half, th);
- wide(s, 'e2-hogarth', [[half, .67, .42, 2.35], [th + .3, .67, .42, 2.7]]); // the visitors, sure of themselves
- rect(s, 0, 0, W, H, { fill: DARK, opacity: .8 });
+ wide(s, 'e2-hogarth', [[half, .64, .43, 2.2], [th + .3, .67, .4, 2.9]]); // the visitors, sure of themselves
+ rect(s, 0, 0, W, H, { fill: DARK, opacity: .6 });
quote(s, ['“It is not by confining', 'one’s neighbor'], 560, 0, { size: 82 });
quote(s, ['that one is convinced', 'of one’s own sanity.”'], 830, half, { size: 82 });
T(s, '— DOSTOEVSKY', { x: CX, y: 1080, size: 52, fill: MUTED, font: SANS, weight: 500, anchor: 'middle', o: 0 });
show(s.lastChild, sa + .2, .3);
- s = shot(p, th, of, { bg: DARK, whip: true });
- const yr = G(s, { s: .82, o: 0 }); T(yr, '1790s', { x: CX, y: 860, size: 300, fill: LIGHT, font: SANS, weight: 600, anchor: 'middle' });
+ // the series' Fool, chained since "Chained": his own chain snaps at the wall ring
+ s = shot(p, th, nx, { bg: BURG, whip: true });
+ wide(s, 'e2-salpetriere', [[th, .5, .45, 1.0], [nx + .3, .64, .45, 1.2]]); // Paris: the Salpêtrière, where they came off in 1795
+ rect(s, 0, 0, W, H, { fill: BURG, opacity: .8 });
+ const fr = freed(s, CX + 30, 800, 830, of + .1);
+ tw(fr, { s: 1.1 }, th, of - th, lin);
+ sfx('end', of + .1, 'bang', .7); sfx('end', of + .35, 'chain', 1.2);
+ const yr = G(s, { s: .82, o: 0 }); T(yr, '1790s', { x: CX, y: 250, size: 170, fill: LIGHT, font: SANS, weight: 600, anchor: 'middle' });
tw(yr, { s: 1, o: 1 }, th + .05, .22, out);
- s = shot(p, of, nx, { bg: BURG });
- const ch = plate(s, 'chain', CX, 560, { w: 820 });
- tw(ch, { y: 900, r: 10 }, of + .15, .45, q => q * q);
- sfx('end', of + .55, 'chain', 1);
- word(s, 'The chains came off', CX, 1250, of + .2, { size: 110, fill: LIGHT });
+ label(s, 'Paris', CX, 345, m('paris'), { size: 64, fill: RED, colour: DARK });
+ word(s, 'The first chains came off', CX, 1290, of + .2, { size: 100, fill: LIGHT });
s = shot(p, nx, D, { bg: BURG, swipe: true });
seriesCard(s, nx, 3, nx + .9);
// the next episode, full frame
diff --git a/site/madness-shorts/img/e2-art.js b/site/madness-shorts/img/e2-art.js
index 1e98b31..cd5bd27 100644
--- a/site/madness-shorts/img/e2-art.js
+++ b/site/madness-shorts/img/e2-art.js
@@ -1 +1 @@
-Object.assign(window.ART, {"e2-louis": [1378, 1920], "e2-salpetriere": [1920, 1313], "e2-norris": [1272, 1920], "e2-hogarth": [1920, 1677], "e2-dosto": [1536, 1920], "e2-gate": [1024, 1536], "e2-inside": [864, 1536], "e2-crowd": [1536, 1024], "e2-fed": [864, 1536], "e2-cage": [864, 1536], "e2-fool-1656": [450, 1100], "e2-fool-1735": [916, 970], "e2-door": [654, 1000], "e2-eye": [1000, 721], "e2-callot3": [587, 900], "e2-chained-sheet": [5600, 3920]});
+Object.assign(window.ART, {"e2-louis": [1378, 1920], "e2-salpetriere": [1920, 1313], "e2-norris": [1272, 1920], "e2-hogarth": [1920, 1677], "e2-dosto": [1536, 1920], "e2-beggar": [1024, 1565], "e2-gate": [1024, 1536], "e2-inside": [864, 1536], "e2-crowd": [1536, 1024], "e2-fed": [864, 1536], "e2-cage": [864, 1536], "e2-fool-1656": [450, 1100], "e2-fool-1735": [916, 970], "e2-door": [654, 1000], "e2-eye": [1000, 721], "e2-callot3": [587, 900], "e2-chained-sheet": [5600, 3920]});
diff --git a/site/madness-shorts/img/e2-beggar.webp b/site/madness-shorts/img/e2-beggar.webp
new file mode 100644
index 0000000..2b6bd43
Binary files /dev/null and b/site/madness-shorts/img/e2-beggar.webp differ