An AI skill that turns books into animated, narrated, interactive web experiences
JavaScript ai-agentsai-educationanimationclaudeclaude-codeclaude-skillsedtecheducationinteractive-textbookscormtext-to-video
window.TIMINGS = {
"s01": {
"dur": 5.784,
"marks": {
"go": 1.488
},
"cues": [
[
0.138,
"Once upon a time, three little pigs packed their bags and set off to build homes of their own."
]
]
},
"s01b": {
"dur": 5.52,
"marks": {},
"cues": [
[
0.102,
"Goodbye, my dears!"
],
[
2.474,
"And watch out for the big bad wolf!"
]
]
},
"s02": {
"dur": 8.4,
"marks": {
"straw": 0.138,
"build": 3.612
},
"cues": [
[
0.138,
"The first little pig found a big haystack by the road."
],
[
3.612,
"Swish, swoosh, flump!"
],
[
6.125,
"Her house was done before lunch."
]
]
},
"s02b": {
"dur": 3.624,
"marks": {},
"cues": [
[
0.096,
"Easy peasy!"
],
[
1.782,
"Time for a nap."
]
]
},
"s03": {
"dur": 7.848,
"marks": {
"sticks": 0.138,
"hammer": 3.237
},
"cues": [
[
0.138,
"The second little pig gathered a pile of sticks."
],
[
3.237,
"Tap, tap, tap."
],
[
5.513,
"A wobbly little house of sticks."
]
]
},
"s03b": {
"dur": 3.72,
"marks": {},
"cues": [
[
0.098,
"Good enough for me!"
],
[
1.75,
"Let's play some music!"
]
]
},
"s04": {
"dur": 8.64,
"marks": {
"bricks": 0.138,
"laugh": 6.425
},
"cues": [
[
0.138,
"The third little pig chose bricks."
],
[
2.612,
"Brick by brick, all day long, until his arms ached."
],
[
6.425,
"His brother and sister laughed."
]
]
},
"s04b": {
"dur": 3.36,
"marks": {},
"cues": [
[
0.098,
"All that work?"
],
[
1.679,
"You're missing the fun!"
]
]
},
"s04c": {
"dur": 3.744,
"marks": {},
"cues": [
[
0.064,
"Laugh all you like."
],
[
1.494,
"A strong house keeps you safe."
]
]
},
"s05": {
"dur": 7.032,
"marks": {
"wolf": 0.138,
"sniff": 3.638,
"grin": 4.862
},
"cues": [
[
0.138,
"Then, out of the woods, came the big bad wolf."
],
[
3.638,
"He sniffed the air, and he smiled a hungry smile."
]
]
},
"s06a": {
"dur": 3.648,
"marks": {},
"cues": [
[
0.103,
"Little pig, little pig, let me come in!"
]
]
},
"s06b": {
"dur": 3.216,
"marks": {},
"cues": [
[
0.096,
"Not by the hair of my chinny chin chin!"
]
]
},
"s06c": {
"dur": 4.32,
"marks": {},
"cues": [
[
0.103,
"Then I'll huff, and I'll puff, and I'll blow your house in!"
]
]
},
"s06d": {
"dur": 8.52,
"marks": {
"inhale": 0.125,
"blow": 1.225,
"gone": 2.188,
"run": 4.062
},
"cues": [
[
0.125,
"So he huffed, and he puffed, and the straw house flew away!"
],
[
4.062,
"The little pig ran as fast as she could, to her brother's house of sticks."
]
]
},
"s07a": {
"dur": 3.912,
"marks": {},
"cues": [
[
0.103,
"Little pigs, little pigs, let me come in!"
]
]
},
"s07b": {
"dur": 2.832,
"marks": {},
"cues": [
[
0.098,
"Not by the hair of our chinny chin chins!"
]
]
},
"s07c": {
"dur": 7.992,
"marks": {
"inhale": 0.125,
"wobble": 2.362,
"fall": 3.812,
"run": 5.037
},
"cues": [
[
0.125,
"So the wolf huffed, and he puffed, and the stick house wobbled, and down it came!"
],
[
5.037,
"Two little pigs ran to the house of bricks."
]
]
},
"s08a": {
"dur": 5.904,
"marks": {},
"cues": [
[
0.103,
"Little pigs!"
],
[
2.035,
"Let!"
],
[
3.418,
"Me!"
],
[
4.641,
"In!"
]
]
},
"s08b": {
"dur": 2.976,
"marks": {},
"cues": [
[
0.077,
"Not by the hair of our chinny chin chins!"
]
]
},
"s08c": {
"dur": 8.904,
"marks": {
"puff1": 0.138,
"puff2": 2.4,
"puff3": 4.513,
"flop": 6.287
},
"cues": [
[
0.138,
"The wolf huffed, and he puffed."
],
[
2.4,
"He puffed, and he huffed."
],
[
4.513,
"He puffed with all his might, but the brick house did not move one bit."
]
]
},
"s09a": {
"dur": 5.64,
"marks": {
"idea": 0.138,
"climb": 2.513
},
"cues": [
[
0.138,
"Then the wolf had a sneaky idea."
],
[
2.513,
"He crept up onto the roof, toward the chimney."
]
]
},
"s09b": {
"dur": 4.392,
"marks": {},
"cues": [
[
0.103,
"Heh, heh, heh."
],
[
2.114,
"I'll come down the chimney!"
]
]
},
"s09c": {
"dur": 6.456,
"marks": {
"pot": 0.1
},
"cues": [
[
0.1,
"But inside, the third little pig had an idea too."
],
[
3.788,
"He set a big pot of water on the fire."
]
]
},
"s10a": {
"dur": 4.992,
"marks": {
"drop": 0.1,
"splash": 1.975
},
"cues": [
[
0.1,
"Down the chimney came the wolf, and splash!"
],
[
3.075,
"Right into the hot water."
]
]
},
"s10b": {
"dur": 3.144,
"marks": {},
"cues": [
[
0.103,
"Owww!"
],
[
1.449,
"My tail!"
]
]
},
"s10c": {
"dur": 5.616,
"marks": {
"shoot": 0.113,
"away": 1.75
},
"cues": [
[
0.113,
"Up the chimney he shot, and away he ran into the woods."
],
[
3.888,
"And he never came back."
]
]
},
"s11": {
"dur": 11.328,
"marks": {
"dance": 0.125,
"help": 5.062,
"end": 8.713
},
"cues": [
[
0.125,
"From that day on, the three little pigs lived together in the strong brick house."
],
[
5.062,
"The other two helped build new rooms, brick by brick."
],
[
8.713,
"And they all lived happily ever after."
]
]
}
};