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": 7.008,
"marks": {
"sub": 1.719
},
"cues": [
[
0.104,
"Chapter forty-four."
],
[
1.719,
"How many ways can you arrange or choose things?"
],
[
4.818,
"It depends on whether order matters."
]
]
},
"order": {
"dur": 23.616,
"marks": {
"perm": 3.802,
"comb": 14.206
},
"cues": [
[
0.156,
"Three friends: Ana, Ben, and Cal."
],
[
3.802,
"If you pick a president and a vice president, Ana then Ben is different from Ben then Ana."
],
[
10.391,
"Order matters, so each arrangement is a permutation."
],
[
14.206,
"If you just pick two of them for a committee, Ana and Ben is the same committee as Ben and Ana."
],
[
19.961,
"Order doesn't matter, so each group is a combination."
]
]
},
"repeat": {
"dur": 28.128,
"marks": {
"code": 3.359,
"s1": 9.18,
"s2": 11.562,
"s3": 13.359,
"mult": 15.052,
"gen": 22.604
},
"cues": [
[
0.104,
"Start with permutations that allow repetition."
],
[
3.359,
"A lock code has three digits, each from zero to nine, and digits can repeat."
],
[
9.18,
"The first digit has ten choices."
],
[
11.562,
"The second still has ten, and so does the third."
],
[
15.052,
"By the counting principle, that's ten times ten times ten, or ten to the third power: one thousand codes."
],
[
22.604,
"In general, choosing r times from n options with repetition gives n to the r."
]
]
},
"norep": {
"dur": 26.376,
"marks": {
"books": 2.969,
"s1": 5.417,
"s2": 7.904,
"s3": 10.143,
"s4": 11.276,
"mult": 12.865,
"fact": 16.484,
"zero": 23.086
},
"cues": [
[
0.117,
"Without repetition, the choices shrink."
],
[
2.969,
"Arrange four different books on a shelf."
],
[
5.417,
"Any of the four can go first."
],
[
7.904,
"Then three are left for the second spot, two for the third, and one for the last."
],
[
12.865,
"Four times three times two times one is twenty-four."
],
[
16.484,
"A product like this is called a factorial, written with an exclamation mark: four factorial."
],
[
23.086,
"By definition, zero factorial is one."
]
]
},
"q1": {
"dur": 2.688,
"marks": {},
"cues": [
[
0.104,
"Quick check."
],
[
1.133,
"Count the arrangements."
]
]
},
"npr": {
"dur": 34.176,
"marks": {
"club": 3.281,
"s": 9.219,
"name": 14.31,
"form": 19.18,
"cancel": 23.438,
"left": 26.289,
"gen": 28.88
},
"cues": [
[
0.104,
"Sometimes you arrange only some of the items."
],
[
3.281,
"A club has six members and needs a president, a vice president, and a secretary."
],
[
9.219,
"That's six choices, then five, then four: one hundred twenty."
],
[
14.31,
"This is called the number of permutations of six things taken three at a time."
],
[
19.18,
"As a formula, it's six factorial over three factorial."
],
[
23.438,
"The three times two times one cancels, leaving six times five times four."
],
[
28.88,
"In general, n factorial over the quantity n minus r, factorial."
]
]
},
"qp": {
"dur": 3.024,
"marks": {},
"cues": [
[
0.091,
"Quick check."
],
[
1.146,
"Arrange some of the items."
]
]
},
"comb": {
"dur": 19.44,
"marks": {
"menu": 2.253,
"ordered": 5.729,
"pairs": 9.544,
"twice": 14.115,
"div": 16.341
},
"cues": [
[
0.104,
"Now let order stop mattering."
],
[
2.253,
"A dessert plate lets you pick two of four desserts."
],
[
5.729,
"Counting ordered picks gives four times three, twelve."
],
[
9.544,
"But apple then berry, and berry then apple, are the same plate."
],
[
14.115,
"Every plate was counted twice."
],
[
16.341,
"So divide by two: six different plates."
]
]
},
"groups": {
"dur": 19.632,
"marks": {
"pick": 1.536,
"three": 4.948,
"each": 10.182,
"rule": 14.089
},
"cues": [
[
0.104,
"Why divide by two?"
],
[
1.536,
"Two items can be ordered in two factorial ways."
],
[
4.948,
"A group of three can be ordered in three factorial, or six, ways."
],
[
10.182,
"Every group shows up that many times in the permutation count."
],
[
14.089,
"So the number of combinations is the number of permutations divided by r factorial."
]
]
},
"q2": {
"dur": 2.856,
"marks": {},
"cues": [
[
0.104,
"Quick check."
],
[
1.12,
"Does order matter here?"
]
]
},
"wrap": {
"dur": 25.68,
"marks": {
"w1": 0.99,
"w2": 6.068,
"w3": 10.43,
"w4": 19.076,
"end": 23.503
},
"cues": [
[
0.104,
"To sum up."
],
[
0.99,
"Order matters: permutations."
],
[
3.698,
"Order doesn't: combinations."
],
[
6.068,
"With repetition, n choices r times gives n to the r."
],
[
10.43,
"Without repetition, the permutations of n things taken r at a time are n factorial over n minus r factorial."
],
[
19.076,
"Combinations are those permutations divided by r factorial."
],
[
23.503,
"Now try the chapter practice."
]
]
},
"final1": {
"dur": 3.024,
"marks": {},
"cues": [
[
0.104,
"Chapter practice."
],
[
1.523,
"Does order matter?"
]
]
},
"final2": {
"dur": 2.496,
"marks": {},
"cues": [
[
0.104,
"Next, count the permutations."
]
]
},
"final3": {
"dur": 2.688,
"marks": {},
"cues": [
[
0.104,
"Last one."
],
[
1.12,
"Count the combinations."
]
]
},
"finish": {
"dur": 4.824,
"marks": {},
"cues": [
[
0.091,
"Excellent."
],
[
1.055,
"That's the end of chapter forty-four, and of unit seven."
]
]
}
};