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": 10.608,
"marks": {
"sub": 3.867
},
"cues": [
[
0.104,
"Chapter twenty-three."
],
[
1.706,
"Gratuity and commission."
],
[
3.867,
"Two more ways a percent of a total turns into money: a tip for good service, and a share of what you sell."
]
]
},
"words": {
"dur": 22.992,
"marks": {
"grat": 1.471,
"com": 8.203,
"both": 14.141,
"tax": 19.076,
"rule": 21.146
},
"cues": [
[
0.104,
"Two new words."
],
[
1.471,
"A gratuity is a tip: a gift of money you give someone for their service, like the server who brings your meal."
],
[
8.203,
"A commission is a fee paid to someone for helping to sell something, like a salesperson at a store."
],
[
14.141,
"In both cases, how much depends on a total: the bill, or the sales."
],
[
19.076,
"So you find it just like sales tax: the rate times the total."
]
]
},
"tip": {
"dur": 33.36,
"marks": {
"bill": 3.112,
"conv": 6.849,
"mult": 11.094,
"tip": 18.529,
"add": 21.237,
"one": 29.049
},
"cues": [
[
0.091,
"At the end of a meal, the server brings the bill: twenty-five dollars."
],
[
4.753,
"You want to leave a fifteen percent tip."
],
[
6.849,
"Change fifteen percent to the decimal zero point one five."
],
[
11.094,
"Multiply by the bill: twenty-five times zero point one five is three dollars and seventy-five cents."
],
[
18.529,
"That's the tip, and it goes on top of the bill."
],
[
21.237,
"For the total, add: twenty-five plus three seventy-five is twenty-eight dollars and seventy-five cents."
],
[
29.049,
"Or do it in one step: one point one five times twenty-five."
]
]
},
"prop": {
"dur": 25.92,
"marks": {
"same": 1.628,
"b20": 4.896,
"b40": 7.891,
"b80": 10.352,
"double": 12.161,
"line": 14.818,
"prop": 19.18
},
"cues": [
[
0.104,
"Here's something to notice."
],
[
1.628,
"Keep the tip at fifteen percent, and change the bill."
],
[
4.896,
"A twenty dollar bill gets a three dollar tip."
],
[
7.891,
"Forty dollars gets six dollars."
],
[
10.352,
"Eighty dollars gets twelve."
],
[
12.161,
"Double the bill, and the tip doubles too."
],
[
14.818,
"On a graph, the points sit on one straight line through zero."
],
[
19.18,
"The tip is proportional to the bill."
],
[
21.51,
"Commission works the same way: the more you sell, the more you earn."
]
]
},
"q1": {
"dur": 5.136,
"marks": {},
"cues": [
[
0.104,
"Quick check."
],
[
1.12,
"Which picture shows a twenty percent tip on a forty dollar bill?"
]
]
},
"commission": {
"dur": 35.928,
"marks": {
"deal": 3.594,
"sales": 7.552,
"cut": 15.586,
"conv": 19.049,
"mult": 22.266,
"earn": 27.435,
"note": 29.87
},
"cues": [
[
0.104,
"My sister got a summer job at her favorite clothing store."
],
[
3.594,
"Her boss pays her a twelve percent commission on her total sales."
],
[
7.552,
"In her first week, she sold three thousand five hundred dollars of clothes."
],
[
12.487,
"That's thirty-five blocks of one hundred dollars."
],
[
15.586,
"Her commission is twelve dollars out of every hundred."
],
[
19.049,
"Twelve percent is zero point one two."
],
[
22.266,
"Three thousand five hundred times zero point one two is four hundred twenty."
],
[
27.435,
"She earned four hundred twenty dollars."
],
[
29.87,
"Notice the difference from a tip: the customer pays no extra."
],
[
33.711,
"The store pays her a share of the sale."
]
]
},
"proportion": {
"dur": 32.52,
"marks": {
"set": 2.904,
"cross": 7.786,
"eq": 9.336,
"prod": 13.451,
"div": 15.286,
"x": 17.552,
"scale": 19.674,
"same": 28.424
},
"cues": [
[
0.104,
"There's another way to solve it: a proportion."
],
[
2.904,
"Twelve is to one hundred as x is to three thousand five hundred."
],
[
7.786,
"Cross-multiply: one hundred x equals twelve times three thousand five hundred, which is forty-two thousand."
],
[
15.286,
"Divide both sides by one hundred: x is four hundred twenty dollars."
],
[
19.674,
"You can also see it across the table: three thousand five hundred is thirty-five times one hundred, so the commission is thirty-five times twelve."
],
[
28.424,
"The same answer, because a percent is a ratio out of one hundred."
]
]
},
"q2": {
"dur": 2.376,
"marks": {},
"cues": [
[
0.104,
"Quick check."
],
[
1.198,
"Find the commission."
]
]
},
"compare": {
"dur": 38.328,
"marks": {
"offer": 2.565,
"sales": 9.036,
"calc": 13.88,
"bars": 22.318,
"pick": 24.206,
"even": 29.427
},
"cues": [
[
0.104,
"Commission isn't the only way to be paid."
],
[
2.565,
"Amber's boss lets her choose: a twelve percent commission, or a flat fee of five hundred dollars."
],
[
9.036,
"Her total sales for the period are three thousand nine hundred fifty dollars."
],
[
13.88,
"Twelve percent of that is zero point one two times three thousand nine hundred fifty, which is four hundred seventy-four dollars."
],
[
22.318,
"Put the two side by side."
],
[
24.206,
"Four hundred seventy-four is less than five hundred, so she should choose the flat fee."
],
[
29.427,
"Commission would only win if her sales were more than about four thousand one hundred sixty-seven dollars, where twelve percent reaches five hundred."
]
]
},
"q3": {
"dur": 2.592,
"marks": {},
"cues": [
[
0.104,
"Quick check."
],
[
1.198,
"Who received more money?"
]
]
},
"wrap": {
"dur": 26.448,
"marks": {
"w1": 1.003,
"w2": 7.409,
"w3": 11.914,
"w4": 18.984,
"end": 24.245
},
"cues": [
[
0.104,
"To sum up."
],
[
1.003,
"A gratuity, or tip, is a percent of the bill."
],
[
4.792,
"A commission is a percent of the sales."
],
[
7.409,
"Change the percent to a decimal, then multiply by the total."
],
[
11.914,
"A tip is added to the bill."
],
[
14.089,
"A commission is a share the seller earns, and the customer pays no extra."
],
[
18.984,
"Or set up a proportion: the rate over one hundred equals the amount over the total."
],
[
24.245,
"Now try the chapter practice."
]
]
},
"final1": {
"dur": 5.184,
"marks": {},
"cues": [
[
0.104,
"Chapter practice."
],
[
1.497,
"Tips and totals."
],
[
2.891,
"Round money to the nearest cent."
]
]
},
"final2": {
"dur": 2.568,
"marks": {},
"cues": [
[
0.104,
"Chapter practice."
],
[
1.536,
"Commissions."
]
]
},
"finish": {
"dur": 3.336,
"marks": {},
"cues": [
[
0.104,
"Well done."
],
[
1.042,
"That's the end of chapter twenty-three."
]
]
}
};