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": 8.976,
"marks": {
"sub": 3.008,
"big": 5.69
},
"cues": [
[
0.104,
"Chapter six."
],
[
1.38,
"Linear combinations."
],
[
3.008,
"Stretch two vectors, then add them."
],
[
5.69,
"This one idea runs through all of linear algebra."
]
]
},
"name": {
"dur": 58.176,
"marks": {
"both": 3.893,
"vw": 5.573,
"cd": 11.003,
"ex": 17.93,
"cv": 21.068,
"dw": 24.492,
"add": 27.891,
"addb": 32.344,
"res": 36.198,
"pic": 39.766,
"pic2": 42.617,
"end": 44.818,
"name": 47.201,
"keep": 51.927
},
"cues": [
[
0.104,
"In chapter five we stretched vectors, and we added them."
],
[
3.893,
"Now we do both at once."
],
[
5.573,
"Take v equals two, minus one, and w equals minus one, two."
],
[
11.003,
"Pick two numbers, c and d."
],
[
13.477,
"Stretch v by c, stretch w by d, then add."
],
[
17.93,
"Let's try c equals one and d equals two."
],
[
21.068,
"One times v is still two, minus one."
],
[
24.492,
"Two times w is minus two, four."
],
[
27.891,
"Now add."
],
[
28.828,
"The tops, two plus minus two, give zero."
],
[
32.344,
"The bottoms, minus one plus four, give three."
],
[
36.198,
"So one v plus two w is zero, three."
],
[
39.766,
"In the picture: one v from the origin, then two w from its tip, and the trip ends at zero, three."
],
[
47.201,
"c v plus d w is called a linear combination of v and w."
],
[
51.927,
"Remember these numbers: v, w, and zero, three."
],
[
57.083,
"They'll come back."
]
]
},
"ex2": {
"dur": 36.384,
"marks": {
"c2": 1.341,
"t": 4.18,
"b": 10.234,
"r": 17.422,
"c3": 20.911,
"t3": 24.661,
"b3": 28.724,
"r3": 31.51,
"same": 33.438
},
"cues": [
[
0.104,
"Another choice: c equals two, d equals one."
],
[
4.18,
"Top: two times two, plus one times minus one."
],
[
8.073,
"Four minus one is three."
],
[
10.234,
"Bottom: two times minus one, plus one times two."
],
[
14.349,
"Minus two plus two is zero."
],
[
17.422,
"So two v plus w is three, zero."
],
[
20.911,
"And c equals minus one, d equals one."
],
[
24.661,
"Top: minus two, minus one: minus three."
],
[
28.724,
"Bottom: one plus two: three."
],
[
31.51,
"Minus three, three."
],
[
33.438,
"Each choice of c and d lands on one point."
]
]
},
"special": {
"dur": 22.848,
"marks": {
"sum": 2.161,
"diff": 6.445,
"onlyv": 10.143,
"zero": 12.904,
"all": 17.083
},
"cues": [
[
0.104,
"You've met some combinations already."
],
[
2.161,
"c and d both one: that's v plus w."
],
[
6.445,
"c one, d minus one: v minus w."
],
[
10.143,
"d zero: just c times v."
],
[
12.904,
"And c and d both zero: the zero vector."
],
[
17.083,
"Sums, differences, multiples: all of them are linear combinations."
]
]
},
"q1": {
"dur": 2.76,
"marks": {},
"cues": [
[
0.091,
"Quick check."
],
[
1.107,
"Work out this combination."
]
]
},
"scrub": {
"dur": 28.608,
"marks": {
"c": 2.448,
"cpath": 6.419,
"d": 9.818,
"dpath": 12.786,
"both": 15.482,
"s1": 19.128,
"s2": 23.099
},
"cues": [
[
0.104,
"Now let's move c and d, and watch."
],
[
2.448,
"Change c, and only the first arrow stretches."
],
[
6.419,
"The tip slides along the direction of v."
],
[
9.818,
"Change d, and the second arrow stretches."
],
[
12.786,
"The tip slides along the direction of w."
],
[
15.482,
"Change both, and you can steer the tip wherever you like."
],
[
19.128,
"c two and d three: the tip lands on one, four."
],
[
23.099,
"c minus one and d minus two: it lands on zero, minus three."
]
]
},
"reach": {
"dur": 43.56,
"marks": {
"target": 1.771,
"ask": 5.013,
"start": 6.979,
"up": 10.781,
"d1": 14.102,
"d2": 15.065,
"hit": 16.185,
"turn": 22.031,
"drag": 25.651,
"p30": 27.747,
"p11": 32.474,
"p10": 34.635,
"frac": 40.091
},
"cues": [
[
0.104,
"Now turn the question around."
],
[
1.771,
"Here is a target: zero, three."
],
[
5.013,
"Which c and d reach it?"
],
[
6.979,
"Start at c zero, d zero: the origin."
],
[
10.781,
"Raise c to one: we're at the tip of v."
],
[
14.102,
"Raise d to one, then two."
],
[
16.185,
"There: c equals one, d equals two, the combination we began with."
],
[
22.031,
"It works the other way too."
],
[
23.646,
"Drag the tip of the combination, and c and d follow."
],
[
27.747,
"At three, zero, c is two and d is one."
],
[
32.474,
"At one, one, both are one."
],
[
34.635,
"And at one, zero, c is two thirds and d is one third."
],
[
40.091,
"Sometimes the numbers you need are fractions, and that's fine."
]
]
},
"q2": {
"dur": 6.072,
"marks": {},
"cues": [
[
0.104,
"Your turn."
],
[
1.055,
"Change c and d until the combination lands on the target, four, one."
]
]
},
"lattice": {
"dur": 26.784,
"marks": {
"dots": 1.458,
"grid": 5.26,
"gaps": 10.391,
"roam": 14.128,
"plane": 18.789
},
"cues": [
[
0.104,
"Here's a big idea."
],
[
1.458,
"Mark every point you can reach with whole numbers c and d."
],
[
5.26,
"They make a slanted grid: lines along v, and lines along w."
],
[
10.391,
"With fractions, you fill in everything between the lines."
],
[
14.128,
"Drag the tip anywhere, and there's always a c and a d."
],
[
18.789,
"So the combinations of v and w fill the whole plane."
],
[
23.203,
"Every point is some c v plus d w."
]
]
},
"count": {
"dur": 36.672,
"marks": {
"t": 3.49,
"sv": 5.247,
"sw": 7.526,
"there": 11.615,
"read": 12.435,
"check": 18.984,
"t2": 27.487,
"s2": 29.948,
"s3": 31.745,
"r2": 33.867
},
"cues": [
[
0.104,
"The slanted grid also tells you c and d."
],
[
3.49,
"Take the target one, four."
],
[
5.247,
"Walk along v: one, two steps."
],
[
7.526,
"Then along w: one, two, three steps."
],
[
11.615,
"We're there."
],
[
12.435,
"Two steps along v, three along w: c is two, and d is three."
],
[
18.984,
"Check with the numbers."
],
[
20.521,
"Top: four, minus three, is one."
],
[
23.646,
"Bottom: minus two, plus six, is four."
],
[
27.487,
"One more: minus one, five."
],
[
29.948,
"One step along v, then three steps along w."
],
[
33.867,
"c is one, and d is three."
]
]
},
"parallel": {
"dur": 51.24,
"marks": {
"turn": 1.419,
"squash": 6.732,
"par": 10.456,
"line": 13.047,
"try": 15.755,
"miss": 21.133,
"ex2": 26.263,
"x2": 33.216,
"line2": 38.581,
"rule": 41.042,
"rule2": 44.701,
"rule3": 47.708
},
"cues": [
[
0.117,
"But not always."
],
[
1.419,
"Let w turn, slowly, until it points along v."
],
[
6.732,
"Watch the grid: it squashes flatter and flatter."
],
[
10.456,
"Now w is two times v, and all the combinations lie on one line."
],
[
15.755,
"Steer c and d however you like: the tip only slides along that line."
],
[
21.133,
"So a target off the line, like zero, three, can never be reached."
],
[
26.263,
"Another pair: v is one, one, and w is minus two, minus two."
],
[
33.216,
"w is minus two times v, so again they point along one line, and every combination lands on that line."
],
[
41.042,
"Two vectors that point along different lines fill the plane, like one, zero and one, one."
],
[
47.708,
"Two that point along the same line only fill a line."
]
]
},
"q3": {
"dur": 3.864,
"marks": {},
"cues": [
[
0.104,
"Quick check."
],
[
1.172,
"Can the combinations reach every point?"
]
]
},
"wrap": {
"dur": 26.136,
"marks": {
"w1": 0.964,
"w2": 7.734,
"w3": 15.664,
"w4": 20.0,
"end": 23.776
},
"cues": [
[
0.104,
"To sum up."
],
[
0.964,
"A linear combination is c v plus d w: stretch each vector, then add."
],
[
7.734,
"Each choice of c and d gives one point."
],
[
10.612,
"You can go from c and d to the point, or from the point back to c and d."
],
[
15.664,
"Two vectors that point different ways reach every point of the plane."
],
[
20.0,
"Two vectors along the same line only reach that line."
],
[
23.776,
"Now try the chapter practice."
]
]
},
"final1": {
"dur": 3.312,
"marks": {},
"cues": [
[
0.104,
"Chapter practice."
],
[
1.497,
"Work out each combination."
]
]
},
"final2": {
"dur": 3.12,
"marks": {},
"cues": [
[
0.104,
"Now find c and d for each target."
]
]
},
"final3": {
"dur": 2.784,
"marks": {},
"cues": [
[
0.104,
"Can the combinations reach every point?"
]
]
},
"final4": {
"dur": 4.08,
"marks": {},
"cues": [
[
0.104,
"Last set."
],
[
1.263,
"Steer the combination onto each target."
]
]
},
"play": {
"dur": 13.944,
"marks": {
"go": 4.154
},
"cues": [
[
0.104,
"Playground."
],
[
1.094,
"Nothing here is marked right or wrong."
],
[
4.154,
"Change c and d, drag the tips, or move v and w themselves, and watch the grid of combinations follow."
],
[
12.279,
"Press continue when you're done."
]
]
},
"finish": {
"dur": 10.872,
"marks": {},
"cues": [
[
0.104,
"Well done."
],
[
1.133,
"That's the end of chapter six, linear combinations."
],
[
4.675,
"Next: the column picture, where a whole system of equations turns into one combination."
]
]
}
};