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": 15.144,
"marks": {
"q": 3.464,
"both": 10.365
},
"cues": [
[
0.104,
"Chapter seven: light and sound waves."
],
[
3.464,
"You flip a light switch, and the room fills with light."
],
[
7.552,
"You clap, and a friend across the room hears it."
],
[
10.365,
"What travels from the lamp to your eyes, and from your hands to their ears?"
]
]
},
"waves": {
"dur": 21.0,
"marks": {
"osc": 4.661,
"boat": 8.555,
"duck": 11.836,
"energy": 16.471
},
"cues": [
[
0.117,
"Both are waves."
],
[
1.367,
"A wave is an oscillation that carries energy."
],
[
4.661,
"An oscillation is an up-and-down or back-and-forth motion."
],
[
8.555,
"A speedboat zooms past and makes ripples."
],
[
11.836,
"A duck on the water just bobs up and down as the ripples pass."
],
[
16.471,
"The duck stays where it is."
],
[
18.203,
"What travels across the lake is energy."
]
]
},
"medium": {
"dur": 32.616,
"marks": {
"water": 4.271,
"sound": 8.62,
"space": 14.922,
"em": 19.284,
"sun": 30.13
},
"cues": [
[
0.104,
"Some waves need matter to travel through."
],
[
2.643,
"These are mechanical waves."
],
[
4.271,
"Ripples pass their energy from one water molecule to the next."
],
[
8.62,
"Sound does the same in air, molecule to molecule, from your mouth to a friend's ear."
],
[
14.922,
"So in outer space, where there is no air, you would hear nothing."
],
[
19.284,
"Other waves need no matter at all."
],
[
21.94,
"These electromagnetic waves, like light, X-rays, and radio waves, can cross a vacuum, a space with nothing in it."
],
[
30.13,
"That is how sunlight reaches Earth."
]
]
},
"shape": {
"dur": 24.768,
"marks": {
"rest": 3.529,
"crest": 7.07,
"trough": 9.128,
"amp": 11.172,
"big": 19.18
},
"cues": [
[
0.104,
"We describe every wave with a few measurements."
],
[
3.529,
"Here is a wave on water, with its resting level."
],
[
7.07,
"The high point is the crest."
],
[
9.128,
"The low point is the trough."
],
[
11.172,
"Amplitude is how far the wave rises above the resting level."
],
[
16.393,
"That is half the distance from trough to crest."
],
[
19.18,
"A more energetic wave has a larger amplitude."
],
[
22.669,
"Taller waves carry more energy."
]
]
},
"wavelen": {
"dur": 19.536,
"marks": {
"wl": 0.117,
"tt": 6.693,
"zz": 8.177,
"color": 13.203
},
"cues": [
[
0.117,
"Wavelength is the distance from one point on a wave to the same point on the next wave."
],
[
5.169,
"It can be crest to crest, trough to trough, or between any two matching points."
],
[
10.846,
"We write it with the Greek letter lambda."
],
[
13.203,
"Light has wavelengths too, and they make the colors you see."
],
[
17.109,
"Red has a longer wavelength than blue."
]
]
},
"freq": {
"dur": 28.896,
"marks": {
"dock": 1.784,
"ten": 6.263,
"two": 9.505,
"inv": 18.997
},
"cues": [
[
0.104,
"Now count the waves."
],
[
1.784,
"Stand on a dock and count how many waves pass in ten seconds."
],
[
6.263,
"Ten waves pass: that is a high frequency."
],
[
9.505,
"Only two pass: that is a low frequency."
],
[
12.995,
"Frequency is the number of waves that pass a point each second, and we measure it in hertz."
],
[
18.997,
"If the waves travel at the same speed, many waves in the same time must be packed close together."
],
[
25.326,
"So a higher frequency means a shorter wavelength."
]
]
},
"speed": {
"dur": 25.392,
"marks": {
"eq": 2.409,
"ex": 6.589,
"medium": 12.904,
"light": 21.094
},
"cues": [
[
0.117,
"How fast does a wave travel?"
],
[
2.409,
"Wave speed equals frequency times wavelength."
],
[
6.589,
"Five waves per second, each two meters long, travel ten meters every second."
],
[
12.904,
"The speed also depends on what the wave moves through."
],
[
15.703,
"Sound is a mechanical wave, and it travels faster in water than in air."
],
[
21.094,
"Light does the opposite."
],
[
22.539,
"It travels faster in air than in water."
]
]
},
"q1": {
"dur": 3.144,
"marks": {},
"cues": [
[
0.104,
"Quick check."
],
[
1.107,
"Waves and their measurements."
]
]
},
"wrap1": {
"dur": 25.2,
"marks": {
"w1": 0.99,
"w2": 7.005,
"w3": 15.951,
"end": 23.411
},
"cues": [
[
0.104,
"To sum up."
],
[
0.99,
"Waves carry energy."
],
[
2.5,
"Mechanical waves need matter, and electromagnetic waves do not."
],
[
7.005,
"Amplitude is the height above rest, wavelength is the length of one wave, and frequency is waves per second."
],
[
15.951,
"Speed equals frequency times wavelength, so at the same speed, higher frequency means shorter waves."
],
[
23.411,
"Next: what waves do."
]
]
},
"part2": {
"dur": 2.184,
"marks": {},
"cues": [
[
0.091,
"Part two."
],
[
1.003,
"What waves do."
]
]
},
"reflect": {
"dur": 27.864,
"marks": {
"mirror": 0.104,
"echo": 7.656,
"inc": 11.263,
"normal": 14.401,
"out": 17.318,
"law": 22.461,
"back": 24.505
},
"cues": [
[
0.104,
"When a wave bounces off a surface, that is reflection."
],
[
4.193,
"You see yourself in a mirror because light reflects off it."
],
[
7.656,
"An echo is a sound wave reflecting off a cliff."
],
[
11.263,
"Here a ray comes in."
],
[
12.76,
"This is the incident ray."
],
[
14.401,
"Draw a line straight out from the surface."
],
[
17.318,
"The reflected ray leaves at the same angle on the other side of that line."
],
[
22.461,
"Angle in equals angle out."
],
[
24.505,
"Aim straight at the wall, and the wave comes straight back."
]
]
},
"refract": {
"dur": 19.368,
"marks": {
"pencil": 0.104,
"slow": 3.568,
"bend": 7.096,
"leg": 15.938
},
"cues": [
[
0.104,
"Put a pencil in a glass of water, and it looks bent."
],
[
3.568,
"Light travels more slowly in water than in air."
],
[
7.096,
"When a wave enters a new material at an angle, its speed changes, and its path bends."
],
[
13.529,
"This bending is called refraction."
],
[
15.938,
"It is also why your legs look short when you stand in a pool."
]
]
},
"meet": {
"dur": 29.16,
"marks": {
"gap": 2.461,
"jetty": 8.359,
"two": 12.435,
"con": 17.786,
"des": 23.737
},
"cues": [
[
0.104,
"Waves can also bend around things."
],
[
2.461,
"When waves pass through a small opening, they spread out beyond it."
],
[
6.927,
"That is diffraction."
],
[
8.359,
"You can see it when ocean waves squeeze through a gap in a pier."
],
[
12.435,
"And when two waves overlap, they add together."
],
[
16.016,
"This is interference."
],
[
17.786,
"When crest meets crest, they make a bigger wave."
],
[
21.367,
"That is constructive interference."
],
[
23.737,
"When crest meets trough, they cancel out."
],
[
26.784,
"That is destructive interference."
]
]
},
"absorb": {
"dur": 26.424,
"marks": {
"abs": 0.091,
"ocean": 5.391,
"apple": 10.781,
"heat": 19.271
},
"cues": [
[
0.091,
"Absorption is when a wave gives its energy to the matter it passes through."
],
[
5.391,
"Sunlight is absorbed by the ocean, so the deeper you swim, the darker it gets."
],
[
10.781,
"This is also how things get their color."
],
[
13.242,
"A red apple absorbs every color except red, and reflects red to your eyes."
],
[
19.271,
"The absorbed light turns into heat."
],
[
22.018,
"That is why dark things warm up in the sun, like pavement on a hot day."
]
]
},
"q2": {
"dur": 2.304,
"marks": {},
"cues": [
[
0.104,
"Quick check."
],
[
1.133,
"What waves do."
]
]
},
"wrap2": {
"dur": 21.144,
"marks": {
"w1": 0.951,
"w2": 5.234,
"w3": 11.536,
"end": 18.542
},
"cues": [
[
0.091,
"To sum up."
],
[
0.951,
"Reflection bounces a wave, at the same angle it came in."
],
[
5.234,
"Refraction bends a wave when its speed changes."
],
[
8.711,
"Diffraction spreads it past an opening."
],
[
11.536,
"Interference adds waves together, and absorption turns wave energy into other energy."
],
[
18.542,
"Next: light and the spectrum."
]
]
},
"part3": {
"dur": 3.672,
"marks": {},
"cues": [
[
0.104,
"Part three."
],
[
1.198,
"Light and the electromagnetic spectrum."
]
]
},
"transverse": {
"dur": 22.992,
"marks": {
"rope": 0.104,
"fields": 10.716,
"light": 18.216
},
"cues": [
[
0.104,
"Electromagnetic waves are transverse waves."
],
[
3.451,
"They wiggle at right angles to the direction they travel, like a rope shaken up and down while the wave runs along it."
],
[
10.716,
"Inside, electric and magnetic fields oscillate at right angles to each other."
],
[
15.99,
"That gives these waves their name."
],
[
18.216,
"We call them light waves, though most of them are invisible to our eyes."
]
]
},
"spectrum": {
"dur": 30.6,
"marks": {
"band": 0.091,
"vis": 10.938,
"low": 20.586,
"high": 25.82
},
"cues": [
[
0.091,
"Sort electromagnetic waves by wavelength, and you get the electromagnetic spectrum."
],
[
5.833,
"Wavelengths run from thousands of meters down to a trillionth of a meter."
],
[
10.938,
"We can see only a thin slice, visible light, from seven hundred to four hundred nanometers."
],
[
17.799,
"A nanometer is a billionth of a meter."
],
[
20.586,
"At one end, the waves are long, with low frequency and low energy."
],
[
25.82,
"At the other end, they are short, with high frequency and high energy."
]
]
},
"lowend": {
"dur": 20.616,
"marks": {
"radio": 0.078,
"micro": 5.938,
"ir": 12.357
},
"cues": [
[
0.078,
"Radio waves are the longest, with the lowest energy."
],
[
4.01,
"They carry music to your radio."
],
[
5.938,
"Microwaves cook your food, because their frequency is just right for shaking water molecules."
],
[
12.357,
"Infrared sits just beyond red light."
],
[
15.352,
"Warm things give it off, so night vision goggles use it to spot people in the dark."
]
]
},
"highend": {
"dur": 40.584,
"marks": {
"vis": 0.104,
"uv": 12.318,
"x": 19.857,
"gamma": 27.904,
"mnem": 32.943
},
"cues": [
[
0.104,
"Visible light runs from red, the longest wave, to violet, the shortest."
],
[
5.846,
"Roy G Biv: red, orange, yellow, green, blue, indigo, violet."
],
[
12.318,
"Ultraviolet has a higher frequency and more energy than violet."
],
[
16.992,
"The sun gives it off, and it gives you sunburn."
],
[
19.857,
"X-rays have even more energy."
],
[
22.031,
"Bones absorb them more than soft flesh does, so bones show up in X-ray pictures."
],
[
27.904,
"Gamma rays have the most energy of all, and they can damage living cells."
],
[
32.943,
"To remember the whole order: Roger Makes Instruments: Violins, Ukuleles, Xylophones, and Guitars."
]
]
},
"prism": {
"dur": 26.952,
"marks": {
"white": 0.104,
"prism": 3.255,
"rain": 10.0,
"fast": 18.047
},
"cues": [
[
0.104,
"White light is every color mixed together."
],
[
3.255,
"Send it through a glass prism, and each wavelength bends by a different amount, so the colors fan out."
],
[
10.0,
"A rainbow works the same way."
],
[
11.992,
"Light bends as it enters a raindrop, bounces off the back, and bends again on its way out."
],
[
18.047,
"And light is fast: about three hundred thousand kilometers every second."
],
[
23.685,
"Sunlight reaches Earth in about eight minutes."
]
]
},
"q3": {
"dur": 3.096,
"marks": {},
"cues": [
[
0.104,
"Quick check."
],
[
1.185,
"The electromagnetic spectrum."
]
]
},
"wrap3": {
"dur": 20.904,
"marks": {
"w1": 1.029,
"w2": 6.51,
"w3": 12.708,
"end": 19.688
},
"cues": [
[
0.104,
"To sum up."
],
[
1.029,
"Electromagnetic waves are transverse, and they cross empty space."
],
[
6.51,
"From radio to gamma rays, wavelength shrinks while frequency and energy grow."
],
[
12.708,
"We see only the thin band of visible light, and a prism spreads white light into its colors."
],
[
19.688,
"Next: sound."
]
]
},
"part4": {
"dur": 2.304,
"marks": {},
"cues": [
[
0.104,
"Part four."
],
[
1.133,
"Sound waves."
]
]
},
"sound": {
"dur": 28.104,
"marks": {
"fork": 0.104,
"push": 4.206,
"comp": 8.724,
"exp": 11.081,
"long": 13.62,
"vac": 20.781
},
"cues": [
[
0.104,
"Sound begins with something vibrating, like a tuning fork."
],
[
4.206,
"It pushes nearby molecules together, then lets them spread apart."
],
[
8.724,
"The crowded regions are compressions."
],
[
11.081,
"The spread-out regions are expansions."
],
[
13.62,
"The molecules move back and forth along the direction the sound travels."
],
[
18.841,
"That is a longitudinal wave."
],
[
20.781,
"Sound needs molecules to pass its energy along."
],
[
24.44,
"So an alarm clock sent to outer space would make no sound at all."
]
]
},
"sspeed": {
"dur": 19.08,
"marks": {
"air": 0.091,
"light": 4.414,
"storm": 7.135,
"solid": 11.198
},
"cues": [
[
0.091,
"In air, sound travels about three hundred forty meters per second."
],
[
4.414,
"Light is almost a million times faster."
],
[
7.135,
"That is why you see lightning first, and hear the thunder later."
],
[
11.198,
"Sound travels fastest in solids, because their molecules sit close together and pass the bumps along quickly."
]
]
},
"loud": {
"dur": 31.296,
"marks": {
"amp": 0.091,
"intensity": 2.826,
"far": 9.193,
"db": 15.508,
"plane": 24.596
},
"cues": [
[
0.091,
"A louder sound has a larger amplitude."
],
[
2.826,
"That means more energy passes through each area every second."
],
[
7.487,
"We call that intensity."
],
[
9.193,
"Intensity drops as you move away from the source, which is why far-off sounds seem quieter."
],
[
15.508,
"We measure it in decibels."
],
[
17.526,
"Normal talking is about fifty decibels, and every ten decibels means ten times the intensity."
],
[
24.596,
"A jet taking off is around one hundred forty decibels, so airport workers wear ear protection."
]
]
},
"pitch": {
"dur": 18.168,
"marks": {
"bass": 0.091,
"sop": 4.948,
"def": 9.323,
"same": 12.175
},
"cues": [
[
0.091,
"A bass singer sings low notes: long waves, low frequency."
],
[
4.948,
"A soprano sings high notes: short waves, high frequency."
],
[
9.323,
"How we hear frequency is called pitch."
],
[
12.175,
"Pitch is not loudness."
],
[
14.245,
"A quiet sound can be high, and a loud sound can be low."
]
]
},
"signal": {
"dur": 28.584,
"marks": {
"analog": 0.104,
"digital": 8.672,
"phone": 12.344,
"clean": 20.911
},
"cues": [
[
0.104,
"A sound wave is an analog signal."
],
[
2.526,
"It varies smoothly in amplitude and frequency, so interference can blur it."
],
[
8.672,
"A digital signal sends only ones and zeros."
],
[
12.344,
"Your phone turns your voice into digital pulses, sends them through towers and satellites, and your friend's phone turns them back into sound."
],
[
20.911,
"Small interference does not change a one into a zero, so digital calls come through much clearer."
]
]
},
"q4": {
"dur": 2.256,
"marks": {},
"cues": [
[
0.104,
"Quick check."
],
[
1.107,
"Sound waves."
]
]
},
"wrap4": {
"dur": 17.304,
"marks": {
"w1": 1.003,
"w2": 4.844,
"w3": 9.661,
"end": 15.404
},
"cues": [
[
0.104,
"To sum up."
],
[
1.003,
"Sound is a longitudinal wave, and it needs matter."
],
[
4.844,
"Louder means larger amplitude, and higher pitch means higher frequency."
],
[
9.661,
"Sound is fastest in solids, and digital signals stay clearer than analog ones."
],
[
15.404,
"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": 12.216,
"marks": {},
"cues": [
[
0.104,
"Chapter seven is done."
],
[
2.018,
"Waves carry energy."
],
[
3.438,
"Light is a transverse electromagnetic wave that crosses empty space, and sound is a longitudinal wave that needs matter."
]
]
}
};