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": 23.64,
"marks": {
"sub": 9.505
},
"cues": [
[
0.104,
"Chapter twelve."
],
[
1.302,
"Subtracting positive and negative numbers."
],
[
4.193,
"Subtraction can remove an amount, compare two positions, or find a change."
],
[
9.505,
"The sign of the amount matters."
],
[
11.432,
"Taking away a negative value can make the result larger."
],
[
15.169,
"We will explain why with actual tiles, then connect the picture to a useful rule: subtracting a number means adding its opposite."
]
]
},
"opposite": {
"dur": 27.744,
"marks": {
"positive": 4.362,
"negative": 9.792,
"zero": 16.68
},
"cues": [
[
0.117,
"Before subtracting, find the opposite of the number being subtracted."
],
[
4.362,
"Positive four and negative four sit the same distance from zero on opposite sides."
],
[
9.792,
"The opposite of negative four is positive four."
],
[
13.268,
"The opposite of positive four is negative four."
],
[
16.68,
"Their sum is zero, so each is the additive inverse of the other."
],
[
21.119,
"Zero is its own opposite."
],
[
23.242,
"The opposite changes the sign of the value, while keeping its magnitude."
]
]
},
"removePositive": {
"dur": 34.752,
"marks": {
"remove": 6.51,
"result": 21.589
},
"cues": [
[
0.091,
"Start with six positive tiles, each worth positive one."
],
[
4.05,
"Our problem is six minus two."
],
[
6.51,
"Subtracting positive two removes two positive tiles from the working collection."
],
[
12.188,
"Watch these two original tiles move into the removal tray."
],
[
16.406,
"We are keeping track of the tiles taken away, but they no longer belong to the result."
],
[
21.589,
"Four positive tiles remain."
],
[
23.451,
"Six minus two equals four."
],
[
25.677,
"This also equals six plus negative two, because taking away two positive units has the same effect as adding two negative units."
]
]
},
"missingPositive": {
"dur": 44.4,
"marks": {
"pairs": 7.578,
"unchanged": 21.471,
"remove": 30.247,
"result": 33.581
},
"cues": [
[
0.104,
"Now start with two positive tiles and subtract positive five."
],
[
4.401,
"There are only two positive tiles to remove."
],
[
7.578,
"First, add three zero pairs."
],
[
10.885,
"Each pair contains one positive tile and one negative tile, with combined value zero."
],
[
17.122,
"We now have five positive tiles and three negative tiles."
],
[
21.471,
"Their total is still positive two: five plus negative three equals two."
],
[
26.68,
"Adding zero pairs has not changed our starting number."
],
[
30.247,
"Now remove all five positive tiles."
],
[
33.581,
"The three negative tiles remain."
],
[
35.964,
"Two minus five equals negative three."
],
[
39.167,
"The extra tiles made removal possible; they did not change the starting value."
]
]
},
"q1": {
"dur": 10.2,
"marks": {
"ask": 1.146
},
"cues": [
[
0.091,
"Quick check."
],
[
1.146,
"Start with two negative tiles and subtract positive three."
],
[
5.078,
"Choose the smallest collection of zero pairs that makes this removal possible."
]
]
},
"removeNegative": {
"dur": 43.488,
"marks": {
"pairs": 12.122,
"unchanged": 18.802,
"remove": 26.536,
"result": 29.18
},
"cues": [
[
0.117,
"Here is three minus negative two."
],
[
2.995,
"Start with three positive tiles."
],
[
5.456,
"To subtract negative two, we must remove two negative tiles, but none are available yet."
],
[
12.122,
"Add two zero pairs first."
],
[
14.648,
"They contribute zero, so the starting value remains three."
],
[
18.802,
"The collection now has five positive tiles and two negative tiles."
],
[
23.477,
"Five plus negative two is still three."
],
[
26.536,
"Take away the two negative tiles."
],
[
29.18,
"Five positive tiles remain."
],
[
31.146,
"Three minus negative two equals five."
],
[
34.023,
"Removing a negative contribution increases the value."
],
[
37.93,
"That is why subtracting negative two has the same effect as adding positive two."
]
]
},
"negativeStart": {
"dur": 36.864,
"marks": {
"remove": 9.076,
"result": 16.081
},
"cues": [
[
0.078,
"A negative starting value works the same way."
],
[
3.242,
"Start with four negative tiles and calculate negative four minus negative two."
],
[
9.076,
"We already have enough negative tiles, so remove two of the original four."
],
[
14.271,
"No zero pairs are needed."
],
[
16.081,
"Two negative tiles remain."
],
[
17.865,
"Negative four minus negative two equals negative two."
],
[
21.966,
"The result has increased from negative four to negative two, even though it is still below zero."
],
[
28.125,
"Increasing does not always mean becoming positive."
],
[
31.667,
"The sign of the starting number does not change what subtraction asks us to remove."
]
]
},
"q2": {
"dur": 13.32,
"marks": {
"ask": 1.081
},
"cues": [
[
0.091,
"Quick check."
],
[
1.081,
"Start with five negative tiles and subtract negative seven."
],
[
5.143,
"Two zero pairs have been added without changing the starting value."
],
[
8.828,
"Choose the tiles that remain after removing seven negative tiles."
]
]
},
"rewrite": {
"dur": 37.056,
"marks": {
"rule": 3.568,
"example": 14.675,
"other": 20.143
},
"cues": [
[
0.117,
"The pictures give us one rule that works for every sign."
],
[
3.568,
"Keep the first number."
],
[
5.013,
"Change subtraction to addition."
],
[
7.083,
"Replace the number being subtracted with its opposite."
],
[
10.417,
"In symbols, a minus b equals a plus negative b."
],
[
14.675,
"Three minus negative two becomes three plus positive two, which equals five."
],
[
20.143,
"Negative four minus positive two becomes negative four plus negative two, which equals negative six."
],
[
27.682,
"The first number keeps its sign."
],
[
29.596,
"Only the number being subtracted is replaced by its additive inverse."
],
[
34.01,
"Then use the addition ideas from the previous chapter."
]
]
},
"lineNegative": {
"dur": 35.736,
"marks": {
"start": 4.023,
"opposite": 7.708,
"move": 11.927,
"result": 17.708
},
"cues": [
[
0.104,
"Try two minus negative five on an exact number line."
],
[
4.023,
"The starting number is positive two."
],
[
6.445,
"Place the dot there."
],
[
7.708,
"Replace subtracting negative five with adding positive five."
],
[
11.927,
"From two, move five units to the right."
],
[
14.753,
"The arrow starts at two, not at zero."
],
[
17.708,
"The endpoint is seven."
],
[
19.57,
"Two minus negative five equals two plus five, or seven."
],
[
23.815,
"Removing a negative amount and adding its positive opposite give the same result."
],
[
29.076,
"You do not need to guess a direction from the two minus signs; first identify the signed number being subtracted."
]
]
},
"linePositive": {
"dur": 36.192,
"marks": {
"start": 3.216,
"opposite": 5.078,
"move": 13.008,
"result": 18.177
},
"cues": [
[
0.104,
"Now calculate negative three minus four."
],
[
3.216,
"Start at negative three."
],
[
5.078,
"The opposite of positive four is negative four, so rewrite the calculation as negative three plus negative four."
],
[
13.008,
"Move four units left from negative three."
],
[
15.69,
"The endpoint is negative seven."
],
[
18.177,
"Negative three minus four equals negative seven."
],
[
22.161,
"The first number stays negative three throughout the rewrite."
],
[
26.003,
"Subtracting a positive amount decreases the value; subtracting a negative amount increases it."
],
[
32.812,
"Both statements fit the tile picture and the number line."
]
]
},
"q3": {
"dur": 9.216,
"marks": {
"ask": 1.12
},
"cues": [
[
0.104,
"Quick check."
],
[
1.12,
"Start at negative two and subtract negative six."
],
[
4.909,
"Choose the endpoint after adding the opposite of negative six."
]
]
},
"crossZero": {
"dur": 41.352,
"marks": {
"pairs": 8.125,
"unchanged": 11.927,
"remove": 18.633,
"result": 20.951
},
"cues": [
[
0.104,
"What happens when we remove more negative units than we started with?"
],
[
4.388,
"Here is negative five minus negative eight."
],
[
8.125,
"Add three zero pairs to the five negative tiles."
],
[
11.927,
"There are now eight negative tiles and three positive tiles, still totaling negative five."
],
[
18.633,
"Remove the eight negatives."
],
[
20.951,
"The three positives remain."
],
[
22.812,
"Negative five minus negative eight equals positive three."
],
[
27.852,
"The same calculation is negative five plus eight."
],
[
31.471,
"Five units right reach zero, and three more reach positive three."
],
[
36.432,
"Crossing zero follows the same rule; it does not need an exception."
]
]
},
"zero": {
"dur": 35.952,
"marks": {
"keep": 2.8,
"from": 12.539,
"same": 19.701
},
"cues": [
[
0.104,
"A few special cases help us check the rule."
],
[
2.8,
"Subtracting zero changes nothing, because the opposite of zero is zero."
],
[
8.802,
"Negative seven minus zero is negative seven."
],
[
12.539,
"Starting from zero and subtracting negative four means adding positive four."
],
[
17.865,
"The result is four."
],
[
19.701,
"Subtracting a number from itself gives zero."
],
[
23.242,
"For example, negative six minus negative six becomes negative six plus positive six."
],
[
29.935,
"Equal opposites cancel."
],
[
31.654,
"These cases are useful when you want to check whether your signs make sense."
]
]
},
"chain": {
"dur": 40.344,
"marks": {
"rewrite": 9.688,
"first": 19.948,
"last": 23.568
},
"cues": [
[
0.13,
"For a longer calculation, rewrite each subtraction carefully."
],
[
4.714,
"We have negative six minus negative ten plus negative three."
],
[
9.688,
"Keep negative six."
],
[
11.224,
"Replace subtracting negative ten with adding positive ten."
],
[
15.273,
"The last addend is already negative three, so it stays as it is."
],
[
19.948,
"Negative six plus ten equals positive four."
],
[
23.568,
"Then four plus negative three equals one."
],
[
27.057,
"Addition and subtraction at the same level are worked from left to right."
],
[
31.862,
"Track the signed partial sum before continuing."
],
[
35.69,
"Do not change every sign just because you see a subtraction symbol."
]
]
},
"temperature": {
"dur": 39.936,
"marks": {
"change": 6.901,
"gap": 17.969,
"labels": 28.75
},
"cues": [
[
0.104,
"A thermometer starts at eight degrees and later reads negative six degrees."
],
[
4.948,
"We can ask two different questions."
],
[
6.901,
"The signed change is the final reading minus the initial reading: negative six minus eight."
],
[
12.409,
"This equals negative fourteen degrees."
],
[
15.117,
"The negative sign tells us the temperature fell."
],
[
17.969,
"The positive gap between the readings is fourteen degrees, the magnitude of that change."
],
[
23.542,
"On the line, eight units left reach zero and six more reach negative six."
],
[
28.75,
"A fourteen-degree fall has signed change negative fourteen."
],
[
32.305,
"A fourteen-degree gap is a positive distance."
],
[
35.352,
"Read the question carefully so your answer describes the requested quantity."
]
]
},
"altitude": {
"dur": 42.072,
"marks": {
"upper": 9.714,
"lower": 12.8,
"gap": 15.286,
"result": 26.562
},
"cues": [
[
0.091,
"A drone is thirty-five meters above sea level."
],
[
3.724,
"A diver is eighteen meters below sea level."
],
[
7.617,
"How far apart are they vertically?"
],
[
9.714,
"The upper height is positive thirty-five."
],
[
12.8,
"The lower height is negative eighteen."
],
[
15.286,
"For this positive gap, subtract the lower height from the upper height: thirty-five minus negative eighteen."
],
[
21.849,
"Adding the opposite gives thirty-five plus eighteen, or fifty-three."
],
[
26.562,
"The vertical separation is fifty-three meters."
],
[
30.234,
"The amber distance crosses sea level: thirty-five meters above, plus eighteen meters below."
],
[
36.81,
"Heights have signs; the distance between these two positions is positive."
]
]
},
"wrap": {
"dur": 36.456,
"marks": {
"w1": 3.438,
"w2": 8.112,
"w3": 13.242,
"w4": 23.555
},
"cues": [
[
0.169,
"Four ideas make signed subtraction reliable."
],
[
3.438,
"Keep the starting number."
],
[
4.909,
"Replace subtraction with addition of the opposite."
],
[
8.112,
"In the tile picture, subtracting means removing tiles of the specified sign."
],
[
13.242,
"If those tiles are missing, add enough zero pairs first."
],
[
17.148,
"Adding zero preserves the starting value; removing the requested tiles then changes it."
],
[
23.555,
"For a change, use final minus initial and keep the sign."
],
[
27.904,
"For a positive gap, use the distance between positions."
],
[
31.94,
"Now try the chapter practice with your signs and your reasoning together."
]
]
},
"final1": {
"dur": 9.432,
"marks": {
"ask": 2.227
},
"cues": [
[
0.091,
"Chapter practice, set one."
],
[
2.227,
"Subtract positive and negative numbers."
],
[
5.0,
"Rewrite each subtraction as addition of the opposite when it helps."
]
]
},
"final2": {
"dur": 10.392,
"marks": {
"ask": 2.357
},
"cues": [
[
0.104,
"Chapter practice, set two."
],
[
2.357,
"Work with unequal negative values, larger numbers, and a calculation with three terms."
],
[
8.62,
"Keep the signed partial sum."
]
]
},
"final3": {
"dur": 10.488,
"marks": {
"ask": 2.461
},
"cues": [
[
0.104,
"Chapter practice, set three."
],
[
2.461,
"Distinguish a signed temperature change from a positive gap."
],
[
6.393,
"Then explain subtraction with zero pairs and remaining tiles."
]
]
},
"finish": {
"dur": 17.04,
"marks": {
"end": 0.104
},
"cues": [
[
0.104,
"Chapter twelve is complete."
],
[
2.305,
"You can explain why subtracting a negative increases a value, and connect that picture to adding the opposite."
],
[
9.518,
"Your score records first attempts."
],
[
12.188,
"Replay a tile picture or a number-line move whenever you want to check the reasoning."
]
]
}
};