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": 6.024,
"marks": {
"sub": 1.667
},
"cues": [
[
0.104,
"Chapter forty-three."
],
[
1.667,
"A compound event is made of two or more events happening together."
]
]
},
"compound": {
"dur": 18.552,
"marks": {
"grid": 2.773,
"ev": 12.188,
"p": 15.677
},
"cues": [
[
0.104,
"Flip a coin and roll a number cube."
],
[
2.773,
"Every pair of results is one outcome: the coin's two sides, times the cube's six faces, makes twelve equally likely outcomes."
],
[
12.188,
"The compound event tails and a three is just one of them."
],
[
15.677,
"So its probability is one twelfth."
]
]
},
"multiply": {
"dur": 30.576,
"marks": {
"sq": 1.523,
"col": 5.755,
"row": 8.932,
"both": 11.823,
"eq": 16.966,
"ind": 18.424,
"rule": 23.359
},
"cues": [
[
0.104,
"There's a faster way."
],
[
1.523,
"Picture all the outcomes as one square of area one."
],
[
5.755,
"Rolling a three takes one sixth of the width."
],
[
8.932,
"Getting tails takes one half of the height."
],
[
11.823,
"Both happen only where the strips overlap: one half of one sixth, which is one twelfth."
],
[
18.424,
"This works because the events are independent: the coin has no effect on the cube."
],
[
23.359,
"For independent events, the probability of A and B is the probability of A times the probability of B."
]
]
},
"q1": {
"dur": 2.544,
"marks": {},
"cues": [
[
0.104,
"Quick check."
],
[
1.12,
"Spin, then flip."
]
]
},
"dep": {
"dur": 31.2,
"marks": {
"first": 4.232,
"keep": 8.372,
"now": 10.326,
"second": 13.997,
"dep": 18.06,
"mult": 21.484,
"simp": 29.557
},
"cues": [
[
0.104,
"Now a bag of ten marbles: four red and six blue."
],
[
4.232,
"Pick one without looking."
],
[
5.794,
"The chance it's red is four tenths."
],
[
8.372,
"Keep that marble out of the bag."
],
[
10.326,
"Now only nine marbles are left, and six of them are blue."
],
[
13.997,
"So the chance the second marble is blue is six ninths."
],
[
18.06,
"The first pick changed the bag, so these events are dependent."
],
[
21.484,
"Multiply the first probability by the second one, after the first event: four tenths times six ninths is twenty-four ninetieths, or four fifteenths."
]
]
},
"replace": {
"dur": 18.984,
"marks": {
"back": 2.461,
"ten": 5.859,
"ind": 7.435,
"diff": 12.943
},
"cues": [
[
0.091,
"Compare that with putting the marble back."
],
[
2.461,
"With replacement, the bag is the same for the second pick: six blue out of ten."
],
[
7.435,
"The picks are independent, and the probability is four tenths times six tenths."
],
[
12.943,
"Without replacement, the second fraction changes: both the top and the bottom can shrink."
]
]
},
"q2": {
"dur": 3.072,
"marks": {},
"cues": [
[
0.104,
"Quick check."
],
[
1.133,
"Two picks without replacement."
]
]
},
"cards": {
"dur": 25.104,
"marks": {
"aces": 2.188,
"first": 4.323,
"out": 8.776,
"left": 9.701,
"mult": 14.05,
"simp": 20.82
},
"cues": [
[
0.091,
"A deck has fifty-two cards, and four of them are aces."
],
[
4.323,
"Draw one card: the chance of an ace is four out of fifty-two."
],
[
8.776,
"Keep it out."
],
[
9.701,
"Now fifty-one cards are left, and only three are aces."
],
[
14.05,
"So the probability of an ace, then another ace, is four fifty-seconds times three fifty-firsts, which is one out of two hundred twenty-one."
],
[
23.073,
"That's less than half of one percent."
]
]
},
"q3": {
"dur": 2.976,
"marks": {},
"cues": [
[
0.104,
"Quick check."
],
[
1.107,
"Independent or dependent?"
]
]
},
"wrap": {
"dur": 19.008,
"marks": {
"w1": 1.016,
"w2": 4.609,
"w3": 8.633,
"end": 16.654
},
"cues": [
[
0.104,
"To sum up."
],
[
1.016,
"A compound event combines two or more events."
],
[
4.609,
"If the events are independent, multiply their probabilities."
],
[
8.633,
"If the first event changes the second, they're dependent: multiply by the second probability after the first event has happened."
],
[
16.654,
"Now try the chapter practice."
]
]
},
"final1": {
"dur": 3.408,
"marks": {},
"cues": [
[
0.104,
"Chapter practice."
],
[
1.536,
"Independent or dependent?"
]
]
},
"final2": {
"dur": 2.376,
"marks": {},
"cues": [
[
0.091,
"Next, independent events."
]
]
},
"final3": {
"dur": 2.784,
"marks": {},
"cues": [
[
0.091,
"Last one."
],
[
1.133,
"Picks without replacement."
]
]
},
"finish": {
"dur": 4.872,
"marks": {},
"cues": [
[
0.091,
"Nice work."
],
[
1.146,
"That's the end of chapter forty-three, compound events."
]
]
}
};