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": 6.96,
"marks": {
"sub": 1.94
},
"cues": [
[
0.104,
"Chapter fifty-six."
],
[
1.94,
"A few patterns show up so often that it pays to recognize them on sight."
]
]
},
"dos": {
"dur": 30.504,
"marks": {
"sq": 5.0,
"cut": 8.216,
"slice": 14.44,
"move": 17.839,
"rect": 20.208,
"ans": 25.221
},
"cues": [
[
0.104,
"The first pattern is a difference of two squares: a squared minus b squared."
],
[
5.0,
"Start with a big square, a by a."
],
[
8.216,
"Cut a small b by b square out of its corner."
],
[
11.172,
"The area left is a squared minus b squared."
],
[
14.44,
"Slice the leftover shape into two rectangles, and swing one of them around to the side."
],
[
20.208,
"Now it's one rectangle: a plus b long, and a minus b wide."
],
[
25.221,
"So a squared minus b squared equals a plus b, times a minus b."
]
]
},
"dosex": {
"dur": 25.128,
"marks": {
"ex": 4.05,
"sq": 7.057,
"ans": 13.607,
"no": 18.359
},
"cues": [
[
0.104,
"To use it, ask: is each term a perfect square?"
],
[
4.05,
"Take a squared minus eighty-one b squared."
],
[
7.057,
"a squared is a, squared, and eighty-one b squared is nine b, squared."
],
[
13.607,
"So it factors into a plus nine b, times a minus nine b."
],
[
18.359,
"There's no such pattern for a sum of two squares: a squared plus b squared doesn't factor with real numbers."
]
]
},
"q1": {
"dur": 3.192,
"marks": {},
"cues": [
[
0.091,
"Quick check."
],
[
1.198,
"Factor the difference of squares."
]
]
},
"pst": {
"dur": 37.128,
"marks": {
"sq": 3.906,
"parts": 8.75,
"sum": 15.0,
"minus": 21.055,
"test": 27.578
},
"cues": [
[
0.104,
"The second pattern is a perfect square trinomial."
],
[
3.906,
"Picture a plus b, squared, as a square with side a plus b."
],
[
8.75,
"It splits into an a squared square, a b squared square, and two a b rectangles."
],
[
15.0,
"So a plus b, squared, equals a squared plus two a b plus b squared."
],
[
21.055,
"And a minus b, squared, equals a squared minus two a b plus b squared."
],
[
27.578,
"To spot one, check three things: the first and last terms are perfect squares, and the middle term is twice the product of their square roots."
]
]
},
"pstex": {
"dur": 20.328,
"marks": {
"ends": 5.143,
"mid": 9.362,
"sign": 14.727,
"ans": 16.888
},
"cues": [
[
0.104,
"Try four m squared minus twenty m n plus twenty-five n squared."
],
[
5.143,
"The ends are two m, squared, and five n, squared."
],
[
9.362,
"Twice two m times five n is twenty m n: that matches the middle term."
],
[
14.727,
"The middle sign is minus, so it's two m minus five n, squared."
]
]
},
"q2": {
"dur": 2.736,
"marks": {},
"cues": [
[
0.104,
"Quick check."
],
[
1.133,
"Is it a perfect square?"
]
]
},
"cubes": {
"dur": 40.056,
"marks": {
"sum": 2.422,
"diff": 10.495,
"soap": 19.01,
"ex": 28.398,
"cube": 31.862,
"ans": 34.388
},
"cues": [
[
0.104,
"Two more patterns work with cubes."
],
[
2.422,
"A sum of two cubes: a cubed plus b cubed equals a plus b, times a squared minus a b plus b squared."
],
[
10.495,
"A difference of two cubes: a cubed minus b cubed equals a minus b, times a squared plus a b plus b squared."
],
[
19.01,
"Notice the signs."
],
[
20.56,
"The first sign matches the original, the middle sign is the opposite, and the last sign is always positive."
],
[
28.398,
"For example, a cubed plus eight b cubed."
],
[
31.862,
"Eight b cubed is two b, cubed."
],
[
34.388,
"So it's a plus two b, times a squared minus two a b plus four b squared."
]
]
},
"q3": {
"dur": 2.88,
"marks": {},
"cues": [
[
0.104,
"Quick check."
],
[
1.25,
"Factor the sum of cubes."
]
]
},
"combo": {
"dur": 23.016,
"marks": {
"ex": 2.357,
"gcf": 6.719,
"left": 8.698,
"dos": 12.096,
"ans": 17.435
},
"cues": [
[
0.104,
"Always look for a GCF first."
],
[
2.357,
"Factor eighteen a x squared minus thirty-two a."
],
[
6.719,
"Both terms share two a."
],
[
8.698,
"What's left is nine x squared minus sixteen, a difference of squares: three x, squared, minus four, squared."
],
[
17.435,
"So the answer is two a, times three x plus four, times three x minus four."
]
]
},
"wrap": {
"dur": 24.456,
"marks": {
"w1": 1.003,
"w2": 7.188,
"w3": 15.768,
"w4": 19.193,
"end": 22.357
},
"cues": [
[
0.104,
"To sum up."
],
[
1.003,
"Difference of squares: a squared minus b squared is a plus b, times a minus b."
],
[
7.188,
"Perfect square trinomial: a squared plus or minus two a b plus b squared is a plus or minus b, squared."
],
[
15.768,
"Sum and difference of cubes follow their own patterns."
],
[
19.193,
"Take out a GCF first, then look for a pattern."
],
[
22.357,
"Now try the chapter practice."
]
]
},
"final1": {
"dur": 3.0,
"marks": {},
"cues": [
[
0.091,
"Chapter practice."
],
[
1.471,
"Which pattern fits?"
]
]
},
"final2": {
"dur": 2.664,
"marks": {},
"cues": [
[
0.104,
"Next, factor using the patterns."
]
]
},
"final3": {
"dur": 3.576,
"marks": {},
"cues": [
[
0.104,
"Last one."
],
[
1.094,
"GCF first, then a pattern."
]
]
},
"finish": {
"dur": 4.992,
"marks": {},
"cues": [
[
0.091,
"Great work."
],
[
1.237,
"That's the end of chapter fifty-six, and of unit ten."
]
]
}
};