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.744,
"marks": {
"q": 3.425,
"teaser": 6.38
},
"cues": [
[
0.104,
"You can add and subtract positive and negative numbers."
],
[
3.425,
"Now, what happens when you multiply or divide them?"
],
[
6.38,
"And why is a negative times a negative a positive?"
]
]
},
"posNeg": {
"dur": 15.6,
"marks": {
"ex": 2.747,
"j1": 6.875,
"j2": 8.099,
"j3": 9.284,
"land": 10.69,
"rule": 12.539
},
"cues": [
[
0.091,
"Multiplication is repeated addition."
],
[
2.747,
"Three times negative two means three groups of negative two."
],
[
6.875,
"Negative two, negative two, and negative two."
],
[
10.69,
"You land on negative six."
],
[
12.539,
"A positive times a negative is negative."
]
]
},
"pattern": {
"dur": 28.128,
"marks": {
"r1": 1.419,
"r2": 4.531,
"r3": 7.617,
"r4": 10.703,
"step": 13.542,
"r5": 17.643,
"r6": 21.276,
"rule": 25.104
},
"cues": [
[
0.104,
"Now watch a pattern."
],
[
1.419,
"Three times negative two is negative six."
],
[
4.531,
"Two times negative two is negative four."
],
[
7.617,
"One times negative two is negative two."
],
[
10.703,
"Zero times negative two is zero."
],
[
13.542,
"Each time the first number goes down by one, the answer goes up by two."
],
[
17.643,
"So negative one times negative two must be two."
],
[
21.276,
"And negative two times negative two is four."
],
[
25.104,
"A negative times a negative is positive."
]
]
},
"signRule": {
"dur": 21.384,
"marks": {
"flip": 1.471,
"one": 5.925,
"two": 9.427,
"three": 12.773,
"rule": 14.583,
"odd": 16.797,
"even": 19.453
},
"cues": [
[
0.104,
"Here's a way to picture it."
],
[
1.471,
"Think of a negative sign as a flip: it turns an arrow around."
],
[
5.925,
"One flip, and the arrow points left: negative."
],
[
9.427,
"Two flips, and it points right again: positive."
],
[
12.773,
"Three flips, left again."
],
[
14.583,
"So count the negative signs."
],
[
16.797,
"An odd number of them makes the answer negative."
],
[
19.453,
"An even number makes it positive."
]
]
},
"q1": {
"dur": 3.36,
"marks": {},
"cues": [
[
0.104,
"Quick check."
],
[
1.133,
"Decide the sign of each product."
]
]
},
"divide": {
"dur": 27.192,
"marks": {
"q": 5.898,
"ask": 8.346,
"ans": 11.536,
"q2": 16.758,
"count": 20.586,
"ans2": 23.997
},
"cues": [
[
0.104,
"Division follows the same sign rule, because division undoes multiplication."
],
[
5.898,
"What is negative twelve divided by three?"
],
[
8.346,
"Ask: three times what equals negative twelve?"
],
[
11.536,
"Three times negative four is negative twelve, so the answer is negative four."
],
[
16.758,
"And negative ninety-one divided by negative seven?"
],
[
20.586,
"Two negative signs, so the answer is positive."
],
[
23.997,
"Ninety-one divided by seven is thirteen."
]
]
},
"mixed": {
"dur": 21.84,
"marks": {
"sign": 3.125,
"ex": 7.279,
"work": 14.974,
"s1": 17.799,
"s2": 20.052
},
"cues": [
[
0.104,
"When multiplication and division appear together, first count all the negative signs to decide the sign of the answer."
],
[
7.279,
"Twenty divided by negative five, times negative two, has two negative signs, so the answer is positive."
],
[
14.974,
"Then work from left to right with the numbers: twenty divided by five is four, and four times two is eight."
]
]
},
"zero": {
"dur": 11.976,
"marks": {
"ex": 2.292,
"why": 8.711
},
"cues": [
[
0.117,
"One exception to the counting rule."
],
[
2.292,
"If zero is one of the factors, the product is zero, no matter how many negative signs there are."
],
[
8.711,
"Zero is neither positive nor negative."
]
]
},
"q2": {
"dur": 2.352,
"marks": {},
"cues": [
[
0.104,
"Quick check."
],
[
1.081,
"Two questions."
]
]
},
"story": {
"dur": 17.16,
"marks": {
"q": 3.776,
"expr": 6.966,
"ans": 12.943
},
"cues": [
[
0.091,
"A submarine dives three meters every minute."
],
[
3.776,
"Where is it after six minutes, compared with where it started?"
],
[
6.966,
"Each minute is a change of negative three, so multiply: six times negative three."
],
[
12.943,
"That's negative eighteen: eighteen meters lower than where it started."
]
]
},
"wrap": {
"dur": 18.912,
"marks": {
"w1": 3.711,
"w2": 6.55,
"w3": 12.956,
"end": 16.654
},
"cues": [
[
0.104,
"To multiply or divide positive and negative numbers, work out the size of the answer as usual."
],
[
6.55,
"Then count the negative signs."
],
[
8.932,
"An odd number means negative, and an even number means positive."
],
[
12.956,
"And if zero is a factor, the product is zero."
],
[
16.654,
"Now try the chapter practice."
]
]
},
"final1": {
"dur": 3.888,
"marks": {},
"cues": [
[
0.117,
"Chapter practice."
],
[
1.523,
"Simplify each expression."
]
]
},
"final2": {
"dur": 5.256,
"marks": {},
"cues": [
[
0.091,
"Next, decide whether each answer is positive, negative, or zero."
]
]
},
"final3": {
"dur": 4.656,
"marks": {},
"cues": [
[
0.104,
"Last one."
],
[
1.133,
"Decide whether each statement is true or false."
]
]
},
"finish": {
"dur": 6.744,
"marks": {},
"cues": [
[
0.104,
"Well done."
],
[
1.094,
"That's the end of chapter six, multiplying and dividing positive and negative numbers."
]
]
}
};