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": 13.992,
"marks": {
"q": 3.503,
"fan": 6.029,
"both": 8.776
},
"cues": [
[
0.104,
"Chapter eight: electricity and magnetism."
],
[
3.503,
"You flip a switch, and a lamp comes on."
],
[
6.029,
"You press a button, and a motor spins."
],
[
8.776,
"These look like two different things, but both come from the tiny charges inside matter."
]
]
},
"charge": {
"dur": 24.912,
"marks": {
"atom": 0.078,
"equal": 6.211,
"gain": 12.513,
"lose": 19.167,
"ion": 22.591
},
"cues": [
[
0.078,
"Every atom has protons, which are positive, and electrons, which are negative."
],
[
6.211,
"When an atom has the same number of each, the charges cancel, and the atom is neutral."
],
[
12.513,
"If an atom gains electrons, it has more negative than positive charge, so it becomes negative."
],
[
19.167,
"If it loses electrons, it is left positive."
],
[
22.591,
"A charged atom is called an ion."
]
]
},
"force": {
"dur": 14.52,
"marks": {
"like": 0.091,
"unlike": 2.357,
"more": 7.708,
"near": 10.951
},
"cues": [
[
0.091,
"Like charges push each other apart."
],
[
2.357,
"Opposite charges pull together."
],
[
4.622,
"These pushes and pulls are called electric forces."
],
[
7.708,
"The more charge there is, the stronger the force."
],
[
10.951,
"And the closer the charges are, the stronger the force."
]
]
},
"static": {
"dur": 27.144,
"marks": {
"rub": 0.104,
"hair": 9.948,
"spark": 17.344,
"bolt": 23.438
},
"cues": [
[
0.104,
"Rub a balloon on your friend's hair, and electrons rub off her hair onto the balloon."
],
[
5.703,
"The balloon ends up negative, and her hair ends up positive."
],
[
9.948,
"Now the hair is pulled toward the balloon."
],
[
12.331,
"Charge that builds up and stays on an object is called static electricity."
],
[
17.344,
"When the extra electrons suddenly jump away, you feel a shock."
],
[
21.589,
"That is static discharge."
],
[
23.438,
"Lightning is the same thing, on an enormous scale."
]
]
},
"field": {
"dur": 21.408,
"marks": {
"field": 0.091,
"plus": 8.62,
"minus": 11.094,
"near": 13.555,
"big": 18.464
},
"cues": [
[
0.091,
"Around every charge is an electric field: the region where its force can be felt."
],
[
5.677,
"Field lines show the direction of the force."
],
[
8.62,
"They point away from a positive charge."
],
[
11.094,
"And they point toward a negative charge."
],
[
13.555,
"The field is strongest close to the charge, and it gets weaker with distance."
],
[
18.464,
"A larger charge makes a larger field."
]
]
},
"induct": {
"dur": 22.464,
"marks": {
"balloon": 0.091,
"push": 9.023,
"stick": 15.859
},
"cues": [
[
0.091,
"Hold a negative balloon near a wall."
],
[
2.266,
"The wall is neutral overall, but the balloon's field pushes the wall's electrons away from the surface."
],
[
9.023,
"That leaves a thin positive layer facing the balloon."
],
[
12.552,
"Pulling charges apart like this is called induction."
],
[
15.859,
"The positive layer is closer than the pushed-away electrons, so the balloon is pulled to the wall, and it sticks."
]
]
},
"q1": {
"dur": 2.808,
"marks": {},
"cues": [
[
0.104,
"Quick check."
],
[
1.081,
"Charge and electric fields."
]
]
},
"wrap1": {
"dur": 23.088,
"marks": {
"w1": 0.99,
"w2": 6.198,
"w3": 13.607,
"end": 20.938
},
"cues": [
[
0.104,
"To sum up."
],
[
0.99,
"Atoms that gain electrons are negative, and atoms that lose them are positive."
],
[
6.198,
"Like charges repel and opposite charges attract, and the force grows with more charge and less distance."
],
[
13.607,
"Field lines point away from positive and toward negative, and a charge can induce the opposite charge nearby."
],
[
20.938,
"Next: charges on the move."
]
]
},
"part2": {
"dur": 2.712,
"marks": {},
"cues": [
[
0.117,
"Part two."
],
[
1.016,
"Current and circuits."
]
]
},
"conduct": {
"dur": 35.064,
"marks": {
"metal": 0.091,
"plastic": 9.492,
"wire": 17.786,
"res": 24.648
},
"cues": [
[
0.091,
"In some materials, electrons move easily."
],
[
3.685,
"These are conductors."
],
[
5.104,
"Copper, gold, and most other metals are good conductors."
],
[
9.492,
"In others, electrons stay put."
],
[
11.784,
"These are insulators, like glass, rubber, plastic, porcelain, and styrofoam."
],
[
17.786,
"A wire is a conductor wrapped in an insulator, so the charges flow along the metal and do not leak out to you."
],
[
24.648,
"A resistor sits in between."
],
[
26.797,
"It lets charges through, but resists them, and usually heats up or lights up, like the filament in a bulb or the coils in a toaster."
]
]
},
"current": {
"dur": 21.912,
"marks": {
"flow": 0.091,
"amp": 3.216,
"dc": 9.115,
"ac": 14.518
},
"cues": [
[
0.091,
"When charges move, that is an electric current."
],
[
3.216,
"We measure it in amperes, or amps, by how much charge passes a point each second."
],
[
9.115,
"In direct current, the charges move one way the whole time, as in a battery."
],
[
14.518,
"In alternating current, they switch direction again and again."
],
[
18.438,
"The outlet on your wall gives alternating current."
]
]
},
"circuit": {
"dur": 27.432,
"marks": {
"loop": 0.091,
"parts": 7.031,
"sw": 16.497,
"open": 18.307,
"close": 24.701
},
"cues": [
[
0.091,
"Current keeps flowing only if the charges have a closed loop to travel around."
],
[
5.208,
"That loop is a circuit."
],
[
7.031,
"It needs a power source, like a battery, and wires to connect everything."
],
[
11.81,
"Usually there is a load too, like a bulb, that the energy is for."
],
[
16.497,
"Often there is a switch as well."
],
[
18.307,
"Open the switch, and the loop is broken, so the current stops."
],
[
22.734,
"It works like a drawbridge on a road."
],
[
24.701,
"Close it, and the charges flow again."
]
]
},
"paths": {
"dur": 21.672,
"marks": {
"series": 0.091,
"break": 3.594,
"parallel": 8.555,
"still": 15.404
},
"cues": [
[
0.091,
"In a series circuit, there is only one path."
],
[
3.594,
"Unscrew one bulb, and the loop is broken, so every bulb goes out."
],
[
8.555,
"In a parallel circuit, the path forks, like a road with a fork in it."
],
[
13.359,
"Each bulb has its own branch."
],
[
15.404,
"Unscrew one bulb, and the charges still flow through the others, so they keep shining."
]
]
},
"q2": {
"dur": 2.736,
"marks": {},
"cues": [
[
0.091,
"Quick check."
],
[
1.107,
"Current and circuits."
]
]
},
"wrap2": {
"dur": 21.984,
"marks": {
"w1": 1.029,
"w2": 5.221,
"w3": 10.951,
"end": 18.164
},
"cues": [
[
0.104,
"To sum up."
],
[
1.029,
"Conductors let charges move, and insulators do not."
],
[
5.221,
"Current is charge flowing each second, measured in amps, and it needs a closed loop."
],
[
10.951,
"In a series circuit, one break stops everything."
],
[
14.635,
"In a parallel circuit, the other paths keep going."
],
[
18.164,
"Next: what pushes the charges, and what slows them down."
]
]
},
"part3": {
"dur": 3.84,
"marks": {},
"cues": [
[
0.104,
"Part three."
],
[
1.172,
"Voltage, resistance, and power."
]
]
},
"battery": {
"dur": 32.04,
"marks": {
"battery": 0.104,
"height": 8.594,
"volts": 22.253,
"nine": 23.906
},
"cues": [
[
0.104,
"A battery is what pushes charges around a circuit."
],
[
3.372,
"Electrons are repelled by the negative end and drawn toward the positive end."
],
[
8.594,
"Voltage tells us how big that push is."
],
[
11.615,
"Think of a ball held up high: the higher it is, the more energy it can gain as it falls."
],
[
17.708,
"In the same way, voltage is the energy each charge can gain."
],
[
22.253,
"We measure it in volts."
],
[
23.906,
"A nine volt battery gives each charge a bigger push than a one point five volt battery, so it lights a small bulb much brighter."
]
]
},
"resist": {
"dur": 29.664,
"marks": {
"hose": 0.078,
"thin": 6.497,
"long": 10.273,
"fil": 18.971
},
"cues": [
[
0.078,
"Resistance is how hard it is for charges to get through something."
],
[
4.675,
"Think of water in a hose."
],
[
6.497,
"A narrow hose is harder to push water through."
],
[
10.273,
"So is a long one."
],
[
11.55,
"Wires work the same way."
],
[
13.229,
"A thin or long wire has more resistance, and a wide, short wire has less."
],
[
18.971,
"In a thin filament, charges collide with atoms, and the energy turns into heat and light, so the bulb glows."
],
[
27.344,
"We measure resistance in ohms."
]
]
},
"ohm": {
"dur": 21.48,
"marks": {
"eq": 0.091,
"up": 5.273,
"down": 10.365,
"ex": 14.128
},
"cues": [
[
0.091,
"Ohm's law ties it together."
],
[
1.966,
"Voltage equals current times resistance."
],
[
5.273,
"Keep the battery the same."
],
[
6.94,
"Make the resistance smaller, and more current flows."
],
[
10.365,
"Make the resistance larger, and less current flows."
],
[
14.128,
"For example, a six volt battery across a two ohm bulb gives three amps, because six divided by two is three."
]
]
},
"power": {
"dur": 32.616,
"marks": {
"eq": 0.104,
"ex": 9.883,
"table": 13.047,
"conv": 22.956
},
"cues": [
[
0.104,
"Electric power is how fast electrical energy is changed into other forms."
],
[
5.573,
"Power equals current times voltage, and we measure it in watts."
],
[
9.883,
"Three amps at four volts is twelve watts."
],
[
13.047,
"A watt is already a rate, so you do not say watts per hour."
],
[
16.628,
"A toaster uses about a thousand watts, a computer two hundred, and a clothes dryer five thousand."
],
[
22.956,
"Energy is never lost."
],
[
25.117,
"In a circuit, electrical energy turns into heat, light, or motion, like the wheels of a toy car."
]
]
},
"q3": {
"dur": 3.768,
"marks": {},
"cues": [
[
0.104,
"Quick check."
],
[
1.159,
"Voltage, resistance, and power."
]
]
},
"wrap3": {
"dur": 22.728,
"marks": {
"w1": 1.016,
"w2": 6.484,
"w3": 12.513,
"end": 20.703
},
"cues": [
[
0.104,
"To sum up."
],
[
1.016,
"Voltage is the push from the battery, and resistance is what slows the flow."
],
[
6.484,
"Voltage equals current times resistance, so more resistance means less current."
],
[
12.513,
"Power equals current times voltage, in watts, and electrical energy turns into heat, light, or motion."
],
[
20.703,
"Next: magnetism."
]
]
},
"part4": {
"dur": 2.232,
"marks": {},
"cues": [
[
0.104,
"Part four."
],
[
1.133,
"Magnetism."
]
]
},
"magnet": {
"dur": 28.824,
"marks": {
"bar": 0.065,
"repel": 4.661,
"attract": 6.224,
"lines": 10.221,
"inside": 22.773
},
"cues": [
[
0.065,
"A magnet has two ends, called poles: north and south."
],
[
4.661,
"Like poles push apart."
],
[
6.224,
"Opposite poles pull together, just like electric charges."
],
[
10.221,
"The area around a magnet is its magnetic field."
],
[
13.49,
"Field lines run outside the magnet from the north pole around to the south pole, and where they crowd together, the force is strongest."
],
[
22.773,
"Inside the magnet they continue from south back to north, so every line is a closed loop."
]
]
},
"earth": {
"dur": 17.328,
"marks": {
"earth": 0.104,
"needle": 2.917,
"why": 8.516
},
"cues": [
[
0.104,
"Earth itself is like a giant magnet."
],
[
2.917,
"A compass needle is a small magnet that is free to turn, so it lines up with Earth's field."
],
[
8.516,
"The end that points north is called the needle's north pole."
],
[
11.823,
"Opposite poles attract, so Earth's pole up north must act like a magnetic south pole."
]
]
},
"electro": {
"dur": 28.824,
"marks": {
"wire": 0.117,
"two": 12.747,
"coil": 16.966,
"turns": 23.919,
"off": 25.898
},
"cues": [
[
0.117,
"Here is the link between the two halves of this chapter."
],
[
3.372,
"Moving charges make a magnetic field."
],
[
5.82,
"So a wire carrying current is surrounded by one."
],
[
9.427,
"Bring a compass close, and the needle swings."
],
[
12.747,
"That means two wires with currents can push or pull on each other."
],
[
16.966,
"Wind the wire into a coil, and the fields add up into a strong magnet, called an electromagnet."
],
[
23.919,
"More turns make a stronger field."
],
[
25.898,
"And switch the current off, and the magnet is gone."
]
]
},
"motor": {
"dur": 17.208,
"marks": {
"loop": 0.104,
"spin": 5.625,
"conv": 12.956
},
"cues": [
[
0.104,
"A wire with current has a magnetic field, so a magnet pushes and pulls on it."
],
[
5.625,
"Put a loop of wire between two magnets, and the forces turn the loop around and around."
],
[
11.81,
"That is a motor."
],
[
12.956,
"A motor changes electric energy into kinetic energy."
]
]
},
"generator": {
"dur": 20.28,
"marks": {
"crank": 0.104,
"bulb": 9.323,
"rev": 14.479
},
"cues": [
[
0.104,
"Now run it backward."
],
[
1.719,
"Turn a loop of wire through a magnetic field, or move a magnet through a coil, and the electrons in the wire are pushed along."
],
[
9.323,
"That makes a current, and the bulb lights."
],
[
11.966,
"This is electromagnetic induction."
],
[
14.479,
"A generator changes kinetic energy into electric energy, the opposite of a motor."
]
]
},
"q4": {
"dur": 2.28,
"marks": {},
"cues": [
[
0.104,
"Quick check."
],
[
1.133,
"Magnetism."
]
]
},
"wrap4": {
"dur": 21.432,
"marks": {
"w1": 1.016,
"w2": 7.083,
"w3": 12.175,
"end": 19.57
},
"cues": [
[
0.104,
"To sum up."
],
[
1.016,
"Magnets have north and south poles."
],
[
3.581,
"Like poles repel, and opposite poles attract."
],
[
7.083,
"A current makes a magnetic field, and a coil makes an electromagnet."
],
[
12.175,
"A motor changes electric energy into motion, and a generator changes motion into electric energy."
],
[
19.57,
"Time for the chapter practice."
]
]
},
"final1": {
"dur": 2.376,
"marks": {},
"cues": [
[
0.104,
"Chapter practice."
],
[
1.523,
"Set one."
]
]
},
"final2": {
"dur": 2.4,
"marks": {},
"cues": [
[
0.104,
"Chapter practice."
],
[
1.484,
"Set two."
]
]
},
"finish": {
"dur": 11.424,
"marks": {},
"cues": [
[
0.104,
"Chapter eight is done."
],
[
1.953,
"Moving charges make a current and a magnetic field, a closed circuit lets them flow, and motors and generators trade electric energy for motion."
]
]
}
};