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": 9.672,
"marks": {
"b": 2.331,
"key": 5.638
},
"cues": [
[
0.091,
"Seven minus three is four."
],
[
2.331,
"Seven plus negative three is also four."
],
[
5.638,
"That's no coincidence, and it's the key idea of this chapter."
]
]
},
"inverse": {
"dur": 18.792,
"marks": {
"def": 4.388,
"ex1": 6.797,
"ex2": 10.312,
"mirror": 13.607
},
"cues": [
[
0.091,
"Every number has an opposite, also called its additive inverse."
],
[
4.388,
"It's the number you add to get zero."
],
[
6.797,
"The additive inverse of three is negative three, and the additive inverse of negative six is six."
],
[
13.607,
"On the number line, a number and its inverse are mirror images across zero."
]
]
},
"rule": {
"dur": 20.88,
"marks": {
"r": 1.211,
"ex": 5.234,
"keep": 7.031,
"chg1": 8.164,
"chg2": 10.482,
"add": 14.076,
"m1": 16.615,
"m2": 17.799,
"land": 19.557
},
"cues": [
[
0.13,
"Here's the rule."
],
[
1.211,
"Subtracting a number is the same as adding its opposite."
],
[
5.234,
"Take seven minus three."
],
[
7.031,
"Keep the seven."
],
[
8.164,
"Change the minus to a plus."
],
[
10.482,
"Change the three to its opposite, negative three."
],
[
14.076,
"Now it's an addition problem you already know: move seven right, then three left."
],
[
19.557,
"You land on four."
]
]
},
"ex1": {
"dur": 12.936,
"marks": {
"rw": 3.008,
"m1": 7.175,
"m2": 8.62,
"land": 10.872
},
"cues": [
[
0.104,
"Now negative three minus five."
],
[
3.008,
"Rewrite it as negative three plus negative five."
],
[
7.175,
"Move three left, then five more to the left."
],
[
10.872,
"The answer is negative eight."
]
]
},
"ex2": {
"dur": 24.552,
"marks": {
"rw": 3.568,
"land": 7.943,
"why": 9.844,
"tiles": 11.445,
"take": 13.737,
"left": 18.255,
"debt": 21.693
},
"cues": [
[
0.104,
"What about negative seven minus negative six?"
],
[
3.568,
"Adding the opposite turns it into negative seven plus six."
],
[
7.943,
"The answer is negative one."
],
[
9.844,
"Here's why it makes sense."
],
[
11.445,
"Start with seven minus tiles."
],
[
13.737,
"Subtracting negative six means taking six minus tiles away."
],
[
18.255,
"One minus tile is left: negative one."
],
[
21.693,
"Taking away a debt leaves you better off."
]
]
},
"q1": {
"dur": 2.88,
"marks": {},
"cues": [
[
0.104,
"Quick check."
],
[
1.107,
"Rewrite, then subtract."
]
]
},
"temp": {
"dur": 16.896,
"marks": {
"fall": 3.698,
"q": 6.562,
"expr": 8.19,
"rw": 11.484,
"ans": 14.818
},
"cues": [
[
0.078,
"In the afternoon, the temperature is five degrees."
],
[
3.698,
"By night it has fallen twelve degrees."
],
[
6.562,
"What is the temperature at night?"
],
[
8.19,
"A fall means subtraction: five minus twelve."
],
[
11.484,
"Add the opposite: five plus negative twelve."
],
[
14.818,
"That's negative seven degrees."
]
]
},
"distance": {
"dur": 25.776,
"marks": {
"drone": 2.904,
"diver": 6.055,
"q": 9.102,
"expr": 10.612,
"rw": 15.846,
"ans": 17.734,
"see": 19.961
},
"cues": [
[
0.091,
"Subtraction also measures distance."
],
[
2.904,
"A drone hovers ninety meters above a lake."
],
[
6.055,
"A diver is forty meters below the surface."
],
[
9.102,
"How far apart are they?"
],
[
10.612,
"Subtract the lower position from the higher one: ninety minus negative forty."
],
[
15.846,
"That's ninety plus forty, which is one hundred thirty meters."
],
[
19.961,
"You can see it on the scale: ninety meters above the surface, plus forty meters below."
]
]
},
"q2": {
"dur": 2.472,
"marks": {},
"cues": [
[
0.104,
"Quick check."
],
[
1.211,
"Find the distance."
]
]
},
"wrap": {
"dur": 16.104,
"marks": {
"w1": 2.37,
"w2": 7.917,
"w3": 10.99,
"end": 13.893
},
"cues": [
[
0.104,
"To subtract, add the opposite."
],
[
2.37,
"Keep the first number, change minus to plus, and change the second number to its opposite."
],
[
7.917,
"Subtracting a positive number moves you left."
],
[
10.99,
"Subtracting a negative number moves you right."
],
[
13.893,
"Now try the chapter practice."
]
]
},
"final1": {
"dur": 3.48,
"marks": {},
"cues": [
[
0.104,
"Chapter practice."
],
[
1.602,
"Find each difference."
]
]
},
"final2": {
"dur": 4.056,
"marks": {},
"cues": [
[
0.104,
"Next, write each subtraction as adding the opposite."
]
]
},
"final3": {
"dur": 4.656,
"marks": {},
"cues": [
[
0.104,
"Last one."
],
[
1.133,
"Decide whether each statement is true or false."
]
]
},
"finish": {
"dur": 5.88,
"marks": {},
"cues": [
[
0.104,
"Well done."
],
[
1.107,
"That's the end of chapter five, subtracting positive and negative numbers."
]
]
}
};