An AI skill that turns books into animated, narrated, interactive web experiences
JavaScript ai-agentsai-educationanimationclaudeclaude-codeclaude-skillsedtecheducationinteractive-textbookscormtext-to-video
window.TIMINGS = {
"intro": {
"dur": 12.408,
"marks": {
"sub": 3.294,
"move": 7.292
},
"cues": [
[
0.104,
"Chapter twenty-four."
],
[
1.706,
"Four ways to multiply."
],
[
3.294,
"One product, A times B, worked out four different ways."
],
[
7.292,
"Every way gives the same answer, and each one is handy for something."
]
]
},
"pair": {
"dur": 30.336,
"marks": {
"A": 2.812,
"B": 5.352,
"ab": 8.763,
"w1": 13.151,
"w2": 18.008,
"last": 21.302,
"w3": 23.763,
"w4": 26.003
},
"cues": [
[
0.117,
"Here is the pair we'll use all chapter."
],
[
2.812,
"A is two, one, and one, one."
],
[
5.352,
"B is one, minus one, and two, one."
],
[
8.763,
"A B is four, minus one, and three, zero."
],
[
13.151,
"The first way: one entry at a time, a row of A times a column of B."
],
[
18.008,
"The second way: A times each column of B."
],
[
21.302,
"Those two we met in chapter twenty-three."
],
[
23.763,
"The third way goes by rows, and the fourth way adds up whole pieces, a column times a row."
]
]
},
"entries": {
"dur": 40.032,
"marks": {
"e11": 2.096,
"e12": 9.714,
"e21": 18.021,
"e22": 23.724,
"count": 30.143,
"handy": 36.536
},
"cues": [
[
0.104,
"Way one: entries."
],
[
2.096,
"Row one of A times column one of B: two times one, plus one times two."
],
[
7.5,
"Two plus two is four."
],
[
9.714,
"Row one times column two: two times minus one, plus one times one."
],
[
15.182,
"Minus two plus one is minus one."
],
[
18.021,
"Row two times column one: one times one, plus one times two, is three."
],
[
23.724,
"Row two times column two: one times minus one, plus one times one, is zero."
],
[
30.143,
"Four entries, and each one needs two multiplications: eight multiplications in all."
],
[
36.536,
"This way is handy when you need just one number of A B."
]
]
},
"columns": {
"dur": 40.2,
"marks": {
"c1": 1.628,
"land1": 10.573,
"c2": 15.156,
"land2": 27.812,
"mix": 31.38,
"handy": 35.013
},
"cues": [
[
0.104,
"Way two: columns."
],
[
1.628,
"A times column one of B, one, two: one of column one of A, plus two of column two."
],
[
7.461,
"Two, one plus two, two is four, three."
],
[
10.573,
"In the picture, A carries the point one, two to four, three."
],
[
15.156,
"A times column two of B, minus one, one: minus one of column one, plus one of column two."
],
[
22.565,
"Minus two, minus one, plus one, one is minus one, zero."
],
[
27.812,
"The point minus one, one lands on minus one, zero."
],
[
31.38,
"So every column of A B is a mix of the columns of A."
],
[
35.013,
"This way is handy when you want to see what A does: it moves each column of B."
]
]
},
"columns2": {
"dur": 57.72,
"marks": {
"A": 2.604,
"B": 8.763,
"c1": 12.135,
"m1": 19.349,
"r1": 21.953,
"c2": 23.724,
"m2": 30.469,
"r2": 33.359,
"ab": 35.3,
"e12": 39.987,
"p12": 49.115,
"r12": 54.167,
"same": 55.286
},
"cues": [
[
0.091,
"One more pair, worked both ways."
],
[
2.604,
"A is one, minus one, and one, two."
],
[
5.729,
"Its columns are one, one and minus one, two."
],
[
8.763,
"B is one, two, and one, minus one."
],
[
12.135,
"Way two, column one of B is one, one: one of column one of A, plus one of column two."
],
[
19.349,
"One, one plus minus one, two is zero, three."
],
[
23.724,
"Column two of B is two, minus one: two of column one, and minus one of column two."
],
[
30.469,
"Two, two plus one, minus two is three, zero."
],
[
35.3,
"So A B is zero, three, and three, zero."
],
[
39.987,
"Now check one number by way one: the top of column two."
],
[
43.945,
"Row one of A, one, minus one, times column two of B, two, minus one."
],
[
49.115,
"One times two, plus minus one times minus one: two plus one is three."
],
[
55.286,
"Three, the same number both ways."
]
]
},
"q1": {
"dur": 3.432,
"marks": {},
"cues": [
[
0.104,
"Quick check."
],
[
1.094,
"One entry, and one whole column."
]
]
},
"rows": {
"dur": 45.504,
"marks": {
"turn": 2.292,
"r1": 4.883,
"m1": 11.823,
"s1": 16.667,
"pic1": 20.234,
"r2": 31.94,
"s2": 36.38,
"mix": 42.188
},
"cues": [
[
0.104,
"Way three: rows."
],
[
2.292,
"Now each row of A works on all of B."
],
[
4.883,
"Row one of A is two, one."
],
[
7.161,
"It says: take two of row one of B, plus one of row two of B."
],
[
11.823,
"Two times one, minus one is two, minus two."
],
[
15.43,
"Plus two, one."
],
[
16.667,
"That's four, minus one: row one of A B."
],
[
20.234,
"In the picture, the arrows are now the rows of B: blue for row one, coral for row two."
],
[
26.992,
"Two blue steps and one coral step land on four, minus one."
],
[
31.94,
"Row two of A is one, one: one of each row of B."
],
[
36.38,
"One, minus one plus two, one is three, zero: row two of A B."
],
[
42.188,
"So every row of A B is a mix of the rows of B."
]
]
},
"rows2": {
"dur": 39.624,
"marks": {
"E": 1.667,
"sys": 6.576,
"r1": 13.971,
"r2": 18.385,
"s2": 24.883,
"step": 30.964,
"handy": 36.094
},
"cues": [
[
0.104,
"We have seen this before."
],
[
1.667,
"In chapter twenty-one, a matrix E on the left mixed the rows."
],
[
6.576,
"E is one, zero, and minus three, one."
],
[
10.651,
"A is one, two, and three, four."
],
[
13.971,
"Row one of E is one, zero: just row one of A, one, two."
],
[
18.385,
"Row two of E is minus three, one: minus three times row one, plus row two."
],
[
24.883,
"Minus three, minus six, plus three, four is zero, minus two."
],
[
30.964,
"That's the elimination step: row two minus three times row one."
],
[
36.094,
"So the row way is the one to use for elimination."
]
]
},
"q2": {
"dur": 5.136,
"marks": {},
"cues": [
[
0.091,
"Your turn."
],
[
1.042,
"Change row two of A until row two of A B lands on the target."
]
]
},
"outer": {
"dur": 62.448,
"marks": {
"cr": 4.466,
"sz": 8.737,
"each": 16.458,
"look": 27.174,
"pair": 35.742,
"p1": 36.953,
"p2": 41.172,
"sum": 47.044,
"same": 57.734
},
"cues": [
[
0.104,
"Way four is the surprise."
],
[
2.318,
"First, a column times a row."
],
[
4.466,
"Take the column two, one, and the row one, minus one."
],
[
8.737,
"That's two by one, times one by two."
],
[
11.419,
"The inside numbers are one and one: they match."
],
[
14.805,
"The answer is two by two."
],
[
16.458,
"Each entry is a single product: two times one is two, two times minus one is minus two, one times one is one, one times minus one is minus one."
],
[
27.174,
"Look at the rows: two, minus two is just two times one, minus one."
],
[
32.734,
"Every row is a multiple of the same row."
],
[
35.742,
"Now our pair."
],
[
36.953,
"Column one of A times row one of B: that's the piece we just made."
],
[
41.172,
"Column two of A, one, one, times row two of B, two, one: two, one, and two, one."
],
[
47.044,
"Add the two pieces: two plus two is four, minus two plus one is minus one, one plus two is three, minus one plus one is zero."
],
[
57.734,
"Four, minus one, three, zero."
],
[
60.703,
"The same A B again."
]
]
},
"outer2": {
"dur": 32.472,
"marks": {
"p1": 7.8,
"p2": 14.896,
"sum": 23.919,
"same": 28.62
},
"cues": [
[
0.091,
"Once more, with chapter twenty-three's bigger pair: one, two, three, four times five, six, seven, eight."
],
[
7.8,
"Column one of A, one, three, times row one of B, five, six: five, six, and fifteen, eighteen."
],
[
14.896,
"Column two, two, four, times row two, seven, eight: fourteen, sixteen, and twenty-eight, thirty-two."
],
[
23.919,
"Add them: nineteen, twenty-two, forty-three, fifty."
],
[
28.62,
"Exactly what we got entry by entry in chapter twenty-three."
]
]
},
"why": {
"dur": 32.784,
"marks": {
"table": 1.784,
"eight": 8.398,
"e": 9.753,
"c": 12.331,
"r": 14.857,
"g": 17.292,
"v": 22.513,
"same": 26.823
},
"cues": [
[
0.104,
"Why do all four ways agree?"
],
[
1.784,
"Here is every entry of A B, written out: each one is a sum of two products."
],
[
8.398,
"Eight products in all."
],
[
9.753,
"Way one adds them up one entry at a time."
],
[
12.331,
"Way two takes a whole column at once."
],
[
14.857,
"Way three takes a whole row at once."
],
[
17.292,
"Way four collects all the first products, the green ones: that's the first piece."
],
[
22.513,
"And all the second products, the violet ones: the second piece."
],
[
26.823,
"It's always the same eight products."
],
[
28.88,
"Only the order of adding changes, so the answer can't change."
]
]
},
"q3": {
"dur": 3.912,
"marks": {},
"cues": [
[
0.104,
"Quick check."
],
[
1.042,
"Build A B from two pieces."
]
]
},
"handy": {
"dur": 24.624,
"marks": {
"one": 1.771,
"two": 5.664,
"three": 9.818,
"four": 15.065
},
"cues": [
[
0.104,
"So which way should you use?"
],
[
1.771,
"For one number: way one, a row times a column."
],
[
5.664,
"To see what A does to vectors: way two, by columns."
],
[
9.818,
"For elimination, where rows are mixed: way three, by rows."
],
[
15.065,
"And way four, columns times rows, splits a product into simple pieces, each with all its rows in step."
],
[
22.578,
"We'll need that much later in the course."
]
]
},
"wrap": {
"dur": 31.128,
"marks": {
"w1": 1.016,
"w2": 7.175,
"w3": 13.281,
"w4": 19.31,
"end": 26.901
},
"cues": [
[
0.104,
"Let's sum up."
],
[
1.016,
"Entries: entry i, j is row i of A times column j of B."
],
[
7.175,
"Columns: each column of A B is A times a column of B, a mix of the columns of A."
],
[
13.281,
"Rows: each row of A B is a row of A times B, a mix of the rows of B."
],
[
19.31,
"Columns times rows: A B is column one times row one, plus column two times row two, and so on."
],
[
26.901,
"All four use the same products."
],
[
28.932,
"Now try the chapter practice."
]
]
},
"final1": {
"dur": 3.624,
"marks": {},
"cues": [
[
0.104,
"Chapter practice."
],
[
1.51,
"Work out A B by rows."
]
]
},
"final2": {
"dur": 3.144,
"marks": {},
"cues": [
[
0.104,
"Now in pieces: columns times rows."
]
]
},
"final3": {
"dur": 1.872,
"marks": {},
"cues": [
[
0.104,
"Which way is it?"
]
]
},
"final4": {
"dur": 4.776,
"marks": {},
"cues": [
[
0.104,
"Last set."
],
[
1.185,
"Move the rows of A in the picture to hit each target."
]
]
},
"play": {
"dur": 10.104,
"marks": {
"go": 3.958
},
"cues": [
[
0.091,
"Playground."
],
[
1.081,
"Nothing here is marked right or wrong."
],
[
3.958,
"Change any number, drag the row arrows or the ring, and watch the rows of A B move."
]
]
},
"finish": {
"dur": 11.4,
"marks": {},
"cues": [
[
0.104,
"Well done."
],
[
1.107,
"That's the end of chapter twenty-four, four ways to multiply."
],
[
5.3,
"Next: the rules of matrix arithmetic, and why A B is usually not B A."
]
]
}
};