Skip to content

Commit 4484e86

Browse files
feat(curriculum): Add animations to A1 Chinese Pinyin initials block (freeCodeCamp#64734)
Co-authored-by: Huyen Nguyen <[email protected]>
1 parent 31cf00d commit 4484e86

File tree

56 files changed

+4184
-9
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+4184
-9
lines changed

curriculum/challenges/english/blocks/zh-a1-learn-initials/60e0353cb81cc47458fea682.md

Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,105 @@ Let's practice pronouncing these syllables, and then use `xu` in different tones
2626
# --assignment--
2727

2828
I've listened to the audio and practiced pronouncing the initial and syllables.
29+
30+
# --scene--
31+
32+
```json
33+
{
34+
"setup": {
35+
"background": "company3-reception.png",
36+
"characters": [
37+
{
38+
"character": "Wang Hua",
39+
"position": {
40+
"x": 50,
41+
"y": 15,
42+
"z": 1.4
43+
},
44+
"opacity": 0
45+
}
46+
],
47+
"audio": {
48+
"filename": "ZH_A1_pinyin_initials.mp3",
49+
"startTime": 1,
50+
"startTimestamp": 548.75,
51+
"finishTimestamp": 565.56
52+
}
53+
},
54+
"commands": [
55+
{
56+
"character": "Wang Hua",
57+
"opacity": 1,
58+
"startTime": 0
59+
},
60+
{
61+
"character": "Wang Hua",
62+
"startTime": 1,
63+
"finishTime": 1.66,
64+
"dialogue": {
65+
"text": "x",
66+
"align": "center"
67+
}
68+
},
69+
{
70+
"character": "Wang Hua",
71+
"startTime": 3.39,
72+
"finishTime": 4.24,
73+
"dialogue": {
74+
"text": "xi",
75+
"align": "center"
76+
}
77+
},
78+
{
79+
"character": "Wang Hua",
80+
"startTime": 5.5,
81+
"finishTime": 6.36,
82+
"dialogue": {
83+
"text": "xu",
84+
"align": "center"
85+
}
86+
},
87+
{
88+
"character": "Wang Hua",
89+
"startTime": 8.12,
90+
"finishTime": 9.12,
91+
"dialogue": {
92+
"text": "",
93+
"align": "center"
94+
}
95+
},
96+
{
97+
"character": "Wang Hua",
98+
"startTime": 10.85,
99+
"finishTime": 11.87,
100+
"dialogue": {
101+
"text": "",
102+
"align": "center"
103+
}
104+
},
105+
{
106+
"character": "Wang Hua",
107+
"startTime": 13.47,
108+
"finishTime": 14.68,
109+
"dialogue": {
110+
"text": "",
111+
"align": "center"
112+
}
113+
},
114+
{
115+
"character": "Wang Hua",
116+
"startTime": 16.17,
117+
"finishTime": 17.01,
118+
"dialogue": {
119+
"text": "",
120+
"align": "center"
121+
}
122+
},
123+
{
124+
"character": "Wang Hua",
125+
"opacity": 0,
126+
"startTime": 17.51
127+
}
128+
]
129+
}
130+
```

curriculum/challenges/english/blocks/zh-a1-learn-initials/61243648dc2d14cd09d2d8a8.md

Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,123 @@ Let's practice pronouncing `t` and the syllables, and then use `ti` in different
2828
# --assignment--
2929

3030
I've listened to the audio and practiced pronouncing the initial and syllables.
31+
32+
# --scene--
33+
34+
```json
35+
{
36+
"setup": {
37+
"background": "company3-reception.png",
38+
"characters": [
39+
{
40+
"character": "Wang Hua",
41+
"position": {
42+
"x": 50,
43+
"y": 15,
44+
"z": 1.4
45+
},
46+
"opacity": 0
47+
}
48+
],
49+
"audio": {
50+
"filename": "ZH_A1_pinyin_initials.mp3",
51+
"startTime": 1,
52+
"startTimestamp": 255.92,
53+
"finishTimestamp": 273.11
54+
}
55+
},
56+
"commands": [
57+
{
58+
"character": "Wang Hua",
59+
"opacity": 1,
60+
"startTime": 0
61+
},
62+
{
63+
"character": "Wang Hua",
64+
"startTime": 1,
65+
"finishTime": 1.5,
66+
"dialogue": {
67+
"text": "t",
68+
"align": "center"
69+
}
70+
},
71+
{
72+
"character": "Wang Hua",
73+
"startTime": 2.77,
74+
"finishTime": 3.52,
75+
"dialogue": {
76+
"text": "ta",
77+
"align": "center"
78+
}
79+
},
80+
{
81+
"character": "Wang Hua",
82+
"startTime": 4.44,
83+
"finishTime": 5.27,
84+
"dialogue": {
85+
"text": "te",
86+
"align": "center"
87+
}
88+
},
89+
{
90+
"character": "Wang Hua",
91+
"startTime": 6.48,
92+
"finishTime": 7.27,
93+
"dialogue": {
94+
"text": "ti",
95+
"align": "center"
96+
}
97+
},
98+
{
99+
"character": "Wang Hua",
100+
"startTime": 8.42,
101+
"finishTime": 9.19,
102+
"dialogue": {
103+
"text": "tu",
104+
"align": "center"
105+
}
106+
},
107+
{
108+
"character": "Wang Hua",
109+
"startTime": 11.05,
110+
"finishTime": 11.81,
111+
"dialogue": {
112+
"text": "",
113+
"align": "center"
114+
}
115+
},
116+
{
117+
"character": "Wang Hua",
118+
"startTime": 13.12,
119+
"finishTime": 13.9,
120+
"dialogue": {
121+
"text": "",
122+
"align": "center"
123+
}
124+
},
125+
{
126+
"character": "Wang Hua",
127+
"startTime": 15.18,
128+
"finishTime": 16.11,
129+
"dialogue": {
130+
"text": "",
131+
"align": "center"
132+
}
133+
},
134+
{
135+
"character": "Wang Hua",
136+
"startTime": 17.31,
137+
"finishTime": 17.99,
138+
"dialogue": {
139+
"text": "",
140+
"align": "center"
141+
}
142+
},
143+
{
144+
"character": "Wang Hua",
145+
"opacity": 0,
146+
"startTime": 18.49
147+
}
148+
]
149+
}
150+
```

curriculum/challenges/english/blocks/zh-a1-learn-initials/6168cdfd1ebf040f396099b4.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,51 @@ This word combines the syllables `shū` and `chū`.
3838
The first syllable uses the initial `sh` with the final `u`, and takes the first tone. The second syllable uses the initial `ch` with the final `u`, and takes the first tone.
3939

4040
`输出 (shū chū)` is used when a system, program, or device produces a result, such as text or data.
41+
42+
# --scene--
43+
44+
```json
45+
{
46+
"setup": {
47+
"background": "company3-reception.png",
48+
"characters": [
49+
{
50+
"character": "Wang Hua",
51+
"position": {
52+
"x": 50,
53+
"y": 15,
54+
"z": 1.4
55+
},
56+
"opacity": 0
57+
}
58+
],
59+
"audio": {
60+
"filename": "ZH_A1_pinyin_initials.mp3",
61+
"startTime": 1,
62+
"startTimestamp": 809.82,
63+
"finishTimestamp": 812.42
64+
}
65+
},
66+
"commands": [
67+
{
68+
"character": "Wang Hua",
69+
"opacity": 1,
70+
"startTime": 0
71+
},
72+
{
73+
"character": "Wang Hua",
74+
"startTime": 1,
75+
"finishTime": 2.4,
76+
"dialogue": {
77+
"text": "输出 (shū chū)",
78+
"align": "center"
79+
}
80+
},
81+
{
82+
"character": "Wang Hua",
83+
"opacity": 0,
84+
"startTime": 2.9
85+
}
86+
]
87+
}
88+
```

curriculum/challenges/english/blocks/zh-a1-learn-initials/625b5bbc4d5e84da4928c1d3.md

Lines changed: 111 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,114 @@ Let's practice pronouncing these syllables, and then use `zhu` in different tone
2626
# --assignment--
2727

2828
I've listened to the audio and practiced pronouncing the initial and syllables.
29+
30+
# --scene--
31+
32+
```json
33+
{
34+
"setup": {
35+
"background": "company3-reception.png",
36+
"characters": [
37+
{
38+
"character": "Wang Hua",
39+
"position": {
40+
"x": 50,
41+
"y": 15,
42+
"z": 1.4
43+
},
44+
"opacity": 0
45+
}
46+
],
47+
"audio": {
48+
"filename": "ZH_A1_pinyin_initials.mp3",
49+
"startTime": 1,
50+
"startTimestamp": 676.23,
51+
"finishTimestamp": 692.25
52+
}
53+
},
54+
"commands": [
55+
{
56+
"character": "Wang Hua",
57+
"opacity": 1,
58+
"startTime": 0
59+
},
60+
{
61+
"character": "Wang Hua",
62+
"startTime": 1,
63+
"finishTime": 1.5,
64+
"dialogue": {
65+
"text": "zh",
66+
"align": "center"
67+
}
68+
},
69+
{
70+
"character": "Wang Hua",
71+
"startTime": 2.99,
72+
"finishTime": 3.73,
73+
"dialogue": {
74+
"text": "zha",
75+
"align": "center"
76+
}
77+
},
78+
{
79+
"character": "Wang Hua",
80+
"startTime": 4.89,
81+
"finishTime": 5.63,
82+
"dialogue": {
83+
"text": "zhe",
84+
"align": "center"
85+
}
86+
},
87+
{
88+
"character": "Wang Hua",
89+
"startTime": 7.04,
90+
"finishTime": 7.74,
91+
"dialogue": {
92+
"text": "zhu",
93+
"align": "center"
94+
}
95+
},
96+
{
97+
"character": "Wang Hua",
98+
"startTime": 9.14,
99+
"finishTime": 9.92,
100+
"dialogue": {
101+
"text": "zhū",
102+
"align": "center"
103+
}
104+
},
105+
{
106+
"character": "Wang Hua",
107+
"startTime": 11.07,
108+
"finishTime": 11.94,
109+
"dialogue": {
110+
"text": "zhú",
111+
"align": "center"
112+
}
113+
},
114+
{
115+
"character": "Wang Hua",
116+
"startTime": 13.18,
117+
"finishTime": 14.19,
118+
"dialogue": {
119+
"text": "zhǔ",
120+
"align": "center"
121+
}
122+
},
123+
{
124+
"character": "Wang Hua",
125+
"startTime": 15.44,
126+
"finishTime": 16.02,
127+
"dialogue": {
128+
"text": "zhù",
129+
"align": "center"
130+
}
131+
},
132+
{
133+
"character": "Wang Hua",
134+
"opacity": 0,
135+
"startTime": 16.52
136+
}
137+
]
138+
}
139+
```

0 commit comments

Comments
 (0)