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": 11.448,
"marks": {
"q": 6.927
},
"cues": [
[
0.091,
"Temperatures drop below zero."
],
[
2.578,
"Bank balances go negative."
],
[
4.57,
"Divers go below sea level."
],
[
6.927,
"In this chapter, you'll learn to add numbers that can be positive or negative."
]
]
},
"signs": {
"dur": 14.256,
"marks": {
"plus": 2.643,
"neg": 8.138
},
"cues": [
[
0.104,
"Positive numbers are greater than zero."
],
[
2.643,
"You can write them with or without a plus sign: plus two and two are the same number."
],
[
8.138,
"Negative numbers are less than zero, and they always have a minus sign, like negative six."
]
]
},
"lineRule": {
"dur": 10.656,
"marks": {
"pos": 2.956,
"neg": 5.638,
"end": 8.529
},
"cues": [
[
0.104,
"To add on a number line, start at zero."
],
[
2.956,
"A positive number moves you to the right."
],
[
5.638,
"A negative number moves you to the left."
],
[
8.529,
"Wherever you stop is the sum."
]
]
},
"ex1": {
"dur": 12.168,
"marks": {
"m1": 2.617,
"m2": 5.833,
"land": 8.125
},
"cues": [
[
0.104,
"Let's add five and negative three."
],
[
2.617,
"Start at zero and move five to the right."
],
[
5.833,
"Then move three to the left."
],
[
8.125,
"You stop at two."
],
[
9.284,
"So five plus negative three is two."
]
]
},
"ex2": {
"dur": 8.376,
"marks": {
"m1": 3.021,
"m2": 4.648,
"land": 6.576
},
"cues": [
[
0.104,
"Now negative one plus negative four."
],
[
3.021,
"Move one to the left."
],
[
4.648,
"Then four more to the left."
],
[
6.576,
"You stop at negative five."
]
]
},
"ex3": {
"dur": 9.624,
"marks": {
"m1": 2.839,
"m2": 4.544,
"cross": 6.224,
"land": 7.904
},
"cues": [
[
0.104,
"What about five plus negative seven?"
],
[
2.839,
"Move five to the right."
],
[
4.544,
"Then seven to the left."
],
[
6.224,
"This time you pass zero."
],
[
7.904,
"You stop at negative two."
]
]
},
"q1": {
"dur": 2.376,
"marks": {},
"cues": [
[
0.104,
"Quick check."
],
[
1.081,
"Use the number line."
]
]
},
"opposites": {
"dur": 16.992,
"marks": {
"ex": 5.521,
"m1": 8.49,
"m2": 10.143,
"land": 11.745,
"rule": 13.411
},
"cues": [
[
0.104,
"Two numbers the same distance from zero, on opposite sides, are called opposites."
],
[
5.521,
"Eight and negative eight are opposites."
],
[
8.49,
"Move eight to the right, then eight to the left, and you are back at zero."
],
[
13.411,
"A number plus its opposite is always zero."
]
]
},
"tiles": {
"dur": 22.608,
"marks": {
"show": 1.667,
"pair": 7.565,
"ex": 11.979,
"cancel": 17.982,
"left": 19.557
},
"cues": [
[
0.117,
"Here's another way to see it."
],
[
1.667,
"Think of each positive one as a plus tile, and each negative one as a minus tile."
],
[
7.565,
"A plus tile and a minus tile make zero, so they cancel out."
],
[
11.979,
"For five plus negative three, lay out five plus tiles and three minus tiles."
],
[
17.982,
"Three pairs cancel."
],
[
19.557,
"Two plus tiles are left, so the sum is two."
]
]
},
"absValue": {
"dur": 22.08,
"marks": {
"dist": 2.995,
"bars": 6.667,
"ex1": 8.451,
"ex2": 13.906,
"never": 16.536
},
"cues": [
[
0.104,
"One more idea before the shortcut rules."
],
[
2.995,
"The absolute value of a number is its distance from zero."
],
[
6.667,
"We write it with two bars."
],
[
8.451,
"Negative six is six units from zero, so its absolute value is six."
],
[
13.906,
"Six is also six units from zero."
],
[
16.536,
"A distance is never negative, so an absolute value is never negative."
]
]
},
"sameSign": {
"dur": 23.136,
"marks": {
"rule": 1.562,
"do": 5.742,
"ex": 9.57,
"tiles": 12.175,
"ans": 17.122
},
"cues": [
[
0.104,
"Now the shortcuts."
],
[
1.562,
"When both numbers have the same sign, they move the same way."
],
[
5.742,
"Add their absolute values, and keep the sign they share."
],
[
9.57,
"Negative six plus negative eight: six minus tiles and eight minus tiles, with nothing to cancel."
],
[
17.122,
"Six plus eight is fourteen, and the sign stays negative: negative fourteen."
]
]
},
"diffSign": {
"dur": 25.56,
"marks": {
"do": 4.245,
"sign": 7.982,
"ex": 12.057,
"tiles": 14.323,
"left": 15.872,
"calc": 18.008
},
"cues": [
[
0.104,
"When the signs are different, the numbers pull in opposite directions."
],
[
4.245,
"Subtract the smaller absolute value from the larger one."
],
[
7.982,
"The answer takes the sign of the number that is farther from zero."
],
[
12.057,
"Negative eleven plus five: five pairs cancel, and six minus tiles are left."
],
[
18.008,
"Eleven minus five is six, and negative eleven is farther from zero, so the answer is negative six."
]
]
},
"q2": {
"dur": 3.504,
"marks": {},
"cues": [
[
0.104,
"Quick check."
],
[
1.12,
"Two questions about different signs."
]
]
},
"story": {
"dur": 27.096,
"marks": {
"up5": 3.815,
"up2": 5.482,
"down": 6.862,
"q": 10.443,
"expr": 11.602,
"s1": 17.617,
"s2": 19.779,
"ans": 23.229
},
"cues": [
[
0.091,
"An elevator starts at the ground floor, which we call zero."
],
[
3.815,
"It goes up five floors, then up two more."
],
[
6.862,
"Then it goes down eleven floors to the parking garage."
],
[
10.443,
"Where does it stop?"
],
[
11.602,
"Write each move as a number: plus five, plus two, and negative eleven."
],
[
17.617,
"Five plus two is seven."
],
[
19.779,
"Seven plus negative eleven is negative four."
],
[
23.229,
"The elevator stops four floors below the ground floor."
]
]
},
"q3": {
"dur": 2.832,
"marks": {},
"cues": [
[
0.104,
"Quick check."
],
[
1.133,
"A question about temperature."
]
]
},
"wrap": {
"dur": 18.408,
"marks": {
"w1": 2.591,
"w2": 7.07,
"w3": 13.451,
"end": 16.276
},
"cues": [
[
0.104,
"To add positive and negative numbers: if the signs are the same, add the absolute values and keep the sign."
],
[
7.07,
"If the signs are different, subtract the absolute values, and use the sign of the number farther from zero."
],
[
13.451,
"A number plus its opposite is zero."
],
[
16.276,
"Now try the chapter practice."
]
]
},
"final1": {
"dur": 2.736,
"marks": {},
"cues": [
[
0.104,
"Chapter practice."
],
[
1.562,
"Find each sum."
]
]
},
"final2": {
"dur": 6.864,
"marks": {},
"cues": [
[
0.104,
"Next, decide whether each sum is positive, negative, or zero, without working it out fully."
]
]
},
"final3": {
"dur": 4.656,
"marks": {},
"cues": [
[
0.104,
"Last one."
],
[
1.133,
"Decide whether each statement is true or false."
]
]
},
"finish": {
"dur": 5.064,
"marks": {},
"cues": [
[
0.091,
"Well done."
],
[
1.094,
"That's the end of chapter four, adding positive and negative numbers."
]
]
}
};