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": 20.4,
"marks": {
"sub": 10.742
},
"cues": [
[
0.104,
"Chapter twenty-one."
],
[
1.523,
"Taxes and fees."
],
[
3.099,
"Shops, cities and rental companies often add a little extra to a price, and that extra is usually a percent."
],
[
10.742,
"We will see what the percent is a percent of, find the extra amount in three ways, and then work backward from a receipt to the price before the extra."
]
]
},
"rate": {
"dur": 37.608,
"marks": {
"sales": 5.469,
"eight": 10.195,
"forms": 18.19
},
"cues": [
[
0.104,
"Governments collect taxes to pay for shared things, like roads and parks."
],
[
5.469,
"A sales tax is added to what you buy, and it is set as a percent."
],
[
10.195,
"Take an eight percent tax."
],
[
12.201,
"Here is one dollar, which is one hundred cents."
],
[
15.664,
"Eight of those hundred cents are the tax."
],
[
18.19,
"So eight percent means eight cents for every hundred cents."
],
[
22.487,
"It can be written as eight to one hundred, as the fraction eight over one hundred, or as the decimal zero point zero eight."
],
[
31.198,
"Different cities and states choose different rates, but the rate stays the same while prices change."
]
]
},
"dollars": {
"dur": 29.16,
"marks": {
"price": 0.117,
"each": 5.13,
"count": 10.078,
"result": 15.547
},
"cues": [
[
0.117,
"Here is a forty dollar sweater, shown as forty one-dollar chips."
],
[
5.13,
"Every dollar carries its own eight cents of tax, the small pink strip."
],
[
10.078,
"Count the tax chip by chip."
],
[
12.07,
"Eight cents, sixteen, twenty-four, and on up."
],
[
15.547,
"Forty chips with eight cents each make three hundred twenty cents, which is three dollars and twenty cents."
],
[
22.305,
"A bigger price means more tax, because the rate is the same for every dollar."
],
[
27.786,
"That is a proportion."
]
]
},
"method1": {
"dur": 26.304,
"marks": {
"convert": 4.44,
"product": 9.18,
"bar": 14.74,
"money": 20.99
},
"cues": [
[
0.091,
"Now the quick way."
],
[
1.289,
"Method one: multiply the price by the rate."
],
[
4.44,
"First change eight percent to a decimal: zero point zero eight."
],
[
9.18,
"Then multiply: forty times zero point zero eight is three point two."
],
[
14.74,
"On the strip, the tax is eight percent of the price, a small piece beside the forty dollars."
],
[
20.99,
"Money gets two decimal places, so the tax is three dollars and twenty cents."
]
]
},
"method2": {
"dur": 29.712,
"marks": {
"top": 2.474,
"bottom": 5.925,
"equation": 15.677,
"cross": 19.219,
"answer": 23.32
},
"cues": [
[
0.091,
"Method two: a proportion."
],
[
2.474,
"For a hundred dollars of price, eight dollars of tax."
],
[
5.925,
"For a forty dollar price, the tax is unknown."
],
[
9.896,
"Both strips are drawn to the same scale, so the second one is shorter all the way through."
],
[
15.677,
"Eight over one hundred equals x over forty."
],
[
19.219,
"Cross multiply: one hundred x equals three hundred twenty."
],
[
23.32,
"Divide by one hundred, and x is three point two."
],
[
27.201,
"The same three dollars and twenty cents."
]
]
},
"methods": {
"dur": 21.552,
"marks": {
"ask": 1.419,
"eq": 6.172,
"same": 11.12
},
"cues": [
[
0.104,
"There is a third way."
],
[
1.419,
"Ask the question in words: what is eight percent of forty dollars?"
],
[
6.172,
"Translate it: x equals zero point zero eight times forty."
],
[
11.12,
"All three methods land on the same answer."
],
[
13.997,
"Multiply, set a proportion, or write an equation."
],
[
17.786,
"Pick the one that feels easiest, and use another to check."
]
]
},
"q1": {
"dur": 2.904,
"marks": {},
"cues": [
[
0.104,
"Quick check."
],
[
1.237,
"Find the total with tax."
]
]
},
"total": {
"dur": 23.712,
"marks": {
"add": 1.51,
"pct": 9.154,
"one": 17.161
},
"cues": [
[
0.104,
"What do you actually pay?"
],
[
1.51,
"The price plus the tax."
],
[
3.425,
"Forty dollars plus three dollars twenty is forty-three dollars and twenty cents."
],
[
9.154,
"In percents, the price is one hundred percent and the tax adds eight more, so you pay one hundred eight percent of the price."
],
[
17.161,
"That gives a one-step method: one point zero eight times forty is forty-three point two zero."
]
]
},
"original": {
"dur": 42.6,
"marks": {
"receipt": 1.419,
"pct": 10.521,
"eq": 17.943,
"divide": 24.505,
"check": 32.357
},
"cues": [
[
0.104,
"Now work backward."
],
[
1.419,
"You buy headphones, and the receipt says fifty-three dollars and ninety-nine cents, with eight percent tax included."
],
[
8.464,
"What was the price before tax?"
],
[
10.521,
"The total is the whole price plus eight percent more, so it is one hundred eight percent of the original price."
],
[
17.943,
"Write fifty-three ninety-nine equals one point zero eight times the original price."
],
[
24.505,
"Divide both sides by one point zero eight."
],
[
27.526,
"The original price is about forty-nine ninety-nine, rounded to the nearest cent."
],
[
32.357,
"Check forward: one point zero eight times forty-nine ninety-nine is fifty-three point nine eight nine two, which rounds to fifty-three ninety-nine."
]
]
},
"mistake": {
"dur": 25.416,
"marks": {
"wrong": 4.141,
"why": 7.083,
"test": 12.253,
"right": 22.448
},
"cues": [
[
0.104,
"A tempting shortcut is to subtract eight percent of the total."
],
[
4.141,
"That gives about forty-nine sixty-seven."
],
[
7.083,
"But the tax was eight percent of the original price, not eight percent of the total."
],
[
12.253,
"Check it."
],
[
13.034,
"Eight percent of forty-nine sixty-seven is about three ninety-seven, and the total would be fifty-three sixty-four, not fifty-three ninety-nine."
],
[
22.448,
"Divide by one point zero eight instead."
]
]
},
"q2": {
"dur": 3.0,
"marks": {},
"cues": [
[
0.104,
"Quick check."
],
[
1.159,
"Which price gives this total?"
]
]
},
"fee": {
"dur": 26.328,
"marks": {
"bike": 1.966,
"rate": 8.359,
"fee": 12.07,
"total": 19.427
},
"cues": [
[
0.156,
"Fees can work just like taxes."
],
[
1.966,
"A bike shop charges a seventeen percent late fee."
],
[
5.221,
"The regular rental is sixty-five dollars."
],
[
8.359,
"Seventeen percent is zero point one seven."
],
[
12.07,
"Sixty-five times zero point one seven is eleven point oh five, so the fee is eleven dollars and five cents."
],
[
19.427,
"Add it to the rental: sixty-five plus eleven oh five is seventy-six dollars and five cents."
]
]
},
"feeorig": {
"dur": 28.104,
"marks": {
"receipt": 1.185,
"pct": 7.8,
"divide": 15.404,
"check": 20.417
},
"cues": [
[
0.104,
"Backward again."
],
[
1.185,
"A snowboard rental came to sixty-six dollars and eight cents, including a twelve percent late fee."
],
[
7.8,
"The rental price is one hundred percent, the fee adds twelve, so the total is one hundred twelve percent, or one point one two."
],
[
15.404,
"Sixty-six oh eight divided by one point one two is fifty-nine."
],
[
20.417,
"Check: twelve percent of fifty-nine is seven oh eight, and fifty-nine plus seven oh eight is sixty-six oh eight."
]
]
},
"q3": {
"dur": 3.24,
"marks": {},
"cues": [
[
0.104,
"Quick check."
],
[
1.185,
"Find the fee and the total."
]
]
},
"wrap": {
"dur": 22.296,
"marks": {
"w1": 1.589,
"w2": 5.208,
"w3": 13.333,
"w4": 17.786
},
"cues": [
[
0.117,
"Four things to remember."
],
[
1.589,
"A tax or fee is a percent of the original price."
],
[
5.208,
"Extra equals rate times price, and the total is the price plus the extra, or one plus the rate, times the price."
],
[
13.333,
"Know the total and want the original?"
],
[
15.69,
"Divide by one plus the rate."
],
[
17.786,
"Round money to the nearest cent, and check by building the total forward."
]
]
},
"final1": {
"dur": 2.832,
"marks": {},
"cues": [
[
0.104,
"Chapter practice."
],
[
1.628,
"Find the tax."
]
]
},
"final2": {
"dur": 3.768,
"marks": {},
"cues": [
[
0.104,
"Chapter practice."
],
[
1.523,
"Totals and original prices."
]
]
},
"final3": {
"dur": 2.472,
"marks": {},
"cues": [
[
0.104,
"Chapter practice."
],
[
1.628,
"Fees."
]
]
},
"finish": {
"dur": 2.496,
"marks": {},
"cues": [
[
0.104,
"That is the chapter."
],
[
1.406,
"Here is how you did."
]
]
}
};