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": 13.92,
"marks": {
"sub": 3.789,
"move": 7.539
},
"cues": [
[
0.104,
"Chapter twenty-three."
],
[
1.888,
"Matrix times matrix."
],
[
3.789,
"A matrix B is just a few columns standing side by side."
],
[
7.539,
"To multiply A times B, A multiplies each column of B, one after another."
]
]
},
"recall": {
"dur": 52.368,
"marks": {
"A": 2.93,
"g1": 10.859,
"v1": 13.789,
"x": 15.925,
"mix": 18.294,
"o1": 23.581,
"o2": 25.169,
"land": 26.484,
"st1": 31.628,
"st2": 32.852,
"x2": 36.185,
"mix2": 39.245,
"mn": 41.888,
"land2": 46.016,
"st3": 48.828,
"st4": 50.664
},
"cues": [
[
0.143,
"First, chapter nine again, in one minute."
],
[
2.93,
"Here is a matrix A: two, one in the first row, and one, three in the second."
],
[
10.3,
"Its columns are the green arrow, two, one, and the violet arrow, one, three."
],
[
15.925,
"Take x equals one, one."
],
[
18.294,
"A times x is a mix of the columns of A, and x says how much of each: one of column one, plus one of column two."
],
[
26.484,
"Two, one plus one, three is three, four."
],
[
30.482,
"In the picture: one green step, one violet step, and we land on three, four."
],
[
36.185,
"Now a second x: two, minus one."
],
[
39.245,
"Two of column one is four, two."
],
[
41.888,
"Minus one of column two is minus one, minus three."
],
[
46.016,
"Together, three, minus one: two green steps forward, and one violet step back."
]
]
},
"side": {
"dur": 39.84,
"marks": {
"side": 0.104,
"B": 6.471,
"ask": 11.341,
"rule": 12.812,
"c1": 16.94,
"put1": 20.104,
"c2": 21.927,
"put2": 25.456,
"ab": 27.331,
"r1": 28.086,
"r2": 30.898,
"pic": 33.555
},
"cues": [
[
0.104,
"Now stand the two x's side by side: one, one on the left, and two, minus one on the right."
],
[
6.471,
"Columns standing side by side make a matrix."
],
[
10.339,
"Call it B."
],
[
11.341,
"So what is A times B?"
],
[
12.812,
"It's exactly what we just did: A times each column of B."
],
[
16.94,
"A times column one of B is three, four."
],
[
20.104,
"That's column one of the answer."
],
[
21.927,
"A times column two of B is three, minus one."
],
[
25.456,
"That's column two of the answer."
],
[
27.331,
"So A B is three, three in the first row, and four, minus one in the second."
],
[
33.555,
"In the picture, each column of B is a point, and A carries it to the matching column of A B."
]
]
},
"cols2": {
"dur": 64.776,
"marks": {
"A": 2.865,
"a1": 3.19,
"a2": 5.951,
"B": 7.878,
"n": 14.44,
"c1": 18.411,
"c2": 26.784,
"c3": 35.195,
"ab": 41.797,
"r1": 42.357,
"r2": 45.703,
"change": 48.151,
"only": 54.036,
"why": 60.807
},
"cues": [
[
0.104,
"Another one, with three columns."
],
[
2.865,
"A is one, minus one in the first row, and two, one in the second."
],
[
7.878,
"B has three columns: one, one; then two, one; then zero, two."
],
[
14.44,
"Three columns in B, so three columns in A B."
],
[
18.411,
"Column one: one of column one of A, plus one of column two."
],
[
22.448,
"One, two plus minus one, one is zero, three."
],
[
26.784,
"Column two: two of column one, plus one of column two."
],
[
31.367,
"Two, four plus minus one, one is one, five."
],
[
35.195,
"Column three: none of column one, and two of column two."
],
[
40.169,
"That's minus two, two."
],
[
41.797,
"So A B is zero, one, minus two on top, and three, five, two below."
],
[
48.151,
"Now watch while one number of B changes."
],
[
50.742,
"The bottom of column three goes from two up to four."
],
[
54.036,
"Only column three of A B moves, to minus four, four."
],
[
57.904,
"Columns one and two stay where they are."
],
[
60.807,
"Each column of A B depends only on its own column of B."
]
]
},
"q1": {
"dur": 3.696,
"marks": {},
"cues": [
[
0.104,
"Quick check."
],
[
1.081,
"Work out A B, one column at a time."
]
]
},
"entry": {
"dur": 58.296,
"marks": {
"back": 4.01,
"top": 5.521,
"ch9": 9.323,
"rx": 12.083,
"mx": 13.971,
"e11": 16.693,
"ra": 18.112,
"cb": 20.742,
"m11": 22.357,
"s11": 25.169,
"e21": 26.888,
"e12": 32.8,
"e22": 40.482,
"rule": 48.607,
"ri": 52.747,
"cj": 53.958,
"name": 55.352
},
"cues": [
[
0.117,
"Sometimes we want just one number of A B, not a whole column."
],
[
4.01,
"Back to our first pair."
],
[
5.521,
"The top number of column one is three."
],
[
8.164,
"Where does it come from?"
],
[
9.323,
"In chapter nine, each number of A times x was a row of A times x: multiply number by number, then add."
],
[
16.693,
"So the top of column one is row one of A, two, one, times column one of B, one, one."
],
[
22.357,
"Two times one, plus one times one."
],
[
25.169,
"Two plus one is three."
],
[
26.888,
"Row two with column one: one times one, plus three times one, is four."
],
[
32.8,
"Row one with column two: two times two, plus one times minus one."
],
[
38.346,
"Four minus one is three."
],
[
40.482,
"Row two with column two: one times two, plus three times minus one."
],
[
46.107,
"Two minus three is minus one."
],
[
48.607,
"The rule: the number in row i, column j of A B is row i of A times column j of B."
],
[
55.352,
"We call it the i, j entry of A B."
]
]
},
"entry2": {
"dur": 50.376,
"marks": {
"A": 4.036,
"B": 7.682,
"e11": 10.651,
"e12": 18.359,
"e21": 25.82,
"e22": 33.529,
"ab": 41.237,
"four": 46.445
},
"cues": [
[
0.104,
"Let's use the rule on bigger numbers, too big for our picture."
],
[
4.036,
"A is one, two, and three, four."
],
[
7.682,
"B is five, six, and seven, eight."
],
[
10.651,
"Row one times column one: one times five, plus two times seven."
],
[
15.807,
"Five plus fourteen is nineteen."
],
[
18.359,
"Row one times column two: one times six, plus two times eight."
],
[
23.438,
"Six plus sixteen is twenty-two."
],
[
25.82,
"Row two times column one: three times five, plus four times seven."
],
[
30.833,
"Fifteen plus twenty-eight is forty-three."
],
[
33.529,
"Row two times column two: three times six, plus four times eight."
],
[
38.464,
"Eighteen plus thirty-two is fifty."
],
[
41.237,
"So A B is nineteen, twenty-two, and forty-three, fifty."
],
[
46.445,
"Four entries, and each one is a row times a column."
]
]
},
"q2": {
"dur": 6.216,
"marks": {},
"cues": [
[
0.104,
"Your turn."
],
[
1.029,
"Change column two of B until column two of A B lands on the target."
]
]
},
"sizes": {
"dur": 65.688,
"marks": {
"A": 1.484,
"B": 6.836,
"inner": 11.654,
"pair": 16.471,
"e11": 18.529,
"e12": 28.372,
"e21": 36.211,
"e22": 42.344,
"outer": 48.672,
"rule": 54.844,
"in2": 60.781,
"out2": 62.917
},
"cues": [
[
0.104,
"Now the sizes."
],
[
1.484,
"This A has two rows and three columns: we say it is two by three."
],
[
6.836,
"This B has three rows and two columns: it is three by two."
],
[
11.654,
"A row of A has three numbers, and a column of B has three numbers too."
],
[
16.354,
"So they pair up, one with one."
],
[
18.529,
"Entry one, one: one times one, plus two times two, plus zero times zero."
],
[
25.599,
"One plus four plus zero is five."
],
[
28.372,
"Entry one, two: one times one, plus two times zero, plus zero times three, is one."
],
[
36.211,
"Entry two, one: zero, plus two, plus zero, is two."
],
[
42.344,
"Entry two, two: zero, plus zero, plus three, is three."
],
[
48.672,
"A B has two rows, like A, and two columns, like B: it is two by two."
],
[
54.844,
"So the rule for sizes: m by n, times n by p, gives m by p."
],
[
60.781,
"The inside numbers must match."
],
[
62.917,
"The outside numbers give the size of the answer."
]
]
},
"nomatch": {
"dur": 41.184,
"marks": {
"drop": 2.37,
"row": 5.964,
"cb": 8.477,
"no": 11.068,
"nd": 13.659,
"flip": 17.5,
"sz": 23.138,
"big": 29.714,
"order": 33.177,
"mat": 37.201
},
"cues": [
[
0.104,
"What if the inside numbers don't match?"
],
[
2.37,
"Take away the last row of B, so B is two by two."
],
[
5.964,
"Now a row of A has three numbers, but a column of B has only two."
],
[
11.068,
"The third number of the row has no partner."
],
[
13.659,
"A B is not defined: there is no product at all."
],
[
17.5,
"Now put B back as it was, three by two, and try the other order: B times A."
],
[
23.138,
"Three by two, times two by three."
],
[
25.859,
"The inside numbers are two and two: they match."
],
[
29.714,
"And the answer, B A, is three by three."
],
[
33.177,
"So A B was two by two, but B A is three by three."
],
[
37.201,
"The order matters."
],
[
38.503,
"More about that in chapter twenty-five."
]
]
},
"q3": {
"dur": 1.872,
"marks": {},
"cues": [
[
0.104,
"Quick check on sizes."
]
]
},
"wrap": {
"dur": 31.08,
"marks": {
"w1": 1.055,
"w2": 7.656,
"w3": 15.638,
"w4": 22.604,
"end": 28.802
},
"cues": [
[
0.104,
"Let's sum up."
],
[
1.055,
"A times B is A times each column of B: column j of A B is A times column j of B."
],
[
7.656,
"Each column of A B is a mix of the columns of A, so in the picture, A carries each column of B to a column of A B."
],
[
15.638,
"One entry at a time: the i, j entry of A B is row i of A times column j of B."
],
[
22.604,
"m by n, times n by p, gives m by p."
],
[
26.615,
"The inside numbers must match."
],
[
28.802,
"Now try the chapter practice."
]
]
},
"final1": {
"dur": 4.176,
"marks": {},
"cues": [
[
0.104,
"Chapter practice."
],
[
1.55,
"Work out A B, one column at a time."
]
]
},
"final2": {
"dur": 4.344,
"marks": {},
"cues": [
[
0.104,
"Now entry by entry: each one is a row times a column."
]
]
},
"final3": {
"dur": 4.608,
"marks": {},
"cues": [
[
0.117,
"Sizes."
],
[
1.263,
"Which products are allowed, and how big is the answer?"
]
]
},
"final4": {
"dur": 5.184,
"marks": {},
"cues": [
[
0.104,
"Last set."
],
[
1.224,
"Move the columns of B in the picture to hit each target."
]
]
},
"play": {
"dur": 12.312,
"marks": {
"go": 4.102
},
"cues": [
[
0.117,
"Playground."
],
[
1.107,
"Nothing here is marked right or wrong."
],
[
4.102,
"Change any number of A or B, drag the points and arrows, or change the sizes, and watch A B follow."
]
]
},
"finish": {
"dur": 10.896,
"marks": {},
"cues": [
[
0.104,
"Well done."
],
[
1.12,
"That's the end of chapter twenty-three, matrix times matrix."
],
[
5.651,
"Next: four ways to multiply, and the same product four times over."
]
]
}
};