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.744,
"marks": {
"sub": 3.138,
"move": 9.609
},
"cues": [
[
0.104,
"Chapter one."
],
[
1.12,
"One equation, one line."
],
[
3.138,
"In this chapter you'll see that an equation with two unknowns is really a picture: a straight line."
],
[
9.609,
"And when you change its numbers, the line moves."
]
]
},
"unknowns": {
"dur": 58.176,
"marks": {
"eq": 4.284,
"q": 6.576,
"x1": 12.031,
"y3": 16.107,
"ok1": 17.76,
"pair1": 21.159,
"r2": 33.542,
"r3": 38.411,
"r4": 43.464,
"many": 48.49
},
"cues": [
[
0.104,
"Here's an equation with two unknowns, x and y."
],
[
4.284,
"x plus y equals four."
],
[
6.576,
"An unknown is just a number we haven't found yet."
],
[
9.557,
"So, which numbers make this true?"
],
[
12.031,
"Let's try x equals one."
],
[
13.958,
"Then one plus y has to be four, so y must be three."
],
[
17.76,
"One plus three is four."
],
[
20.156,
"It works."
],
[
21.159,
"So x equals one, y equals three is a solution: numbers that make the equation true."
],
[
28.034,
"We write it as a pair, one, three, always x first, then y."
],
[
33.542,
"Try x equals two."
],
[
35.208,
"Two plus two is four, so y is two."
],
[
38.411,
"x equals four: four plus zero is four, so y is zero."
],
[
43.464,
"Negative numbers are allowed too."
],
[
45.482,
"Negative one plus five is four."
],
[
48.49,
"One equation, and already four solutions."
],
[
51.562,
"In fact there are endlessly many, and every one of them is a pair: an x and a y."
]
]
},
"points": {
"dur": 52.824,
"marks": {
"axes": 2.552,
"mid": 7.552,
"neg": 12.474,
"p1": 17.005,
"p2": 23.242,
"p3": 25.143,
"p4": 28.411,
"look": 32.018,
"line": 33.802,
"half": 35.807,
"halfp": 40.833,
"rule": 43.086,
"name": 48.737
},
"cues": [
[
0.091,
"A pair of numbers is also a point."
],
[
2.552,
"Here are the x axis, going right, and the y axis, going up."
],
[
7.552,
"They cross at the middle, the point zero, zero, called the origin."
],
[
12.474,
"Left of it, x is negative."
],
[
14.974,
"Below it, y is negative."
],
[
17.005,
"The pair one, three means: start at the origin, go one step right, then three steps up."
],
[
23.242,
"Two, two: two right, two up."
],
[
25.143,
"Four, zero: four right, and no steps up."
],
[
28.411,
"Negative one, five: one step left, five up."
],
[
32.018,
"Now look at the four points."
],
[
33.802,
"They sit on one straight line."
],
[
35.807,
"And it isn't only whole numbers."
],
[
37.591,
"One and a half plus two and a half is four, and that point is on the line too."
],
[
43.086,
"Every point on this line is a solution."
],
[
45.833,
"And every solution is a point on this line."
],
[
48.737,
"So the equation x plus y equals four is this line."
]
]
},
"off": {
"dur": 23.16,
"marks": {
"p": 2.279,
"sum": 3.88,
"no": 7.161,
"above": 10.469,
"p2": 13.75,
"below": 17.852,
"end": 19.375
},
"cues": [
[
0.091,
"What about a point that's not on the line?"
],
[
2.279,
"Take three, three."
],
[
3.88,
"Three plus three is six, not four."
],
[
7.161,
"So three, three is not a solution."
],
[
10.469,
"And it sits above the line, where the sum is too big."
],
[
13.75,
"Now take one, one."
],
[
15.195,
"One plus one is two."
],
[
16.823,
"Too small."
],
[
17.852,
"It sits below the line."
],
[
19.375,
"Only on the line is x plus y exactly four."
]
]
},
"q1": {
"dur": 4.776,
"marks": {},
"cues": [
[
0.091,
"Quick check."
],
[
1.172,
"Click any point that solves x minus y equals two."
]
]
},
"slide": {
"dur": 30.384,
"marks": {
"four": 2.969,
"six": 5.755,
"up": 8.216,
"zero": 12.474,
"origin": 13.854,
"neg": 21.237,
"par": 25.143
},
"cues": [
[
0.104,
"Now let's change the numbers and watch the line."
],
[
2.969,
"Here is x plus y equals four again."
],
[
5.755,
"Change the four into a six."
],
[
8.216,
"The line slides up."
],
[
9.57,
"Its points now add up to six instead of four."
],
[
12.474,
"Change it to zero."
],
[
13.854,
"Now the line runs through the origin, the point zero, zero, because zero plus zero is zero."
],
[
21.237,
"Make it negative three, and the line slides further down."
],
[
25.143,
"Notice: changing the right side only slides the line."
],
[
29.193,
"It never turns it."
]
]
},
"tilt": {
"dur": 45.24,
"marks": {
"two": 3.425,
"steep": 8.008,
"why": 10.534,
"xa": 15.208,
"cross": 18.594,
"ya": 22.188,
"four": 26.745,
"three": 28.281,
"minus": 35.195,
"lean": 37.995,
"sum": 39.909
},
"cues": [
[
0.104,
"The numbers in front of x and y do something else."
],
[
3.425,
"Change x plus y equals four into two x plus y equals four."
],
[
8.008,
"The line turns."
],
[
9.336,
"It's steeper now."
],
[
10.534,
"Here's why."
],
[
11.484,
"Where the line crosses the x axis, y is zero."
],
[
15.208,
"So two x equals four, and x equals two."
],
[
18.594,
"The line used to cross at four."
],
[
20.586,
"Now it crosses at two."
],
[
22.188,
"On the y axis, x is zero, so y is still four."
],
[
26.745,
"Same point as before."
],
[
28.281,
"Make it four x plus y equals four, and the line turns more."
],
[
32.982,
"It crosses the x axis at one."
],
[
35.195,
"Now try minus x plus y equals four."
],
[
37.995,
"The line leans the other way."
],
[
39.909,
"So the right side slides the line, and the numbers in front of x and y turn it."
]
]
},
"draw": {
"dur": 58.848,
"marks": {
"eq": 5.664,
"x0": 8.906,
"y2": 13.177,
"p1": 14.57,
"y0": 18.19,
"x3": 22.409,
"p2": 24.362,
"line": 28.073,
"check": 30.729,
"ex2": 43.711,
"a": 47.018,
"b": 52.253,
"line2": 55.234
},
"cues": [
[
0.104,
"So how do you draw a line from its equation, fast?"
],
[
3.216,
"Find two points, and connect them."
],
[
5.664,
"Take two x plus three y equals six."
],
[
8.906,
"First, set x to zero."
],
[
11.185,
"Then three y equals six, so y is two."
],
[
14.57,
"That's the point zero, two, on the y axis."
],
[
18.19,
"Next, set y to zero."
],
[
20.495,
"Then two x equals six, so x is three."
],
[
24.362,
"That's the point three, zero, on the x axis."
],
[
28.073,
"Connect the two points, and there's the line."
],
[
30.729,
"Check a third point to be safe: six, minus two."
],
[
34.701,
"Two times six is twelve, three times minus two is minus six, and twelve minus six is six."
],
[
42.656,
"It's on the line."
],
[
43.711,
"One more: x minus two y equals four."
],
[
47.018,
"x zero gives minus two y equals four, so y is minus two."
],
[
52.253,
"y zero gives x equals four."
],
[
55.234,
"Connect zero, minus two and four, zero."
]
]
},
"q2": {
"dur": 3.552,
"marks": {},
"cues": [
[
0.104,
"Quick check."
],
[
1.107,
"Where does this line cross the axes?"
]
]
},
"origin": {
"dur": 36.48,
"marks": {
"eq": 2.24,
"x0": 4.844,
"y0": 8.125,
"same": 12.096,
"x1": 17.604,
"p": 23.451,
"line": 24.779,
"note": 29.062
},
"cues": [
[
0.104,
"One case needs a little care."
],
[
2.24,
"Two x minus y equals zero."
],
[
4.844,
"Set x to zero: then y is zero."
],
[
8.125,
"Set y to zero: then x is zero."
],
[
12.096,
"Both times we land on the same point, the origin."
],
[
15.312,
"One point isn't enough to draw a line."
],
[
17.604,
"So pick another x, say one."
],
[
19.831,
"Two minus y equals zero, so y is two."
],
[
23.451,
"The point one, two."
],
[
24.779,
"Now we have two points, and the line goes through the origin."
],
[
29.062,
"This happens whenever the right side is zero."
],
[
32.305,
"Keep this line in mind: it's the first equation in our next chapter."
]
]
},
"flat": {
"dur": 24.864,
"marks": {
"eq1": 1.576,
"zero": 2.852,
"h": 8.555,
"eq2": 12.148,
"v": 16.862,
"sum": 21.198
},
"cues": [
[
0.104,
"What if a letter is missing?"
],
[
1.576,
"y equals two."
],
[
2.852,
"That's really zero x plus y equals two."
],
[
5.833,
"x can be anything, and y must be two."
],
[
8.555,
"So the line is flat: every point at height two."
],
[
12.148,
"And x equals three is really x plus zero y equals three."
],
[
16.862,
"y can be anything, x must be three."
],
[
19.57,
"The line stands straight up."
],
[
21.198,
"A zero in front of a letter means that letter is free."
]
]
},
"q3": {
"dur": 7.032,
"marks": {},
"cues": [
[
0.104,
"Your turn."
],
[
1.068,
"Change the numbers, or drag the line, until it passes through both marked points."
]
]
},
"wrap": {
"dur": 23.808,
"marks": {
"w1": 0.977,
"w2": 6.849,
"w3": 10.312,
"w4": 15.508,
"end": 21.693
},
"cues": [
[
0.104,
"To sum up."
],
[
0.977,
"An equation in x and y has many solutions, and each is a pair of numbers."
],
[
6.849,
"Drawn as points, the solutions make a straight line."
],
[
10.312,
"The right side slides the line."
],
[
12.76,
"The numbers in front of x and y turn it."
],
[
15.508,
"To draw the line, set x to zero, then y to zero, and connect the two points."
],
[
21.693,
"Now try the chapter practice."
]
]
},
"final1": {
"dur": 3.0,
"marks": {},
"cues": [
[
0.104,
"Chapter practice."
],
[
1.523,
"Is the point a solution?"
]
]
},
"final2": {
"dur": 2.256,
"marks": {},
"cues": [
[
0.104,
"Next, find the missing number."
]
]
},
"final3": {
"dur": 3.504,
"marks": {},
"cues": [
[
0.091,
"Now find where each line crosses the axes."
]
]
},
"final4": {
"dur": 3.072,
"marks": {},
"cues": [
[
0.104,
"Last set."
],
[
1.185,
"Make the line with your hands."
]
]
},
"play": {
"dur": 11.424,
"marks": {
"go": 3.958
},
"cues": [
[
0.104,
"Playground."
],
[
1.094,
"Nothing here is marked right or wrong."
],
[
3.958,
"Change the numbers, drag the line, draw on the board if you like, and see what moves."
],
[
9.688,
"Press continue when you're done."
]
]
},
"finish": {
"dur": 8.424,
"marks": {},
"cues": [
[
0.104,
"Well done."
],
[
1.094,
"That's the end of chapter one, one equation, one line."
],
[
4.805,
"Next: two equations, and the one point they share."
]
]
}
};