Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
257 lines (249 loc) · 14 KB
/
Copy pathindex.html
File metadata and controls
257 lines (249 loc) · 14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Paper Story Grove: interactive picture books for kids</title>
<meta name="description" content="Six original interactive picture books for young children, including stories set in Kerala and Tamil Nadu. Tap, choose, and discover two endings in every book.">
<meta name="robots" content="index, follow, max-image-preview:large">
<meta name="author" content="brej-29">
<meta name="theme-color" content="#232a66">
<link rel="canonical" href="https://brej-29.github.io/Paper-Story-Grove/">
<link rel="icon" href="favicon.svg" type="image/svg+xml">
<link rel="apple-touch-icon" href="apple-touch-icon.png">
<link rel="manifest" href="site.webmanifest">
<meta property="og:type" content="website">
<meta property="og:site_name" content="Paper Story Grove">
<meta property="og:title" content="Paper Story Grove: interactive picture books for kids">
<meta property="og:description" content="Six original interactive picture books for young children, including stories set in Kerala and Tamil Nadu. Tap, choose, and discover two endings in every book.">
<meta property="og:url" content="https://brej-29.github.io/Paper-Story-Grove/">
<meta property="og:image" content="https://brej-29.github.io/Paper-Story-Grove/og-image.jpg">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<meta property="og:image:alt" content="Three storybook covers: a canoe in the Kerala backwaters, a kolam on a Tamil Nadu doorstep, and a sleepy little cloud.">
<meta property="og:locale" content="en_IN">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="Paper Story Grove: interactive picture books for kids">
<meta name="twitter:description" content="Six original interactive picture books for young children, including stories set in Kerala and Tamil Nadu. Tap, choose, and discover two endings in every book.">
<meta name="twitter:image" content="https://brej-29.github.io/Paper-Story-Grove/og-image.jpg">
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@graph": [
{
"@type": "WebApplication",
"@id": "https://brej-29.github.io/Paper-Story-Grove/#app",
"name": "Paper Story Grove",
"url": "https://brej-29.github.io/Paper-Story-Grove/",
"description": "Six original interactive picture books for young children, including stories set in Kerala and Tamil Nadu. Tap, choose, and discover two endings in every book.",
"image": "https://brej-29.github.io/Paper-Story-Grove/og-image.jpg",
"applicationCategory": "EntertainmentApplication",
"operatingSystem": "Any",
"inLanguage": "en",
"isAccessibleForFree": true,
"offers": {
"@type": "Offer",
"price": "0",
"priceCurrency": "USD"
},
"audience": {
"@type": "PeopleAudience",
"suggestedMinAge": 3,
"suggestedMaxAge": 8
},
"author": {
"@type": "Person",
"name": "brej-29",
"url": "https://github.com/brej-29"
},
"codeRepository": "https://github.com/brej-29/Paper-Story-Grove",
"hasPart": [
{
"@id": "https://brej-29.github.io/Paper-Story-Grove/#ammu"
},
{
"@id": "https://brej-29.github.io/Paper-Story-Grove/#meenu"
},
{
"@id": "https://brej-29.github.io/Paper-Story-Grove/#puff"
},
{
"@id": "https://brej-29.github.io/Paper-Story-Grove/#tamil-lamps"
},
{
"@id": "https://brej-29.github.io/Paper-Story-Grove/#kerala-feast"
},
{
"@id": "https://brej-29.github.io/Paper-Story-Grove/#english-dragon"
}
]
},
{
"@type": "Book",
"@id": "https://brej-29.github.io/Paper-Story-Grove/#ammu",
"name": "Ammu and the Monsoon Boat",
"inLanguage": "en",
"genre": "Children's picture book",
"description": "A girl and her grandfather chase a paper boat through the Kerala backwaters in the first monsoon rain. Two endings.",
"isAccessibleForFree": true
},
{
"@type": "Book",
"@id": "https://brej-29.github.io/Paper-Story-Grove/#meenu",
"name": "Meenu and the Morning Kolam",
"inLanguage": "en",
"genre": "Children's picture book",
"description": "Before sunrise in a Tamil Nadu village, a girl and her grandmother draw a kolam at the doorstep. Two endings.",
"isAccessibleForFree": true
},
{
"@type": "Book",
"@id": "https://brej-29.github.io/Paper-Story-Grove/#puff",
"name": "Puff, the Sleepy Little Cloud",
"inLanguage": "en",
"genre": "Children's bedtime story",
"description": "A gentle bedtime story about a little cloud who cannot find a place to sleep. Two endings.",
"isAccessibleForFree": true
},
{
"@type": "Book",
"@id": "https://brej-29.github.io/Paper-Story-Grove/#tamil-lamps",
"name": "Anu and the Last Little Lamp",
"inLanguage": "en",
"genre": "Children's picture book",
"isAccessibleForFree": true
},
{
"@type": "Book",
"@id": "https://brej-29.github.io/Paper-Story-Grove/#kerala-feast",
"name": "Dev and the Extra Banana Leaf",
"inLanguage": "en",
"genre": "Children's picture book",
"isAccessibleForFree": true
},
{
"@type": "Book",
"@id": "https://brej-29.github.io/Paper-Story-Grove/#english-dragon",
"name": "Moss and the Kite That Sneezed",
"inLanguage": "en",
"genre": "Children's picture book",
"isAccessibleForFree": true
}
]
}
</script>
<link rel="stylesheet" href="styles.css">
</head>
<body data-view="library">
<a class="skip" href="#main">Skip to the stories</a>
<header class="bar">
<a class="wordmark" href="#main"><svg viewBox="0 0 32 32" aria-hidden="true"><path d="M16 8C12 5 6 5 3 7v20c5-2 9-2 13 1 4-3 8-3 13-1V7c-3-2-9-2-13 1Zm0 0v20"/></svg><span>Paper Story Grove</span></a>
<button id="home" class="pill" hidden>
<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M14 5l-7 7 7 7" /></svg><span>All stories</span>
</button>
<p id="barTitle" class="bar-title"></p>
<div class="controls" role="group" aria-label="Sound and motion">
<button id="tSound" class="tog" aria-pressed="true" title="Music and sound effects">
<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M4 9v6h4l5 4V5L8 9H4z" /><path class="on" d="M16.5 8.5a5 5 0 010 7M19 6a8.5 8.5 0 010 12" /><path class="off" d="M16 9l6 6M22 9l-6 6" /></svg>
<span>Sound</span>
</button>
<button id="tRead" class="tog" aria-pressed="false" title="Read each page aloud">
<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M4 5h6a3 3 0 013 3v11a2.5 2.5 0 00-2.500-2H4zM20 5h-4a3 3 0 00-3 3" /><path d="M13 19a2.500 2.500 0 012.500-2H20V5" /></svg>
<span>Read to me</span>
</button>
<button id="tCalm" class="tog" aria-pressed="false" title="Turn off moving pictures">
<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M20 14.500A8 8 0 019.500 4 8 8 0 1020 14.500z" /></svg>
<span>Calm motion</span>
</button>
</div>
</header>
<details class="sound-panel"><summary>Sound settings</summary><div>
<label>Sound volume <input id="soundVolume" type="range" min="0" max="100" value="22"></label>
<label>Music level <input id="musicVolume" type="range" min="0" max="35" value="12"></label>
<button id="stopSound" class="pill">Stop all audio</button>
<p>Soft by default. Sound mutes music and effects; Stop all audio also stops reading. Narration uses your device volume.</p>
</div></details>
<main id="main">
<section id="shelf" aria-labelledby="h1">
<div class="library-hero">
<div id="paperPanorama" aria-hidden="true"></div>
<div class="hero-copy">
<h1 id="h1">Paper Story<br><em>Grove</em></h1>
<p class="lede" id="heroIntro">Tap the pictures, meet the characters, and choose how each story ends.</p>
<a class="library-start" href="#library">Find your story <svg viewBox="0 0 24 24" aria-hidden="true"><path d="M5 12h14m-5-5 5 5-5 5"/></svg></a>
</div>
</div>
<div class="library-heading" id="library"><h2>Pick a storybook</h2><fieldset class="editions"><legend>Illustration style</legend><label><input type="radio" name="edition" id="paperEdition" checked> Hand-drawn <small>6 books</small></label><label><input type="radio" name="edition" id="paintEdition"> Higgsfield <small>3 books</small></label></fieldset></div>
<div class="books" id="books"></div>
<noscript>
<p class="lede">These stories need JavaScript to turn their pages. Please turn it on and reload.</p>
<ul class="lede">
<li><b>Ammu and the Monsoon Boat</b>: a girl and her grandfather chase a paper boat through the Kerala backwaters.</li>
<li><b>Meenu and the Morning Kolam</b>: a girl and her grandmother draw a kolam at the doorstep of a Tamil Nadu village home.</li>
<li><b>Puff, the Sleepy Little Cloud</b>: a bedtime story about a cloud who cannot find a place to sleep.</li>
</ul>
</noscript>
<button id="grown" class="link">A note for grown-ups</button>
</section>
<section id="reader" hidden aria-label="Story">
<details class="narration" id="voicePanel"><summary>Read aloud controls</summary>
<div class="read-actions"><button id="readPlay" class="pill">Play</button><button id="readReplay" class="pill">Replay page</button>
<label>Speed <select id="readSpeed"><option value="0.8">Slower</option><option value="1" selected>Gentle</option><option value="1.15">Brisk</option></select></label></div>
<details><summary>Voice options</summary><label>Voice <select id="readVoice"></select></label>
<label class="online-option"><input id="onlineVoices" type="checkbox"> Allow online browser voices (may send text to the voice provider)</label>
<p>Voice quality depends on your device. Resume repeats the current sentence. Read to me turns on automatic reading as pages change.</p>
</details><p id="readStatus" role="status">Ready to read</p>
</details>
<div class="stage" id="stage"></div>
<nav class="nav" aria-label="Pages">
<button id="prev" class="round" aria-label="Page before">
<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M14 5l-7 7 7 7" /></svg>
</button>
<div class="mid">
<div class="dots" id="dots" role="img"></div>
<button id="hint" class="finds"></button>
</div>
<button id="next" class="round next" aria-label="Next page">
<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M10 5l7 7-7 7" /></svg>
</button>
</nav>
</section>
</main>
<dialog id="notes" aria-labelledby="notesH">
<h2 id="notesH" tabindex="-1" autofocus>A note for grown-ups</h2>
<p>All six stories have a hand-drawn edition. Anu, Dev and Moss also have a Higgsfield edition with moving paintings. Here’s something to look for together in each book.</p>
<div class="book-notes">
<h3>Anu and the Last Little Lamp</h3>
<p>During Karthigai Deepam in Tamil Nadu, families light small clay lamps. Paatti, Anu’s grandmother, lights them while Anu looks out for their neighbour. Ask your child, “What could we do to let someone know we’re waiting for them?”</p>
<h3>Dev and the Extra Banana Leaf</h3>
<p>At Dev’s family feast for Onam in Kerala, each person eats from a banana leaf. His cousin Leela arrives, and the row is full. Before choosing an ending, lay out pretend leaves on your lap. Where could one more person sit?</p>
<h3>Moss and the Kite That Sneezed</h3>
<p>One enormous dragon sneeze tears Mouse’s kite. Pause when Moss admits what happened and let your child suggest a repair. After Mouse and Moss finish theirs, trace the new kite in the air together.</p>
<h3>Ammu and the Monsoon Boat</h3>
<p>Ammu and her grandfather follow a little paper boat through the Kerala backwaters. Listen for the rain together. What might Ammu hear if she follows the drums instead of the quiet lily channel?</p>
<h3>Meenu and the Morning Kolam</h3>
<p>A kolam is a doorstep pattern traditionally drawn with rice flour in Tamil Nadu. Tap the dots with Meenu, then let your child draw a loop on your palm. Will they put a peacock or a sun in the middle?</p>
<h3>Puff, the Sleepy Little Cloud</h3>
<p>Puff is still awake when the world is settling down. Copy a sleepy sound together, then let your child tuck Puff in. Would a cloud feel cosier beside the moon or curled up on a hill?</p>
</div>
<h3>Reading together</h3>
<p>These adventures are original fiction. The places, languages and customs in the Kerala and Tamil Nadu stories are real. Open the word notes below for more about Ammu’s and Meenu’s worlds.</p>
<details id="storyWords"><summary>Words from Ammu’s and Meenu’s stories</summary><div id="notesBody"></div></details>
<p>Tap the star counter for a hint. At an ending, <strong>Try the other way</strong> takes you back to the choice. For a quiet read, switch off <strong>Sound</strong> and turn on <strong>Calm motion</strong>. Taps still show captions. <strong>Read to me</strong> uses an English voice when one is available.</p>
<form method="dialog"><button class="btn">Close</button></form>
</dialog>
<script src="js/art.js"></script>
<script src="js/stories.js"></script>
<script src="js/paper-scenes.js"></script>
<script src="js/illustration.js"></script>
<script src="js/story-tamil-new.js"></script>
<script src="js/story-kerala-new.js"></script>
<script src="js/story-english-new.js"></script>
<script src="js/audio-manifest.js"></script>
<script src="js/narration.js"></script>
<script src="js/sound.js"></script>
<script src="js/living-pages.js"></script>
<script src="js/living.js"></script>
<script src="js/app.js"></script>
</body>
</html>