Skip to content

A toolbox of film styles made in code for Claude Code: 66 ready to use, and your own. Each style is a style prompt plus a demo film made entirely in code by Claude Opus 5.5, with no video model. By Lemomo. · 一套用代码做片的风格工具箱:66 种现成风格,也能做出你自己的

Styles: Satellite Briefing (55) and Engineering Briefing Board (56) in Information & Keynote

lemomo-aic22a31b9f223
diff --git a/.gitignore b/.gitignore
index cb145a8..6a18678 100644
--- a/.gitignore
+++ b/.gitignore
@@ -92,3 +92,11 @@ styles/*/demo/PRODUCTION_LOG*
# 宣传物料(发帖用海报、预告片、教程片),只留本地,不上传 GitHub
/docs/social/
+
+# Source photos, imagery caches and fonts anywhere in a demo stay local (CREDITS names them; build scripts re-fetch)
+styles/*/demo/**/*.ttf
+styles/*/demo/**/*.otf
+styles/*/demo/**/*.tif
+styles/*/demo/**/*.tiff
+styles/*/demo/**/*.npz
+styles/*/demo/assets/raw/
diff --git a/AGENTS.md b/AGENTS.md
index 960da0b..73e14c7 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -31,13 +31,13 @@ If the user hasn't picked a style:
- Link the gallery, where every style has its demo film: https://lemomo-ai.github.io/lemo-opuscar/
<!-- style-list:start -->
-All 43 styles · 全部风格:
+All 45 styles · 全部风格:
- **手绘与绘画 Hand-drawn & Painting** (7): 蜡笔儿童绘本 Crayon Picture Book, 水彩笔刷 Watercolor Brush, 中国水墨 Chinese Ink Wash, 油画厚涂 Impasto Oil Painting, 一笔画 One-line Drawing, 白板讲解 Whiteboard Explainer, 钢笔淡彩 Urban Sketch · Pen & Wash
- **东方传统 East Asian Traditions** (4): 皮影戏 Shadow Puppetry, 浮世绘 Ukiyo-e, 红色窗花剪纸 Red Paper-cut, 纸雕灯影 Paper-cut Lightbox
- **印刷与版画 Print & Printmaking** (5): Risograph 丝网印刷 Risograph Print, 复古半调案卷 Halftone Dossier, 木刻版画 Woodcut Print, 铜版画 Copperplate Engraving, 丝印旅行海报 Silkscreen Travel Poster
- **图形与排版 Graphic & Type** (7): 瑞士动态排版 Swiss Motion Graphics, 60s 间谍片头 60s Spy Title Sequence, 装饰艺术 Art Deco, 蓝图 / 工程制图 Blueprint, 彩色玻璃窗 Stained Glass, 象形运动图形 Pictogram Motion, ASCII / CRT 终端 ASCII / CRT Terminal
-- **信息与发布 Information & Keynote** (5): 数据叙事 Data Storytelling, 等距信息图 Isometric Infographic, 暗色科技发布 Dark Tech Keynote, 活体实机录屏 Living Screencast, 科幻全息界面 Sci-fi Hologram HUD
+- **信息与发布 Information & Keynote** (7): 数据叙事 Data Storytelling, 等距信息图 Isometric Infographic, 暗色科技发布 Dark Tech Keynote, 活体实机录屏 Living Screencast, 科幻全息界面 Sci-fi Hologram HUD, 卫星简报 Satellite Briefing, 工程简报板 Engineering Briefing Board
- **卡通与动画 Cartoon & Anime** (4): 1930s 橡皮管卡通 1930s Rubber Hose Cartoon, 80 年代赛璐璐动画 80s Cel Anime, 科幻情景喜剧卡通 Sci-Fi Sitcom Toon, 50s 扁平卡通 Mid-century Cartoon
- **游戏 Games** (4): 16-bit 像素 RPG 16-bit Pixel RPG, HD-2D, 微游戏快闪(瓦里奥制造式) Microgame Frenzy, 综艺节奏扁平 Game Show Flat
- **电影与时代 Cinema & Eras** (2): 1920s 默片 1920s Silent Film, 后室 / 新怪谈 Liminal Found Footage
diff --git a/README.md b/README.md
index b78b60a..cd00954 100644
--- a/README.md
+++ b/README.md
@@ -4,8 +4,8 @@
**English** · [简体中文](README.zh-CN.md)
-**<!--n-->43<!--/n--> film styles, each with a short film made entirely in code.**<br>
-**<!--n-->43<!--/n--> 种影片风格,每种都配一支完全用代码做出来的短片。**
+**<!--n-->45<!--/n--> film styles, each with a short film made entirely in code.**<br>
+**<!--n-->45<!--/n--> 种影片风格,每种都配一支完全用代码做出来的短片。**
Pick a style, bring your own story, and let your coding agent direct the film.<br>
选一个风格,带上你自己的故事,让你的编程 agent 来当导演。
@@ -178,6 +178,10 @@ Click a frame for its `STYLE.md`.
<tr>
<td width="33%" valign="top"><a href="styles/living-screencast/STYLE.md"><img src="docs/frames/living-screencast.jpg" alt="Living Screencast"></a><br><b>Living Screencast</b><br><i>Clawd Moves In</i><br><sub>Clawd, the Claude Code pixel mascot, hops out of the terminal into the Claude app and acts out plan mode, diff comments and self-checks in a one-take screencast.</sub></td>
<td width="33%" valign="top"><a href="styles/hologram-hud/STYLE.md"><img src="docs/frames/hologram-hud.jpg" alt="Sci-fi Hologram HUD"></a><br><b>Sci-fi Hologram HUD</b><br><i>Volt · Spec Scan</i><br><sub>An e-bike is scanned into a hologram; target boxes lock onto the battery, motor and brakes, and each spec rolls into place.</sub></td>
+<td width="33%" valign="top"><a href="styles/satellite-briefing/STYLE.md"><img src="docs/frames/satellite-briefing.jpg" alt="Satellite Briefing"></a><br><b>Satellite Briefing</b><br><i>The Map Still Says Sea</i><br><sub>A satellite follows the map to the Aral Sea and finds a desert; the only part that came back is the part someone dammed.</sub></td>
+</tr>
+<tr>
+<td width="33%" valign="top"><a href="styles/briefing-board/STYLE.md"><img src="docs/frames/briefing-board.jpg" alt="Engineering Briefing Board"></a><br><b>Engineering Briefing Board</b><br><i>The Ship Decides</i><br><sub>A river needs a bridge; four bridge types are tested on one briefing wall, and the ship that must pass underneath picks the winner.</sub></td>
</tr>
</table>
diff --git a/README.zh-CN.md b/README.zh-CN.md
index c351fe9..d57c488 100644
--- a/README.zh-CN.md
+++ b/README.zh-CN.md
@@ -4,7 +4,7 @@
[English](README.md) · **简体中文**
-**<!--n-->43<!--/n--> 种影片风格,每种都配一支完全用代码做出来的短片。**
+**<!--n-->45<!--/n--> 种影片风格,每种都配一支完全用代码做出来的短片。**
选一个风格,带上你自己的故事,让你的编程 agent 来当导演。
@@ -174,6 +174,10 @@ agent 会读三份指南,像一个小工作室一样开工。指南是英文
<tr>
<td width="33%" valign="top"><a href="styles/living-screencast/STYLE.md"><img src="docs/frames/living-screencast.jpg" alt="活体实机录屏"></a><br><b>活体实机录屏</b><br>Living Screencast<br><i>Clawd Moves In</i><br><sub>像素小人 Clawd 跳出终端、搬进 Claude 应用,在一镜到底的录屏里演示 Plan 模式、diff 评论和自检。</sub></td>
<td width="33%" valign="top"><a href="styles/hologram-hud/STYLE.md"><img src="docs/frames/hologram-hud.jpg" alt="科幻全息界面"></a><br><b>科幻全息界面</b><br>Sci-fi Hologram HUD<br><i>Volt · Spec Scan</i><br><sub>一辆电助力车被扫描成全息线框,目标框依次锁定电池、电机、刹车,参数逐个滚到真值。</sub></td>
+<td width="33%" valign="top"><a href="styles/satellite-briefing/STYLE.md"><img src="docs/frames/satellite-briefing.jpg" alt="卫星简报"></a><br><b>卫星简报</b><br>Satellite Briefing<br><i>The Map Still Says Sea</i><br><sub>卫星照着地图去找咸海,找到的是沙漠;唯一回来的那一小块,是有人筑坝留住的。</sub></td>
+</tr>
+<tr>
+<td width="33%" valign="top"><a href="styles/briefing-board/STYLE.md"><img src="docs/frames/briefing-board.jpg" alt="工程简报板"></a><br><b>工程简报板</b><br>Engineering Briefing Board<br><i>The Ship Decides</i><br><sub>一条河要架桥,四种桥型在一面简报墙上逐个受检,拍板的是桥下要过的船。</sub></td>
</tr>
</table>
diff --git a/docs/frames/briefing-board.jpg b/docs/frames/briefing-board.jpg
new file mode 100644
index 0000000..786dbe4
Binary files /dev/null and b/docs/frames/briefing-board.jpg differ
diff --git a/docs/frames/satellite-briefing.jpg b/docs/frames/satellite-briefing.jpg
new file mode 100644
index 0000000..4d53364
Binary files /dev/null and b/docs/frames/satellite-briefing.jpg differ
diff --git a/styleboard/catalog.json b/styleboard/catalog.json
index 610dae1..374f0eb 100644
--- a/styleboard/catalog.json
+++ b/styleboard/catalog.json
@@ -475,6 +475,40 @@
],
"dur": 39.0
},
+ {
+ "slug": "satellite-briefing",
+ "num": "55",
+ "en": "Satellite Briefing",
+ "cn": "卫星简报",
+ "cat": "信息与发布",
+ "cat_en": "Information & Keynote",
+ "film": "The Map Still Says Sea",
+ "line": "A satellite follows the map to the Aral Sea and finds a desert; the only part that came back is the part someone dammed.",
+ "line_cn": "卫星照着地图去找咸海,找到的是沙漠;唯一回来的那一小块,是有人筑坝留住的。",
+ "uses": [
+ "Climate & environment",
+ "Investigations & news explainers",
+ "Geography & history"
+ ],
+ "dur": 37.8
+ },
+ {
+ "slug": "briefing-board",
+ "num": "56",
+ "en": "Engineering Briefing Board",
+ "cn": "工程简报板",
+ "cat": "信息与发布",
+ "cat_en": "Information & Keynote",
+ "film": "The Ship Decides",
+ "line": "A river needs a bridge; four bridge types are tested on one briefing wall, and the ship that must pass underneath picks the winner.",
+ "line_cn": "一条河要架桥,四种桥型在一面简报墙上逐个受检,拍板的是桥下要过的船。",
+ "uses": [
+ "Engineering decisions",
+ "Option comparisons",
+ "Briefings & explainers"
+ ],
+ "dur": 40.0
+ },
{
"slug": "rubber-hose",
"num": "26",
diff --git a/styleboard/img/briefing-board_0.jpg b/styleboard/img/briefing-board_0.jpg
new file mode 100644
index 0000000..628018c
Binary files /dev/null and b/styleboard/img/briefing-board_0.jpg differ
diff --git a/styleboard/img/credits.json b/styleboard/img/credits.json
index edb49c2..79f4a7f 100644
--- a/styleboard/img/credits.json
+++ b/styleboard/img/credits.json
@@ -199,5 +199,11 @@
},
"midcentury-toon_0.jpg": {
"frame": true
+ },
+ "satellite-briefing_0.jpg": {
+ "frame": true
+ },
+ "briefing-board_0.jpg": {
+ "frame": true
}
}
\ No newline at end of file
diff --git a/styleboard/img/satellite-briefing_0.jpg b/styleboard/img/satellite-briefing_0.jpg
new file mode 100644
index 0000000..9530707
Binary files /dev/null and b/styleboard/img/satellite-briefing_0.jpg differ
diff --git a/styleboard/index.html b/styleboard/index.html
index f222ddc..f052144 100644
--- a/styleboard/index.html
+++ b/styleboard/index.html
@@ -3,19 +3,19 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
-<title>Lemo-Opuscar · 43 film styles for Claude Code, made in code</title>
-<meta name="description" content="Lemo-Opuscar: 43 film styles for Claude Code. Each style is a reusable prompt plus a short film made entirely in code by Claude Opus 5.5, with no video model. Includes OPUSCAR 98, 98 years of Best Picture. Official site of github.com/lemomo-ai/lemo-opuscar.">
+<title>Lemo-Opuscar · 45 film styles for Claude Code, made in code</title>
+<meta name="description" content="Lemo-Opuscar: 45 film styles for Claude Code. Each style is a reusable prompt plus a short film made entirely in code by Claude Opus 5.5, with no video model. Includes OPUSCAR 98, 98 years of Best Picture. Official site of github.com/lemomo-ai/lemo-opuscar.">
<link rel="canonical" href="https://lemomo-ai.github.io/lemo-opuscar/">
<meta property="og:type" content="website">
<meta property="og:site_name" content="Lemo-Opuscar">
<meta property="og:url" content="https://lemomo-ai.github.io/lemo-opuscar/">
-<meta property="og:title" content="Lemo-Opuscar · 43 film styles for Claude Code, made in code">
-<meta property="og:description" content="Lemo-Opuscar: 43 film styles for Claude Code. Each style is a reusable prompt plus a short film made entirely in code by Claude Opus 5.5, with no video model. Includes OPUSCAR 98, 98 years of Best Picture. Official site of github.com/lemomo-ai/lemo-opuscar.">
+<meta property="og:title" content="Lemo-Opuscar · 45 film styles for Claude Code, made in code">
+<meta property="og:description" content="Lemo-Opuscar: 45 film styles for Claude Code. Each style is a reusable prompt plus a short film made entirely in code by Claude Opus 5.5, with no video model. Includes OPUSCAR 98, 98 years of Best Picture. Official site of github.com/lemomo-ai/lemo-opuscar.">
<meta property="og:image" content="https://lemomo-ai.github.io/lemo-opuscar/img/feature_opuscar98.jpg">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@lemomo_ai">
-<meta name="twitter:title" content="Lemo-Opuscar · 43 film styles for Claude Code, made in code">
-<meta name="twitter:description" content="Lemo-Opuscar: 43 film styles for Claude Code. Each style is a reusable prompt plus a short film made entirely in code by Claude Opus 5.5, with no video model. Includes OPUSCAR 98, 98 years of Best Picture. Official site of github.com/lemomo-ai/lemo-opuscar.">
+<meta name="twitter:title" content="Lemo-Opuscar · 45 film styles for Claude Code, made in code">
+<meta name="twitter:description" content="Lemo-Opuscar: 45 film styles for Claude Code. Each style is a reusable prompt plus a short film made entirely in code by Claude Opus 5.5, with no video model. Includes OPUSCAR 98, 98 years of Best Picture. Official site of github.com/lemomo-ai/lemo-opuscar.">
<meta name="twitter:image" content="https://lemomo-ai.github.io/lemo-opuscar/img/feature_opuscar98.jpg">
<script type="application/ld+json">
{
@@ -26,7 +26,7 @@
"@id": "https://lemomo-ai.github.io/lemo-opuscar/",
"url": "https://lemomo-ai.github.io/lemo-opuscar/",
"name": "Lemo-Opuscar gallery",
- "description": "Lemo-Opuscar: 43 film styles for Claude Code. Each style is a reusable prompt plus a short film made entirely in code by Claude Opus 5.5, with no video model. Includes OPUSCAR 98, 98 years of Best Picture. Official site of github.com/lemomo-ai/lemo-opuscar.",
+ "description": "Lemo-Opuscar: 45 film styles for Claude Code. Each style is a reusable prompt plus a short film made entirely in code by Claude Opus 5.5, with no video model. Includes OPUSCAR 98, 98 years of Best Picture. Official site of github.com/lemomo-ai/lemo-opuscar.",
"about": {
"@id": "https://github.com/lemomo-ai/lemo-opuscar"
},
@@ -43,7 +43,7 @@
"name": "Lemo-Opuscar",
"url": "https://github.com/lemomo-ai/lemo-opuscar",
"codeRepository": "https://github.com/lemomo-ai/lemo-opuscar",
- "description": "43 film styles, each a style prompt plus a demo film made entirely in code, packaged as a Claude Code skill.",
+ "description": "45 film styles, each a style prompt plus a demo film made entirely in code, packaged as a Claude Code skill.",
"license": "https://opensource.org/licenses/MIT",
"author": {
"@id": "https://github.com/lemomo-ai"
@@ -297,9 +297,9 @@ footer .fine-cn{margin:6px 0 0;font:400 13px var(--cn);color:var(--dim)}
<p class="tagline-cn">每个风格是一份可复用的提示词,外加一支完全用代码导演、作画、配乐的短片。</p>
<a class="repo" href="https://github.com/lemomo-ai/lemo-opuscar" target="_blank" rel="noopener"><svg viewBox="0 0 16 16" aria-hidden="true"><path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.01 8.01 0 0016 8c0-4.42-3.58-8-8-8z"/></svg><span>Get the styles on GitHub</span></a>
<div class="stats">
- <div class="stat"><div class="wreath"><svg><use href="#laurel"/></svg><b>43</b></div><span>Nominees</span></div>
+ <div class="stat"><div class="wreath"><svg><use href="#laurel"/></svg><b>45</b></div><span>Nominees</span></div>
<div class="stat"><div class="wreath"><svg><use href="#laurel"/></svg><b>9</b></div><span>Categories</span></div>
- <div class="stat"><div class="wreath"><svg><use href="#laurel"/></svg><b>44</b></div><span>Minutes of film</span></div>
+ <div class="stat"><div class="wreath"><svg><use href="#laurel"/></svg><b>45</b></div><span>Minutes of film</span></div>
</div>
</div>
<div class="carpet"><i></i><i></i><i></i><i></i><b></b><b></b></div>
@@ -578,7 +578,7 @@ footer .fine-cn{margin:6px 0 0;font:400 13px var(--cn);color:var(--dim)}
</div>
</section>
<section class="category" id="information-keynote">
- <header class="cat-head"><svg class="lf"><use href="#laurel"/></svg><div><p class="cat-no">Category 05</p><h2>Information &amp; Keynote</h2><p class="cat-cn">信息与发布 · 5 nominees</p></div><svg class="lf"><use href="#laurel"/></svg></header>
+ <header class="cat-head"><svg class="lf"><use href="#laurel"/></svg><div><p class="cat-no">Category 05</p><h2>Information &amp; Keynote</h2><p class="cat-cn">信息与发布 · 7 nominees</p></div><svg class="lf"><use href="#laurel"/></svg></header>
<div class="grid">
<article class="nominee" data-slug="dataviz" data-en="Data Storytelling" data-cn="数据叙事" data-film="A Hundred Summers">
<div class="screen"><img class="still" src="img/dataviz_0.jpg" alt="Data Storytelling — A Hundred Summers" loading="lazy"><button class="play" type="button" data-src="../styles/dataviz/dataviz.mp4" data-poster="../styles/dataviz/poster.jpg" aria-label="Play A Hundred Summers"><i></i><span>0:50</span></button></div>
@@ -629,6 +629,26 @@ footer .fine-cn{margin:6px 0 0;font:400 13px var(--cn);color:var(--dim)}
<ul class=uses aria-label="Best for"><li>Product spec walkthroughs</li><li>Launch &amp; crowdfunding videos</li><li>Trade-show screens</li></ul>
<nav class="links"><a class="watch" href="../styles/hologram-hud/hologram-hud.mp4" data-play>Watch the film</a><a href="../styles/hologram-hud/STYLE.md" target="_blank" rel="noopener">STYLE.md</a></nav>
</div>
+</article>
+<article class="nominee" data-slug="satellite-briefing" data-en="Satellite Briefing" data-cn="卫星简报" data-film="The Map Still Says Sea">
+ <div class="screen"><img class="still" src="img/satellite-briefing_0.jpg" alt="Satellite Briefing — The Map Still Says Sea" loading="lazy"><button class="play" type="button" data-src="../styles/satellite-briefing/satellite-briefing.mp4" data-poster="../styles/satellite-briefing/poster.jpg" aria-label="Play The Map Still Says Sea"><i></i><span>0:38</span></button></div>
+ <div class="plate">
+ <h3>Satellite Briefing</h3><p class="cn">卫星简报</p>
+ <p class="for">for <em>The Map Still Says Sea</em></p>
+ <p class="line">A satellite follows the map to the Aral Sea and finds a desert; the only part that came back is the part someone dammed.</p><p class="line-cn">卫星照着地图去找咸海,找到的是沙漠;唯一回来的那一小块,是有人筑坝留住的。</p>
+ <ul class=uses aria-label="Best for"><li>Climate &amp; environment</li><li>Investigations &amp; news explainers</li><li>Geography &amp; history</li></ul>
+ <nav class="links"><a class="watch" href="../styles/satellite-briefing/satellite-briefing.mp4" data-play>Watch the film</a><a href="../styles/satellite-briefing/STYLE.md" target="_blank" rel="noopener">STYLE.md</a></nav>
+ </div>
+</article>
+<article class="nominee" data-slug="briefing-board" data-en="Engineering Briefing Board" data-cn="工程简报板" data-film="The Ship Decides">
+ <div class="screen"><img class="still" src="img/briefing-board_0.jpg" alt="Engineering Briefing Board — The Ship Decides" loading="lazy"><button class="play" type="button" data-src="../styles/briefing-board/briefing-board.mp4" data-poster="../styles/briefing-board/poster.jpg" aria-label="Play The Ship Decides"><i></i><span>0:40</span></button></div>
+ <div class="plate">
+ <h3>Engineering Briefing Board</h3><p class="cn">工程简报板</p>
+ <p class="for">for <em>The Ship Decides</em></p>
+ <p class="line">A river needs a bridge; four bridge types are tested on one briefing wall, and the ship that must pass underneath picks the winner.</p><p class="line-cn">一条河要架桥,四种桥型在一面简报墙上逐个受检,拍板的是桥下要过的船。</p>
+ <ul class=uses aria-label="Best for"><li>Engineering decisions</li><li>Option comparisons</li><li>Briefings &amp; explainers</li></ul>
+ <nav class="links"><a class="watch" href="../styles/briefing-board/briefing-board.mp4" data-play>Watch the film</a><a href="../styles/briefing-board/STYLE.md" target="_blank" rel="noopener">STYLE.md</a></nav>
+ </div>
</article>
</div>
</section>
diff --git a/styleboard/opuscar98/index.html b/styleboard/opuscar98/index.html
index 46b39d4..ac85b7a 100644
--- a/styleboard/opuscar98/index.html
+++ b/styleboard/opuscar98/index.html
@@ -46,7 +46,7 @@
"name": "Lemo-Opuscar",
"url": "https://github.com/lemomo-ai/lemo-opuscar",
"codeRepository": "https://github.com/lemomo-ai/lemo-opuscar",
- "description": "43 film styles, each a style prompt plus a demo film made entirely in code, packaged as a Claude Code skill.",
+ "description": "45 film styles, each a style prompt plus a demo film made entirely in code, packaged as a Claude Code skill.",
"license": "https://opensource.org/licenses/MIT",
"author": {
"@id": "https://github.com/lemomo-ai"
@@ -257,7 +257,7 @@ a:focus-visible,button:focus-visible,summary:focus-visible{outline:1px solid var
</head>
<body>
<div class="wrap">
- <a class="back" href="../">← All 43 styles · 全部风格</a>
+ <a class="back" href="../">← All 45 styles · 全部风格</a>
<header>
<p class="kicker">Feature Presentation · Lemo-Opuscar<small>特别放映</small></p>
@@ -278,7 +278,7 @@ a:focus-visible,button:focus-visible,summary:focus-visible{outline:1px solid var
<p class="blurb">One Clawd walks through all 98 Best Picture winners, each one redrawn in a style that fits the film. Every frame, every note and every cut was written in code by Claude Opus 5.5.</p>
<p class="blurb-cn">一个 Clawd 走过 98 部最佳影片,每一部都换成贴合那部电影的画风。每一帧画面、每一个音符、每一刀剪辑,都是 Claude Opus 5.5 写代码做出来的。</p>
- <nav class="links"><a class="main" href="https://github.com/lemomo-ai/lemo-opuscar/releases/download/films/opuscar98.mp4" target="_blank" rel="noopener">Download · 1080p</a><a href="https://github.com/lemomo-ai/lemo-opuscar" target="_blank" rel="noopener">Source repo · 仓库</a><a href="#styles">The 98 styles · 98 种风格</a><a href="../">The 43 styles · 风格图鉴</a></nav>
+ <nav class="links"><a class="main" href="https://github.com/lemomo-ai/lemo-opuscar/releases/download/films/opuscar98.mp4" target="_blank" rel="noopener">Download · 1080p</a><a href="https://github.com/lemomo-ai/lemo-opuscar" target="_blank" rel="noopener">Source repo · 仓库</a><a href="#styles">The 98 styles · 98 种风格</a><a href="../">The 45 styles · 风格图鉴</a></nav>
<dl class="credits">
<div><dt>Running time</dt><dd>6:31<small>98 部影片,1927 – 2025</small></dd></div>
@@ -1493,8 +1493,8 @@ a:focus-visible,button:focus-visible,summary:focus-visible{outline:1px solid var
<h2>How it was made</h2>
<p>No video model drew this film. Claude Opus 5.5, working in Claude Code, wrote each set, the character animation, the camera moves, the edit and the score as code, and the code rendered them to video.</p>
<p class="cn">这部片没有用视频模型生成。Claude Opus 5.5 在 Claude Code 里把每个布景、角色动画、运镜、剪辑和配乐都写成代码,再由代码渲染成视频。</p>
- <p>The same approach is packaged as Lemo-Opuscar: 43 film styles, each a style prompt plus a demo film, installable as a Claude Code skill so your agent can direct a film about your own topic.</p>
- <p class="cn">同样的做法整理成了 Lemo-Opuscar:43 种影片风格,每种是一份风格提示词加一支样片,可以装成 Claude Code skill,让你的 agent 给你自己的题材导一支片。</p>
+ <p>The same approach is packaged as Lemo-Opuscar: 45 film styles, each a style prompt plus a demo film, installable as a Claude Code skill so your agent can direct a film about your own topic.</p>
+ <p class="cn">同样的做法整理成了 Lemo-Opuscar:45 种影片风格,每种是一份风格提示词加一支样片,可以装成 Claude Code skill,让你的 agent 给你自己的题材导一支片。</p>
</section>
<div class="repo"><a href="https://github.com/lemomo-ai/lemo-opuscar" target="_blank" rel="noopener">github.com/lemomo-ai/lemo-opuscar</a></div>
diff --git a/styleboard/thanks/index.html b/styleboard/thanks/index.html
index 12696bc..cfc6f71 100644
--- a/styleboard/thanks/index.html
+++ b/styleboard/thanks/index.html
@@ -72,7 +72,7 @@
"name": "Lemo-Opuscar",
"url": "https://github.com/lemomo-ai/lemo-opuscar",
"codeRepository": "https://github.com/lemomo-ai/lemo-opuscar",
- "description": "43 film styles, each a style prompt plus a demo film made entirely in code, packaged as a Claude Code skill.",
+ "description": "45 film styles, each a style prompt plus a demo film made entirely in code, packaged as a Claude Code skill.",
"license": "https://opensource.org/licenses/MIT",
"author": {
"@id": "https://github.com/lemomo-ai"
diff --git a/styles/README.md b/styles/README.md
index f7080bf..a079f76 100644
--- a/styles/README.md
+++ b/styles/README.md
@@ -56,6 +56,8 @@ Users may name a style in English, in Chinese, or by its folder. Find it here, t
| Dark Tech Keynote | 暗色科技发布 | [`dark-keynote`](dark-keynote/STYLE.md) | *Room to Think* |
| Living Screencast | 活体实机录屏 | [`living-screencast`](living-screencast/STYLE.md) | *Clawd Moves In* |
| Sci-fi Hologram HUD | 科幻全息界面 | [`hologram-hud`](hologram-hud/STYLE.md) | *Volt · Spec Scan* |
+| Satellite Briefing | 卫星简报 | [`satellite-briefing`](satellite-briefing/STYLE.md) | *The Map Still Says Sea* |
+| Engineering Briefing Board | 工程简报板 | [`briefing-board`](briefing-board/STYLE.md) | *The Ship Decides* |
## Cartoon & Anime · 卡通与动画
diff --git a/styles/briefing-board/DEMO.md b/styles/briefing-board/DEMO.md
new file mode 100644
index 0000000..16d79cf
--- /dev/null
+++ b/styles/briefing-board/DEMO.md
@@ -0,0 +1,83 @@
+# Engineering Briefing Board — our demo
+
+One example among many. Don't reuse its story, arc, shots, props or timings.
+
+Demo: *The Ship Decides* (船说了算, 40.0 s) · `briefing-board.mp4` · source in [`demo/`](demo/)
+
+A river 1,000 m wide needs a bridge. The first instinct, piers all the way across, is stamped out the moment a container ship sails into one of them. The new rule: no piers in the channel, one span. Four bridge types are tested against the river's width, drawn to one scale. The river set the question; the ship sets the span.
+
+## Story & structure
+
+Shape: an elimination that turns early. Hook (0–1 s): the river's width snaps across in the first quarter-second. Setup (1–8 s): "1,000 米", a pier-by-pier beam crossing. Turn (8 s): after a second of near-silence the ship touches the centre pier and a red stamp lands. Development (11–27 s): the rule is written, the piers pop off, a steel ruler is laid bank to bank; dashed projection lines carry the banks down into an elevation "test bench" where four photographed bridges land one after another, each met close by the camera as it lands, then judged in a held frame that shows the whole bridge, the two bank lines (the 1,000 m "door"), its dimension line drawn to its record main span, and the verdict landing after the camera has settled. Each judgement frame is wider than the last, so the widening is the rhythm: the cable-stayed line crawls just past the far bank, the suspension line rockets past it and throws the camera. Ending (32.8–40 s): down at the waterline a side-view container ship comes out from behind the far tower and sails under the suspension span; half a second of room tone; then the only pull-back, starting from the ship, to the whole wall, where the verdict "船决定跨度" is written beside the results. The final frame is the poster.
+
+Why it fits the style: one continuous wall holds a plan view (top-down ship, river, crossing) above an elevation view (side-on bridges) with projection lines between them — a real drafting convention, so a top-down ship and side-on bridges share one board without breaking geometry. The same ship appears in both views: the problem in plan, the answer in elevation. Native moves spent: magnets as countable things, the stamp, erase to a ghost, the physical answer (the ruler), projection lines, ride the dimension line (four times), the subject passes through the answer, leader to the verdict, and the whole-wall reveal as the signature shot.
+
+## Shots
+
+One continuous camera, no cuts. Times in seconds; zoom 1 = 1,920 board px across.
+
+| # | Time | Shot | Camera | Native move / note |
+|---|---|---|---|---|
+| 1 | 0.0–1.2 | ECU on the left bank, the dimension arrow already leaving it | z 2.6, roll −3°; whips right with the line as it snaps across (0.25), overshoots, settles (z 1.32) | the hook: line, brass hit and kick in the first 0.25 s |
+| 2 | 1.2–2.9 | MCU on "1,000 米" being written | push in (z 1.42), roll +1° | |
+| 3 | 2.9–5.5 | MS of the crossing | tilt down as the deck draws, then track right along seven pier magnets (eighths) | magnets as countable things |
+| 4 | 5.5–8.0 | MS → CU up the channel | tilt up as the horn sounds (J-cut), then a slow push to z 2.05 with a −1.6° Dutch tilt | silence 7.0–8.0 |
+| 5 | 8.0–10.7 | CU on the bow, the pier and the stamp → the whole ship | impact shake, then a pull back along the hull (z 1.42) | the stamp; the centre pier jolts |
+| 6 | 10.75–14.4 | MS: the rule; the river edge | pull back right (z 1.0), ride the marker as the rule is written, drift back as the piers pop | erase to a ghost; the ruler drops at 14.0 |
+| 7 | 14.4–15.25 | ECU: the beam's pier foot as the print lands (15.0) | tilt down the dashed projection lines into it (z 2.05) | projection lines; two magnets pin each print |
+| 8 | 15.25–18.45 | **Judgement: beam** — whole bridge, both bank lines, 330 m line, tag, number | pull out (z 1.09), **hold 15.85–18.45 (2.6 s)** with a slow push | line 15.875–16.25; red strike and dashed shortfall at 17.125 |
+| 9 | 18.45–19.25 | CU: the arch rib and hangers as it lands (19.0) | crane down (z 1.6) | |
+| 10 | 19.25–22.45 | **Judgement: arch**, with the beam's result above | pull out (z 0.99), **hold 19.85–22.45 (2.6 s)** | line 19.875–20.25; strike 21.125 |
+| 11 | 22.45–23.4 | CU: the pylon top and its fan as it lands (23.125) | crane down (z 1.8) | |
+| 12 | 23.4–28.2 | **Judgement: cable-stayed**, with the arch's result above | pull out (z 0.81), **hold 24.08–28.2 (4.1 s)** | the line crawls 24.125–25.625 just past the right bank line; "勉强" at 26.0 |
+| 13 | 28.2–29.1 | CU: the near tower and its long hangers as the heaviest print lands (28.875) | crane down (z 1.38, capped by rescheck) | |
+| 14 | 29.1–32.8 | **Judgement: suspension**, with the cable-stayed result above | pull out (z 0.60), **hold 29.83–32.83 (3.0 s)**; thrown right as the line passes the bank (30.175), settles back | the line rockets 29.875–30.375; ring 31.25; the horn (32.0) brings the side-view ship in at the right edge |
+| 15 | 32.8–35.75 | CU at the waterline: the far tower, hangers, the side-view ship | down to the water (z 1.42), then pan left with the ship under the main span | the subject passes through the answer; silence 35.25–35.75 |
+| 16 | 35.75–37.8 | the whole wall | the only pull-back, from the ship (z 1.42 → 0.2795, 2.05 s) | **signature shot**: both side edges first in frame at 37.17 s; leader (36.7) and verdict (36.875–37.875) drawn during it |
+| 17 | 38.15–40.0 | the whole wall | a slow push (×1.025) that keeps the wall whole; a cloud shadow crosses the wall | the end card is part of the wall |
+
+Judgement frames widen 1,768 → 1,945 → 2,361 → 3,205 board px (28 % → 50 % of the wall's width). `tools/camcheck.mjs` checks each one: the whole box (print, both bank lines, dimension line, labels, verdict) stays in frame and above the subtitle strip for the whole hold. Before 35.75 s the camera never shows more than 51.4 % of the board's width, never both side edges and none of the right zone (prints, cards, notes, verdict, end card). `tools/rescheck.mjs` checks that no frame shows any photo at less than one source pixel per screen pixel (lowest: the stretched suspension span, 1.03, at its landing).
+
+## Score structure
+
+- 120 BPM, 4/4, D minor → D major at the reveal. Instruments: electric bass (eighth-note figure), MuldjordKit kick/snare/hats, claves, shaker, low brass stabs (trombone, tuba, horn), timpani, gran cassa, crash, tubular bells, glockenspiel, vibraphone. No piano, no string pad.
+- Arc: the hook (Dm brass stab, low tom, kick with the snapping line at 0.25) → groove A → low-pass dive → **silence 7.0–8.0** → stamp: Dm brass stab + timpani + gran cassa → half time (held D, low toms) → groove A rebuilt under the rule → groove B (kit) under the test bench, one brass stab per landing in the bar's chord, a sour trombone blat (D + E♭) per strike → the cable crawl: bass climbs chromatically in eighths G1 → G2 with a shaker swell → "just enough": two horn notes → snare sixteenths into the suspension's line (A, dominant, on the landing) → the line lands: crash + a bright B♭ chord (VI) → vibraphone pair on the ring → bass whole notes and soft trombone fifths under the last line and the ship → **silence 35.25–35.75** → the reveal: the ship's horn tuned to D (root and fifth) with a D-major brass chord, timpani and tubular bells → the verdict is written to a horn line A–F♯–E–D–A → glockenspiel D–F♯–A–D while the wall settles.
+- Hits: every landing, pin, stamp, arrow, strike and tag sits on the 16th-note grid (`tools/cuecheck.py`: 27/27 at 0 ms).
+- Foley (procedural, `audio/mix.py`): felt-tip squeaks scaled to stroke length, nib taps, magnet clacks pitched per pier, two pin clacks after every landing, suction pops, print landings (board thump + paper slap, heavier for the suspension), the steel ruler's ring, eraser felt, rubber stamp, ship horn (far and near), diesel rumble, water lapping, whooshes, room tone with distant traffic.
+- J-cuts: the horn at 5.75 before the top-down ship is seen; the horn at 32.0 before the side-view ship comes out from behind the tower. L-cuts: the eraser over the move into the bench; the reveal horn over the whole pull-back.
+- Mix: music about 9 dB under the voice and ducked; foley ducked under speech; room tone (air conditioning on the right, traffic through the window on the left) about 20 dB under the voice and never ducked; silences gated to that room tone; −14 LUFS integrated.
+- Voice: Kokoro `af_heart`, nine lines; numbers spelled out for TTS and written as digits in the subtitles.
+
+## Palette & props
+
+- Board 6,400 × 3,600 board px (16:9, so the final pull-back fills the frame); enamel `#F3F1EB`; wall `#8F8B83`; ink graphite `#23272E`, blue `#1F4FC8`, red `#D33A21`, water hatching `#5F86DA`, drafting grey `#6C727B`.
+- Plan view (top left): river 1,240 px = 1,000 m between two blue banks with grey ground hatching; "1,000 米" above; crossing with seven graphite magnets; the top-down ship scaled to 500 px (about true scale); stamp "否决" (Noto Sans SC 900, pitted red). Rule "新规矩" red with an underline, "航道不立墩" graphite (LXGW Marker Gothic). The ruler: brushed steel with engraved graduations, a magnet at each end.
+- Elevation (left two-thirds): projection lines dashed blue; four rows scaled so each main span is its record length at 1.24 px per metre (330, 600, 1,208, 2,023 m); each print pinned by two magnets; under each arrow end a label block: a name tag (Noto Sans SC 700, 78 px) and the number in blue marker (100 px), the tag placed by the number's measured width so they never touch. The side-view ship is 340 px long (about true scale) on a hand-drawn waterline. The cable-stayed bridge is a mirrored composite of a single-pylon photo and the suspension bridge's main span is stretched ×1.7 (see `demo/CREDITS`).
+- Right third (never in shot before the reveal): four photo prints with magnets (suspension, cable-stayed, arch, and the side-view ship whose lettering was wiped), a source card ("数据来源"), two sticky notes with the sums (1,208 − 1,000 = 208; 2,023 ÷ 1,000 ≈ 2), a small navigation-clearance sketch without numbers, the verdict "船决定跨度" (400 px, "船" red) at the right middle with a leader from the circled 2,023, and the end card.
+- Subtitles: frosted strip, Chinese Noto Sans SC 500 42 px over English Archivo 500 29 px, blue tick at left; every cue measured on one line per language (`tools/subcheck.mjs`).
+
+## End card
+
+A printed card pinned at the bottom right of the wall from the start, seen only in the reveal: "船说了算", a red rule, "ENGINEERING / BRIEFING BOARD", "工程简报板", "LemoLab × Claude Opus 5.5". It is part of the final wall (the poster) and is on screen for the last three seconds. The "LemoLab × Claude Opus 5.5" sign-off belongs to this library's demo only; a user's film carries no LemoLab credit and no copy of this card.
+
+## Build notes
+
+```
+demo/
+ index.html the page: fonts, setScene / render / TEXTS / SUBCHECK / RESCHECK
+ kit/board.js the renderer (style engine) kit/batch.mjs stills from scene JSON
+ kit/objects/ cut-outs + meta (anchors L/R for bridges, bow/stern for the ships)
+ kit/tools/ prep_object.py, sky_key.py, mirror_span.py, stretch_span.py, redraw_stays.py,
+ redraw_suspension.py, repair_hangers.py, clean_lettering.py, ship_anchors.py,
+ make_print.py, rebuild_objects.sh, fetch_fonts.py
+ scenes/_gen_film.py the film as data → scenes/film.json, audio/cues.json
+ audio/lines.json narration (Kokoro) audio/mix.py score, foley, voice, mix
+ tools/ camcheck.mjs + camplot.py, rescheck.mjs, subcheck.mjs, cuecheck.py, rhythm_report.py, final_asr.py
+ sources/ photos (candidates/, licence trail in candidates.json), cached masks, derived/
+```
+
+1. `sh demo/build.sh`: speech check → scene → cue check → reading check → camera check (incl. judgement frames) → resolution check → events → render (960 frames, 5 workers) → mix → subtitles (+ one-line check) → mux (−14 LUFS, grain 1) → poster and styleframe → rhythm report → speech check on the final mix → camera plot.
+2. Objects: `sh demo/kit/tools/rebuild_objects.sh` recreates every cut-out from the photos at their own resolution (BiRefNet ONNX masks are cached in `sources/masks/`).
+3. Stills and thumbnails: a scene JSON that `extends` `scenes/film.json` with its own `cam` and `t`, rendered by `node demo/kit/batch.mjs`.
+
+Pitfalls tied to this demo: the first cut rode each dimension line close and never showed the cable-stayed or suspension bridge whole; viewers lost what was being tested ("too fast"). The fix was the judgement frame per bridge, held, widening each time, with the voice and the verdict inside the hold. Text first glimpsed during a move failed the reading check, so every label block is pinned where the camera rests and each new row is framed with the previous row's result. The first cut-outs were downscaled and the close-ups upsampled them (a blocky ship); every object is now cut at full resolution and `rescheck.mjs` caps each zoom. Keyed stays turned into stair-steps and arch hangers vanished against the hills; stays and suspension cables are now measured and redrawn, the arch hangers continued to the deck. Name tags at a fixed offset overlapped the wider numbers; they are placed from the number's measured advance width. The stretched suspension photo allows z 1.38 at most, so its landing close-up is on the near tower, which is not stretched. The photographed suspension bridge has the proportions of a 500 m span; scaled uniformly to 2,023 m its towers would be far too tall, so only the main span is stretched. A road sign, a water-level gauge, a ship's name and container logos were removed (lettering). The pier clacks masked "piers" in the voice; they were lowered.
diff --git a/styles/briefing-board/STYLE.md b/styles/briefing-board/STYLE.md
new file mode 100644
index 0000000..12e9a4c
--- /dev/null
+++ b/styles/briefing-board/STYLE.md
@@ -0,0 +1,126 @@
+# Engineering Briefing Board — Style Prompt
+
+> One real whiteboard wall, filmed: window light on enamel, ghosts of erased marker, an aluminium frame and a tray. Cut-out photographs of real things land on it with weight; tags, magnets, a steel ruler and stamps are pinned to it; marker ink draws itself in three colours with fixed meanings. The camera never leaves the wall: it rides the lines from fact to fact, and only at the end pulls back to show the whole briefing at once.
+> References (grammar only): explainers filmed on a map wall; the long pull-back over a wall covered in work; drafting conventions (plan above elevation, dimension lines, hatching). Never copy them or name them in the film.
+
+## 1. Essence, and what it is not
+
+1. **A physical board in a room**: enamel, window falloff, a sliding reflection, ghosts of earlier work, frame and tray.
+2. **Real things on it**: cut-out photographs a few millimetres off the board, shadowed by one window, parallaxing.
+3. **Ink that means something**: graphite for names and rules, blue for water and measurement, red only for the decision; rejected ideas erased to ghosts.
+4. **One continuous wall**: no pages; the camera travels along lines, projections and leaders.
+5. **The whole wall, once**: every shot is a crop of the final briefing, seen whole only in the last pull-back, as a poster.
+
+Not **Whiteboard Explainer** (`whiteboard`: a visible hand drawing line art on a flat page): here the board is a filmed object and subjects are photographs. Not **Data Storytelling** (`dataviz`: flat charts): comparisons are dimension lines in real units beside real objects. Not **Isometric Infographic**: no 3D icons. Not a keynote: no headers, chapter numbers, centred bullets, "object left, number right", page turns.
+
+## 2. Materials & rendering
+
+- **Board (z 0)**: procedural enamel, wiped ghost strokes, smudges, a window falloff, a sliding diagonal reflection; the frame shadows a warm grey wall.
+- **Ink (multiply)**: flat colour at about 90 %, lighter core, round caps; a wet-tip glint rides each stroke. Lettering: a marker font revealed glyph by glyph, with seeded per-glyph tilt, baseline and size jitter. Erasing leaves a blurred ghost (about 7 %) and a little haze.
+- **Prints (z ≈ 6–14)**: photographs cut out at full resolution (BiRefNet; polygons for hulls), clean edges, one shared grade (lower saturation, a touch warmer, lifted blacks). Thin structure (stays, cables, hangers) is measured in the photo and redrawn as clean lines in one steel colour. Shadow = blurred silhouette along one light vector, softer the higher the object. **No frame upsamples a photo**: ≥ 1 source px per screen px at its largest, measured; cap the zoom or find a bigger source.
+- **Secondary layer** (only where the camera never goes before the end): the photos as pinned prints, a source card, sums on sticky notes, a small sketch. Texture and proof for the final wall, lighter than the main line.
+- **Props (z ≈ 8–26)**: magnetic tags, round magnets, a brushed-steel ruler, printed cards, a pitted rubber-stamp impression; the tray (z 70) is nearest the lens.
+- **Camera**: perspective scale per height (parallax), optional depth of field, motion blur by averaging sub-frames over a 180° shutter; light grain in ffmpeg. Only subtitles are screen-space.
+
+## 3. Colour logic
+
+- Ground: the enamel and its light falloff; the wall around is neutral warm grey.
+- Ink: graphite = names, rules, facts; blue = water and measurement (rivers, dimensions, projection lines, measured numbers); red = the decision (a rejection, the key word of a verdict, the one mark to notice); grey for drafting only (extension lines, ground hatching).
+- Red is rare: two or three red marks per frame at most, never on a red object.
+- Full colour belongs to the photographs; props stay neutral; a red magnet is a verdict.
+
+## 4. Type & subtitles
+
+- **Marker lettering**: a single-weight marker face, Latin and CJK in one family (ours: LXGW Marker Gothic, OFL, subset — re-run when words change). Content 100–160 board px; a verdict 230–400.
+- **Printed labels** (tags, cards, stamps): a sturdy sans (Noto Sans SC 700/900); credit lines in a monospace (IBM Plex Mono). A tag holds one to three words.
+- **Subtitles**: a frosted acrylic strip at the bottom centre with a blue marker tick; bilingual films stack primary over secondary (ours: Chinese 42 px over English 29 px). **Each language is one line**: `nowrap`, measured in the page against a 1,500 px safe width; a long line becomes two cues. Key content stays above the strip (bottom 14 %).
+- **Reading time**: subtitles ≥ max(1.8 s, speech + 0.6 s); board text stays fully in frame for CJK ÷ 4.5 + other ÷ 15 + 1.5 s from the moment it appears, so the camera rests where words are written. In the final wall the smallest text meant to be read is ≥ 20 px on screen.
+
+## 5. Motion quality
+
+- 24 fps on ones; nothing is stepped.
+- Camera: overlapping eased moves, velocity ∝ u^a (1−u)^b (a, b ≈ 1.5–4), so speed and acceleration never jump; b > a gives inertia. A hand-held breath (≤ 3 px) underneath; shake only on an impact.
+- Weight: prints are lowered from the camera side, land, bounce and settle as the shadow tightens; two magnets clack on to pin them; tags swing; removed magnets pop toward the lens; struck things jolt and spring back. **The camera meets a landing close**, briefly, on a structural detail (a pylon top, an arch rib, hangers, a pier's foot), then pulls out to the judgement frame.
+- Blurred in motion, sharp wherever words are read. No flat second: every 1–2 beats something lands, draws or swings, or the camera drifts; only designed silences go still.
+- Ink draws at the speed of a hand; dimension lines draw from one witness line to the other and land with an arrowhead tap.
+- Never: dissolves, scale-pops on text, bouncy UI easing, frictionless slides, text fading in by itself.
+
+## 6. Camera grammar
+
+| Move | What it expresses | Can serve |
+|---|---|---|
+| Ride a line (track with the pen or a dimension) | measuring; "how far does it go?" | a comparison of lengths; a route; a timeline |
+| Tilt along projection lines | the same quantity in another view | plan → elevation; a total → its parts |
+| Slow push-in, slight Dutch tilt | tension, an approaching problem | a collision; a deadline; an overrun |
+| Pull back and sideways | stepping back to state a rule | a constraint; a turn in the argument |
+| Whip with the line, overshoot, settle | a result that exceeds | a record; an outlier; a breakthrough |
+| Rise along a leader line | from evidence to verdict | a conclusion; a recommendation |
+| Staircase framing (each new item with the previous result) | comparison in sequence | rankings; tests; options |
+| Judgement frame: the whole item, the limit it is tested against and the verdict, held ≥ 2.5 s | a test the viewer can check | pass / fail against a threshold; a budget against a cap |
+| Long pull-back to the whole wall | scale; everything at once | the end of an argument; a summary |
+
+Framing: like a film, not a slide — off-centre, cropped, close. The first frame holds a readable subject; the first strong action hits within 0.5 s. When items are tested against a limit, each gets a judgement frame — wider each time if the items grow — and the verdict lands only after the camera has settled. Before the final reveal, at most about 60 % of the board's width, never both side edges, and never the zone kept for the reveal. Transitions are moves (a line, a projection, a leader, a moving object); no cuts by default, no fades or zoom-to-fit.
+
+## 7. Sound palette
+
+- Room: an air-conditioning bed and traffic through the window, about 20 dB under the voice — audible, not a hiss; silences keep only this.
+- The medium's foley: felt-tip squeaks scaled to stroke length, nib taps, magnet clacks (a pitch per magnet in a row), suction pops, print landings (board thump, paper slap, low-end weight), a ruler's ring, eraser felt, a stamp's thud.
+- The subject's own sound arrives early as a J-cut.
+- Music: a small rhythmic ensemble, walking to brisk — bass, a light kit, wooden percussion, low brass stabs for verdicts (or mallets); no piano-and-strings pad. Landings, stamps and arrows sit on the beat (eighths, sixteenths); divide the beat to accelerate.
+- The first sound after a silence is a physical impact or the subject's sound. Voice about 8–10 dB over the music, ducked; −14 LUFS. Voice: calm, briefing-room confident.
+
+## 8. Native moves
+
+- **The whole-wall reveal.** Design the wall as a poster first (hierarchy, a reading path, filling the frame), then plan every shot as a crop of it; keep one zone (secondary layer, verdict, end card) for the reveal alone. *Fits:* a product roadmap; a case laid out as evidence; a household budget.
+- **The subject passes through the answer.** The real thing moves through the chosen solution, its sound first; the camera pans with it and the pull-back starts from it. *Fits:* a parcel along the chosen route; a train over the new viaduct.
+- **Ride the dimension line.** A quantity is drawn as a real length to one scale; the camera rides the tip and stops where the number stops. *Fits:* battery ranges of four cars; how high each tower crane lifts.
+- **Projection lines.** Dashed lines carry an edge from one view to another so two drawings share a scale. *Fits:* a floor plan above a section; a trail map above its elevation profile.
+- **Magnets as countable things.** Units clack on in rhythm, pop off when a rule removes them. *Fits:* a staffing plan; seats in a vote; servers cut by an optimisation.
+- **Erase to a ghost.** A rejected idea is wiped but stays faintly visible. *Fits:* a first design under its revision; last year's plan under this year's.
+- **The stamp.** A verdict lands with a thud and a jolt. *Fits:* approved / rejected options; passed / failed tests; a void clause.
+- **The physical answer.** A real prop laid down as the solution. *Fits:* one cable instead of five; the single tool that spans every case.
+- **Leader to the verdict.** An arrow from the deciding number to the conclusion, ridden by the camera. *Fits:* the metric that decides a hire; the cheapest option after all costs; the bottleneck in a process.
+
+## 9. Pitfalls of the medium
+
+- **Slide feel.** Headers, margins, centred layouts, "picture left, number right". Fix: write where things are, crop off-centre, one idea per frame.
+- **Blur over empty board.** Fix: ride a line or a moving object so the move has content.
+- **Text glimpsed in passing** fails the reading time. Fix: place words where the camera rests; frame each new item with the last result.
+- **Photos that don't belong together.** Fix: one grade, one light vector, one viewpoint family (elevations together, plan views together).
+- **Thin parts lost or stair-stepped** (cables, hangers). Fix: find them with a top-hat sky key, redraw clean lines at the measured positions; continue hangers lost against hills to the deck.
+- **Upsampled photos** go soft in close-ups. Fix: full-resolution cuts, large sources, a per-frame check.
+- **Weightless landings.** Fix: meet them close on a detail, contact shadow, bounce, pins and clacks.
+- **Only close-ups.** The viewer never sees the whole object against the limit and the verdict passes unread. Fix: detail → judgement frame → hold → verdict → move on.
+- **A sparse final wall.** Fix: fill the frame; a quiet secondary layer in the zone never visited; no empty middle.
+- **Lettering in photos** (signs, gauges, hull names, logos). Fix: paint out, cut, or choose another photo.
+- **The wall seen too early** spends the ending. Fix: measure every frame's visible share of the board before rendering.
+- **Too small at the end.** Fix: size the hierarchy for the poster; small tags are texture.
+
+## 10. Engine
+
+- `demo/kit/board.js` — the renderer: `setScene`, `renderScene(canvas, t)`, `camAt(t)` (base + Σ eased moves + shakes + breath; `bease(u, a, b)`), elements `print`, `tag`, `magnet`, `ruler`, `card`, `stamp`, `ink` (`line`, `dim`, `write`, `hatch`, `ring`, `wake`; `erase` on any ink; `jolts` on any object), `shade` (passing window shadows), `sceneTexts(t)` for `readcheck.mjs`, `subCheck()` for one-line subtitles. Field reference: `demo/kit/README.md`.
+- `demo/kit/batch.mjs` — renders scene JSONs (stills, thumbnails, cards) in one browser; a still `extends` a film's world with its own camera and time.
+- `demo/kit/tools/` — cut-outs (`prep_object.py`, `sky_key.py`, `mirror_span.py`, `stretch_span.py`), thin-structure redraws (`redraw_stays.py`, `redraw_suspension.py`, `repair_hangers.py`), `clean_lettering.py`, `make_print.py`, `rebuild_objects.sh`, `fetch_fonts.py`. `demo/scenes/_gen_film.py`: a world as data. Checks in `demo/tools/`: `camcheck.mjs` (visible share, speed), `rescheck.mjs` (source px per screen px), `subcheck.mjs`, `cuecheck.py`, `rhythm_report.py`, `final_asr.py`.
+
+A minimal world that is not ours (two parking options by walking distance; `node demo/kit/batch.mjs park.json`, after `fetch_fonts.py park.json` for new characters):
+
+```json
+{ "dur": 6, "t": 5.5, "board": { "w": 4000, "h": 2400 }, "hand": 0, "cam": { "x": 1500, "y": 1000, "z": 0.8, "moves": [] },
+ "elements": [
+ { "type": "tag", "text": "地下车库", "xy": [560, 800], "size": 60, "arrive": { "t": 0.2, "kind": "swing" } },
+ { "type": "ink", "kind": "dim", "from": [700, 900], "to": [1300, 900], "color": "blue", "t": 0.6, "d": 0.6 },
+ { "type": "ink", "kind": "write", "text": "120 米", "xy": [1360, 940], "size": 100, "color": "blue", "t": 1.2 },
+ { "type": "stamp", "text": "首选", "xy": [1500, 700], "size": 110, "rot": -8, "t": 4.2 } ] }
+```
+
+## 11. Variation space
+
+The agent decides per film: structure, which objects are photographed, plan vs elevation, the wall's reading path, opening, ending, camera path, pacing. Users may bring their own photos or generated images; they own those licences (list them in `CREDITS`).
+
+- **Three structures:** one measurement that keeps growing until it breaks a limit; a before/after where the erased first plan stays as a ghost under the second; a checklist stamped item by item as the camera moves down the wall.
+- **Three openings:** a stamp on a finished drawing, then back to see why; one number written large, then the line that measures it; a photo dropped onto an empty corner.
+- **Three endings:** the wall revealed with the answer circled; back to the opening mark, now corrected; the last tag flipped from a question to an answer, then the pull-back.
+
+---
+
+How our demo was made (story, shots, score, end card, build): [DEMO.md](DEMO.md). Read it after your treatment exists.
diff --git a/styles/briefing-board/briefing-board.srt b/styles/briefing-board/briefing-board.srt
new file mode 100644
index 0000000..63b8002
--- /dev/null
+++ b/styles/briefing-board/briefing-board.srt
@@ -0,0 +1,44 @@
+1
+00:00:00,450 --> 00:00:03,043
+这条河宽 1,000 米。
+This river is a thousand meters wide.
+
+2
+00:00:03,080 --> 00:00:06,988
+第一反应:一路立桥墩,修座梁桥。
+First instinct: piers all the way across. A beam bridge.
+
+3
+00:00:08,300 --> 00:00:11,386
+可麻烦不在河,在船。
+But the river isn't the problem. The ship is.
+
+4
+00:00:11,420 --> 00:00:14,757
+新规矩:航道里不能有桥墩,一跨过去。
+New rule: no piers in the channel. One span.
+
+5
+00:00:15,900 --> 00:00:18,771
+梁桥:330 米,差得远。
+Beam: 330. Not close.
+
+6
+00:00:19,900 --> 00:00:22,442
+拱桥:600 米,还差。
+Arch: 600. Still short.
+
+7
+00:00:24,000 --> 00:00:27,598
+斜拉桥:1,208 米,刚好够。
+Cable-stayed: 1,208. Just enough.
+
+8
+00:00:29,875 --> 00:00:32,338
+悬索桥:2,000 米以上。
+Suspension: over 2,000.
+
+9
+00:00:32,375 --> 00:00:35,845
+河宽只是出题,船决定跨度。
+The river sets the question. The ship sets the span.
diff --git a/styles/briefing-board/demo/CREDITS b/styles/briefing-board/demo/CREDITS
new file mode 100644
index 0000000..82ba4bb
--- /dev/null
+++ b/styles/briefing-board/demo/CREDITS
@@ -0,0 +1,65 @@
+Engineering Briefing Board — "The Ship Decides" (library demo)
+Every third-party asset in the film, with its source and licence.
+
+PHOTOGRAPHS (Wikimedia Commons; cut out at the photo's own resolution with BiRefNet, graded, and modified as noted)
+- Container ship from above (kit object "ship")
+ "Containerschiffe auf der Elbe zwischen Wedel und Hamburg" by BAW_Bundesanstalt für Wasserbau,
+ CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/)
+ https://commons.wikimedia.org/wiki/File:Containerschiffe_auf_der_Elbe_zwischen_Wedel_und_Hamburg_(55103130595).jpg
+ Changes: rotated, cropped to the hull, background and shadow removed, colour graded.
+- Container ship, side view (kit objects "ship_side", "print_ship")
+ "Ship Harrison (1)" by Tvabutzku1234, CC0 1.0 (https://creativecommons.org/publicdomain/zero/1.0/)
+ https://commons.wikimedia.org/wiki/File:Ship_Harrison_(1).jpg
+ Changes: the ship's name, hull markings and the container operators' logos wiped with a median filter so that
+ no lettering is readable; cut out, colour graded; also shown uncut (lettering wiped) as a pinned print.
+- Beam bridge (kit object "beam")
+ "Kiiminkiriver Bridge 20100705" by Estormiz, public domain (PD-self)
+ https://commons.wikimedia.org/wiki/File:Kiiminkiriver_Bridge_20100705.JPG
+ Changes: cut out, desaturated.
+- Arch bridge (kit objects "arch", "print_arch")
+ "Fort Henry Bridge, Wheeling, West Virginia" by Carol M. Highsmith, Library of Congress, public domain (PD-Highsmith)
+ https://commons.wikimedia.org/wiki/File:Fort_Henry_Bridge)_Wheeling,_West_Virginia_LCCN2015632042.tif
+ Changes: cut out; a road sign under the arch removed; hangers lost against the hills continued down to the deck
+ at their measured positions.
+- Cable-stayed bridge (kit objects "cable", "print_cable")
+ "East Huntington bridge, Huntington, West Virginia" by Carol M. Highsmith, Library of Congress, public domain (PD-Highsmith)
+ https://commons.wikimedia.org/wiki/File:East_Huntington_bridge,_Huntington,_West_Virginia_LCCN2015631874.tif
+ Changes: cut out; a water-level gauge and a road sign painted out; the stay cables measured in the photo and
+ redrawn as clean lines; the single pylon with its main-span fan mirrored to make a two-pylon main span
+ (a composite that represents the bridge type, not a real bridge).
+- Suspension bridge (kit objects "suspension", "print_susp")
+ "Bear mountain bridge west II" by Russ, CC BY 2.0 (https://creativecommons.org/licenses/by/2.0/)
+ https://commons.wikimedia.org/wiki/File:Bear_mountain_bridge_west_II_(14104379089).jpg
+ Changes: cut out, desaturated; the main span between the towers stretched horizontally (×1.7) so the
+ towers keep their shape at a two-kilometre span; the main cables (fitted parabolas) and the hangers
+ (measured positions) redrawn as clean lines (represents the bridge type, not a real bridge).
+The four "print_*" objects are the same photographs, uncropped, on a white photo-paper border, pinned at the
+top right of the wall. No real bridge, ship, company or place is named or readable in the film. The licence
+trail of every download is in sources/candidates/candidates.json (local).
+
+The whiteboard, its light and ghosts, the frame and tray, magnets, tags, the steel ruler, the cards and sticky
+notes, the clearance sketch, the rubber stamp and all marker ink are drawn in code.
+
+FONTS (SIL Open Font License 1.1; texts in kit/fonts/)
+- LXGW Marker Gothic, The LXGW Marker Gothic Project Authors (subset)
+- Noto Sans SC, Adobe / Google (subset)
+- Archivo, Omnibus-Type
+- IBM Plex Mono, IBM
+
+VOICE
+- Narration: Kokoro-82M text-to-speech (Apache-2.0), voice af_heart, run offline with kokoro-onnx (MIT).
+- Speech check: faster-whisper (MIT).
+
+MUSIC AND SOUND
+- Original score and procedural sound design written for this film (audio/mix.py).
+- Drums: "MuldjordKit" by Lars Muldjord (drumgizmo.org), FreePats version, licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/)
+- Samples (CC0): FreePats project (freepats.zenvoid.org), VS Chamber Orchestra: Community Edition (Versilian Studios), Versilian Community Sample Library (Versilian Studios)
+ (electric bass, contrabass, claves, hi-hat, toms, shaker, crash, suspended cymbal, gran cassa, timpani,
+ trombone, tuba, horn, tubular bells, glockenspiel, vibraphone)
+
+TOOLS
+- Segmentation: BiRefNet-general (MIT), run through onnxruntime (MIT).
+- Rendering: headless Chromium (Playwright); ffmpeg.
+
+FACTS
+- Every number on screen and in the voice-over, including the source card and the two sticky-note sums, is sourced in FACTS.md.
diff --git a/styles/briefing-board/demo/FACTS.md b/styles/briefing-board/demo/FACTS.md
new file mode 100644
index 0000000..bd5ceab
--- /dev/null
+++ b/styles/briefing-board/demo/FACTS.md
@@ -0,0 +1,91 @@
+# 事实与来源 · 《船说了算》
+
+所有上屏数字和旁白里的说法,逐条列出来源和原文。核对日期 2026-10-15(截至该日已建成通车的桥)。画面上只出现桥型和数字,不出现任何具体桥名、公司或品牌;下面的桥名只用来说明数字从哪来。
+
+"1,000 米宽的河"是假设的题目,不是某条真实的河。
+
+## 上屏 / 旁白对照
+
+| 上屏 | 旁白 | 说法 | 来源(见下) |
+|---|---|---|---|
+| 1,000 米 | "a thousand meters wide" | 假设的河宽 | — |
+| 梁桥 · 330 米 | "Beam: three hundred and thirty." | 梁桥(箱梁,含钢-混混合梁)的最大主跨纪录 330 m | F1 |
+| 拱桥 · 600 米 | "Arch: six hundred." | 拱桥最大跨径 600 m | F2 |
+| 斜拉桥 · 1,208 米 | "Cable-stayed: twelve hundred and eight." | 斜拉桥最大主跨 1,208 m | F3 |
+| 悬索桥 · 2,023 米 | "Suspension: over two thousand." | 悬索桥最大主跨 2,023 m | F4 |
+| 航道里不能有桥墩 / 船决定跨度 | "The ship sets the span." | 跨河桥的主跨常由通航要求决定;航道内桥墩有船撞风险 | F5, F6 |
+
+## F1 梁桥 330 m
+
+- 桥:重庆长江大桥复线桥(石板坡复线桥),2006 年建成。预应力混凝土连续刚构,主跨中段嵌约 108 m 钢箱梁(钢-混混合梁)。
+- 工程承包方 DLT Engineering 项目页 https://www.dlteng.com/en/projects/Shibanpo.htm
+ > "a main span of 330m"
+ > "it also boasts the longest box girder span in the world"
+ > "The central 108m of the main span was designed as a steel box girder to save weight"
+- 团体标准征求意见稿(设计规范编制组,2025-06)https://www.ttbz.org.cn/upload/file/20250711/6388782936651095878446847.pdf
+ > "目前梁桥的最大跨径已达 330 m。"
+- 行业媒体 Bridge Design & Engineering(2006-07-28)https://www.bridgeweb.com/Completion-announced-of-record-breaking-span/985
+ > "the world's longest box girder span"
+- 口径说明:这是实腹箱梁(含混合梁)的纪录。若把钢桁架悬臂梁也算作梁桥,纪录是 549 m(Guinness:"has the longest cantilever truss span of any in the world"),仍远小于 1,000 m,论点不变。片中梁桥照片用的是箱梁桥。
+
+## F2 拱桥 600 m
+
+- 桥:天峨龙滩特大桥,2024-02-01 通车。
+- 广西壮族自治区交通运输厅(2024-02-02)http://jtt.gxzf.gov.cn/xwdt/jtxw/t17945057.shtml
+ > "2月1日,世界最大跨径拱桥——南丹至天峨下老高速公路(以下简称南天高速)天峨龙滩特大桥建成通车。"
+ > "主桥为计算跨径600米的上承式劲性骨架混凝土拱桥"
+- IABSE 项目页 https://www.iabse.org/page-18512
+ > "a recently-built deck-type steel-reinforced concrete arch bridges in China with a world record-breaking effective span of 600 m."
+- 冲突说明:Guinness 页面仍列 575 m(2020 年的旧纪录),未更新;以官方通车口径 600 m 为准。
+
+## F3 斜拉桥 1,208 m
+
+- 桥:常泰长江大桥,2025-09-09 正式通车。
+- 常州市政府网(常州日报,2025-09-10)https://www.changzhou.gov.cn/ns_news/128175746480025
+ > "常泰长江大桥还是世界最大跨度斜拉桥,主跨1208米"
+- 常州市交通局(2025-09-09)https://www.changzhou.gov.cn/ns_news/892175738737795
+ > "2025年9月9日,历经六年建设,常泰长江大桥正式通车。"
+- 新华社(2025-09-10)https://www.news.cn/politics/20250910/1f8b916613e34a2bad02a5dd2ab24797/c.html
+ > "常泰长江大桥主航道桥是主跨1208米的斜拉桥,创下了最大跨度斜拉桥的世界纪录"
+- 冲突说明:Guinness 仍列 1,104 m(2012 年的旧纪录),未更新;以通车官方口径 1,208 m 为准。
+
+## F4 悬索桥 2,023 m
+
+- 桥:1915 恰纳卡莱大桥,2022-03-18 通车。
+- Guinness World Records https://www.guinnessworldrecords.com/world-records/longest-bridge-cable-suspension-bridge
+ > "The longest cable suspension bridge is 2023 metres (6,637 ft) and was achieved by the 1915 Çanakkale Bridge, which was built in Çanakkale, Turkey, on 18 March 2022."
+- 土耳其公路总局 KGM 项目页 https://www.kgm.gov.tr/Sayfalar/KGM/SiteTr/Projeler/ProjelerDetay.aspx?q=148
+ > "2023 metrelik orta açıklığı ile … Dünyanın En Uzun Orta Açıklıklı Asma Köprüsü unvanına sahiptir."
+
+## F5 主跨常由通航决定
+
+- FHWA《Steel Bridge Design Handbook: Selecting the Right Bridge Type》(FHWA-HIF-16-002 Vol. 5, 2015)https://rosap.ntl.bts.gov/view/dot/42909
+ > "One critical requirement that often controls the main span lengths for water crossings is navigational clearance."
+- Britannica, "suspension bridge" https://www.britannica.com/technology/suspension-bridge
+ > "the suspension bridge provided an economical solution to the problem of long spans over navigable streams or at other sites where it is difficult to found piers in the stream."
+ > "Modern suspension bridges are light and aesthetically pleasing and can span longer distances than any other bridge form."
+
+## F6 航道内桥墩与船撞
+
+- FHWA Technical Advisory T 5140.19 https://www.fhwa.dot.gov/engineering/hydraulics/policymemo/t514019.cfm
+ > "…the location and arrangement of the bridge piers in relation to the navigable channel and the resulting vulnerability of the piers to ship collisions"
+ > "to locate and design piers on new bridges in such a way that the risks of collision are reduced to an acceptable level."
+
+## 墙上的次要层(只在终镜整墙里出现)
+
+| 上屏 | 说法 | 依据 |
+|---|---|---|
+| 来源卡"梁桥 330 · 工程资料" | 330 m 出自工程方项目页和设计规范征求意见稿 | F1 |
+| 来源卡"拱桥 600 · 通车公告" | 600 m 出自通车时的官方公告 | F2 |
+| 来源卡"斜拉 1,208 · 通车公告" | 1,208 m 出自通车时的官方公告 | F3 |
+| 来源卡"悬索 2,023 · 纪录认证" | 2,023 m 出自纪录认证(Guinness) | F4 |
+| 便签"1,208 − 1,000 = 208 / 刚好够" | 斜拉桥纪录跨度只比题目要求的 1,000 m 多 208 m,和尺寸线"勉强"一致 | F3 + 题设 |
+| 便签"2,023 ÷ 1,000 ≈ 2 / 两倍有余" | 2,023 / 1,000 = 2.023,略多于两倍 | F4 + 题设 |
+| 小草图"通航净空" | 只画航道净空的示意框和一艘船的剖面,没有数字 | F5 |
+| 钉着的五张照片打印件 | 片中抠图所用的同一组照片(不点名,见 `CREDITS`) | — |
+
+题设的简化:把整条 1,000 米宽的河都当作航道,所以"航道里不能有桥墩,一跨过去"意味着主跨至少 1,000 米。真实工程里航道只占河面的一部分,主跨按通航净空宽度定(F5)。
+
+## 终渲前核对
+
+终渲前把 `scenes/_gen_film.py` 里的上屏文字、`audio/lines.json` 的旁白和这张表逐条对过,结果记在 `PRODUCTION_LOG.md`。
diff --git a/styles/briefing-board/demo/audio/cues.json b/styles/briefing-board/demo/audio/cues.json
new file mode 100644
index 0000000..9d60dae
--- /dev/null
+++ b/styles/briefing-board/demo/audio/cues.json
@@ -0,0 +1,47 @@
+[
+ {
+ "t0": 0.45,
+ "t1": 3.043,
+ "text": "这条河宽 1,000 米。\nThis river is a thousand meters wide."
+ },
+ {
+ "t0": 3.08,
+ "t1": 6.988,
+ "text": "第一反应:一路立桥墩,修座梁桥。\nFirst instinct: piers all the way across. A beam bridge."
+ },
+ {
+ "t0": 8.3,
+ "t1": 11.386,
+ "text": "可麻烦不在河,在船。\nBut the river isn't the problem. The ship is."
+ },
+ {
+ "t0": 11.42,
+ "t1": 14.757,
+ "text": "新规矩:航道里不能有桥墩,一跨过去。\nNew rule: no piers in the channel. One span."
+ },
+ {
+ "t0": 15.9,
+ "t1": 18.771,
+ "text": "梁桥:330 米,差得远。\nBeam: 330. Not close."
+ },
+ {
+ "t0": 19.9,
+ "t1": 22.442,
+ "text": "拱桥:600 米,还差。\nArch: 600. Still short."
+ },
+ {
+ "t0": 24.0,
+ "t1": 27.598,
+ "text": "斜拉桥:1,208 米,刚好够。\nCable-stayed: 1,208. Just enough."
+ },
+ {
+ "t0": 29.875,
+ "t1": 32.338,
+ "text": "悬索桥:2,000 米以上。\nSuspension: over 2,000."
+ },
+ {
+ "t0": 32.375,
+ "t1": 35.845,
+ "text": "河宽只是出题,船决定跨度。\nThe river sets the question. The ship sets the span."
+ }
+]
\ No newline at end of file
diff --git a/styles/briefing-board/demo/audio/lines.json b/styles/briefing-board/demo/audio/lines.json
new file mode 100644
index 0000000..ecc8a4f
--- /dev/null
+++ b/styles/briefing-board/demo/audio/lines.json
@@ -0,0 +1,61 @@
+[
+ {
+ "id": "L1",
+ "text": "This river is a thousand meters wide.",
+ "voice": "af_heart",
+ "speed": 1.06
+ },
+ {
+ "id": "L2",
+ "text": "First instinct: piers all the way across. A beam bridge.",
+ "voice": "af_heart",
+ "speed": 1.1
+ },
+ {
+ "id": "L3",
+ "text": "But the river isn't the problem. The ship is.",
+ "voice": "af_heart",
+ "speed": 1.02
+ },
+ {
+ "id": "L4",
+ "text": "New rule: no piers in the channel. One span.",
+ "voice": "af_heart",
+ "speed": 1.08,
+ "asr": "New rule, no peers in the channel. One span."
+ },
+ {
+ "id": "L5",
+ "text": "Beam: three hundred and thirty. Not close.",
+ "voice": "af_heart",
+ "speed": 1.08,
+ "asr": "Beam 330, not close."
+ },
+ {
+ "id": "L6",
+ "text": "Arch: six hundred. Still short.",
+ "voice": "af_heart",
+ "speed": 1.08,
+ "asr": "Arch 600, still short."
+ },
+ {
+ "id": "L7",
+ "text": "Cable-stayed: twelve hundred and eight. Just enough.",
+ "voice": "af_heart",
+ "speed": 1.08,
+ "asr": "Cable stayed 1,208, just enough."
+ },
+ {
+ "id": "L8",
+ "text": "Suspension: over two thousand.",
+ "voice": "af_heart",
+ "speed": 1.08,
+ "asr": "Suspension over 2,000."
+ },
+ {
+ "id": "L9",
+ "text": "The river sets the question. The ship sets the span.",
+ "voice": "af_heart",
+ "speed": 1.04
+ }
+]
\ No newline at end of file
diff --git a/styles/briefing-board/demo/audio/mix.py b/styles/briefing-board/demo/audio/mix.py
new file mode 100644
index 0000000..65cf4ac
--- /dev/null
+++ b/styles/briefing-board/demo/audio/mix.py
@@ -0,0 +1,302 @@
+"""Score, sound design and mix for "The Ship Decides" → out/mix.wav (48 kHz stereo), plus stems.
+Reads the same timeline as the picture: scenes/film.json (dur, cues, sound events) and audio/vo/.
+Run from anywhere with the library's Python: $LIB/.venv/bin/python audio/mix.py
+
+Score: 120 BPM, D minor turning to D major at the reveal. Electric bass, a MuldjordKit groove,
+claves and woodblock, low brass stabs (trombone, tuba, horn), timpani, tubular bells. The ship's
+horn is tuned to D: at the reveal it is the root of the chord. No piano, no string pad.
+"""
+import json, os, sys
+import numpy as np, soundfile as sf, soxr
+HERE = os.path.dirname(os.path.abspath(__file__)); DEMO = os.path.dirname(HERE)
+LIB = os.environ.get('LIB') or os.path.abspath(os.path.join(DEMO, '../../..'))
+sys.path.insert(0, LIB)
+from core.audio import sampler as S
+from core.audio.sfx import SR, add, compress, noise, bp, lp, hp, t_, env_exp, norm, whoosh, thump, clack, brown
+
+S.seed(23); rng = np.random.default_rng(9)
+scene = json.load(open(os.path.join(DEMO, 'scenes/film.json')))
+DUR = scene['dur']; EV = scene['ev']; C = scene['cues']
+N = int((DUR + 1) * SR)
+B = .5 # beat at 120 BPM
+SIL = [tuple(C['sil1']), tuple(C['sil2'])]
+REVEAL = C['reveal']
+SEC = C['sec']; CR0 = SEC['crawl'][0]; CR1 = CR0 + SEC['crawl'][1]; AFTER = SEC['after']
+def silent(t, pad=0): return any(a - pad <= t < b for a, b in SIL)
+music = np.zeros((N, 2), np.float32); fx = np.zeros((N, 2), np.float32); amb = np.zeros((N, 2), np.float32); vo = np.zeros((N, 2), np.float32)
+
+# ================================================================= score
+ev = []
+def note(t, inst, p, d, v, pan=0, **k):
+ if t < 0 or t >= DUR: return
+ for a, b in SIL: # nothing sounds into a silence
+ if t < a < t + d: d = max(.05, a - t - .03)
+ if a <= t < b: return
+ ev.append(dict(t=t, inst=inst, pitch=p, dur=d, vel=v, pan=pan, **k))
+def hit(t, inst, var, v, gain=1.0, pan=0):
+ if silent(t) or t < 0 or t >= DUR: return
+ x = S.hit(inst, var, v); add(music, x, t, gain, pan)
+
+# chord plan per bar (2 s): bass root, chord tones
+PLAN = {0: ('D2', 'Dm'), 1: ('D2', 'Dm'), 2: ('Bb1', 'Bb'), 3: ('C2', 'C'), 4: ('D2', 'Dm'), 5: ('Bb1', 'Bb'), 6: ('F2', 'F'),
+ 7: ('C2', 'C'), 8: ('D2', 'Dm'), 9: ('Bb1', 'Bb'), 10: ('G1', 'Gm'), 11: ('D2', 'Dm'), 12: ('G1', 'Gm'), 13: ('A1', 'A'),
+ 14: ('A1', 'A'), 15: ('Bb1', 'Bb'), 16: ('G1', 'Gm'), 17: ('A1', 'Asus'), 18: ('D2', 'D'), 19: ('D2', 'D'), 20: ('D2', 'D')}
+NBAR = len(PLAN)
+def bar(i): return i * 4 * B
+
+# --- bass: eighth-note figure, muted (short) except where it breathes
+FIG = [0, 0, 12, 0, 0, 7, 12, 10] # semitones over the root
+for i in range(NBAR):
+ root, _ = PLAN[i]; t0 = bar(i)
+ if 8.0 <= t0 < 10.7 or t0 >= AFTER: continue
+ for k, iv in enumerate(FIG):
+ t = t0 + k * B / 2
+ if CR0 <= t < CR1: continue # the crawl has its own line
+ if 8.0 <= t < 10.75 or t >= AFTER: continue
+ v = (.62 if k % 2 == 0 else .48) * (.8 if t < 3.0 else 1.0)
+ note(t, 'electric_bass', S.midi(root) + iv, .2 if k % 2 else .32, v, 0)
+# half-time after the stamp: a held root and low toms
+note(8.0, 'electric_bass', 'D2', 2.6, .7); note(8.0, 'contrabass', 'D2', 2.7, .45, 0, attack=.05)
+for t in (9.0, 10.0): hit(t, 'toms', 'low_mallet', .55, .8, -.2)
+# the crawl: bass climbs in eighths while the cable-stayed line creeps past the bank
+for k, p in enumerate(['G1', 'A1', 'Bb1', 'B1', 'C2', 'C#2', 'D2', 'D#2', 'E2', 'F2', 'F#2', 'G2'][:12]):
+ note(CR0 + k * .125, 'electric_bass', p, .12, .55 + k * .02)
+note(CR1, 'electric_bass', 'A1', .45, .7)
+# after the verdict: bass drops to whole notes under L9, then out
+for dt, p in ((0, 'G1'), (1.0, 'G1'), (2.0, 'A1'), (2.75, 'A1')): note(AFTER + dt, 'electric_bass', p, .7, .55)
+
+# --- drums
+def kit(t, var, v, gain=.8, pan=0): hit(t, 'drum_kit', var, v, gain, pan)
+for i in range(NBAR):
+ t0 = bar(i)
+ for s in range(16):
+ t = t0 + s * B / 4
+ if t >= AFTER: break
+ groove_a = t < 7.0 or SEC['rule'] <= t < SEC['bench']
+ groove_b = SEC['bench'] <= t < AFTER
+ if groove_a:
+ if s in (0, 6, 8): kit(t, 'kick_drum_left', .55, .85)
+ if s in (3, 7, 11, 14) and t >= .5: hit(t, 'claves', None, .45, .35, .3)
+ if t >= 3.0 and s % 2 == 0 and not (6.0 <= t < 7.0): hit(t, 'hihat', 'closed', .32 if s % 4 == 0 else .22, .3, .35)
+ elif groove_b:
+ if s in (0, 8, 10): kit(t, 'kick_drum_left', .7, .9)
+ if s in (4, 12): kit(t, 'snare_1', .55, .55, -.05)
+ if s % 2 == 0: hit(t, 'hihat', 'closed' if s % 4 else 'closed', .34 if s % 4 == 0 else .24, .3, .35)
+# fills: the crawl's shaker swell, the snare build into the suspension, the rocket
+for k in range(24): hit(CR0 + k * .0625, 'shaker', 'down' if k % 2 else 'up', .2 + k * .02, .45, .4)
+for k in range(16): kit(SEC['build'] + k * .0625, 'snare_2', .25 + k * .045, .5, -.1)
+# --- low brass: stabs on landings and verdicts (short), long chords at the reveal — placed on the picture's own events
+CH = {'Dm': ['D3', 'F3', 'A3'], 'Bb': ['Bb2', 'D3', 'F3'], 'F': ['F2', 'A2', 'C3'], 'C': ['C3', 'E3', 'G3'], 'Gm': ['G2', 'Bb2', 'D3'],
+ 'A': ['A2', 'C#3', 'E3'], 'Asus': ['A2', 'D3', 'E3'], 'D': ['D3', 'F#3', 'A3']}
+def chord_at(t): return PLAN[min(NBAR - 1, int(t // (4 * B)))]
+def stab(t, ch, v=.6, root=None):
+ for j, p in enumerate(CH[ch]): note(t + j * .008, 'trombone_stac', p, .3, v, -.25 + .25 * j)
+ if root: note(t, 'tuba_stac', root, .35, v)
+EVT = lambda ty: [e for e in EV if e['type'] == ty]
+T0 = C['stamp']; stab(T0, 'Dm', .85, 'D2'); hit(T0, 'timpani', 'drum1', .8, .9); hit(T0, 'gran_cassa', 'hit', .7, .8)
+HK = C['hook']; stab(HK, 'Dm', .7, 'D2'); hit(HK, 'toms', 'low_mallet', .7, .8, -.1); kit(HK, 'kick_drum_left', .8, .9) # the width snaps across
+for e in EVT('land'): # each photo lands on a downbeat with a brass stab in the bar's chord
+ if e.get('size') == 'card': note(e['t'], 'glockenspiel', 'D6', 1.5, .3, .2); continue
+ root, ch = chord_at(e['t'])
+ if e.get('size') == 'big': stab(e['t'], 'A', .72, 'A1'); hit(e['t'], 'timpani', 'drum3', .75, .8); kit(e['t'], 'kick_drum_left', .9, .9)
+ else: stab(e['t'], ch, .5, root)
+for e in EVT('strike'): # struck out: a low, slightly sour blat
+ t = e['t']; note(t, 'trombone_stac', 'D3', .25, .62, -.2); note(t + .01, 'trombone_stac', 'Eb3', .25, .5, .2); note(t, 'tuba_stac', 'D2', .3, .55)
+barely = [e for e in EVT('tag') if e.get('v', 0) >= .85]
+for e in barely: note(e['t'], 'horn_stac', 'A4', .4, .55, .1); note(e['t'], 'horn_stac', 'E4', .4, .45, -.1) # "just enough"
+ROCKET = max(e['t'] for e in EVT('arrow') if e['t'] < REVEAL) # the suspension's line lands: a bright VI
+hit(ROCKET, 'crash', None, .7, .55, .2); kit(ROCKET, 'crash_left', .8, .45, -.3)
+for j, p in enumerate(['Bb2', 'F3', 'D4']): note(ROCKET, 'trombone', p, 1.4, .62, -.3 + .3 * j)
+for j, p in enumerate(['F4', 'Bb4', 'D5']): note(ROCKET, 'horn', p, 1.5, .5, -.3 + .3 * j)
+note(ROCKET, 'tuba', 'Bb1', 1.5, .6)
+RING = [C['ring']]
+for t in RING: note(t, 'vibraphone_hard', 'D5', .8, .4, .2); note(t + .125, 'vibraphone_hard', 'A5', .8, .35, -.2)
+# the verdict: the title is written to a horn line that falls by a fifth, like the ship's horn (A → D)
+TITLE_T = C['title_t'] # the verdict is written over the reveal chord: the horn falls A → D in D major
+for t, p, d in zip(TITLE_T, ['A4', 'F#4', 'E4', 'D4', 'A4'], [.24, .24, .24, .5, .9]):
+ note(t, 'horn', p, d, .5, .15)
+for j, p in enumerate(['G2', 'D3']): note(AFTER + j * .01, 'trombone', p, 1.95, .3, -.2 + .4 * j)
+for j, p in enumerate(['A2', 'E3']): note(AFTER + 2.0 + j * .01, 'trombone', p, 1.3, .3, -.2 + .4 * j)
+# the reveal: D major, low brass and bells over the tuned horn
+R = REVEAL
+note(R, 'tuba', 'D2', 5.2, .7); note(R, 'contrabass', 'D2', 5.2, .5, 0, attack=.2)
+for j, p in enumerate(['D3', 'A3']): note(R + .02, 'trombone', p, 5.0, .62, -.35 + .7 * j)
+for j, p in enumerate(['F#4', 'A4', 'D5']): note(R + .05 + j * .03, 'horn', p, 4.8, .55, -.3 + .3 * j, attack=.25)
+note(R, 'tubular_bells', 'D5', 4.0, .55, .2); note(R + 1.0, 'tubular_bells', 'A4', 3.5, .35, -.2)
+hit(R, 'timpani', 'drum1', .85, .9); hit(R, 'sus_cymbal', 'cresc', .4, .35, .1)
+note(R + 2.0, 'glockenspiel', 'F#6', 2.0, .2, .3); note(R + 2.5, 'glockenspiel', 'A6', 2.0, .18, -.3)
+for k, (dt, p) in enumerate(((3.0, 'D6'), (3.5, 'F#6'), (4.0, 'A6'), (4.75, 'D7'))): note(R + dt, 'glockenspiel', p, 1.6, .2 - .02 * k, (-.3, .3)[k % 2])
+note(R + 3.5, 'vibraphone', 'A4', 2.0, .22, -.2); note(R + 4.5, 'vibraphone', 'D5', 1.5, .2, .2)
+
+mus = S.render([(e['t'], e['inst'], e['pitch'], e['dur'], e['vel'], e['pan']) if 'attack' not in e else dict(t=e['t'], inst=e['inst'], pitch=e['pitch'], dur=e['dur'], vel=e['vel'], pan=e['pan'], attack=e['attack']) for e in ev], dur=N / SR, master=False)
+music[:len(mus)] += mus[:N]
+music = S.room(music, size=.35, mix=.14)
+# the dive before silence 1: a low-pass sweep from 5.6 s, then nothing until the stamp
+def lp_sweep(x, t0, t1, f0, f1):
+ a, b = int(t0 * SR), int(t1 * SR); seg = x[a:b].copy(); n = b - a; out = np.zeros_like(seg); blk = 1024
+ for i in range(0, n, blk):
+ f = f0 * (f1 / f0) ** (i / n); out[i:i + blk] = lp(seg[max(0, i - 4096):i + blk].T, f).T[-len(seg[i:i + blk]):]
+ x[a:b] = out
+lp_sweep(music, 5.6, SIL[0][0], 9000, 260)
+for a, b in SIL: music[int(a * SR):int(b * SR)] *= 0.0
+
+# ================================================================= sound design (procedural, on the picture's events)
+def marker(d, kind='line', seed=0, v=1.0):
+ r = np.random.default_rng(abs(int(seed))); n = int(d * SR); tt = np.arange(n) / SR
+ bed = bp(r.standard_normal(n), 1800, 6500) * (.5 + .5 * np.sin(2 * np.pi * (7 + r.random() * 5) * tt)) * .35
+ x = bed.copy(); count = int(d * (10 if kind == 'write' else 4)) + 1
+ for k in range(count):
+ st = r.uniform(0, max(.01, d - .1)); ln = r.uniform(.035, .12); m = int(ln * SR); s0 = int(st * SR)
+ f0 = r.uniform(1900, 3400); f = f0 * (1 + .18 * np.sin(np.linspace(0, np.pi * r.uniform(1, 3), m))) + 40 * np.sin(2 * np.pi * 30 * np.arange(m) / SR)
+ ph = 2 * np.pi * np.cumsum(f) / SR
+ sq = (np.sin(ph) + .35 * np.sin(2 * ph) + .15 * np.sin(3 * ph)) * np.sin(np.linspace(0, np.pi, m)) ** 1.5
+ x[s0:s0 + m] += sq[:max(0, min(m, n - s0))] * r.uniform(.25, .6)
+ fade = np.minimum(1, np.minimum(tt / .015, (d - tt) / .03))
+ return (x * fade * v).astype(np.float32)
+def tap(v=1.0, f=1.0): # marker nib tapping the enamel
+ d = .06; tt = t_(d)
+ return (norm(hp(noise(d), 2500) * env_exp(d, .002) + np.sin(2 * np.pi * 900 * f * tt) * env_exp(d, .008) * .6 + np.sin(2 * np.pi * 180 * tt) * env_exp(d, .02) * .4) * v).astype(np.float32)
+def magnet_snap(v=1.0, heavy=False, pitch=1.0):
+ d = .14; tt = t_(d)
+ tr = hp(noise(d), 3000) * env_exp(d, .0012)
+ ring = sum(a * np.sin(2 * np.pi * f * pitch * tt) * env_exp(d, tau) for f, a, tau in [(3400, .35, .006), (1850, .3, .01)])
+ body = np.sin(2 * np.pi * (140 if heavy else 210) * pitch * tt) * env_exp(d, .025) * (.9 if heavy else .45)
+ return (norm(tr + ring + body) * v).astype(np.float32)
+def pop_off(v=1.0, pitch=1.0): # a magnet pulled off: suction release + a light tick
+ d = .12; tt = t_(d); f = (300 + 900 * tt / d) * pitch
+ x = np.sin(2 * np.pi * np.cumsum(f) / SR) * env_exp(d, .03) * .7 + hp(noise(d), 4000) * env_exp(d, .003) * .5
+ return (norm(x) * v).astype(np.float32)
+def landing(v=1.0, size='mid'):
+ d = .8; tt = t_(d); f = 48 if size == 'big' else 66
+ low = np.sin(2 * np.pi * f * tt * (1 - .25 * tt)) * env_exp(d, .13 if size == 'big' else .08)
+ board = bp(noise(d), 150, 520) * env_exp(d, .06) * .8
+ slap = hp(noise(d), 1200) * env_exp(d, .006) * .55
+ rattle = np.zeros_like(tt)
+ if size == 'big':
+ for k in range(5): s0 = int((.03 + k * .045) * SR); c_ = clack(.7 + .1 * k, .25 / (k + 1)); rattle[s0:s0 + len(c_)] += c_[:len(rattle) - s0]
+ return (norm(low * 1.15 + board + slap + rattle) * v).astype(np.float32)
+def friction(d, low=False):
+ n = len(t_(d)); tt = np.arange(n) / SR
+ x = bp(rng.standard_normal(n), 250 if low else 600, 1800 if low else 4000) * (.6 + .4 * np.sin(2 * np.pi * 13 * tt))
+ return (x * np.sin(np.pi * tt / d) ** .7 * .6).astype(np.float32)
+def steel_ruler(v=1.0):
+ d = 1.1; tt = t_(d)
+ ring = sum(a * np.sin(2 * np.pi * f * tt + p) * env_exp(d, tau) for f, a, tau, p in [(523, .5, .35, 0), (1391, .4, .22, 1), (2716, .3, .14, 2), (4107, .2, .08, .5), (6150, .1, .05, 1.5)])
+ ld = landing(1, 'mid'); ld = np.pad(ld, (0, max(0, len(tt) - len(ld))))[:len(tt)]
+ x = ring * .6 + ld * .8
+ out = norm(x) * v
+ m2 = magnet_snap(.7, True); out[int(.035 * SR):int(.035 * SR) + len(m2)] += m2[:len(out) - int(.035 * SR)]
+ return out.astype(np.float32)
+def stamp_sfx(v=1.0):
+ d = .6; tt = t_(d)
+ low = np.sin(2 * np.pi * 58 * tt * (1 - .3 * tt)) * env_exp(d, .09)
+ squish = lp(noise(d), 900) * env_exp(d, .025) * .9
+ slap = hp(noise(d), 1500) * env_exp(d, .004) * .7
+ return (norm(low * 1.2 + squish + slap) * v).astype(np.float32)
+def ship_horn(dur=2.2, f0=73.42, far=False, v=1.0):
+ n = int((dur + .8) * SR); tt = np.arange(n) / SR
+ env = np.minimum(1, tt / .18) * np.clip((dur + .6 - tt) / .6, 0, 1) ** 1.5
+ bend = 1 - .018 * np.exp(-tt / .25)
+ x = np.zeros(n)
+ for f, a in ((f0, 1.0), (f0 * 1.5, .7)): # two-tone horn: root and fifth
+ ph = 2 * np.pi * np.cumsum(f * bend * (1 + .002 * np.sin(2 * np.pi * 4.3 * tt))) / SR
+ for h in range(1, 14):
+ x += a * np.sin(h * ph) / h ** .9 * (1.6 if 3 <= h <= 7 else 1) # brassy middle harmonics
+ x = bp(x, 60, 1400 if far else 3200) * env + bp(rng.standard_normal(n), 300, 1800) * env * .03
+ y = np.stack([x, x], 1).astype(np.float32); y = S.room(y, size=.85 if far else .6, mix=.5 if far else .3)
+ return (y[:, 0] / (np.abs(y).max() + 1e-9) * v).astype(np.float32)
+def engine(d, v=1.0):
+ d = round(d * SR) / SR; n = len(t_(d)); tt = np.arange(n) / SR
+ x = lp(brown(d), 160) * (1 + .55 * np.sin(2 * np.pi * 6.5 * tt)) + np.sin(2 * np.pi * 44 * tt) * .25 * (1 + .5 * np.sin(2 * np.pi * 6.5 * tt))
+ e = np.minimum(1, tt / .5) * np.minimum(1, (d - tt) / .4)
+ return (norm(x) * e * v).astype(np.float32)
+def water(d, v=1.0, seed=3):
+ r = np.random.default_rng(abs(int(seed))); n = int(d * SR); out = np.zeros(n); t = 0.0
+ while t < d - .2:
+ ln = r.uniform(.15, .4); m = int(ln * SR); s0 = int(t * SR); seg = bp(r.standard_normal(m), r.uniform(250, 500), r.uniform(900, 1600)) * np.sin(np.linspace(0, np.pi, m)) ** 2
+ out[s0:s0 + m] += seg[:n - s0] * r.uniform(.4, 1.0); t += r.uniform(.18, .45)
+ e = np.minimum(1, np.arange(n) / SR / .4) * np.minimum(1, (d - np.arange(n) / SR) / .5)
+ return (norm(out) * e * v).astype(np.float32)
+def room_tone(d):
+ """the room: air conditioning (a broadband wash, the fan's hum) and, through the window, a traffic bed with cars passing"""
+ d = round(d * SR) / SR; n = len(t_(d)); tt = np.arange(n) / SR
+ hvac = bp(rng.standard_normal(n), 120, 1500) * .5 + lp(brown(d), 300) * .3 + (np.sin(2 * np.pi * 118 * tt) + .4 * np.sin(2 * np.pi * 236 * tt)) * .06
+ traffic = lp(brown(d), 260) * .45
+ r = np.random.default_rng(41); t = .8
+ while t < d - 2:
+ ln = r.uniform(2.2, 3.6); m = int(ln * SR); s0 = int(t * SR)
+ sw = bp(r.standard_normal(m), r.uniform(160, 280), r.uniform(1100, 2200)) * np.sin(np.linspace(0, np.pi, m)) ** 2 * r.uniform(.6, 1.1)
+ traffic[s0:s0 + m] += sw[:max(0, min(m, n - s0))]
+ t += r.uniform(3.0, 6.0)
+ return hvac.astype(np.float32), traffic.astype(np.float32)
+
+for e in EV:
+ t, ty, v = e['t'], e['type'], e.get('v', 1.0)
+ if ty == 'ink': add(fx, marker(e['d'], e.get('kind', 'line'), int(t * 100) + 1, v), t, .17 if e.get('kind') == 'write' else .13, pan=.08)
+ elif ty == 'dimzip': add(fx, marker(e['d'], 'line', int(t * 100) + 7, 1.2), t, .16 * v, pan=.1)
+ elif ty == 'scribble': add(fx, marker(e['d'], 'write', int(t * 100) + 3, .7), t, .1 * v, pan=-.1)
+ elif ty == 'arrow': add(fx, tap(v), t, .3, pan=.1)
+ elif ty == 'tick': add(fx, tap(v, 1.3), t, .22, pan=-.15)
+ elif ty == 'pier': add(fx, magnet_snap(.8, False, 1 + .04 * (e['n'] - 3)), t, .26, pan=-.3 + .1 * e['n'])
+ elif ty == 'pin': add(fx, magnet_snap(v, True, 1.12), t, .3, pan=rng.uniform(-.25, .25))
+ elif ty == 'pop': add(fx, pop_off(.9, 1 + .05 * e['n']), t, .3, pan=-.3 + .1 * e['n'])
+ elif ty == 'tag': add(fx, magnet_snap(v), t, .38 * v, pan=rng.uniform(-.2, .2))
+ elif ty == 'land' and e.get('size') == 'card': # the end card: paper slap and its two magnets
+ add(fx, landing(.5, 'mid'), t - .01, .3); add(fx, magnet_snap(.9, True), t, .45, -.2); add(fx, magnet_snap(.8, True, 1.06), t + .045, .4, .2)
+ elif ty == 'land': add(fx, landing(v, e.get('size', 'mid')), t - .01, .62 * v)
+ elif ty == 'ruler': add(fx, steel_ruler(1.0), t - .01, .5)
+ elif ty == 'erase': add(fx, friction(e['d']), t, .32)
+ elif ty == 'strike': add(fx, marker(.22, 'line', 77, 1.4), t, .2)
+ elif ty == 'stamp': add(fx, stamp_sfx(1.0), t, .85)
+ elif ty == 'whoosh': add(fx, whoosh(.45, 1.0), t - .08, .22 * v)
+ elif ty == 'horn':
+ h = ship_horn(2.4 if e.get('tuned') else 1.8, 73.42 if e.get('tuned') else 69.3, far=bool(e.get('far')))
+ add(fx, h, t, .55 * v)
+ elif ty == 'engine': add(amb, engine(e['d'], 1.0), t, .3 * v)
+ elif ty == 'water': add(amb, water(e['d'], 1.0, int(t)), t, .14)
+ elif ty == 'reveal': add(fx, thump(.9, 42), t, .5); add(fx, whoosh(.9, .6), t, .12)
+# the silences: everything but the room drops away (40 ms fades); the first sound after each is the stamp / the horn
+gate = np.ones(N, np.float32)
+for a, b in SIL:
+ i0, i1, f = int(a * SR), int(b * SR), int(.04 * SR)
+ gate[i0:i1] = .03; gate[i0 - f:i0] = np.linspace(1, .03, f); gate[i1 - 2:i1] = .03
+fx *= gate[:, None]; amb *= gate[:, None]
+
+# ================================================================= voice
+for e in EV:
+ if e['type'] != 'vo': continue
+ x, sr = sf.read(os.path.join(HERE, 'vo', e['id'] + '.wav'), dtype='float32')
+ if x.ndim > 1: x = x.mean(1)
+ x = soxr.resample(x, sr, SR) if sr != SR else x
+ x = hp(x, 80); x = compress(x / (np.abs(x).max() + 1e-9), thr=.3, ratio=3.0)
+ add(vo, x, e['t'], 1.0)
+
+def rms(x): return float(np.sqrt(np.mean(x ** 2) + 1e-12))
+vmask = np.abs(vo).max(1) > 1e-4; v_rms = rms(vo[vmask])
+# room tone under everything, about 20 dB under the voice: the AC on the right, the window (traffic) on the left.
+# Added after the gate, so the silences keep exactly this and nothing else.
+hv_, tr_ = room_tone(DUR + .5); room = np.zeros_like(amb); add(room, hv_, 0, 1.0, .25); add(room, tr_, 0, 1.0, -.5)
+room *= v_rms * 10 ** (-20 / 20) / rms(room); amb += room
+music *= (v_rms / rms(music[np.abs(music).max(1) > 1e-4])) * 10 ** (-8.5 / 20) # music ~8.5 dB under the voice
+win = int(.12 * SR); venv = np.convolve(np.abs(vo).max(1), np.ones(win) / win, 'same')
+duck = 1 - .4 * np.clip(venv / (venv.max() * .25 + 1e-9), 0, 1)
+music *= duck[:, None]; fx *= (1 - .3 * (1 - duck))[:, None]
+music = hp(music.T, 36).T.astype(np.float32)
+mix = music + fx * .78 + amb + vo
+# low end: a 30 Hz high-pass keeps the sub tidy (measured: 20–120 Hz sits about 11 dB under 120 Hz–2 kHz by band energy)
+mix = hp(mix.T, 30).T.astype(np.float32)
+from scipy.ndimage import maximum_filter1d, uniform_filter1d
+def bus_limit(x, ceil, look=.006, rel=.06):
+ n = int(look * SR); pk = np.abs(x).max(1)
+ m = maximum_filter1d(pk, size=2 * n + 1); g = np.minimum(1, ceil / np.maximum(m, 1e-9))
+ g = uniform_filter1d(g, size=n); g = np.minimum(g, uniform_filter1d(g, size=int(rel * SR)))
+ return x * g[:, None]
+peak_rms = np.sqrt(np.mean(mix[np.abs(mix).max(1) > 1e-4] ** 2))
+mix = bus_limit(mix, peak_rms * 4.5)
+mix = mix / np.abs(mix).max() * .7
+end = int(DUR * SR); fo = int(1.2 * SR); mix[end - fo:end] *= np.linspace(1, 0, fo)[:, None] ** 1.5
+os.makedirs(os.path.join(DEMO, 'out'), exist_ok=True)
+sf.write(os.path.join(DEMO, 'out/mix.wav'), mix[:end], SR)
+os.makedirs(os.path.join(HERE, 'stems'), exist_ok=True)
+for nm, s in (('music', music), ('fx', fx), ('amb', amb), ('vo', vo)): sf.write(os.path.join(HERE, 'stems', nm + '.wav'), s[:end], SR)
+print('out/mix.wav', round(DUR, 2), 's ·', len(ev), 'score notes')
diff --git a/styles/briefing-board/demo/audio/vo/dur.json b/styles/briefing-board/demo/audio/vo/dur.json
new file mode 100644
index 0000000..bc5fc0a
--- /dev/null
+++ b/styles/briefing-board/demo/audio/vo/dur.json
@@ -0,0 +1,11 @@
+{
+ "L1": 1.993,
+ "L2": 3.308,
+ "L3": 2.486,
+ "L4": 2.737,
+ "L5": 2.271,
+ "L6": 1.942,
+ "L7": 2.998,
+ "L8": 1.863,
+ "L9": 2.87
+}
\ No newline at end of file
diff --git a/styles/briefing-board/demo/audio/vo/words.json b/styles/briefing-board/demo/audio/vo/words.json
new file mode 100644
index 0000000..e7c2335
--- /dev/null
+++ b/styles/briefing-board/demo/audio/vo/words.json
@@ -0,0 +1,325 @@
+{
+"L1": [
+[
+"This",
+-0.6,
+0.1
+],
+[
+"river",
+0.1,
+0.32
+],
+[
+"is",
+0.32,
+0.66
+],
+[
+"a",
+0.66,
+0.76
+],
+[
+"thousand",
+0.76,
+1.06
+],
+[
+"meters",
+1.06,
+1.36
+],
+[
+"wide.",
+1.36,
+1.7
+]
+],
+"L2": [
+[
+"First",
+-0.6,
+0.2
+],
+[
+"instinct,",
+0.2,
+0.5
+],
+[
+"piers",
+0.98,
+1.18
+],
+[
+"all",
+1.18,
+1.38
+],
+[
+"the",
+1.38,
+1.48
+],
+[
+"way",
+1.48,
+1.58
+],
+[
+"across,",
+1.58,
+1.82
+],
+[
+"a",
+2.42,
+2.46
+],
+[
+"beam",
+2.46,
+2.66
+],
+[
+"bridge.",
+2.66,
+3.0
+]
+],
+"L3": [
+[
+"But",
+-0.6,
+0.08
+],
+[
+"the",
+0.08,
+0.18
+],
+[
+"river",
+0.18,
+0.36
+],
+[
+"isn't",
+0.36,
+0.82
+],
+[
+"the",
+0.82,
+0.9
+],
+[
+"problem,",
+0.9,
+1.12
+],
+[
+"the",
+1.64,
+1.76
+],
+[
+"ship",
+1.76,
+1.94
+],
+[
+"is.",
+1.94,
+2.22
+]
+],
+"L4": [
+[
+"New",
+-0.6,
+0.12
+],
+[
+"rule,",
+0.12,
+0.36
+],
+[
+"no",
+0.62,
+0.68
+],
+[
+"peers",
+0.68,
+0.94
+],
+[
+"in",
+0.94,
+1.18
+],
+[
+"the",
+1.18,
+1.24
+],
+[
+"channel.",
+1.24,
+1.54
+],
+[
+"One",
+2.12,
+2.14
+],
+[
+"span.",
+2.14,
+2.4
+]
+],
+"L5": [
+[
+"Beam",
+-0.6,
+0.16
+],
+[
+"330,",
+0.16,
+0.54
+],
+[
+"not",
+1.58,
+1.68
+],
+[
+"close.",
+1.68,
+1.92
+]
+],
+"L6": [
+[
+"Arch",
+-0.6,
+0.22
+],
+[
+"600,",
+0.22,
+0.62
+],
+[
+"still",
+1.1,
+1.36
+],
+[
+"short.",
+1.36,
+1.66
+]
+],
+"L7": [
+[
+"Cable",
+-0.6,
+0.16
+],
+[
+"stayed",
+0.16,
+0.52
+],
+[
+"1208,",
+0.52,
+1.66
+],
+[
+"just",
+2.1,
+2.38
+],
+[
+"enough.",
+2.38,
+2.72
+]
+],
+"L8": [
+[
+"Suspension",
+-0.6,
+0.46
+],
+[
+"over",
+0.46,
+0.92
+],
+[
+"2000.",
+0.92,
+1.52
+]
+],
+"L9": [
+[
+"The",
+-0.6,
+0.06
+],
+[
+"river",
+0.06,
+0.2
+],
+[
+"sets",
+0.2,
+0.54
+],
+[
+"the",
+0.54,
+0.76
+],
+[
+"question,",
+0.76,
+1.0
+],
+[
+"the",
+1.58,
+1.66
+],
+[
+"ship",
+1.66,
+1.84
+],
+[
+"sets",
+1.84,
+2.12
+],
+[
+"the",
+2.12,
+2.34
+],
+[
+"span.",
+2.34,
+2.54
+]
+]
+}
\ No newline at end of file
diff --git a/styles/briefing-board/demo/build.sh b/styles/briefing-board/demo/build.sh
new file mode 100755
index 0000000..21c6dea
--- /dev/null
+++ b/styles/briefing-board/demo/build.sh
@@ -0,0 +1,35 @@
+#!/bin/sh
+# Engineering Briefing Board — "The Ship Decides": one-command build.
+# voice (+ speech check) → scene → checks → picture → score and sound → subtitles → master → poster.
+# Objects in kit/objects/ are already prepared (rebuild them with kit/tools/rebuild_objects.sh, about 3 minutes);
+# the Chinese font subsets in kit/fonts/ come from kit/tools/fetch_fonts.py (needs a network).
+set -e
+HERE=$(cd "$(dirname "$0")" && pwd)
+LIB=${LIB:-$(cd "$HERE/../../.." && pwd)} # <repo>/films/<name>/demo or <repo>/styles/<slug>/demo
+export LIB
+[ -f "$LIB/core/render/video.mjs" ] || { echo "set LIB to the library folder"; exit 1; }
+PY="$LIB/.venv/bin/python"
+NAME=$(basename "$(dirname "$HERE")")
+OUT="$HERE/.."
+cd "$HERE"
+[ -f audio/vo/dur.json ] || "$PY" "$LIB/core/tts/tts.py" audio/lines.json audio/vo
+"$PY" "$LIB/core/tts/asr_check.py" audio/lines.json audio/vo --lang en
+python3 scenes/_gen_film.py # scenes/film.json + audio/cues.json
+python3 tools/cuecheck.py
+cd "$LIB"
+node core/render/readcheck.mjs "$HERE" --step 0.05
+node "$HERE/tools/camcheck.mjs"
+node "$HERE/tools/rescheck.mjs"
+node core/render/events.mjs "$HERE"
+node core/render/video.mjs "$HERE" --fps 24 --workers ${WORKERS:-5} --out "$HERE/out/video.mp4"
+"$PY" "$HERE/audio/mix.py"
+"$PY" core/render/srt.py "$HERE/audio/cues.json" "$OUT/$NAME.srt"
+node "$HERE/tools/subcheck.mjs" "$OUT/$NAME.srt"
+sh core/render/mux.sh "$HERE/out/video.mp4" "$HERE/out/mix.wav" "$OUT/$NAME.mp4" 24 1
+node core/render/still.mjs "$HERE" 39.9 --prefix poster_ --out "$HERE/stills"
+cp "$HERE/stills/poster_39.9.jpg" "$OUT/poster.jpg"
+mv "$HERE/stills/poster_39.9.jpg" "$HERE/stills/styleframe.jpg"
+"$PY" "$HERE/tools/rhythm_report.py" "$OUT/$NAME.mp4"
+"$PY" "$HERE/tools/final_asr.py" "$OUT/$NAME.mp4"
+"$PY" "$HERE/tools/camplot.py"
+echo "done: $OUT/$NAME.mp4"
diff --git a/styles/briefing-board/demo/events.json b/styles/briefing-board/demo/events.json
new file mode 100644
index 0000000..57ca763
--- /dev/null
+++ b/styles/briefing-board/demo/events.json
@@ -0,0 +1 @@
+{"dur":40,"ev":[{"t":0,"type":"dimzip","d":0.25,"v":1},{"t":0,"type":"arrow","v":0.7},{"t":0,"type":"whoosh","v":0.7},{"t":0.25,"type":"arrow","v":1},{"t":0.25,"type":"hook"},{"t":0.35,"type":"ink","d":0.6,"kind":"write"},{"t":0.45,"type":"vo","id":"L1"},{"t":1,"type":"scribble","d":1.3,"v":0.3},{"t":3,"type":"ink","d":0.75,"kind":"line"},{"t":3.08,"type":"vo","id":"L2"},{"t":4.25,"type":"pier","n":0},{"t":4.5,"type":"pier","n":1},{"t":4.75,"type":"pier","n":2},{"t":5,"type":"pier","n":3},{"t":5.25,"type":"pier","n":4},{"t":5.5,"type":"pier","n":5},{"t":5.75,"type":"pier","n":6},{"t":5.75,"type":"horn","v":0.55,"far":1},{"t":5.9,"type":"water","d":2.3},{"t":6,"type":"engine","d":2},{"t":8,"type":"stamp"},{"t":8.3,"type":"vo","id":"L3"},{"t":10.8,"type":"whoosh","v":0.4},{"t":11.1,"type":"ink","d":0.45,"kind":"write"},{"t":11.42,"type":"vo","id":"L4"},{"t":11.58,"type":"ink","d":0.2,"kind":"line"},{"t":11.8,"type":"ink","d":0.75,"kind":"write"},{"t":12.75,"type":"pop","n":0},{"t":12.875,"type":"pop","n":1},{"t":13,"type":"pop","n":2},{"t":13.125,"type":"pop","n":3},{"t":13.25,"type":"pop","n":4},{"t":13.375,"type":"pop","n":5},{"t":13.5,"type":"pop","n":6},{"t":13.55,"type":"erase","d":0.5},{"t":14,"type":"ruler"},{"t":14.42,"type":"whoosh","v":0.45},{"t":14.45,"type":"tick","v":0.5},{"t":14.575,"type":"tick","v":0.47},{"t":14.7,"type":"tick","v":0.44},{"t":14.825,"type":"tick","v":0.41000000000000003},{"t":14.95,"type":"tick","v":0.38},{"t":15,"type":"land","size":"mid","v":0.85},{"t":15.075,"type":"tick","v":0.35},{"t":15.125,"type":"pin","v":0.55},{"t":15.2,"type":"tick","v":0.32},{"t":15.25,"type":"pin","v":0.55},{"t":15.25,"type":"whoosh","v":0.2},{"t":15.325,"type":"tick","v":0.29000000000000004},{"t":15.875,"type":"dimzip","d":0.375,"v":0.7},{"t":15.9,"type":"vo","id":"L5"},{"t":16.25,"type":"arrow","v":1},{"t":16.27,"type":"ink","d":0.4,"kind":"write"},{"t":16.375,"type":"tag","v":0.6},{"t":17.125,"type":"strike"},{"t":17.245,"type":"ink","d":0.3,"kind":"line","v":0.5},{"t":18.45,"type":"whoosh","v":0.35},{"t":19,"type":"land","size":"mid","v":0.85},{"t":19.125,"type":"pin","v":0.55},{"t":19.25,"type":"pin","v":0.55},{"t":19.25,"type":"whoosh","v":0.2},{"t":19.875,"type":"dimzip","d":0.375,"v":0.7},{"t":19.9,"type":"vo","id":"L6"},{"t":20.25,"type":"arrow","v":1},{"t":20.27,"type":"ink","d":0.4,"kind":"write"},{"t":20.375,"type":"tag","v":0.6},{"t":21.125,"type":"strike"},{"t":21.245,"type":"ink","d":0.3,"kind":"line","v":0.5},{"t":22.45,"type":"whoosh","v":0.4},{"t":23.125,"type":"land","size":"mid","v":0.85},{"t":23.25,"type":"pin","v":0.55},{"t":23.375,"type":"pin","v":0.55},{"t":23.375,"type":"whoosh","v":0.2},{"t":24,"type":"vo","id":"L7"},{"t":24.125,"type":"dimzip","d":1.5,"v":0.7},{"t":25.625,"type":"arrow","v":1},{"t":25.645,"type":"ink","d":0.4,"kind":"write"},{"t":25.75,"type":"tag","v":0.6},{"t":26,"type":"tag","v":0.9},{"t":28.2,"type":"whoosh","v":0.45},{"t":28.875,"type":"land","size":"big","v":1},{"t":29,"type":"pin","v":0.55},{"t":29.125,"type":"pin","v":0.55},{"t":29.125,"type":"whoosh","v":0.2},{"t":29.875,"type":"dimzip","d":0.5,"v":1},{"t":29.875,"type":"vo","id":"L8"},{"t":30.175,"type":"whoosh","v":1},{"t":30.375,"type":"arrow","v":1},{"t":30.395,"type":"ink","d":0.4,"kind":"write"},{"t":30.625,"type":"tag","v":0.6},{"t":31.25,"type":"ink","d":0.42,"kind":"line","v":0.8},{"t":32,"type":"horn","v":0.75,"far":0},{"t":32.125,"type":"ink","d":0.6,"kind":"line","v":0.6},{"t":32.375,"type":"vo","id":"L9"},{"t":32.475,"type":"water","d":2.75},{"t":32.575,"type":"engine","d":2.6,"v":0.8},{"t":32.825,"type":"whoosh","v":0.45},{"t":35.75,"type":"reveal"},{"t":35.75,"type":"horn","v":1,"far":0,"tuned":1},{"t":35.8,"type":"whoosh","v":0.5},{"t":36.7,"type":"ink","d":0.6,"kind":"line","v":0.6},{"t":36.875,"type":"ink","d":0.22,"kind":"write","v":1},{"t":37.125,"type":"ink","d":0.22,"kind":"write","v":1},{"t":37.375,"type":"ink","d":0.22,"kind":"write","v":1},{"t":37.625,"type":"ink","d":0.22,"kind":"write","v":1},{"t":37.875,"type":"ink","d":0.22,"kind":"write","v":1}]}
\ No newline at end of file
diff --git a/styles/briefing-board/demo/index.html b/styles/briefing-board/demo/index.html
new file mode 100644
index 0000000..315fcc6
--- /dev/null
+++ b/styles/briefing-board/demo/index.html
@@ -0,0 +1,46 @@
+<!doctype html>
+<html lang="zh-CN">
+<head>
+<meta charset="utf-8">
+<title>Engineering Briefing Board</title>
+<style>
+ @font-face { font-family: 'LXGW Marker Gothic'; src: url('kit/fonts/LXGWMarkerGothic-sub.woff2') format('woff2'); font-weight: 400; }
+ @font-face { font-family: 'Noto Sans SC'; src: url('kit/fonts/NotoSansSC-500-sub.woff2') format('woff2'); font-weight: 500; }
+ @font-face { font-family: 'Noto Sans SC'; src: url('kit/fonts/NotoSansSC-700-sub.woff2') format('woff2'); font-weight: 700; }
+ @font-face { font-family: 'Noto Sans SC'; src: url('kit/fonts/NotoSansSC-900-sub.woff2') format('woff2'); font-weight: 900; }
+ @font-face { font-family: 'Archivo'; src: url('kit/fonts/Archivo-VF.ttf') format('truetype'); font-weight: 100 900; font-stretch: 62% 125%; }
+ @font-face { font-family: 'Plex Mono'; src: url('kit/fonts/IBMPlexMono-Medium.ttf') format('truetype'); font-weight: 500; }
+ @font-face { font-family: 'Plex Mono'; src: url('kit/fonts/IBMPlexMono-SemiBold.ttf') format('truetype'); font-weight: 600; }
+ html, body { margin: 0; background: #8F8B83; overflow: hidden; }
+ canvas { display: block; }
+</style>
+</head>
+<body>
+<canvas id="c"></canvas>
+<script type="module">
+ import { setScene, renderScene, loadFonts, sceneTexts, sceneEvents, subCheck, camAt, toWorld, screenSpeed, resCheck } from './kit/board.js';
+ const cv = document.getElementById('c');
+ const q = new URLSearchParams(location.search);
+ function size() { cv.width = innerWidth; cv.height = innerHeight; cv.style.width = innerWidth + 'px'; cv.style.height = innerHeight + 'px'; }
+ size();
+ let cur = null;
+ // batch tools call loadScene(url) between screenshots; the film uses ?scene=scenes/film.json (default)
+ window.loadScene = async (url) => {
+ const s = await (await fetch(url)).json();
+ cur = await setScene(s); window.DUR = cur.dur || 1; window.EV = sceneEvents(); size();
+ return { t: s.t ?? cur.t ?? 1000, size: s.size || [1920, 1080] };
+ };
+ window.render = (t) => renderScene(cv, t);
+ window.TEXTS = (t) => sceneTexts(t);
+ window.SUBCHECK = () => subCheck();
+ window.CAM = (t) => camAt(t);
+ window.TOWORLD = (p, t) => toWorld(p, t);
+ window.SPEED = (t) => screenSpeed(t);
+ window.RESCHECK = (t) => resCheck(t);
+ await loadFonts();
+ await window.loadScene(q.get('scene') || 'scenes/film.json');
+ window.render(cur.t ?? 0);
+ window.READY = true;
+</script>
+</body>
+</html>
diff --git a/styles/briefing-board/demo/kit/README.md b/styles/briefing-board/demo/kit/README.md
new file mode 100644
index 0000000..3ae875c
--- /dev/null
+++ b/styles/briefing-board/demo/kit/README.md
@@ -0,0 +1,97 @@
+# Briefing Board kit (v3)
+
+A small, data-driven kit for the Engineering Briefing Board look: one real whiteboard wall, filmed,
+with cut-out photographs mounted on it, magnetic tags, magnets, a steel ruler, rubber stamps, and
+marker ink that draws itself. One renderer makes the film, stills, thumbnails and social cards.
+Everything is 2D layers composited with depth (parallax, shadows, depth of field, motion blur).
+
+```
+kit/
+ board.js renderer: board surface and light, camera (overlapping eased moves, impact shakes,
+ hand-held breath), prints, tags, magnets, ruler, card, stamp, ink, erasing,
+ bilingual subtitles; TEXTS for the reading check, SUBCHECK for one-line subtitles,
+ RESCHECK (source px per screen px of every print at time t)
+ batch.mjs scene JSON → PNG/JPG, many at once, any size
+ objects/ the object library: <id>.png (cut-out) + <id>.json (size, anchors, credit, how it was cut)
+ fonts/ LXGW Marker Gothic + Noto Sans SC (subsets), Archivo, IBM Plex Mono — all OFL
+ tools/
+ prep_object.py photo → cut-out object (BiRefNet ONNX mask, optional polygon / sky key, clean edge, shared grade)
+ sky_key.py a mask for thin things shot against a clear sky (cables, stays), to add to BiRefNet's
+ redraw_stays.py stay cables measured from the sky key and redrawn as clean lines (pylon stays in front)
+ redraw_suspension.py main cables (fitted parabolas) and hangers (measured) redrawn as clean lines
+ repair_hangers.py hangers lost against a busy background continued down to the deck
+ mirror_span.py / stretch_span.py one pylon + fan mirrored into a main span / a main span stretched
+ clean_lettering.py median-filter wipe of names and logos inside rectangles (before cutting)
+ make_print.py an uncut photo on white photo paper, for pinned prints
+ ship_anchors.py bow / stern / waterline anchors of a side-view ship
+ fetch_fonts.py subset the Chinese fonts to the characters a scene uses (network)
+ rebuild_objects.sh rebuilds every object in objects/ from sources/, exactly as used
+```
+
+## Make frames
+
+```sh
+node kit/batch.mjs scenes/stills/*.json --out stills
+```
+
+A still reuses a world and sets its own camera and time:
+
+```json
+{ "extends": "scenes/film.json", "out": "thumb.jpg", "size": [1280, 720], "t": 35, "hand": 0,
+ "cam": { "x": 2800, "y": 1780, "z": 0.22, "roll": 0, "moves": [] } }
+```
+
+A new film is a new world: copy `scenes/_gen_film.py`, change the layout, the timeline and the
+objects. The look (board, light, ink, tags, magnets, camera behaviour) comes with the renderer.
+
+## The world (scene JSON)
+
+| key | meaning |
+|---|---|
+| `board` | `{w, h, seed, texScale, ghosts}` in board px (zoom 1 shows 1,920 board px across). Enamel, ghosts of erased marker, smudges and the frame come from `seed` |
+| `light` | `{x, y, r, min}`: where the window light comes from and how far the board darkens away from it |
+| `cam` | `{x, y, z, roll, moves, shakes}`. Each move `{t, d, dx, dy, dl (Δ ln zoom), dr, a, b}` adds an eased delta; moves may overlap. The ease has velocity ∝ u^a (1−u)^b, so speed and acceleration stay continuous; `a < b` starts quick and settles long (inertia). `shakes`: `{t, amp, f, k, dir}` for impacts |
+| `hand` | hand-held breath amplitude (px); 0 for stills |
+| `elements` | prints, tags, magnets, ruler, card, stamp, ink (below) |
+| `subs` | `[{t0, t1, zh, en, speech}]`: burned-in bilingual subtitles, one line per language |
+| `tray` | markers and an eraser lying in the tray |
+| `mb` | `[{t0, t1, n}]` extra motion-blur samples while objects move fast |
+| `ev` | sound events for the mix (`events.mjs` exports them) |
+
+### Elements
+
+| type | what | key fields |
+|---|---|---|
+| `print` | cut-out photo mounted off the board (real shadow, parallax) | `src`, `xy` (centre), `w` or `h`, `z`, `rot`, `arrive {t, kind: drop/slide/fade, d, lift, land}`, `moves` (eased travel), `leave` |
+| `tag` | magnetic label | `text`, `xy` (the magnet), `size`, `rot`, `color`, `magnetColor`, `arrive {kind: swing/snap}`, `strike {t, d, color}` |
+| `magnet` | round magnet | `xy`, `r`, `color` (graphite, red, blue, white), `arrive {kind: snap}`, `leave {kind: pop}` |
+| `ruler` | steel ruler on two magnets | `from`, `to`, `w`, `arrive` |
+| `card` | printed card pinned by magnets | `xy`, `w`, `h`, `rot`, `lines [{text, font: sc/mono/sans/marker, size, x, y, color}]`, `magnets` |
+| `stamp` | rubber-stamp impression | `text`, `xy`, `size`, `rot`, `t` |
+| `ink` · `line` | marker line, optional arrow, dashes | `points` (px or `"objectId.anchor"`), `lw`, `color`, `t`, `d`, `dash`, `arrow`, `ea`/`eb` |
+| `ink` · `dim` | dimension with arrowheads and extension lines | `from`, `to`, `ext [[x, y0, y1]]` |
+| `ink` · `write` | marker lettering (LXGW Marker Gothic), revealed glyph by glyph with a slight hand | `text`, `xy` (baseline), `size`, `align`, `rot` |
+| `ink` · `hatch` | many short strokes with their own times (water, land hatching) | `strokes [{points, t, d}]` |
+| `ink` · `ring` | hand-drawn ring | `c`, `r` (or `[rx, ry]`) |
+| `ink` · `wake` | wake lines behind a moving print | `follow`, `len`; `dir: 'side'` + `y` (waterline) for a ship seen side-on |
+
+Every ink element draws over `t … t + d`; `erase {t, d}` wipes it to a ghost; `out` fades it.
+
+## Add an object
+
+```sh
+$LIB/.venv/bin/python kit/tools/prep_object.py <photo> <id> --keep-largest [--crop …] [--poly …] --anchor L=0.12,0.86 --anchor R=0.88,0.86
+```
+
+Anchors are in the output's normalised coordinates. Bridges carry `L` and `R` (the main-span supports at
+the water line) so the scene can scale them to a span; the ship carries `bow` and `stern`.
+Cut at the photo's own resolution (`--max` no smaller than the crop): `tools/rescheck.mjs` fails the build if any
+frame shows a print at less than one source pixel per screen pixel. List every image in `CREDITS` with its source and licence.
+
+## The look, as rules
+
+- **No slide chrome.** No header, page margins, number blocks or centred layouts. Words are written on the board or pinned to it.
+- **Things are physical, marks are drawn.** Prints, tags and magnets cast shadows and arrive with weight; ink is flat on the board and draws with its tip.
+- **Three ink colours, one meaning each.** Graphite = names and rules. Blue = water and measurement. Red = the decision.
+- **One wall.** The film never cuts to a page; the camera travels. The whole wall is seen once, at the end.
+- **Readable.** One idea per beat; every text held for its reading time (`readcheck.mjs`).
diff --git a/styles/briefing-board/demo/kit/batch.mjs b/styles/briefing-board/demo/kit/batch.mjs
new file mode 100644
index 0000000..79999cf
--- /dev/null
+++ b/styles/briefing-board/demo/kit/batch.mjs
@@ -0,0 +1,30 @@
+// Batch renderer: every scene JSON → PNG, in one browser.
+// node kit/batch.mjs scenes/stills/*.json [--out stills/] [--t 12.5]
+// Each scene may set "size": [w, h] (default 1920×1080), "t" (time to render; default: everything
+// revealed) and "out" (file name, default <scene name>.png). A still usually "extends" the film's
+// world (scenes/film.json) and sets only its own camera, so one world feeds the film, the stills,
+// thumbnails and social cards. Run from anywhere; LIB (the library root) is found from this file.
+import path from 'path'; import fs from 'fs'; import { fileURLToPath } from 'url';
+const HERE = path.dirname(fileURLToPath(import.meta.url)), DEMO = path.resolve(HERE, '..');
+const LIB = process.env.LIB || path.resolve(DEMO, '../../..');
+const { openDemo, closeServer } = await import(path.join(LIB, 'core/render/page.mjs'));
+const args = process.argv.slice(2);
+const take = k => { const i = args.indexOf(k); return i >= 0 ? args.splice(i, 2)[1] : null; };
+const outDir = path.resolve(DEMO, take('--out') || 'stills'), tOver = take('--t');
+const scenes = args.map(a => path.resolve(process.cwd(), a));
+if (!scenes.length) { console.error('usage: node kit/batch.mjs <scene.json> … [--out dir] [--t sec]'); process.exit(2); }
+fs.mkdirSync(outDir, { recursive: true });
+const { browser, page } = await openDemo(DEMO, { w: 1920, h: 1080 });
+for (const f of scenes) {
+ const rel = path.relative(DEMO, f).split(path.sep).join('/');
+ const spec = JSON.parse(fs.readFileSync(f, 'utf8'));
+ const [w, h] = spec.size || [1920, 1080];
+ await page.setViewportSize({ width: w, height: h });
+ const info = await page.evaluate(u => window.loadScene(u), rel);
+ const t = tOver != null ? +tOver : info.t;
+ await page.evaluate(t => window.render(t), t);
+ const out = path.join(outDir, spec.out || path.basename(f, '.json') + '.png');
+ await page.screenshot({ path: out, type: out.endsWith('.jpg') ? 'jpeg' : 'png', ...(out.endsWith('.jpg') ? { quality: 92 } : {}) });
+ console.log(out, `${w}x${h}`, 't=' + t);
+}
+await browser.close(); closeServer();
diff --git a/styles/briefing-board/demo/kit/board.js b/styles/briefing-board/demo/kit/board.js
new file mode 100644
index 0000000..9b33ac3
--- /dev/null
+++ b/styles/briefing-board/demo/kit/board.js
@@ -0,0 +1,726 @@
+// Engineering Briefing Board kit v3: one continuous whiteboard wall, filmed.
+// A scene is data (scenes/*.json): the board, a camera built from overlapping eased moves,
+// and elements that live on the board:
+// prints cut-out photos mounted a few mm off the board (real shadows, parallax, weight)
+// tags / magnets / ruler / card physical things pinned to the board
+// ink marker lines, dimension lines, hatching and marker lettering drawn ON the board
+// stamp a rubber-stamp impression
+// render(t) is deterministic: no state is carried from one frame to the next.
+// Only the subtitles are screen-space.
+
+const W = 1920, H = 1080;
+const KIT = new URL('.', import.meta.url).pathname;
+
+// ---------------------------------------------------------------- utils
+const clamp = (x, a = 0, b = 1) => Math.max(a, Math.min(b, x));
+const lerp = (a, b, t) => a + (b - a) * t;
+const seg = (t, a, b) => clamp((t - a) / Math.max(1e-6, b - a));
+const eo = t => 1 - Math.pow(1 - clamp(t), 3);
+const ei = t => Math.pow(clamp(t), 3);
+const eio = t => { t = clamp(t); return t < .5 ? 4 * t * t * t : 1 - Math.pow(-2 * t + 2, 3) / 2; };
+const settle = (t, f = 9, k = 4.5) => t <= 0 ? 0 : 1 - Math.exp(-k * t) * Math.cos(f * t);
+function mulberry(seed) { return () => { seed |= 0; seed = seed + 0x6D2B79F5 | 0; let t = Math.imul(seed ^ seed >>> 15, 1 | seed); t = t + Math.imul(t ^ t >>> 7, 61 | t) ^ t; return ((t ^ t >>> 14) >>> 0) / 4294967296; }; }
+const hash = n => { n = Math.sin(n * 127.1 + 311.7) * 43758.5453; return n - Math.floor(n); };
+
+// Beta ease: velocity ∝ u^a (1-u)^b. a = b = 2 is smootherstep. Position, velocity and
+// acceleration are all zero at both ends (a, b ≥ 2), so overlapping moves add up to a
+// path whose speed and acceleration never jump. a < b: quick start, long settle (inertia);
+// a > b: slow wind-up, firm arrival.
+const easeLUT = new Map();
+export function bease(u, a = 2, b = 2) {
+ if (u <= 0) return 0; if (u >= 1) return 1;
+ const key = a + ',' + b; let L = easeLUT.get(key);
+ if (!L) { const n = 2048; L = new Float64Array(n + 1); let s = 0; L[0] = 0;
+ for (let i = 1; i <= n; i++) { const m = (i - .5) / n; s += Math.pow(m, a) * Math.pow(1 - m, b); L[i] = s; }
+ for (let i = 0; i <= n; i++) L[i] /= s; easeLUT.set(key, L); }
+ const f = u * 2048, i = Math.floor(f); return lerp(L[i], L[Math.min(2048, i + 1)], f - i);
+}
+
+// ---------------------------------------------------------------- theme
+export const THEME = {
+ enamel: '#F3F1EB', wall: '#8F8B83', frame: '#B9BCBF',
+ graphite: '#23272E', blue: '#1F4FC8', red: '#D33A21', grey: '#6C727B', water: '#5F86DA',
+ paper: '#FBFAF6', shadow: '30,26,20',
+ magnet: { red: ['#E04A2F', '#A82813'], graphite: ['#4A4F57', '#202328'], blue: ['#3463D6', '#1A3C99'], white: ['#FFFFFF', '#D6D4CE'] },
+};
+const INK = c => ({ graphite: THEME.graphite, ink: THEME.graphite, blue: THEME.blue, red: THEME.red, grey: THEME.grey, water: THEME.water })[c] || c || THEME.graphite;
+export const FONT = { marker: 'LXGW Marker Gothic', sc: 'Noto Sans SC', sans: 'Archivo', mono: 'Plex Mono' };
+
+// ---------------------------------------------------------------- assets
+const objCache = new Map();
+async function loadObject(id) {
+ if (objCache.has(id)) return objCache.get(id);
+ const meta = await (await fetch(`${KIT}objects/${id}.json`)).json();
+ const img = new Image(); img.src = `${KIT}objects/${id}.png`; await img.decode();
+ // shadow sprite: the silhouette, pre-blurred (drawn scaled it stays physical)
+ const k = Math.min(1, 1000 / Math.max(img.width, img.height)), pad = 40;
+ const sw = Math.ceil(img.width * k), sh = Math.ceil(img.height * k);
+ const sil = document.createElement('canvas'); sil.width = sw + pad * 2; sil.height = sh + pad * 2;
+ const sx = sil.getContext('2d'); sx.filter = 'blur(4px)'; sx.drawImage(img, pad, pad, sw, sh); sx.filter = 'none';
+ sx.globalCompositeOperation = 'source-in'; sx.fillStyle = `rgb(${THEME.shadow})`; sx.fillRect(0, 0, sil.width, sil.height);
+ const o = { id, meta, img, sil, k, pad }; objCache.set(id, o); return o;
+}
+export async function loadFonts(sample = '') {
+ const s = sample + '0123456789,.米';
+ await Promise.all([
+ document.fonts.load(`400 100px "${FONT.marker}"`, s), document.fonts.load(`500 40px "${FONT.sc}"`, s),
+ document.fonts.load(`700 40px "${FONT.sc}"`, s), document.fonts.load(`900 40px "${FONT.sc}"`, s),
+ document.fonts.load(`500 30px ${FONT.sans}`, 'Abc'), document.fonts.load(`600 30px ${FONT.sans}`, 'Abc'),
+ document.fonts.load(`500 30px "${FONT.mono}"`, 'Abc'), document.fonts.load(`600 30px "${FONT.mono}"`, 'Abc'),
+ ]);
+}
+
+// ---------------------------------------------------------------- board texture (procedural, deterministic)
+let BOARD = null;
+function buildBoard(b) {
+ const s = b.texScale || .45, bw = Math.ceil(b.w * s), bh = Math.ceil(b.h * s), r = mulberry(b.seed || 3);
+ const c = document.createElement('canvas'); c.width = bw; c.height = bh; const x = c.getContext('2d');
+ x.fillStyle = THEME.enamel; x.fillRect(0, 0, bw, bh);
+ // low-frequency tonal drift of the enamel
+ const lo = document.createElement('canvas'); lo.width = 64; lo.height = 36; const lx = lo.getContext('2d');
+ const id = lx.createImageData(64, 36);
+ for (let i = 0; i < id.data.length; i += 4) { const v = 243 + (r() - .5) * 5; id.data[i] = v; id.data[i + 1] = v - 1.5; id.data[i + 2] = v - 5.5; id.data[i + 3] = 255; }
+ lx.putImageData(id, 0, 0); x.globalAlpha = .55; x.imageSmoothingQuality = 'high'; x.drawImage(lo, 0, 0, bw, bh); x.globalAlpha = 1;
+ // ghosts: faint remains of earlier marker work, mostly wiped by eraser swipes
+ const g = document.createElement('canvas'); g.width = bw; g.height = bh; const gx = g.getContext('2d');
+ const cols = ['38,44,55', '31,79,200', '211,58,33'];
+ for (let i = 0; i < (b.ghosts ?? 90); i++) {
+ const X = r() * bw, Y = r() * bh, col = cols[r() < .65 ? 0 : r() < .6 ? 1 : 2];
+ gx.save(); gx.translate(X, Y); gx.rotate((r() - .5) * .14); gx.globalAlpha = .03 + r() * .05;
+ gx.strokeStyle = `rgb(${col})`; gx.lineCap = 'round'; gx.lineJoin = 'round';
+ const kind = r();
+ if (kind < .32) { gx.lineWidth = 8 * s; gx.beginPath(); gx.moveTo(0, 0); for (let j = 0; j < 5; j++) gx.lineTo((j + 1) * (40 + r() * 60) * s, (r() - .5) * 90 * s); gx.stroke(); }
+ else if (kind < .7) { gx.lineWidth = 8 * s; gx.beginPath(); gx.moveTo(0, 0); gx.lineTo((200 + r() * 700) * s, (r() - .5) * 60 * s); gx.stroke(); }
+ else if (kind < .86) { gx.lineWidth = 7 * s; gx.strokeRect(0, 0, (150 + r() * 400) * s, (80 + r() * 200) * s); }
+ else { gx.lineWidth = 7 * s; gx.beginPath(); gx.arc(0, 0, (40 + r() * 140) * s, 0, Math.PI * 2); gx.stroke(); }
+ gx.restore();
+ }
+ gx.globalCompositeOperation = 'destination-out';
+ for (let i = 0; i < 170; i++) {
+ const X = r() * bw, Y = r() * bh, len = (300 + r() * 900) * s, wd = (90 + r() * 170) * s;
+ gx.save(); gx.translate(X, Y); gx.rotate((r() - .5) * .5); gx.globalAlpha = .45 + r() * .5; gx.filter = `blur(${10 * s}px)`;
+ gx.fillStyle = '#000'; gx.beginPath(); gx.ellipse(0, 0, len / 2, wd / 2, 0, 0, Math.PI * 2); gx.fill(); gx.restore();
+ }
+ x.filter = `blur(${1.6 * s}px)`; x.drawImage(g, 0, 0); x.filter = 'none';
+ // eraser haze and smudges
+ for (let i = 0; i < 55; i++) {
+ const X = r() * bw, Y = r() * bh, len = (400 + r() * 1200) * s, wd = (60 + r() * 130) * s;
+ x.save(); x.translate(X, Y); x.rotate((r() - .5) * .35); x.globalAlpha = .022 + r() * .03; x.filter = `blur(${18 * s}px)`;
+ x.fillStyle = '#8a8f96'; x.beginPath(); x.ellipse(0, 0, len / 2, wd / 2, 0, 0, Math.PI * 2); x.fill(); x.restore();
+ }
+ // fine speckle
+ const im = x.getImageData(0, 0, bw, bh), d = im.data;
+ for (let i = 0; i < d.length; i += 4) { const n = (r() - .5) * 4; d[i] += n; d[i + 1] += n; d[i + 2] += n; }
+ x.putImageData(im, 0, 0);
+ BOARD = { c, s, w: b.w, h: b.h };
+}
+
+// ---------------------------------------------------------------- scene, camera, projection
+let scene = null, objs = {}, els = [], byId = {};
+const D0 = 1700; // camera distance at zoom 1, in board px: sets how strong parallax is
+export async function setScene(s) {
+ if (s.extends) {
+ const base = await (await fetch(s.extends)).json();
+ s = { ...base, ...s, elements: [...base.elements, ...(s.elements || [])], subs: s.subs ?? [] };
+ }
+ scene = s; objs = {}; byId = {};
+ for (const e of s.elements) { if (e.id) byId[e.id] = e; if (e.type === 'print') objs[e.id] = await loadObject(e.src); }
+ for (const e of s.elements) if (e.type === 'stamp') e._tex = stampTexture(e);
+ BOARD = null; buildBoard(s.board || { w: 6400, h: 3600 });
+ els = s.elements;
+ return s;
+}
+const D2R = Math.PI / 180;
+// camera = base + sum of eased moves + impact shakes + a hand-held breath (a sum of slow sines,
+// so it is smooth to every derivative)
+export function camAt(t) {
+ const C = scene.cam;
+ let x = C.x, y = C.y, lz = Math.log(C.z), roll = C.roll || 0;
+ for (const m of C.moves || []) {
+ if (t <= m.t) continue;
+ const u = bease(seg(t, m.t, m.t + m.d), m.a ?? 2, m.b ?? 2);
+ x += (m.dx || 0) * u; y += (m.dy || 0) * u; lz += (m.dl || 0) * u; roll += (m.dr || 0) * u;
+ }
+ let dx = 0, dy = 0;
+ for (const s of C.shakes || []) {
+ const tau = t - s.t; if (tau <= 0 || tau > 1.5) continue;
+ const on = 1 - Math.exp(-tau / .012), v = (s.amp || 6) * on * Math.exp(-(s.k || 7) * tau) * Math.sin(2 * Math.PI * (s.f || 9) * tau);
+ dx += v * (s.dir ? s.dir[0] : 0); dy += v * (s.dir ? s.dir[1] : 1); roll += v * (s.roll || 0);
+ }
+ const hd = scene.hand ?? 1;
+ const sn = (f, p) => Math.sin(2 * Math.PI * f * t + p);
+ dx += hd * (2.4 * sn(.21, 1.3) + 1.1 * sn(.43, 4.1) + .45 * sn(.83, 2.2));
+ dy += hd * (1.8 * sn(.17, 5.2) + .9 * sn(.37, .4) + .35 * sn(.91, 3.3));
+ roll += hd * (.07 * sn(.13, 2.6) + .03 * sn(.29, 1.1));
+ return { x, y, zoom: Math.exp(lz), roll, dx, dy, focus: C.focus ?? 0, ap: C.ap ?? 0 };
+}
+const Pz = (c, z) => { const Dist = D0 / c.zoom; return Dist / Math.max(20, Dist - z); };
+function setT(x, c, z, k) {
+ const s = c.zoom * Pz(c, z);
+ x.setTransform(k, 0, 0, k, 0, 0);
+ x.translate(W / 2 + c.dx, H / 2 + c.dy); x.rotate(c.roll * D2R); x.scale(s, s); x.translate(-c.x, -c.y);
+}
+export function toScreen(p, z, t, c = camAt(t)) {
+ const s = c.zoom * Pz(c, z), a = c.roll * D2R, dx = (p[0] - c.x) * s, dy = (p[1] - c.y) * s;
+ return [W / 2 + c.dx + dx * Math.cos(a) - dy * Math.sin(a), H / 2 + c.dy + dx * Math.sin(a) + dy * Math.cos(a)];
+}
+export function toWorld(sp, t, c = camAt(t)) { // screen → board (z = 0)
+ const s = c.zoom * Pz(c, 0), a = -c.roll * D2R, dx = sp[0] - W / 2 - c.dx, dy = sp[1] - H / 2 - c.dy;
+ return [c.x + (dx * Math.cos(a) - dy * Math.sin(a)) / s, c.y + (dx * Math.sin(a) + dy * Math.cos(a)) / s];
+}
+const LIGHT = [.45, .8]; // shadow offset per unit height (window light from the upper left)
+
+// ---------------------------------------------------------------- element state at t
+function motion(e, t) {
+ let [X, Y] = e.xy || [0, 0], z = e.z ?? 10, rot = e.rot || 0, a = 1, vis = true, sc = 1;
+ for (const m of e.moves || []) { // eased travel along the board, same maths as the camera
+ if (t <= m.t) continue; const u = bease(seg(t, m.t, m.t + m.d), m.a ?? 2, m.b ?? 2);
+ X += (m.dx || 0) * u; Y += (m.dy || 0) * u; rot += (m.dr || 0) * u;
+ }
+ for (const j of e.jolts || []) { // knocked by an impact: a quick displacement that springs back
+ const tau = t - j.t; if (tau <= 0 || tau > 1) continue;
+ const k = Math.exp(-(j.k || 9) * tau) * Math.sin(Math.min(1, tau / .03) * Math.PI / 2) * Math.cos(tau * (j.f || 22));
+ X += (j.dx || 0) * k; Y += (j.dy || 0) * k; rot += (j.dr || 0) * k;
+ }
+ const A = e.arrive;
+ if (A) {
+ const d = A.d || .6, u = seg(t, A.t, A.t + d);
+ if (t < A.t) vis = false;
+ else if (A.kind === 'drop') { // lowered onto the board from the camera side: lands, a small bounce, settles
+ const zl = A.lift || 300, land = A.land || .55;
+ if (u < land) z = z + zl * (1 - Math.pow(u / land, 2));
+ else { const v = (u - land) / (1 - land); z = z + Math.sin(v * Math.PI) * zl * .035 * (1 - v); }
+ a = clamp(u * 7); rot += (1 - eo(u)) * (A.spin ?? 2);
+ } else if (A.kind === 'swing') { // tags: snap on, swing about the pin, settle
+ a = clamp(u * 8); rot += (A.amp ?? 12) * Math.exp(-4 * u * d) * Math.cos(11 * u * d) * (u < 1 ? 1 : 0);
+ z += (1 - eo(clamp(u * 3))) * 60;
+ } else if (A.kind === 'snap') { // magnets: fast, a tiny overshoot into the board
+ z += (1 - settle(u * d, 22, 9)) * (A.lift || 80); a = clamp(u * 10);
+ } else if (A.kind === 'slide') {
+ const [fx, fy] = A.from || [-1500, 0], k = bease(u, A.ea ?? 2, A.eb ?? 3);
+ X += fx * (1 - k); Y += fy * (1 - k); rot += (1 - k) * (A.spin ?? 0);
+ } else if (A.kind === 'fade') { a = clamp(u); }
+ }
+ const L = e.leave;
+ if (L && t > L.t) {
+ const u = seg(t, L.t, L.t + (L.d || .35));
+ if (L.kind === 'pop') { z += ei(u) * (L.lift || 900); a = 1 - clamp((u - .45) / .55); const [tx, ty] = L.to || [0, -120]; X += tx * eo(u); Y += ty * eo(u); rot += (L.spin ?? 25) * u; }
+ else { const [tx, ty] = L.to || [0, 2600], k = eio(u); X += tx * k; Y += ty * k; rot += (L.spin ?? 6) * k; }
+ if (u >= 1) vis = false;
+ }
+ return { X, Y, z, rot, a, vis, sc };
+}
+
+// ---------------------------------------------------------------- prints (cut-out photos)
+function printRect(e) {
+ const o = objs[e.id], ar = o.img.width / o.img.height;
+ const w = e.w || (e.h ? e.h * ar : 1200), h = w / ar;
+ return { o, w, h };
+}
+export function anchor(id, name) {
+ const e = byId[id]; const { o, w, h } = printRect(e);
+ const an = name ? o.meta.anchors[name] : [.5, .5]; const [X, Y] = e.xy;
+ const ax = e.flip ? 1 - an[0] : an[0];
+ return [X + (ax - .5) * w, Y + (an[1] - .5) * h];
+}
+function drawPrintShadow(x, e, m, c, k) {
+ const { o, w, h } = printRect(e); const zz = m.z;
+ setT(x, c, 0, k);
+ x.translate(m.X + LIGHT[0] * zz, m.Y + LIGHT[1] * zz); x.rotate(m.rot * D2R); if (e.flip) x.scale(-1, 1);
+ const sw = w * (o.sil.width / (o.img.width * o.k)), sh = h * (o.sil.height / (o.img.height * o.k));
+ const blur = Math.max(0, (zz - 10) * .07) * c.zoom;
+ x.globalAlpha = m.a * clamp(.36 - (zz - 10) * .0005, .1, .36) * (e.shadow ?? 1);
+ if (blur > .6) x.filter = `blur(${Math.min(40, blur)}px)`;
+ x.drawImage(o.sil, -sw / 2, -sh / 2, sw, sh);
+ x.filter = 'none';
+ x.globalAlpha = m.a * .2 * (e.shadow ?? 1) * clamp(1 - (zz - 10) / 40);
+ x.drawImage(o.sil, -sw / 2 - LIGHT[0] * zz * .7, -sh / 2 - LIGHT[1] * zz * .7, sw, sh);
+}
+function drawPrint(x, e, m, c, k) {
+ const { o, w, h } = printRect(e);
+ setT(x, c, m.z, k);
+ x.translate(m.X, m.Y); x.rotate(m.rot * D2R); if (e.flip) x.scale(-1, 1);
+ x.globalAlpha = m.a; x.imageSmoothingQuality = 'high';
+ x.drawImage(o.img, -w / 2, -h / 2, w, h);
+}
+
+// ---------------------------------------------------------------- tags, magnets, ruler, card
+function magnet(x, X, Y, r, col) {
+ const [hi, lo] = THEME.magnet[col] || THEME.magnet.red;
+ const g = x.createRadialGradient(X - r * .35, Y - r * .4, r * .1, X, Y, r);
+ g.addColorStop(0, hi); g.addColorStop(1, lo);
+ x.fillStyle = g; x.beginPath(); x.arc(X, Y, r, 0, Math.PI * 2); x.fill();
+ x.strokeStyle = 'rgba(0,0,0,.25)'; x.lineWidth = r * .05; x.stroke();
+ x.fillStyle = 'rgba(255,255,255,.35)'; x.beginPath(); x.ellipse(X - r * .3, Y - r * .42, r * .38, r * .16, -.5, 0, Math.PI * 2); x.fill();
+}
+const mctx = document.createElement('canvas').getContext('2d');
+const tagFont = s => `700 ${s}px "${FONT.sc}"`;
+function tagGeom(e) {
+ const s = e.size || 60; mctx.font = tagFont(s); mctx.letterSpacing = `${s * .06}px`;
+ const tw = mctx.measureText(e.text).width; mctx.letterSpacing = '0px';
+ const h = s * 1.75, mr = s * .42, w = tw + h * .45 + mr * 2 + s * .7;
+ return { w, h, mr, off: [-h * .5, -h / 2] };
+}
+function drawTagShadow(x, e, m, c, k) {
+ const { w, h, off } = tagGeom(e); setT(x, c, 0, k);
+ x.translate(m.X + LIGHT[0] * m.z, m.Y + LIGHT[1] * m.z); x.rotate(m.rot * D2R);
+ x.globalAlpha = m.a * .26; x.filter = `blur(${Math.max(1, m.z * .3 * c.zoom)}px)`;
+ x.fillStyle = `rgb(${THEME.shadow})`; x.beginPath(); x.roundRect(off[0], off[1], w, h, h * .12); x.fill(); x.filter = 'none';
+}
+function drawTag(x, e, m, c, k, t) {
+ const { w, h, mr, off } = tagGeom(e), s = e.size || 60; setT(x, c, m.z, k);
+ x.translate(m.X, m.Y); x.rotate(m.rot * D2R); x.globalAlpha = m.a;
+ x.fillStyle = e.paper || THEME.paper; x.beginPath(); x.roundRect(off[0], off[1], w, h, h * .12); x.fill();
+ x.strokeStyle = 'rgba(30,30,30,.10)'; x.lineWidth = 2; x.stroke();
+ const g = x.createLinearGradient(0, off[1], 0, off[1] + h); g.addColorStop(0, 'rgba(255,255,255,.55)'); g.addColorStop(1, 'rgba(0,0,0,.04)');
+ x.fillStyle = g; x.fill();
+ x.fillStyle = INK(e.color || 'graphite'); x.font = tagFont(s); x.letterSpacing = `${s * .06}px`;
+ x.textAlign = 'left'; x.textBaseline = 'middle';
+ const tx = off[0] + h * .5 + mr + s * .42; x.fillText(e.text, tx, off[1] + h * .53); x.letterSpacing = '0px';
+ if (e.strike) { // a marker strike through the label
+ const p = seg(t, e.strike.t, e.strike.t + (e.strike.d || .25));
+ if (p > 0) {
+ const s0 = tx - s * .25, s1 = off[0] + w - s * .2; x.globalCompositeOperation = 'multiply';
+ x.strokeStyle = INK(e.strike.color || 'red'); x.globalAlpha = m.a * .92; x.lineWidth = s * .16; x.lineCap = 'round';
+ x.beginPath(); x.moveTo(s0, off[1] + h * .58); x.lineTo(s0 + (s1 - s0) * eo(p), off[1] + h * .58 - (s1 - s0) * .06 * eo(p)); x.stroke();
+ x.globalCompositeOperation = 'source-over';
+ }
+ }
+ if (e.magnet !== false) magnet(x, 0, 0, mr, e.magnetColor || 'graphite');
+}
+function drawMagnetShadow(x, e, m, c, k) {
+ setT(x, c, 0, k); x.globalAlpha = m.a * .36; x.filter = `blur(${Math.max(1, m.z * .28 * c.zoom)}px)`;
+ x.fillStyle = `rgb(${THEME.shadow})`; x.beginPath(); x.arc(m.X + LIGHT[0] * m.z, m.Y + LIGHT[1] * m.z, (e.r || 40) * 1.02, 0, Math.PI * 2); x.fill(); x.filter = 'none';
+}
+function drawMagnet(x, e, m, c, k) { setT(x, c, m.z, k); x.globalAlpha = m.a; magnet(x, m.X, m.Y, e.r || 40, e.color || 'graphite'); }
+
+// steel ruler laid across two magnets: brushed steel, engraved graduations (no numerals)
+function rulerGeom(e, m) {
+ const [ax, ay] = e.from, [bx, by] = e.to, L = Math.hypot(bx - ax, by - ay), ang = Math.atan2(by - ay, bx - ax);
+ return { L, ang, w: e.w || 80, cx: (ax + bx) / 2 + (m.X - (e.xy?.[0] ?? 0)), cy: (ay + by) / 2 + (m.Y - (e.xy?.[1] ?? 0)) };
+}
+function drawRulerShadow(x, e, m, c, k) {
+ const g = rulerGeom(e, m); setT(x, c, 0, k);
+ x.translate(g.cx + LIGHT[0] * m.z, g.cy + LIGHT[1] * m.z); x.rotate(g.ang + m.rot * D2R);
+ x.globalAlpha = m.a * .3; x.filter = `blur(${Math.max(1, m.z * .25 * c.zoom)}px)`;
+ x.fillStyle = `rgb(${THEME.shadow})`; x.fillRect(-g.L / 2, -g.w / 2, g.L, g.w); x.filter = 'none';
+}
+function drawRuler(x, e, m, c, k) {
+ const g = rulerGeom(e, m); setT(x, c, m.z, k);
+ x.translate(g.cx, g.cy); x.rotate(g.ang + m.rot * D2R); x.globalAlpha = m.a;
+ const gr = x.createLinearGradient(0, -g.w / 2, 0, g.w / 2);
+ gr.addColorStop(0, '#E9ECEE'); gr.addColorStop(.18, '#C5CACE'); gr.addColorStop(.55, '#AEB4B9'); gr.addColorStop(.85, '#C9CED2'); gr.addColorStop(1, '#8F959B');
+ x.fillStyle = gr; x.fillRect(-g.L / 2, -g.w / 2, g.L, g.w);
+ // brushed grain
+ const r = mulberry(17); x.globalAlpha = m.a * .18;
+ for (let i = 0; i < 60; i++) { x.fillStyle = r() < .5 ? '#fff' : '#6d737a'; x.fillRect(-g.L / 2, -g.w / 2 + r() * g.w, g.L, 1.2); }
+ x.globalAlpha = m.a;
+ // graduations: every 10 px, longer every 50, longest every 100
+ x.fillStyle = '#30353b';
+ for (let d = 10; d < g.L - 4; d += 10) { const n = Math.round(d / 10); const len = n % 10 === 0 ? g.w * .42 : n % 5 === 0 ? g.w * .3 : g.w * .18; x.fillRect(-g.L / 2 + d - 1, -g.w / 2, 2, len); }
+ x.strokeStyle = 'rgba(0,0,0,.35)'; x.lineWidth = 2; x.strokeRect(-g.L / 2, -g.w / 2, g.L, g.w);
+ for (const end of [-1, 1]) magnet(x, end * (g.L / 2 - (e.inset ?? 70)), 0, e.magnetR || 34, e.magnetColor || 'graphite');
+}
+
+// printed card pinned by magnets (end card)
+function drawCardShadow(x, e, m, c, k) {
+ setT(x, c, 0, k); x.translate(m.X + LIGHT[0] * m.z, m.Y + LIGHT[1] * m.z); x.rotate(m.rot * D2R);
+ x.globalAlpha = m.a * .3; x.filter = `blur(${Math.max(1, m.z * .4 * c.zoom)}px)`; x.fillStyle = `rgb(${THEME.shadow})`;
+ x.fillRect(-e.w / 2, -e.h / 2, e.w, e.h); x.filter = 'none';
+}
+function cardLineFont(l) {
+ return l.font === 'marker' ? `400 ${l.size}px "${FONT.marker}"` : l.font === 'mono' ? `${l.weight || 500} ${l.size}px "${FONT.mono}"`
+ : l.font === 'sans' ? `${l.weight || 600} ${l.size}px ${FONT.sans}` : `${l.weight || 700} ${l.size}px "${FONT.sc}"`;
+}
+function drawCard(x, e, m, c, k) {
+ setT(x, c, m.z, k); x.translate(m.X, m.Y); x.rotate(m.rot * D2R); x.globalAlpha = m.a;
+ x.fillStyle = e.paper || THEME.paper; x.fillRect(-e.w / 2, -e.h / 2, e.w, e.h);
+ const g = x.createLinearGradient(0, -e.h / 2, 0, e.h / 2); g.addColorStop(0, 'rgba(255,255,255,.5)'); g.addColorStop(1, 'rgba(0,0,0,.05)');
+ x.fillStyle = g; x.fillRect(-e.w / 2, -e.h / 2, e.w, e.h);
+ x.strokeStyle = 'rgba(30,30,30,.12)'; x.lineWidth = 2; x.strokeRect(-e.w / 2, -e.h / 2, e.w, e.h);
+ for (const l of e.lines || []) {
+ if (l.rule) { x.fillStyle = INK(l.color || 'red'); x.fillRect(-e.w / 2 + l.x, l.y, l.w, l.h || 6); continue; }
+ x.fillStyle = INK(l.color || 'graphite'); x.font = cardLineFont(l); x.letterSpacing = `${l.track || 0}px`;
+ x.textAlign = 'left'; x.textBaseline = 'alphabetic'; x.fillText(l.text, -e.w / 2 + l.x, l.y); x.letterSpacing = '0px';
+ }
+ for (const p of e.magnets || []) magnet(x, p[0], p[1], e.magnetR || 30, p[2] || 'graphite');
+}
+function cardLineBox(e, l, m) {
+ mctx.font = cardLineFont(l); mctx.letterSpacing = `${l.track || 0}px`; const w = mctx.measureText(l.text).width; mctx.letterSpacing = '0px';
+ const x0 = m.X - e.w / 2 + l.x;
+ return [[x0, m.Y + l.y - l.size * .82], [x0 + w, m.Y + l.y + l.size * .2]];
+}
+
+// ---------------------------------------------------------------- stamp (rubber stamp impression)
+function stampTexture(e) {
+ const s = e.size || 160, txt = e.text || '否决';
+ mctx.font = `900 ${s}px "${FONT.sc}"`; const tw = mctx.measureText(txt).width;
+ const pw = Math.ceil(tw + s * .9), ph = Math.ceil(s * 1.55), pad = 12;
+ const cv = document.createElement('canvas'); cv.width = pw + pad * 2; cv.height = ph + pad * 2; const x = cv.getContext('2d');
+ x.translate(pad, pad); x.fillStyle = INK(e.color || 'red'); x.strokeStyle = INK(e.color || 'red');
+ x.lineWidth = s * .09; x.beginPath(); x.roundRect(s * .06, s * .06, pw - s * .12, ph - s * .12, s * .12); x.stroke();
+ x.lineWidth = s * .03; x.beginPath(); x.roundRect(s * .17, s * .17, pw - s * .34, ph - s * .34, s * .08); x.stroke();
+ x.font = `900 ${s}px "${FONT.sc}"`; x.textAlign = 'center'; x.textBaseline = 'middle'; x.fillText(txt, pw / 2, ph / 2 + s * .04);
+ // rubber texture: pits and uneven inking
+ x.setTransform(1, 0, 0, 1, 0, 0); x.globalCompositeOperation = 'destination-out'; const r = mulberry(e.seed || 99);
+ for (let i = 0; i < 900; i++) { x.globalAlpha = .25 + r() * .6; x.beginPath(); x.arc(r() * cv.width, r() * cv.height, .6 + r() * 2.6, 0, Math.PI * 2); x.fill(); }
+ for (let i = 0; i < 7; i++) { x.globalAlpha = .18 + r() * .2; x.filter = 'blur(10px)'; x.beginPath(); x.ellipse(r() * cv.width, r() * cv.height, 30 + r() * 80, 12 + r() * 30, r() * 3, 0, Math.PI * 2); x.fill(); }
+ x.filter = 'none'; x.globalAlpha = 1;
+ return { cv, w: cv.width, h: cv.height };
+}
+function drawStamp(x, e, t) {
+ if (t < e.t) return; const u = seg(t, e.t, e.t + .07), T = e._tex;
+ const sc = lerp(1.18, 1, eo(u)), [X, Y] = e.xy;
+ x.save(); x.translate(X, Y); x.rotate((e.rot || 0) * D2R); x.scale(sc, sc);
+ x.globalAlpha = clamp(u * 1.6) * (e.alpha ?? .9); x.drawImage(T.cv, -T.w / 2, -T.h / 2); x.restore();
+}
+
+// ---------------------------------------------------------------- ink on the board
+function inkStroke(x, path, lw, color, alpha = .9) {
+ x.strokeStyle = color; x.lineWidth = lw; x.lineCap = 'round'; x.lineJoin = 'round';
+ const a0 = x.globalAlpha; x.globalAlpha = a0 * alpha; x.stroke(path);
+ x.globalAlpha = a0 * .1; x.strokeStyle = '#fff'; x.lineWidth = lw * .42; x.stroke(path); x.globalAlpha = a0;
+}
+function polyLen(P) { let L = 0; for (let i = 1; i < P.length; i++) L += Math.hypot(P[i][0] - P[i - 1][0], P[i][1] - P[i - 1][1]); return L; }
+function polyPath(P, p) {
+ const L = polyLen(P);
+ let need = L * clamp(p), d = 0; const path = new Path2D(); path.moveTo(...P[0]); let tip = P[0], ang = 0;
+ for (let i = 1; i < P.length; i++) {
+ const l = Math.hypot(P[i][0] - P[i - 1][0], P[i][1] - P[i - 1][1]); ang = Math.atan2(P[i][1] - P[i - 1][1], P[i][0] - P[i - 1][0]);
+ if (d + l >= need) { const u = l ? (need - d) / l : 0; tip = [lerp(P[i - 1][0], P[i][0], u), lerp(P[i - 1][1], P[i][1], u)]; path.lineTo(...tip); break; }
+ path.lineTo(...P[i]); d += l; tip = P[i];
+ }
+ return { path, tip, ang, L };
+}
+const inkProg = (e, t) => e.t == null ? 1 : seg(t, e.t, e.t + (e.d || .5));
+function pt(q) { return typeof q === 'string' ? anchor(...q.split('.')) : q; }
+function arrowHead(x, tip, ang, lw, col) {
+ x.save(); x.translate(...tip); x.rotate(ang); x.strokeStyle = col; x.lineWidth = lw * .9; x.lineCap = 'round'; x.lineJoin = 'round';
+ const a0 = x.globalAlpha; x.globalAlpha = a0 * .9;
+ x.beginPath(); x.moveTo(-lw * 3.4, -lw * 1.9); x.lineTo(0, 0); x.lineTo(-lw * 3.4, lw * 1.9); x.stroke(); x.globalAlpha = a0; x.restore();
+}
+// marker lettering with a real font, revealed glyph by glyph in writing direction, with a slight
+// hand: per-glyph tilt, baseline wobble and size jitter (seeded, so every frame agrees)
+function writeLayout(e) {
+ if (e._lay) return e._lay;
+ const s = e.size || 160; mctx.font = `400 ${s}px "${FONT.marker}"`;
+ const tr = (e.track ?? .02) * s, r = mulberry(e.seed || hash(e.text.length + (e.size || 1)) * 1e6 | 0);
+ let x = 0; const g = [];
+ for (const ch of e.text) { const w = mctx.measureText(ch).width; g.push({ ch, x, w, rot: (r() - .5) * 3.2, dy: (r() - .5) * s * .05, sc: 1 + (r() - .5) * .05, sp: ch === ' ' }); x += w + tr; }
+ e._lay = { g, width: x - tr, s }; return e._lay;
+}
+export function writeBox(e) {
+ const { width, s } = writeLayout(e), [X, Y] = pt(e.xy), x0 = e.align === 'center' ? X - width / 2 : e.align === 'right' ? X - width : X;
+ return [[x0, Y - s * .86], [x0 + width, Y + s * .16]];
+}
+function drawWrite(x, e, t) {
+ const p = inkProg(e, t); if (p <= 0) return null;
+ const { g, width, s } = writeLayout(e), [X, Y] = pt(e.xy), col = INK(e.color);
+ const x0 = e.align === 'center' ? -width / 2 : e.align === 'right' ? -width : 0;
+ const n = g.filter(q => !q.sp).length; let idx = 0, tip = null;
+ x.save(); x.translate(X, Y); if (e.rot) x.rotate(e.rot * D2R);
+ x.font = `400 ${s}px "${FONT.marker}"`; x.textBaseline = 'alphabetic'; x.textAlign = 'left';
+ for (const q of g) {
+ if (q.sp) continue;
+ const ci = clamp(p * n - idx); idx++; if (ci <= 0) break;
+ x.save(); x.translate(x0 + q.x + q.w / 2, q.dy); x.rotate(q.rot * D2R); x.scale(q.sc, q.sc); x.translate(-q.w / 2, 0);
+ if (ci < 1) { // diagonal wipe through the glyph box, top-left to bottom-right
+ const e0 = -s * .2, e1 = q.w + s * .9, k = lerp(e0, e1, ci);
+ x.beginPath(); x.moveTo(-s, -s * 1.2); x.lineTo(k + s * .5, -s * 1.2); x.lineTo(k - s * .35, s * .4); x.lineTo(-s, s * .4); x.closePath(); x.clip();
+ tip = [X + x0 + q.x + Math.min(q.w, Math.max(0, k)), Y - s * .35 + Math.sin(ci * 9) * s * .18];
+ }
+ x.globalAlpha = .9; x.fillStyle = col; x.fillText(q.ch, 0, 0);
+ x.globalAlpha = .22; x.strokeStyle = col; x.lineWidth = s * .022; x.lineJoin = 'round'; x.strokeText(q.ch, 0, 0); // ink pools at the edges
+ x.restore();
+ }
+ x.restore();
+ return tip;
+}
+function inkBBox(e) {
+ if (e._bb) return e._bb;
+ let P = [];
+ if (e.kind === 'line' || e.kind === 'hatch') P = e.kind === 'hatch' ? e.strokes.flatMap(s => s.points) : e.points.map(pt);
+ else if (e.kind === 'dim') P = [pt(e.from), pt(e.to)];
+ else if (e.kind === 'write') { const b = writeBox(e); P = b; }
+ const xs = P.map(p => p[0]), ys = P.map(p => p[1]);
+ e._bb = [Math.min(...xs) - 60, Math.min(...ys) - 60, Math.max(...xs) + 60, Math.max(...ys) + 60]; return e._bb;
+}
+function drawInkCore(x, e, t) {
+ const p = inkProg(e, t); if (p <= 0 && e.kind !== 'hatch') return null;
+ const col = INK(e.color), lw = e.lw || 12; let tip = null;
+ if (e.kind === 'line') {
+ const P = e.points.map(pt), r = polyPath(P, e.ease === 'linear' ? p : bease(p, e.ea ?? 2, e.eb ?? 2));
+ x.save(); if (e.dash) x.setLineDash(e.dash); inkStroke(x, r.path, lw, col, e.alpha ?? .9); x.restore();
+ if (e.arrow && p > .05) arrowHead(x, r.tip, r.ang, lw, col);
+ tip = p < 1 ? r.tip : null;
+ } else if (e.kind === 'hatch') { // many short strokes, each with its own time
+ for (const s of e.strokes) {
+ const q = seg(t, s.t, s.t + (s.d || .12)); if (q <= 0) continue;
+ const r = polyPath(s.points, eo(q)); inkStroke(x, r.path, s.lw || lw, INK(s.color || e.color), e.alpha ?? .75);
+ if (q < 1) tip = r.tip;
+ }
+ } else if (e.kind === 'dim') { // dimension: extension lines, line with arrowheads, drawn from A toward B
+ const A = pt(e.from), B = pt(e.to), u = e.ease === 'linear' ? p : bease(p, e.ea ?? 2, e.eb ?? 2);
+ for (const ex of e.ext || []) { const q = pt(ex); const P2 = new Path2D(); P2.moveTo(q[0], q[1]); P2.lineTo(q[0], q[2] ?? A[1] + 40); x.globalAlpha = clamp(p * 5); inkStroke(x, P2, lw * .4, INK(e.extColor || e.color), .6); x.globalAlpha = 1; }
+ const r = polyPath([A, B], u); inkStroke(x, r.path, lw, col);
+ const back = Math.atan2(A[1] - B[1], A[0] - B[0]);
+ if (e.arrows !== false) { arrowHead(x, A, back, lw, col); if (u >= .999) arrowHead(x, B, back + Math.PI, lw, col); }
+ else { const bar = q => { const P3 = new Path2D(); P3.moveTo(q[0], q[1] - lw * 2.6); P3.lineTo(q[0], q[1] + lw * 2.6); inkStroke(x, P3, lw, col); }; bar(A); if (u >= .999) bar(B); }
+ tip = u < 1 ? r.tip : null;
+ } else if (e.kind === 'write') {
+ tip = drawWrite(x, e, t);
+ } else if (e.kind === 'arc') {
+ const [X, Y] = e.c, a0 = e.a0 * D2R, a1 = lerp(a0, e.a1 * D2R, bease(p, 2, 2.5));
+ const path = new Path2D(); path.arc(X, Y, e.r, a0, a1, e.ccw); inkStroke(x, path, lw, col);
+ tip = p < 1 ? [X + Math.cos(a1) * e.r, Y + Math.sin(a1) * e.r] : null;
+ } else if (e.kind === 'ring') { // a hand-drawn ring: a little more than one turn, slightly spiralling
+ const [X, Y] = e.c, [rx, ry] = Array.isArray(e.r) ? e.r : [e.r, e.r], a0 = (e.start ?? -100) * D2R, turn = 1.07 * bease(p, 1.6, 2.4);
+ const path = new Path2D(), n = Math.max(2, Math.ceil(72 * turn));
+ for (let i = 0; i <= n; i++) { const u = i / n * turn, a = a0 + u * Math.PI * 2, g = 1 + (u - .5) * .06;
+ const px = X + Math.cos(a) * rx * g, py = Y + Math.sin(a) * ry * g; i ? path.lineTo(px, py) : path.moveTo(px, py);
+ if (i === n && p < 1) tip = [px, py]; }
+ inkStroke(x, path, lw, col);
+ } else if (e.kind === 'wake' && e.dir === 'side') { // a side-view ship: a bow wave and a trail of short strokes on the water line
+ const f = byId[e.follow], m = motion(f, t), { w } = printRect(f), k = clamp((t - e.t) / .4) * (e.out != null ? 1 - seg(t, e.out, e.out + .5) : 1);
+ if (k <= 0) return null; const wl = e.y, sgn = e.sgn ?? 1, sx = m.X + sgn * w / 2; // stern end
+ x.globalAlpha = .7 * k;
+ for (let i = 0; i < 6; i++) { const L0 = sx + sgn * (20 + i * 70 * k), P = new Path2D(); P.moveTo(L0, wl + 6 + i * 2); P.quadraticCurveTo(L0 + sgn * 25, wl + 2 + i * 3, L0 + sgn * 55, wl + 8 + i * 2.5); inkStroke(x, P, e.lw || 5, INK('water'), .8); }
+ const bx = m.X - sgn * w / 2, B = new Path2D(); B.moveTo(bx - sgn * 10, wl - 6); B.quadraticCurveTo(bx - sgn * 40, wl + 4, bx - sgn * 70, wl + 8); inkStroke(x, B, e.lw || 5, INK('water'), .8);
+ x.globalAlpha = 1;
+ } else if (e.kind === 'wake') { // two thin lines trailing the stern of a moving print
+ const f = byId[e.follow], m = motion(f, t), { h } = printRect(f);
+ const st = [m.X, m.Y - h / 2 + 8], k = clamp((t - e.t) / .6) * (e.out != null ? 1 - seg(t, e.out, e.out + .5) : 1);
+ const len = (e.len || 380) * k; if (len < 4) return null;
+ x.globalAlpha = .55;
+ for (const sd of [-1, 1]) { const P = new Path2D(); P.moveTo(st[0] + sd * 18, st[1]); P.quadraticCurveTo(st[0] + sd * (36 + len * .12), st[1] - len * .55, st[0] + sd * (60 + len * .26), st[1] - len); inkStroke(x, P, e.lw || 6, INK('water'), .8); }
+ x.globalAlpha = 1;
+ }
+ return tip;
+}
+function drawInk(x, e, t) {
+ const E = e.erase, a0 = x.globalAlpha;
+ if (e.out != null && t > e.out) x.globalAlpha = a0 * (1 - seg(t, e.out, e.out + (e.outD || .4)));
+ if (!E || t <= E.t) { const tp = drawInkCore(x, e, t); x.globalAlpha = a0; return tp; }
+ // eraser pass: a soft band sweeps across; behind it only a ghost and some haze remain
+ const [bx0, by0, bx1, by1] = inkBBox(e), q = bease(seg(t, E.t, E.t + (E.d || .4)), 2, 2.4);
+ const ex = lerp(bx0 - 120, bx1 + 120, q);
+ x.save(); x.beginPath(); x.rect(ex, by0 - 400, 1e5, by1 - by0 + 800); x.clip(); drawInkCore(x, e, t); x.restore();
+ x.save(); x.beginPath(); x.rect(-1e5, by0 - 400, ex + 1e5, by1 - by0 + 800); x.clip();
+ x.globalAlpha = a0 * (E.ghost ?? .075); x.filter = 'blur(2px)'; drawInkCore(x, e, t); x.filter = 'none';
+ x.globalAlpha = a0 * .05; x.fillStyle = '#7d838a'; x.fillRect(bx0 - 40, by0 + 10, Math.max(0, ex - bx0 + 40), by1 - by0 - 20);
+ x.restore(); x.globalAlpha = a0;
+ return null;
+}
+
+// ---------------------------------------------------------------- board, frame, wall, tray
+function drawBoard(x, c, k) {
+ setT(x, c, 0, k);
+ const b = scene.board;
+ x.fillStyle = THEME.wall; x.fillRect(-9000, -9000, b.w + 18000, b.h + 18000);
+ // the frame stands off the wall: a soft shadow on the wall
+ x.save(); x.filter = `blur(${Math.max(1, 26 * c.zoom)}px)`; x.fillStyle = 'rgba(40,36,30,.45)'; x.fillRect(-40, 10, b.w + 120, b.h + 120); x.restore();
+ x.drawImage(BOARD.c, 0, 0, b.w, b.h);
+ const f = 44, grad = (x0, y0, x1, y1) => { const g = x.createLinearGradient(x0, y0, x1, y1); g.addColorStop(0, '#DADCDE'); g.addColorStop(.5, '#A9ADB2'); g.addColorStop(1, '#8B9095'); return g; };
+ x.fillStyle = grad(0, -f, 0, 0); x.fillRect(-f, -f, b.w + 2 * f, f);
+ x.fillStyle = grad(-f, 0, 0, 0); x.fillRect(-f, 0, f, b.h);
+ x.fillStyle = grad(b.w + f, 0, b.w, 0); x.fillRect(b.w, 0, f, b.h);
+ x.fillStyle = grad(0, b.h, 0, b.h + f); x.fillRect(-f, b.h, b.w + 2 * f, f);
+ x.fillStyle = 'rgba(0,0,0,.12)'; x.fillRect(0, 0, b.w, 3); x.fillRect(0, 0, 3, b.h); // inner lip
+}
+function drawTray(x, c, k) { // marker tray along the bottom edge: sticks out toward the camera
+ const b = scene.board, z = 70; setT(x, c, z, k);
+ const y0 = b.h + 4, g = x.createLinearGradient(0, y0, 0, y0 + 120);
+ g.addColorStop(0, '#E6E8EA'); g.addColorStop(.22, '#B6BABF'); g.addColorStop(.6, '#9AA0A5'); g.addColorStop(1, '#6C7176');
+ x.fillStyle = g; x.fillRect(-60, y0, b.w + 120, 120);
+ x.fillStyle = 'rgba(255,255,255,.6)'; x.fillRect(-60, y0 + 5, b.w + 120, 4);
+ // markers and an eraser lying in the tray
+ for (const mk of scene.tray || []) {
+ x.save(); x.translate(mk.x, y0 + 52); x.rotate((mk.rot || 0) * D2R);
+ if (mk.kind === 'eraser') {
+ x.fillStyle = '#2B2E33'; x.beginPath(); x.roundRect(-150, -34, 300, 48, 8); x.fill();
+ x.fillStyle = '#5A5F66'; x.fillRect(-150, -34, 300, 10); x.fillStyle = '#D9D6CF'; x.fillRect(-146, 10, 292, 10);
+ } else {
+ const L = 330, r = 21, col = INK(mk.color);
+ const bg = x.createLinearGradient(0, -r, 0, r); bg.addColorStop(0, '#FAFAF8'); bg.addColorStop(.45, '#E5E5E2'); bg.addColorStop(1, '#9B9C9A');
+ x.fillStyle = bg; x.beginPath(); x.roundRect(-L / 2, -r, L * .72, r * 2, r * .5); x.fill();
+ const cg = x.createLinearGradient(0, -r, 0, r); cg.addColorStop(0, col); cg.addColorStop(1, '#111');
+ x.fillStyle = cg; x.beginPath(); x.roundRect(-L / 2 + L * .7, -r * 1.08, L * .3, r * 2.16, r * .45); x.fill();
+ x.fillStyle = col; x.fillRect(-L / 2 + L * .3, -r * .55, L * .22, r * 1.1); // colour band on the barrel
+ x.fillStyle = 'rgba(255,255,255,.45)'; x.fillRect(-L / 2 + 6, -r * .62, L * .62, 3);
+ }
+ x.restore();
+ }
+}
+function lightOverlay(x, c, k, t) {
+ const L = scene.light || { x: -1800, y: -2400, r: 15000, min: .8 };
+ x.setTransform(k, 0, 0, k, 0, 0);
+ const [lx, ly] = toScreen([L.x, L.y], 0, t, c), R = L.r * c.zoom;
+ const g = x.createRadialGradient(lx, ly, R * .15, lx, ly, R);
+ const lo = Math.round(255 * (L.min ?? .8));
+ g.addColorStop(0, 'rgb(255,253,248)'); g.addColorStop(.55, 'rgb(246,243,236)'); g.addColorStop(1, `rgb(${lo},${lo - 2},${lo - 8})`);
+ x.globalCompositeOperation = 'multiply'; x.fillStyle = g; x.fillRect(0, 0, W, H);
+ for (const sb of scene.shade || []) { // a soft band of shade (a passing cloud) crossing the wall, anchored to the world
+ if (t < sb.t0 - .5 || t > sb.t1 + .5) continue;
+ const u = bease(seg(t, sb.t0, sb.t1), 1.6, 1.6), xw = lerp(sb.x0, sb.x1, u), ang = (sb.ang ?? -18) * D2R;
+ const p0 = toScreen([xw - sb.w, (sb.y ?? 0)], 0, t, c), p1 = toScreen([xw + sb.w, (sb.y ?? 0)], 0, t, c);
+ const cx = (p0[0] + p1[0]) / 2, half = Math.abs(p1[0] - p0[0]) / 2, fade = Math.min(seg(t, sb.t0 - .5, sb.t0 + .3), 1 - seg(t, sb.t1 - .3, sb.t1 + .5));
+ x.save(); x.translate(cx, H / 2); x.rotate(ang);
+ const gg = x.createLinearGradient(-half, 0, half, 0), a = sb.amt * fade, col = q => { const v = Math.round(255 * (1 - a * q)); return `rgb(${v},${v},${Math.min(255, v + 2)})`; };
+ gg.addColorStop(0, col(0)); gg.addColorStop(.3, col(.7)); gg.addColorStop(.5, col(1)); gg.addColorStop(.7, col(.7)); gg.addColorStop(1, col(0));
+ x.fillStyle = gg; x.fillRect(-half, -H * 1.5, half * 2, H * 3); x.restore();
+ }
+ const v = x.createRadialGradient(W * .5, H * .47, H * .38, W * .5, H * .5, H * 1.08);
+ v.addColorStop(0, 'rgb(255,255,255)'); v.addColorStop(1, 'rgb(208,205,199)');
+ x.fillStyle = v; x.fillRect(0, 0, W, H);
+ x.globalCompositeOperation = 'source-over';
+ // sheen: a soft window reflection that slides at a different rate than the board (it is a reflection)
+ const sx = W * .6 - (c.x * c.zoom * .16) % (W * 2.4), sy = -(c.y * c.zoom * .1) % H;
+ x.save(); x.translate(sx, sy + H * .4); x.rotate(-.42);
+ const sg = x.createLinearGradient(-W * .33, 0, W * .33, 0);
+ sg.addColorStop(0, 'rgba(255,255,255,0)'); sg.addColorStop(.5, `rgba(255,255,255,${scene.sheen ?? .08})`); sg.addColorStop(1, 'rgba(255,255,255,0)');
+ x.fillStyle = sg; x.fillRect(-W * .33, -H * 2, W * .66, H * 4); x.restore();
+}
+
+// ---------------------------------------------------------------- frame composition
+let layers = null;
+function layer(i, sw, sh) {
+ layers = layers || [];
+ if (!layers[i] || layers[i].width !== sw || layers[i].height !== sh) { const c = document.createElement('canvas'); c.width = sw; c.height = sh; layers[i] = c; }
+ const x = layers[i].getContext('2d'); x.setTransform(1, 0, 0, 1, 0, 0); x.clearRect(0, 0, sw, sh); x.globalAlpha = 1; x.filter = 'none'; x.globalCompositeOperation = 'source-over';
+ return x;
+}
+const dofBlur = (c, z) => (c.ap || 0) * c.zoom * Math.abs(z - (c.focus ?? 0)) / 10;
+const SHUTTER = 1 / 48; // 180° at 24 fps
+export function screenSpeed(t) { // px the frame content moves during one shutter interval
+ const c0 = camAt(t - SHUTTER / 2), c1 = camAt(t + SHUTTER / 2); let m = 0;
+ for (const sp of [[W / 2, H / 2], [80, 80], [W - 80, H - 80], [80, H - 80], [W - 80, 80]]) {
+ const w = toWorld(sp, 0, c0), q = toScreen(w, 0, 0, c1); m = Math.max(m, Math.hypot(q[0] - sp[0], q[1] - sp[1]));
+ }
+ return m;
+}
+let acc = null;
+export function renderScene(canvas, t) {
+ const sp = screenSpeed(t), mb = (scene.mb || []).find(r => t >= r.t0 && t <= r.t1);
+ const n = Math.min(24, Math.max(sp > 2 ? Math.ceil(sp / 2) + 1 : 1, mb ? mb.n || 5 : 1));
+ const sw = canvas.width, sh = canvas.height, k = Math.min(sw / W, sh / H);
+ if (n > 1) {
+ if (!acc || acc.width !== sw || acc.height !== sh) { acc = document.createElement('canvas'); acc.width = sw; acc.height = sh; }
+ const ax = acc.getContext('2d'); ax.setTransform(1, 0, 0, 1, 0, 0); ax.clearRect(0, 0, sw, sh);
+ for (let i = 0; i < n; i++) { renderCore(canvas, t + (i / (n - 1) - .5) * SHUTTER); ax.globalAlpha = 1 / (i + 1); ax.drawImage(canvas, 0, 0); }
+ const out = canvas.getContext('2d'); out.setTransform(1, 0, 0, 1, 0, 0); out.globalAlpha = 1; out.drawImage(acc, 0, 0);
+ } else renderCore(canvas, t);
+ drawSub(canvas.getContext('2d'), t, k);
+}
+function renderCore(canvas, t) {
+ const sw = canvas.width, sh = canvas.height, k = Math.min(sw / W, sh / H);
+ const c = camAt(t); const tips = [];
+ // 0: board, ink (multiply), shadows
+ const L0 = layer(0, sw, sh);
+ drawBoard(L0, c, k);
+ setT(L0, c, 0, k); L0.globalCompositeOperation = 'multiply';
+ for (const e of els) if (e.type === 'ink' && !e.onPrint) { const tp = drawInk(L0, e, t); if (tp && e.tip !== false) tips.push([tp, e.color, e.lw || 12]); }
+ L0.globalCompositeOperation = 'source-over';
+ for (const e of els) {
+ if (!['print', 'tag', 'magnet', 'ruler', 'card'].includes(e.type)) continue;
+ const m = motion(e, t); if (!m.vis || m.a <= 0) continue;
+ L0.save();
+ if (e.type === 'print') drawPrintShadow(L0, e, m, c, k); else if (e.type === 'magnet') drawMagnetShadow(L0, e, m, c, k);
+ else if (e.type === 'ruler') drawRulerShadow(L0, e, m, c, k); else if (e.type === 'card') drawCardShadow(L0, e, m, c, k); else drawTagShadow(L0, e, m, c, k);
+ L0.restore();
+ }
+ setT(L0, c, 0, k);
+ for (const [p, col, lw] of tips) { L0.fillStyle = INK(col); L0.globalAlpha = .95; L0.beginPath(); L0.arc(p[0], p[1], Math.max(6, lw * .62), 0, Math.PI * 2); L0.fill(); L0.globalAlpha = 1; }
+ // 1: prints, then ink and stamps that sit on top of them
+ const L1 = layer(1, sw, sh), L2 = layer(2, sw, sh);
+ for (const e of els) { if (e.type !== 'print') continue; const m = motion(e, t); if (!m.vis || m.a <= 0) continue; L1.save(); drawPrint(L1, e, m, c, k); L1.restore(); }
+ setT(L1, c, 10, k); L1.globalCompositeOperation = 'multiply';
+ for (const e of els) { if (e.type === 'ink' && e.onPrint) drawInk(L1, e, t); else if (e.type === 'stamp') drawStamp(L1, e, t); }
+ L1.globalCompositeOperation = 'source-over';
+ // 2: ruler, tags, card, magnets (in list order)
+ for (const e of els) {
+ if (!['tag', 'magnet', 'ruler', 'card'].includes(e.type)) continue; const m = motion(e, t); if (!m.vis || m.a <= 0) continue;
+ L2.save();
+ if (e.type === 'magnet') drawMagnet(L2, e, m, c, k); else if (e.type === 'ruler') drawRuler(L2, e, m, c, k); else if (e.type === 'card') drawCard(L2, e, m, c, k); else drawTag(L2, e, m, c, k, t);
+ L2.restore();
+ }
+ // 3: foreground (the tray)
+ const L3 = layer(3, sw, sh); if (scene.board.tray !== false) drawTray(L3, c, k);
+ const out = canvas.getContext('2d'); out.setTransform(1, 0, 0, 1, 0, 0); out.globalAlpha = 1; out.globalCompositeOperation = 'source-over';
+ const comp = (cv, z) => { const b = dofBlur(c, z) * k; out.filter = b > .35 ? `blur(${b.toFixed(2)}px)` : 'none'; out.drawImage(cv, 0, 0); out.filter = 'none'; };
+ comp(layers[0], 0); comp(layers[1], 10); comp(layers[2], 20); comp(layers[3], 70);
+ lightOverlay(out, c, k, t);
+}
+
+// ---------------------------------------------------------------- subtitles: bilingual, one line per language
+export const SUB = { zh: 42, en: 29, safe: 1500, gap: 10, padX: 30, padY: 15, bottom: 40 };
+const subFontZh = () => `500 ${SUB.zh}px "${FONT.sc}"`, subFontEn = () => `500 ${SUB.en}px ${FONT.sans}`;
+export function measureSub(s) {
+ mctx.font = subFontZh(); const wz = mctx.measureText(s.zh).width;
+ mctx.font = subFontEn(); const we = mctx.measureText(s.en).width;
+ return { wz, we };
+}
+export function subBox(s) {
+ const { wz, we } = measureSub(s), w = Math.max(wz, we) + SUB.padX * 2 + 10, h = SUB.padY * 2 + SUB.zh + SUB.gap + SUB.en;
+ return { x: W / 2 - w / 2, y: H - SUB.bottom - h, w, h };
+}
+function drawSub(x, t, k) {
+ const s = (scene.subs || []).find(q => t >= q.t0 && t < q.t1); if (!s) return;
+ const a = Math.min(seg(t, s.t0, s.t0 + .1), 1 - seg(t, s.t1 - .1, s.t1));
+ const b = subBox(s);
+ x.setTransform(k, 0, 0, k, 0, 0); x.globalAlpha = a;
+ x.save(); x.shadowColor = 'rgba(20,18,14,.18)'; x.shadowBlur = 14; x.shadowOffsetY = 3;
+ x.fillStyle = 'rgba(251,250,246,.9)'; x.beginPath(); x.roundRect(b.x, b.y, b.w, b.h, 10); x.fill(); x.restore();
+ x.globalAlpha = a; x.strokeStyle = 'rgba(30,30,30,.10)'; x.lineWidth = 1.5; x.beginPath(); x.roundRect(b.x, b.y, b.w, b.h, 10); x.stroke();
+ x.fillStyle = THEME.blue; x.fillRect(b.x + 12, b.y + SUB.padY + 4, 4, b.h - SUB.padY * 2 - 8);
+ x.textAlign = 'center'; x.textBaseline = 'alphabetic'; x.letterSpacing = '0px';
+ x.font = subFontZh(); x.fillStyle = THEME.graphite; x.fillText(s.zh, W / 2 + 5, b.y + SUB.padY + SUB.zh * .9);
+ x.font = subFontEn(); x.fillStyle = '#4A4F57'; x.fillText(s.en, W / 2 + 5, b.y + SUB.padY + SUB.zh + SUB.gap + SUB.en * .86);
+ x.globalAlpha = 1;
+}
+export function subCheck() { // every cue: each language must fit on one line inside the safe width
+ return (scene.subs || []).map((s, i) => { const { wz, we } = measureSub(s); return { i, zh: s.zh, en: s.en, wz: Math.round(wz), we: Math.round(we), safe: SUB.safe, ok: wz < SUB.safe && we < SUB.safe && !/\n/.test(s.zh + s.en) }; });
+}
+
+// ---------------------------------------------------------------- readcheck + sound events
+export function sceneTexts(t) {
+ const out = [], c = camAt(t);
+ const box = (id, text, pts, z) => {
+ const sp = pts.flatMap(p => [toScreen(p, z, t, c), toScreen([p[0], pts[1 - pts.indexOf(p)][1]], z, t, c)]);
+ const xs = sp.map(p => p[0]), ys = sp.map(p => p[1]);
+ out.push({ id, text, x0: Math.min(...xs), y0: Math.min(...ys), x1: Math.max(...xs), y1: Math.max(...ys) });
+ };
+ for (const e of els) {
+ if (e.type === 'tag' && e.text) {
+ const m = motion(e, t); if (!m.vis || m.a < .5) continue; if (e.arrive && t < e.arrive.t + .25) continue;
+ const { w, h, off } = tagGeom(e); box(e.id || e.text, e.text, [[m.X + off[0], m.Y + off[1]], [m.X + off[0] + w, m.Y + off[1] + h]], m.z);
+ } else if (e.type === 'ink' && e.kind === 'write') {
+ if (e.t != null && t < e.t) continue; if (e.out != null && t > e.out) continue; if (e.erase && t > e.erase.t) continue;
+ box(e.id || e.text, e.text, writeBox(e), e.onPrint ? 10 : 0);
+ } else if (e.type === 'stamp') {
+ if (t < e.t) continue; const s = (e.size || 160); box(e.id || 'stamp', e.text, [[e.xy[0] - s, e.xy[1] - s * .6], [e.xy[0] + s, e.xy[1] + s * .6]], 0);
+ } else if (e.type === 'card') {
+ const m = motion(e, t); if (!m.vis) continue;
+ (e.lines || []).forEach((l, i) => { if (l.text) box((e.id || 'card') + ':' + i, l.text, cardLineBox(e, l, m), m.z); });
+ }
+ }
+ return out;
+}
+export function resCheck(t) { // for every print in frame: photo pixels per screen pixel (must stay ≥ 1)
+ const c = camAt(t), out = [];
+ for (const e of els) {
+ if (e.type !== 'print') continue; const m = motion(e, t); if (!m.vis || m.a <= 0) continue;
+ const { o, w, h } = printRect(e), s = c.zoom * Pz(c, m.z);
+ const pts = [[m.X - w / 2, m.Y - h / 2], [m.X + w / 2, m.Y + h / 2]].map(p => toScreen(p, m.z, t, c));
+ const x0 = Math.min(pts[0][0], pts[1][0]), x1 = Math.max(pts[0][0], pts[1][0]), y0 = Math.min(pts[0][1], pts[1][1]), y1 = Math.max(pts[0][1], pts[1][1]);
+ if (x1 < 0 || x0 > W || y1 < 0 || y0 > H) continue;
+ let ratio = (o.img.naturalWidth / w) / s, note = '';
+ const st = o.meta.stretch;
+ if (st && st.region) { // a stretched span has fewer real pixels across: count only if it is in frame
+ const rx0 = x0 + (x1 - x0) * st.region[0], rx1 = x0 + (x1 - x0) * st.region[1];
+ if (rx1 > 0 && rx0 < W) { ratio /= st.k; note = 'stretched span in frame'; }
+ }
+ out.push({ id: e.id, ratio, note });
+ }
+ return out;
+}
+export function sceneEvents() { return scene.ev || []; }
diff --git a/styles/briefing-board/demo/kit/fonts/OFL-Archivo.txt b/styles/briefing-board/demo/kit/fonts/OFL-Archivo.txt
new file mode 100644
index 0000000..8597481
--- /dev/null
+++ b/styles/briefing-board/demo/kit/fonts/OFL-Archivo.txt
@@ -0,0 +1,93 @@
+Copyright 2020 The Archivo Project Authors (https://github.com/Omnibus-Type/Archivo)
+
+This Font Software is licensed under the SIL Open Font License, Version 1.1.
+This license is copied below, and is also available with a FAQ at:
+http://scripts.sil.org/OFL
+
+
+-----------------------------------------------------------
+SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
+-----------------------------------------------------------
+
+PREAMBLE
+The goals of the Open Font License (OFL) are to stimulate worldwide
+development of collaborative font projects, to support the font creation
+efforts of academic and linguistic communities, and to provide a free and
+open framework in which fonts may be shared and improved in partnership
+with others.
+
+The OFL allows the licensed fonts to be used, studied, modified and
+redistributed freely as long as they are not sold by themselves. The
+fonts, including any derivative works, can be bundled, embedded,
+redistributed and/or sold with any software provided that any reserved
+names are not used by derivative works. The fonts and derivatives,
+however, cannot be released under any other type of license. The
+requirement for fonts to remain under this license does not apply
+to any document created using the fonts or their derivatives.
+
+DEFINITIONS
+"Font Software" refers to the set of files released by the Copyright
+Holder(s) under this license and clearly marked as such. This may
+include source files, build scripts and documentation.
+
+"Reserved Font Name" refers to any names specified as such after the
+copyright statement(s).
+
+"Original Version" refers to the collection of Font Software components as
+distributed by the Copyright Holder(s).
+
+"Modified Version" refers to any derivative made by adding to, deleting,
+or substituting -- in part or in whole -- any of the components of the
+Original Version, by changing formats or by porting the Font Software to a
+new environment.
+
+"Author" refers to any designer, engineer, programmer, technical
+writer or other person who contributed to the Font Software.
+
+PERMISSION & CONDITIONS
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of the Font Software, to use, study, copy, merge, embed, modify,
+redistribute, and sell modified and unmodified copies of the Font
+Software, subject to the following conditions:
+
+1) Neither the Font Software nor any of its individual components,
+in Original or Modified Versions, may be sold by itself.
+
+2) Original or Modified Versions of the Font Software may be bundled,
+redistributed and/or sold with any software, provided that each copy
+contains the above copyright notice and this license. These can be
+included either as stand-alone text files, human-readable headers or
+in the appropriate machine-readable metadata fields within text or
+binary files as long as those fields can be easily viewed by the user.
+
+3) No Modified Version of the Font Software may use the Reserved Font
+Name(s) unless explicit written permission is granted by the corresponding
+Copyright Holder. This restriction only applies to the primary font name as
+presented to the users.
+
+4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
+Software shall not be used to promote, endorse or advertise any
+Modified Version, except to acknowledge the contribution(s) of the
+Copyright Holder(s) and the Author(s) or with their explicit written
+permission.
+
+5) The Font Software, modified or unmodified, in part or in whole,
+must be distributed entirely under this license, and must not be
+distributed under any other license. The requirement for fonts to
+remain under this license does not apply to any document created
+using the Font Software.
+
+TERMINATION
+This license becomes null and void if any of the above conditions are
+not met.
+
+DISCLAIMER
+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
+COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
+DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
+OTHER DEALINGS IN THE FONT SOFTWARE.
diff --git a/styles/briefing-board/demo/kit/fonts/OFL-IBMPlexMono.txt b/styles/briefing-board/demo/kit/fonts/OFL-IBMPlexMono.txt
new file mode 100644
index 0000000..c35c4c6
--- /dev/null
+++ b/styles/briefing-board/demo/kit/fonts/OFL-IBMPlexMono.txt
@@ -0,0 +1,93 @@
+Copyright © 2017 IBM Corp. with Reserved Font Name "Plex"
+
+This Font Software is licensed under the SIL Open Font License, Version 1.1.
+
+This license is copied below, and is also available with a FAQ at: http://scripts.sil.org/OFL
+
+
+-----------------------------------------------------------
+SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
+-----------------------------------------------------------
+
+PREAMBLE
+The goals of the Open Font License (OFL) are to stimulate worldwide
+development of collaborative font projects, to support the font creation
+efforts of academic and linguistic communities, and to provide a free and
+open framework in which fonts may be shared and improved in partnership
+with others.
+
+The OFL allows the licensed fonts to be used, studied, modified and
+redistributed freely as long as they are not sold by themselves. The
+fonts, including any derivative works, can be bundled, embedded,
+redistributed and/or sold with any software provided that any reserved
+names are not used by derivative works. The fonts and derivatives,
+however, cannot be released under any other type of license. The
+requirement for fonts to remain under this license does not apply
+to any document created using the fonts or their derivatives.
+
+DEFINITIONS
+"Font Software" refers to the set of files released by the Copyright
+Holder(s) under this license and clearly marked as such. This may
+include source files, build scripts and documentation.
+
+"Reserved Font Name" refers to any names specified as such after the
+copyright statement(s).
+
+"Original Version" refers to the collection of Font Software components as
+distributed by the Copyright Holder(s).
+
+"Modified Version" refers to any derivative made by adding to, deleting,
+or substituting -- in part or in whole -- any of the components of the
+Original Version, by changing formats or by porting the Font Software to a
+new environment.
+
+"Author" refers to any designer, engineer, programmer, technical
+writer or other person who contributed to the Font Software.
+
+PERMISSION & CONDITIONS
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of the Font Software, to use, study, copy, merge, embed, modify,
+redistribute, and sell modified and unmodified copies of the Font
+Software, subject to the following conditions:
+
+1) Neither the Font Software nor any of its individual components,
+in Original or Modified Versions, may be sold by itself.
+
+2) Original or Modified Versions of the Font Software may be bundled,
+redistributed and/or sold with any software, provided that each copy
+contains the above copyright notice and this license. These can be
+included either as stand-alone text files, human-readable headers or
+in the appropriate machine-readable metadata fields within text or
+binary files as long as those fields can be easily viewed by the user.
+
+3) No Modified Version of the Font Software may use the Reserved Font
+Name(s) unless explicit written permission is granted by the corresponding
+Copyright Holder. This restriction only applies to the primary font name as
+presented to the users.
+
+4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
+Software shall not be used to promote, endorse or advertise any
+Modified Version, except to acknowledge the contribution(s) of the
+Copyright Holder(s) and the Author(s) or with their explicit written
+permission.
+
+5) The Font Software, modified or unmodified, in part or in whole,
+must be distributed entirely under this license, and must not be
+distributed under any other license. The requirement for fonts to
+remain under this license does not apply to any document created
+using the Font Software.
+
+TERMINATION
+This license becomes null and void if any of the above conditions are
+not met.
+
+DISCLAIMER
+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
+COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
+DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
+OTHER DEALINGS IN THE FONT SOFTWARE.
diff --git a/styles/briefing-board/demo/kit/fonts/OFL-LXGWMarkerGothic.txt b/styles/briefing-board/demo/kit/fonts/OFL-LXGWMarkerGothic.txt
new file mode 100644
index 0000000..befac88
--- /dev/null
+++ b/styles/briefing-board/demo/kit/fonts/OFL-LXGWMarkerGothic.txt
@@ -0,0 +1,93 @@
+Copyright 2024 The LXGW Marker Gothic Project Authors (https://github.com/lxgw/LxgwMarkerGothic)
+
+This Font Software is licensed under the SIL Open Font License, Version 1.1.
+This license is copied below, and is also available with a FAQ at:
+https://openfontlicense.org
+
+
+-----------------------------------------------------------
+SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
+-----------------------------------------------------------
+
+PREAMBLE
+The goals of the Open Font License (OFL) are to stimulate worldwide
+development of collaborative font projects, to support the font creation
+efforts of academic and linguistic communities, and to provide a free and
+open framework in which fonts may be shared and improved in partnership
+with others.
+
+The OFL allows the licensed fonts to be used, studied, modified and
+redistributed freely as long as they are not sold by themselves. The
+fonts, including any derivative works, can be bundled, embedded,
+redistributed and/or sold with any software provided that any reserved
+names are not used by derivative works. The fonts and derivatives,
+however, cannot be released under any other type of license. The
+requirement for fonts to remain under this license does not apply
+to any document created using the fonts or their derivatives.
+
+DEFINITIONS
+"Font Software" refers to the set of files released by the Copyright
+Holder(s) under this license and clearly marked as such. This may
+include source files, build scripts and documentation.
+
+"Reserved Font Name" refers to any names specified as such after the
+copyright statement(s).
+
+"Original Version" refers to the collection of Font Software components as
+distributed by the Copyright Holder(s).
+
+"Modified Version" refers to any derivative made by adding to, deleting,
+or substituting -- in part or in whole -- any of the components of the
+Original Version, by changing formats or by porting the Font Software to a
+new environment.
+
+"Author" refers to any designer, engineer, programmer, technical
+writer or other person who contributed to the Font Software.
+
+PERMISSION & CONDITIONS
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of the Font Software, to use, study, copy, merge, embed, modify,
+redistribute, and sell modified and unmodified copies of the Font
+Software, subject to the following conditions:
+
+1) Neither the Font Software nor any of its individual components,
+in Original or Modified Versions, may be sold by itself.
+
+2) Original or Modified Versions of the Font Software may be bundled,
+redistributed and/or sold with any software, provided that each copy
+contains the above copyright notice and this license. These can be
+included either as stand-alone text files, human-readable headers or
+in the appropriate machine-readable metadata fields within text or
+binary files as long as those fields can be easily viewed by the user.
+
+3) No Modified Version of the Font Software may use the Reserved Font
+Name(s) unless explicit written permission is granted by the corresponding
+Copyright Holder. This restriction only applies to the primary font name as
+presented to the users.
+
+4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
+Software shall not be used to promote, endorse or advertise any
+Modified Version, except to acknowledge the contribution(s) of the
+Copyright Holder(s) and the Author(s) or with their explicit written
+permission.
+
+5) The Font Software, modified or unmodified, in part or in whole,
+must be distributed entirely under this license, and must not be
+distributed under any other license. The requirement for fonts to
+remain under this license does not apply to any document created
+using the Font Software.
+
+TERMINATION
+This license becomes null and void if any of the above conditions are
+not met.
+
+DISCLAIMER
+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
+COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
+DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
+OTHER DEALINGS IN THE FONT SOFTWARE.
diff --git a/styles/briefing-board/demo/kit/fonts/OFL-NotoSansSC.txt b/styles/briefing-board/demo/kit/fonts/OFL-NotoSansSC.txt
new file mode 100644
index 0000000..1c9f432
--- /dev/null
+++ b/styles/briefing-board/demo/kit/fonts/OFL-NotoSansSC.txt
@@ -0,0 +1,93 @@
+Copyright 2014-2021 Adobe (http://www.adobe.com/), with Reserved Font Name 'Source'
+
+This Font Software is licensed under the SIL Open Font License, Version 1.1.
+This license is copied below, and is also available with a FAQ at:
+https://scripts.sil.org/OFL
+
+
+-----------------------------------------------------------
+SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
+-----------------------------------------------------------
+
+PREAMBLE
+The goals of the Open Font License (OFL) are to stimulate worldwide
+development of collaborative font projects, to support the font creation
+efforts of academic and linguistic communities, and to provide a free and
+open framework in which fonts may be shared and improved in partnership
+with others.
+
+The OFL allows the licensed fonts to be used, studied, modified and
+redistributed freely as long as they are not sold by themselves. The
+fonts, including any derivative works, can be bundled, embedded,
+redistributed and/or sold with any software provided that any reserved
+names are not used by derivative works. The fonts and derivatives,
+however, cannot be released under any other type of license. The
+requirement for fonts to remain under this license does not apply
+to any document created using the fonts or their derivatives.
+
+DEFINITIONS
+"Font Software" refers to the set of files released by the Copyright
+Holder(s) under this license and clearly marked as such. This may
+include source files, build scripts and documentation.
+
+"Reserved Font Name" refers to any names specified as such after the
+copyright statement(s).
+
+"Original Version" refers to the collection of Font Software components as
+distributed by the Copyright Holder(s).
+
+"Modified Version" refers to any derivative made by adding to, deleting,
+or substituting -- in part or in whole -- any of the components of the
+Original Version, by changing formats or by porting the Font Software to a
+new environment.
+
+"Author" refers to any designer, engineer, programmer, technical
+writer or other person who contributed to the Font Software.
+
+PERMISSION & CONDITIONS
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of the Font Software, to use, study, copy, merge, embed, modify,
+redistribute, and sell modified and unmodified copies of the Font
+Software, subject to the following conditions:
+
+1) Neither the Font Software nor any of its individual components,
+in Original or Modified Versions, may be sold by itself.
+
+2) Original or Modified Versions of the Font Software may be bundled,
+redistributed and/or sold with any software, provided that each copy
+contains the above copyright notice and this license. These can be
+included either as stand-alone text files, human-readable headers or
+in the appropriate machine-readable metadata fields within text or
+binary files as long as those fields can be easily viewed by the user.
+
+3) No Modified Version of the Font Software may use the Reserved Font
+Name(s) unless explicit written permission is granted by the corresponding
+Copyright Holder. This restriction only applies to the primary font name as
+presented to the users.
+
+4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
+Software shall not be used to promote, endorse or advertise any
+Modified Version, except to acknowledge the contribution(s) of the
+Copyright Holder(s) and the Author(s) or with their explicit written
+permission.
+
+5) The Font Software, modified or unmodified, in part or in whole,
+must be distributed entirely under this license, and must not be
+distributed under any other license. The requirement for fonts to
+remain under this license does not apply to any document created
+using the Font Software.
+
+TERMINATION
+This license becomes null and void if any of the above conditions are
+not met.
+
+DISCLAIMER
+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
+COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
+DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
+OTHER DEALINGS IN THE FONT SOFTWARE.
diff --git a/styles/briefing-board/demo/kit/fonts/chars.txt b/styles/briefing-board/demo/kit/fonts/chars.txt
new file mode 100644
index 0000000..719d51d
--- /dev/null
+++ b/styles/briefing-board/demo/kit/fonts/chars.txt
@@ -0,0 +1 @@
+!%'()+,-.0123456789:;=?ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz·×÷–—“”−≈、。一上不两了以余修倍公决净出刚勉去反只可否告在墩够好定宽工差应度座强录得悬报拉拱据数料斜新是有条来板桥梁河源烦矩程空立第简算米索纪能航船规认证说资跨路车过还这远通道里题麻!(),:;?
\ No newline at end of file
diff --git a/styles/briefing-board/demo/kit/objects/arch.json b/styles/briefing-board/demo/kit/objects/arch.json
new file mode 100644
index 0000000..c0c3472
--- /dev/null
+++ b/styles/briefing-board/demo/kit/objects/arch.json
@@ -0,0 +1,48 @@
+{
+ "id": "arch",
+ "w": 6838,
+ "h": 1949,
+ "anchors": {
+ "L": [
+ 0.16028,
+ 0.98666
+ ],
+ "R": [
+ 0.92673,
+ 0.99743
+ ]
+ },
+ "trim": [
+ 0,
+ 21,
+ 6838,
+ 1970
+ ],
+ "prep": {
+ "raw": "sources/candidates/arch/arch_1.tif",
+ "id": "arch",
+ "rotate": 0,
+ "crop": "0,1470,7000,3440",
+ "mask": null,
+ "mask_mul": null,
+ "mask_max": null,
+ "thin_region": null,
+ "thin_color": null,
+ "radial": null,
+ "patch": [],
+ "poly": "0,0 7000,0 7000,560 6850,600 6800,1970 0,1970",
+ "cut": [
+ "2300,880,2530,1030"
+ ],
+ "keep_largest": true,
+ "min_island": 0.002,
+ "erode": 1,
+ "sat": 0.8,
+ "contrast": 1.06,
+ "warm": 0.015,
+ "gamma": 1.0,
+ "exposure": 0.0,
+ "max": 7000
+ },
+ "hangers_repaired": 20
+}
\ No newline at end of file
diff --git a/styles/briefing-board/demo/kit/objects/beam.json b/styles/briefing-board/demo/kit/objects/beam.json
new file mode 100644
index 0000000..3b1ef76
--- /dev/null
+++ b/styles/briefing-board/demo/kit/objects/beam.json
@@ -0,0 +1,44 @@
+{
+ "id": "beam",
+ "w": 2659,
+ "h": 225,
+ "anchors": {
+ "L": [
+ 0.33321,
+ 0.95556
+ ],
+ "R": [
+ 0.67544,
+ 0.95556
+ ]
+ },
+ "trim": [
+ 9,
+ 27,
+ 2668,
+ 252
+ ],
+ "prep": {
+ "raw": "sources/candidates/beam/beam_3.jpg",
+ "id": "beam",
+ "rotate": 0,
+ "crop": "100,770,2790,1022",
+ "mask": null,
+ "mask_mul": null,
+ "mask_max": null,
+ "thin_region": null,
+ "thin_color": null,
+ "patch": [],
+ "poly": null,
+ "cut": [],
+ "keep_largest": true,
+ "min_island": 0.002,
+ "erode": 1,
+ "sat": 0.45,
+ "contrast": 1.06,
+ "warm": -0.02,
+ "gamma": 1.0,
+ "exposure": 0.0,
+ "max": 2700
+ }
+}
\ No newline at end of file
diff --git a/styles/briefing-board/demo/kit/objects/cable.json b/styles/briefing-board/demo/kit/objects/cable.json
new file mode 100644
index 0000000..1b4b9d0
--- /dev/null
+++ b/styles/briefing-board/demo/kit/objects/cable.json
@@ -0,0 +1,53 @@
+{
+ "id": "cable",
+ "w": 9000,
+ "h": 1857,
+ "trim": [
+ 0,
+ 67,
+ 6818,
+ 2880
+ ],
+ "anchors": {
+ "L": [
+ 0.15672,
+ 0.995
+ ],
+ "R": [
+ 0.84328,
+ 0.995
+ ]
+ },
+ "prep": {
+ "raw": "sources/candidates/cable/cable_1.tif",
+ "id": "cable_half",
+ "rotate": 0,
+ "crop": "82,600,6900,3480",
+ "mask": null,
+ "mask_mul": "sources/masks/cable_nosky.png",
+ "mask_max": null,
+ "thin_region": null,
+ "thin_color": null,
+ "radial": null,
+ "patch": [
+ "4820,2380,4915,2820,-190,0"
+ ],
+ "poly": null,
+ "cut": [
+ "4560,2060,4760,2112"
+ ],
+ "keep_largest": false,
+ "min_island": 0.0003,
+ "erode": 0,
+ "sat": 0.55,
+ "contrast": 1.06,
+ "warm": 0.015,
+ "gamma": 1.0,
+ "exposure": 0.0,
+ "max": 7000
+ },
+ "stays_redrawn": 43,
+ "mirror": {
+ "source": "cable_half"
+ }
+}
\ No newline at end of file
diff --git a/styles/briefing-board/demo/kit/objects/cable_half.json b/styles/briefing-board/demo/kit/objects/cable_half.json
new file mode 100644
index 0000000..9464272
--- /dev/null
+++ b/styles/briefing-board/demo/kit/objects/cable_half.json
@@ -0,0 +1,46 @@
+{
+ "id": "cable_half",
+ "w": 6818,
+ "h": 2813,
+ "trim": [
+ 0,
+ 67,
+ 6818,
+ 2880
+ ],
+ "anchors": {
+ "P": [
+ 0.68656,
+ 0.99822
+ ]
+ },
+ "prep": {
+ "raw": "sources/candidates/cable/cable_1.tif",
+ "id": "cable_half",
+ "rotate": 0,
+ "crop": "82,600,6900,3480",
+ "mask": null,
+ "mask_mul": "sources/masks/cable_nosky.png",
+ "mask_max": null,
+ "thin_region": null,
+ "thin_color": null,
+ "radial": null,
+ "patch": [
+ "4820,2380,4915,2820,-190,0"
+ ],
+ "poly": null,
+ "cut": [
+ "4560,2060,4760,2112"
+ ],
+ "keep_largest": false,
+ "min_island": 0.0003,
+ "erode": 0,
+ "sat": 0.55,
+ "contrast": 1.06,
+ "warm": 0.015,
+ "gamma": 1.0,
+ "exposure": 0.0,
+ "max": 7000
+ },
+ "stays_redrawn": 43
+}
\ No newline at end of file
diff --git a/styles/briefing-board/demo/kit/objects/print_arch.json b/styles/briefing-board/demo/kit/objects/print_arch.json
new file mode 100644
index 0000000..eed9542
--- /dev/null
+++ b/styles/briefing-board/demo/kit/objects/print_arch.json
@@ -0,0 +1,15 @@
+{
+ "id": "print_arch",
+ "w": 1200,
+ "h": 593,
+ "anchors": {},
+ "print": true,
+ "prep": {
+ "src": "sources/candidates/arch/arch_1.tif",
+ "id": "print_arch",
+ "crop": "0,1000,7360,4300",
+ "w": 1100,
+ "border": 0.045,
+ "sat": 0.85
+ }
+}
\ No newline at end of file
diff --git a/styles/briefing-board/demo/kit/objects/print_cable.json b/styles/briefing-board/demo/kit/objects/print_cable.json
new file mode 100644
index 0000000..dfeacd9
--- /dev/null
+++ b/styles/briefing-board/demo/kit/objects/print_cable.json
@@ -0,0 +1,15 @@
+{
+ "id": "print_cable",
+ "w": 1200,
+ "h": 683,
+ "anchors": {},
+ "print": true,
+ "prep": {
+ "src": "sources/candidates/cable/cable_1.tif",
+ "id": "print_cable",
+ "crop": "0,400,7360,4300",
+ "w": 1100,
+ "border": 0.045,
+ "sat": 0.85
+ }
+}
\ No newline at end of file
diff --git a/styles/briefing-board/demo/kit/objects/print_ship.json b/styles/briefing-board/demo/kit/objects/print_ship.json
new file mode 100644
index 0000000..deebfb7
--- /dev/null
+++ b/styles/briefing-board/demo/kit/objects/print_ship.json
@@ -0,0 +1,15 @@
+{
+ "id": "print_ship",
+ "w": 1090,
+ "h": 440,
+ "anchors": {},
+ "print": true,
+ "prep": {
+ "src": "sources/derived/ship_side_clean.png",
+ "id": "print_ship",
+ "crop": "120,480,3830,1780",
+ "w": 1000,
+ "border": 0.045,
+ "sat": 0.85
+ }
+}
\ No newline at end of file
diff --git a/styles/briefing-board/demo/kit/objects/print_susp.json b/styles/briefing-board/demo/kit/objects/print_susp.json
new file mode 100644
index 0000000..cbb4c82
--- /dev/null
+++ b/styles/briefing-board/demo/kit/objects/print_susp.json
@@ -0,0 +1,15 @@
+{
+ "id": "print_susp",
+ "w": 1200,
+ "h": 571,
+ "anchors": {},
+ "print": true,
+ "prep": {
+ "src": "sources/candidates/suspension/suspension_1.jpg",
+ "id": "print_susp",
+ "crop": "0,1150,5372,3450",
+ "w": 1100,
+ "border": 0.045,
+ "sat": 0.85
+ }
+}
\ No newline at end of file
diff --git a/styles/briefing-board/demo/kit/objects/ship.json b/styles/briefing-board/demo/kit/objects/ship.json
new file mode 100644
index 0000000..88867e6
--- /dev/null
+++ b/styles/briefing-board/demo/kit/objects/ship.json
@@ -0,0 +1,45 @@
+{
+ "id": "ship",
+ "w": 444,
+ "h": 2592,
+ "anchors": {
+ "bow": [
+ 0.5,
+ 1.0
+ ],
+ "stern": [
+ 0.5,
+ 0.0
+ ]
+ },
+ "trim": [
+ 27,
+ 16,
+ 471,
+ 2608
+ ],
+ "prep": {
+ "raw": "sources/candidates/ship_top/ship_top_1.jpg",
+ "id": "ship",
+ "rotate": 90.0,
+ "crop": "740,190,1230,2820",
+ "mask": null,
+ "mask_mul": null,
+ "mask_max": null,
+ "thin_region": null,
+ "thin_color": null,
+ "radial": null,
+ "patch": [],
+ "poly": "34,14 464,14 464,2490 430,2560 340,2606 240,2614 140,2606 52,2560 34,2490",
+ "cut": [],
+ "keep_largest": true,
+ "min_island": 0.002,
+ "erode": 1,
+ "sat": 0.95,
+ "contrast": 1.06,
+ "warm": 0.015,
+ "gamma": 1.0,
+ "exposure": 0.0,
+ "max": 2700
+ }
+}
\ No newline at end of file
diff --git a/styles/briefing-board/demo/kit/objects/ship_side.json b/styles/briefing-board/demo/kit/objects/ship_side.json
new file mode 100644
index 0000000..2b268d1
--- /dev/null
+++ b/styles/briefing-board/demo/kit/objects/ship_side.json
@@ -0,0 +1,45 @@
+{
+ "id": "ship_side",
+ "w": 3435,
+ "h": 789,
+ "trim": [
+ 14,
+ 41,
+ 3449,
+ 830
+ ],
+ "anchors": {
+ "bow": [
+ 0.00291,
+ 0.98859
+ ],
+ "stern": [
+ 0.99709,
+ 0.98859
+ ]
+ },
+ "prep": {
+ "raw": "sources/derived/ship_side_clean.png",
+ "id": "ship_side",
+ "rotate": 0,
+ "crop": "250,700,3710,1530",
+ "mask": null,
+ "mask_mul": null,
+ "mask_max": null,
+ "thin_region": null,
+ "thin_color": null,
+ "radial": null,
+ "patch": [],
+ "poly": null,
+ "cut": [],
+ "keep_largest": true,
+ "min_island": 0.002,
+ "erode": 1,
+ "sat": 0.9,
+ "contrast": 1.06,
+ "warm": 0.015,
+ "gamma": 1.0,
+ "exposure": 0.0,
+ "max": 3500
+ }
+}
\ No newline at end of file
diff --git a/styles/briefing-board/demo/kit/objects/susp_raw.json b/styles/briefing-board/demo/kit/objects/susp_raw.json
new file mode 100644
index 0000000..d803131
--- /dev/null
+++ b/styles/briefing-board/demo/kit/objects/susp_raw.json
@@ -0,0 +1,45 @@
+{
+ "id": "susp_raw",
+ "w": 4992,
+ "h": 1091,
+ "trim": [
+ 0,
+ 58,
+ 4992,
+ 1149
+ ],
+ "anchors": {
+ "L": [
+ 0.176,
+ 0.962
+ ],
+ "R": [
+ 0.935,
+ 0.962
+ ]
+ },
+ "prep": {
+ "raw": "sources/candidates/suspension/suspension_1.jpg",
+ "id": "susp_raw",
+ "rotate": 0,
+ "crop": "380,1420,5372,2620",
+ "mask": null,
+ "mask_mul": null,
+ "mask_max": "sources/masks/susp_sky.png",
+ "thin_region": null,
+ "thin_color": null,
+ "radial": null,
+ "patch": [],
+ "poly": null,
+ "cut": [],
+ "keep_largest": false,
+ "min_island": 0.0005,
+ "erode": 0,
+ "sat": 0.35,
+ "contrast": 1.06,
+ "warm": 0.015,
+ "gamma": 1.0,
+ "exposure": 0.0,
+ "max": 5000
+ }
+}
\ No newline at end of file
diff --git a/styles/briefing-board/demo/kit/objects/suspension.json b/styles/briefing-board/demo/kit/objects/suspension.json
new file mode 100644
index 0000000..e5e779d
--- /dev/null
+++ b/styles/briefing-board/demo/kit/objects/suspension.json
@@ -0,0 +1,59 @@
+{
+ "id": "suspension",
+ "w": 7537,
+ "h": 1091,
+ "trim": [
+ 0,
+ 58,
+ 4992,
+ 1149
+ ],
+ "anchors": {
+ "L": [
+ 0.11657,
+ 0.962
+ ],
+ "R": [
+ 0.95688,
+ 0.962
+ ]
+ },
+ "prep": {
+ "raw": "sources/candidates/suspension/suspension_1.jpg",
+ "id": "susp_raw",
+ "rotate": 0,
+ "crop": "380,1420,5372,2620",
+ "mask": null,
+ "mask_mul": null,
+ "mask_max": "sources/masks/susp_sky.png",
+ "thin_region": null,
+ "thin_color": null,
+ "radial": null,
+ "patch": [],
+ "poly": null,
+ "cut": [],
+ "keep_largest": false,
+ "min_island": 0.0005,
+ "erode": 0,
+ "sat": 0.35,
+ "contrast": 1.06,
+ "warm": 0.015,
+ "gamma": 1.0,
+ "exposure": 0.0,
+ "max": 5000
+ },
+ "stretch": {
+ "source": "susp_raw",
+ "x_from": 0.19,
+ "x_to": 0.918,
+ "k": 1.7,
+ "region": [
+ 0.12578,
+ 0.94573
+ ]
+ },
+ "cables_redrawn": {
+ "hangers": 54,
+ "deck_y": 0.4656
+ }
+}
\ No newline at end of file
diff --git a/styles/briefing-board/demo/kit/tools/clean_lettering.py b/styles/briefing-board/demo/kit/tools/clean_lettering.py
new file mode 100644
index 0000000..267a776
--- /dev/null
+++ b/styles/briefing-board/demo/kit/tools/clean_lettering.py
@@ -0,0 +1,17 @@
+#!/usr/bin/env python3
+"""Remove lettering and logos from a photo before it is cut out: a large median filter inside given
+rectangles keeps colour blocks and edges between them but wipes letters, logos and markings.
+
+ python3 kit/tools/clean_lettering.py <in> <out.png> --rect x0,y0,x1,y1,size [--rect …]
+"""
+import argparse
+import numpy as np
+from PIL import Image, ImageOps
+from scipy import ndimage as ndi
+ap = argparse.ArgumentParser(); ap.add_argument('src'); ap.add_argument('out'); ap.add_argument('--rect', action='append', required=True)
+a = ap.parse_args()
+im = np.asarray(ImageOps.exif_transpose(Image.open(a.src)).convert('RGB')).copy()
+for r in a.rect:
+ x0, y0, x1, y1, k = (int(v) for v in r.split(','))
+ for c in range(3): im[y0:y1, x0:x1, c] = ndi.median_filter(im[y0:y1, x0:x1, c], size=(max(3, k // 3), k))
+Image.fromarray(im).save(a.out); print(a.out, im.shape)
diff --git a/styles/briefing-board/demo/kit/tools/fetch_fonts.py b/styles/briefing-board/demo/kit/tools/fetch_fonts.py
new file mode 100644
index 0000000..5775308
--- /dev/null
+++ b/styles/briefing-board/demo/kit/tools/fetch_fonts.py
@@ -0,0 +1,46 @@
+#!/usr/bin/env python3
+"""Subset the Chinese fonts (OFL, Google Fonts) to the characters a scene uses.
+
+ python3 kit/tools/fetch_fonts.py scenes/film.json [more scene files…]
+
+Collects every character from tags, marker lettering, stamps, cards and subtitles,
+asks the Google Fonts CSS API for just those glyphs (&text=) and saves the woff2 files
+into kit/fonts/. Needs a network connection; run it again when the words change.
+Fonts: LXGW Marker Gothic (marker lettering), Noto Sans SC 500 / 700 / 900 (subtitles,
+tags, stamp). Both SIL Open Font License 1.1.
+"""
+import json, os, sys, urllib.parse, urllib.request, re
+
+HERE = os.path.dirname(os.path.abspath(__file__)); KIT = os.path.dirname(HERE)
+UA = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 Chrome/120 Safari/537.36'
+BASE = '0123456789,.:;!?()-–—+×·%米 ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz,。:;!?、()“”'
+
+def chars(scene_files):
+ s = set(BASE)
+ for f in scene_files:
+ d = json.load(open(f))
+ for e in d.get('elements', []):
+ for k in ('text',):
+ if isinstance(e.get(k), str): s |= set(e[k])
+ for l in e.get('lines', []) or []:
+ if isinstance(l.get('text'), str): s |= set(l['text'])
+ for q in d.get('subs', []):
+ s |= set(q.get('zh', '')) | set(q.get('en', ''))
+ return ''.join(sorted(c for c in s if c.strip()))
+
+def fetch(family, weight, text, out):
+ q = f'https://fonts.googleapis.com/css2?family={family.replace(" ", "+")}:wght@{weight}&text={urllib.parse.quote(text)}'
+ css = urllib.request.urlopen(urllib.request.Request(q, headers={'User-Agent': UA}), timeout=30).read().decode()
+ url = re.search(r'url\((https://[^)]+)\)', css).group(1)
+ data = urllib.request.urlopen(urllib.request.Request(url, headers={'User-Agent': UA}), timeout=60).read()
+ open(out, 'wb').write(data); print(out, len(data), 'bytes')
+
+if __name__ == '__main__':
+ files = sys.argv[1:] or [os.path.join(os.path.dirname(KIT), 'scenes', 'film.json')]
+ txt = chars(files)
+ print(len(txt), 'characters')
+ fd = os.path.join(KIT, 'fonts'); os.makedirs(fd, exist_ok=True)
+ fetch('LXGW Marker Gothic', 400, txt, os.path.join(fd, 'LXGWMarkerGothic-sub.woff2'))
+ for w in (500, 700, 900):
+ fetch('Noto Sans SC', w, txt, os.path.join(fd, f'NotoSansSC-{w}-sub.woff2'))
+ open(os.path.join(fd, 'chars.txt'), 'w').write(txt)
diff --git a/styles/briefing-board/demo/kit/tools/make_print.py b/styles/briefing-board/demo/kit/tools/make_print.py
new file mode 100644
index 0000000..66ae772
--- /dev/null
+++ b/styles/briefing-board/demo/kit/tools/make_print.py
@@ -0,0 +1,19 @@
+#!/usr/bin/env python3
+"""A photo print for the wall: a crop of the original photograph on white photo paper.
+ python3 kit/tools/make_print.py <photo> <id> --crop x0,y0,x1,y1 [--w 1100 --border .045 --sat .85]"""
+import argparse, json, os
+import numpy as np
+from PIL import Image, ImageOps
+OBJ = os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), 'objects')
+Image.MAX_IMAGE_PIXELS = None
+ap = argparse.ArgumentParser(); ap.add_argument('src'); ap.add_argument('id'); ap.add_argument('--crop', required=True)
+ap.add_argument('--w', type=int, default=1100); ap.add_argument('--border', type=float, default=.045); ap.add_argument('--sat', type=float, default=.85)
+a = ap.parse_args()
+im = ImageOps.exif_transpose(Image.open(a.src)).convert('RGB').crop(tuple(int(v) for v in a.crop.split(',')))
+im = im.resize((a.w, round(a.w * im.height / im.width)), Image.LANCZOS)
+x = np.asarray(im, np.float32) / 255; lum = (x * [.2126, .7152, .0722]).sum(-1, keepdims=True); x = lum + (x - lum) * a.sat
+im = Image.fromarray((np.clip(x, 0, 1) * 255).astype(np.uint8))
+b = round(a.w * a.border); paper = Image.new('RGBA', (im.width + 2 * b, im.height + 2 * b), (250, 249, 245, 255)); paper.paste(im, (b, b))
+paper.save(os.path.join(OBJ, a.id + '.png'), optimize=True)
+json.dump({'id': a.id, 'w': paper.width, 'h': paper.height, 'anchors': {}, 'print': True, 'prep': vars(a)}, open(os.path.join(OBJ, a.id + '.json'), 'w'), indent=2)
+print(a.id, paper.size)
diff --git a/styles/briefing-board/demo/kit/tools/mirror_span.py b/styles/briefing-board/demo/kit/tools/mirror_span.py
new file mode 100644
index 0000000..f1cb47c
--- /dev/null
+++ b/styles/briefing-board/demo/kit/tools/mirror_span.py
@@ -0,0 +1,23 @@
+#!/usr/bin/env python3
+"""Make a two-pylon main span from a photographed single pylon: the cut-out must start exactly at
+mid-span on its left edge ([half main span | pylon | back span]). The mirror image is joined on the
+left, giving [back span | pylon | main span | pylon | back span]. CREDITS says so.
+
+ python3 kit/tools/mirror_span.py <half_id> <out_id> --pylon 0.68 --water 0.995
+"""
+import argparse, json, os
+from PIL import Image, ImageOps
+HERE = os.path.dirname(os.path.abspath(__file__)); OBJ = os.path.join(os.path.dirname(HERE), 'objects')
+ap = argparse.ArgumentParser(); ap.add_argument('id'); ap.add_argument('out')
+ap.add_argument('--pylon', type=float, required=True, help='pylon centre, normalised x in the half'); ap.add_argument('--water', type=float, required=True)
+ap.add_argument('--max', type=int, default=4800)
+a = ap.parse_args()
+half = Image.open(os.path.join(OBJ, a.id + '.png')).convert('RGBA'); W, H = half.size
+out = Image.new('RGBA', (2 * W - 1, H)); out.paste(ImageOps.mirror(half), (0, 0)); out.alpha_composite(half, (W - 1, 0))
+s = min(1, a.max / max(out.size))
+if s < 1: out = out.resize((round(out.width * s), round(out.height * s)), Image.LANCZOS)
+out.save(os.path.join(OBJ, a.out + '.png'), optimize=True)
+meta = json.load(open(os.path.join(OBJ, a.id + '.json')))
+meta.update(id=a.out, w=out.width, h=out.height, mirror=dict(source=a.id), anchors={'L': [round(.5 - a.pylon / 2, 5), a.water], 'R': [round(.5 + a.pylon / 2, 5), a.water]})
+json.dump(meta, open(os.path.join(OBJ, a.out + '.json'), 'w'), indent=2)
+print(a.out, out.size, meta['anchors'])
diff --git a/styles/briefing-board/demo/kit/tools/prep_object.py b/styles/briefing-board/demo/kit/tools/prep_object.py
new file mode 100644
index 0000000..715d92d
--- /dev/null
+++ b/styles/briefing-board/demo/kit/tools/prep_object.py
@@ -0,0 +1,191 @@
+#!/usr/bin/env python3
+"""Turn one photo into a kit object: kit/objects/<id>.png + <id>.json.
+
+ $LIB/.venv/bin/python kit/tools/prep_object.py <raw image> <id> [options]
+
+Steps: rotate / crop → mask (BiRefNet, a mask file, a polygon, or both combined) → clean the edge
+(tighten, erode, anti-alias, decontaminate the fringe colour) → shared grade (so photos from
+different sources sit together on the board) → trim → meta (size, anchors, credit).
+
+Options
+ --rotate DEG rotate the raw image first (counter-clockwise, expand)
+ --crop x0,y0,x1,y1 crop in (rotated) raw pixels
+ --mask FILE greyscale mask at the cropped size (or raw size with --mask-raw) instead of BiRefNet
+ --mask-mul FILE multiply the BiRefNet mask by this mask (keep thin parts a sky key found, drop the rest)
+ --mask-max FILE take max(BiRefNet, this mask): add thin cables found by a sky key
+ --poly "x,y x,y …" keep only what lies inside this polygon (cropped pixels)
+ --cut x0,y0,x1,y1 remove this rectangle (signs, lettering; repeatable)
+ --patch x0,y0,x1,y1,dx,dy clone the photo over a rectangle from an offset (paint out lettering)
+ --thin-region FILE with --mask-max: inside this region use the key for thin parts and BiRefNet only where solid
+ --radial cx,cy,len smooth the keyed thin parts along rays through (cx, cy), ±len px (a stay-cable fan)
+ --keep-largest / --min-island 0.002
+ --erode 1 bite 1 px off the edge (0 for thin lattice and cables)
+ --sat 0.9 --contrast 1.06 --warm 0.015 --gamma 1.0 --exposure 0
+ --max 2400 longest side of the output
+ --anchor name=nx,ny anchor in output-normalised coordinates (repeatable; kept on re-runs)
+ --anchor-px name=x,y anchor in cropped-image pixels, converted after the trim
+ --credit FILE.json {title, author, licence, source} merged into meta
+Model: BiRefNet-general ONNX (MIT), path from $BIREFNET_ONNX or ~/.rembg/models/birefnet-general/birefnet-general.onnx.
+Requires numpy, scipy, Pillow, onnxruntime (all in the library's .venv).
+"""
+import argparse, json, os, sys, hashlib
+import numpy as np
+from PIL import Image, ImageOps, ImageDraw
+from scipy import ndimage as ndi
+
+HERE = os.path.dirname(os.path.abspath(__file__))
+OBJ = os.path.join(os.path.dirname(HERE), 'objects')
+CACHE = os.path.join(os.path.dirname(os.path.dirname(HERE)), 'sources', 'masks')
+MODEL = os.environ.get('BIREFNET_ONNX') or os.path.expanduser('~/.rembg/models/birefnet-general/birefnet-general.onnx')
+
+
+def birefnet(img):
+ """Soft foreground mask, 0..1, at the image size (cached by image hash)."""
+ os.makedirs(CACHE, exist_ok=True)
+ key = os.path.join(CACHE, 'birefnet_' + hashlib.md5(img.tobytes()).hexdigest()[:16] + '.png')
+ if os.path.exists(key):
+ return np.asarray(Image.open(key).convert('L'), np.float32) / 255
+ import onnxruntime as ort
+ sess = ort.InferenceSession(MODEL, providers=['CPUExecutionProvider'])
+ x = np.asarray(img.resize((1024, 1024), Image.BICUBIC), np.float32) / 255
+ x = (x - [0.485, 0.456, 0.406]) / [0.229, 0.224, 0.225]
+ x = x.transpose(2, 0, 1)[None].astype(np.float32)
+ out = sess.run(None, {sess.get_inputs()[0].name: x})[0]
+ m = 1 / (1 + np.exp(-out[0, 0]))
+ m = Image.fromarray((m * 255).astype(np.uint8)).resize(img.size, Image.BICUBIC)
+ m.save(key)
+ return np.asarray(m, np.float32) / 255
+
+
+def poly_mask(size, poly, ss=4):
+ W, H = size
+ im = Image.new('L', (W * ss, H * ss), 0)
+ ImageDraw.Draw(im).polygon([(x * ss, y * ss) for x, y in poly], fill=255)
+ return np.asarray(im.resize((W, H), Image.LANCZOS), np.float32) / 255
+
+
+def clean_alpha(a, keep_largest, min_island, erode=1):
+ a = np.clip((a - .06) / (.94 - .06), 0, 1)
+ solid = a > .5
+ lab, n = ndi.label(solid)
+ if n > 1:
+ sizes = ndi.sum(solid, lab, range(1, n + 1))
+ keep = np.zeros(n + 1, bool)
+ if keep_largest: keep[1 + int(np.argmax(sizes))] = True
+ else: keep[1:] = sizes >= min_island * sizes.sum()
+ region = ndi.binary_dilation(keep[lab], iterations=3)
+ a = a * region
+ if erode: a = ndi.grey_erosion(a, size=(3, 3))
+ a = ndi.gaussian_filter(a, .6)
+ a[a < .02] = 0
+ return np.clip(a, 0, 1)
+
+
+def decontaminate(rgb, a, r=5):
+ w = (a > .92).astype(np.float32)
+ num = np.stack([ndi.gaussian_filter(rgb[..., i] * w, r) for i in range(3)], -1)
+ den = ndi.gaussian_filter(w, r)[..., None]
+ inner = num / np.maximum(den, 1e-4)
+ edge = ((a > 0) & (a < .92))[..., None] & (den > 1e-3)
+ return np.where(edge, inner, rgb)
+
+
+def grade(rgb, sat, contrast, warm, gamma, exposure):
+ x = np.clip(rgb * (2 ** exposure), 0, 1) ** (1 / gamma)
+ lum = (x * [.2126, .7152, .0722]).sum(-1, keepdims=True)
+ x = lum + (x - lum) * sat
+ x = .5 + (x - .5) * contrast
+ x = x + np.array([warm, warm * .35, -warm])
+ x = .015 + x * .975
+ return np.clip(x, 0, 1)
+
+
+def main():
+ ap = argparse.ArgumentParser()
+ ap.add_argument('raw'); ap.add_argument('id')
+ ap.add_argument('--rotate', type=float, default=0); ap.add_argument('--crop')
+ ap.add_argument('--mask'); ap.add_argument('--mask-mul'); ap.add_argument('--mask-max'); ap.add_argument('--thin-region'); ap.add_argument('--thin-color'); ap.add_argument('--radial'); ap.add_argument('--patch', action='append', default=[]); ap.add_argument('--poly'); ap.add_argument('--cut', action='append', default=[])
+ ap.add_argument('--keep-largest', action='store_true'); ap.add_argument('--min-island', type=float, default=.002)
+ ap.add_argument('--erode', type=int, default=1)
+ ap.add_argument('--sat', type=float, default=.9); ap.add_argument('--contrast', type=float, default=1.06)
+ ap.add_argument('--warm', type=float, default=.015); ap.add_argument('--gamma', type=float, default=1.0)
+ ap.add_argument('--exposure', type=float, default=0.0)
+ ap.add_argument('--max', type=int, default=2400)
+ ap.add_argument('--anchor', action='append', default=[]); ap.add_argument('--anchor-px', action='append', default=[]); ap.add_argument('--credit')
+ a = ap.parse_args()
+
+ img = ImageOps.exif_transpose(Image.open(a.raw)).convert('RGB')
+ if a.rotate: img = img.rotate(a.rotate, Image.BICUBIC, expand=True)
+ if a.crop: img = img.crop(tuple(int(v) for v in a.crop.split(',')))
+ rgb = np.asarray(img, np.float32) / 255
+ for p_ in a.patch: # clone texture over lettering: x0,y0,x1,y1,dx,dy copies from (x0+dx, y0+dy)
+ px0, py0, px1, py1, pdx, pdy = (int(v) for v in p_.split(','))
+ rgb = rgb.copy(); rgb[py0:py1, px0:px1] = rgb[py0 + pdy:py1 + pdy, px0 + pdx:px1 + pdx]
+ img = Image.fromarray((rgb * 255).astype(np.uint8))
+ thin_w = None
+ load = lambda f: np.asarray(Image.open(f).convert('L').resize(img.size, Image.LANCZOS), np.float32) / 255
+ if a.mask:
+ alpha = load(a.mask)
+ else:
+ alpha = birefnet(img)
+ if a.mask_mul: alpha = alpha * load(a.mask_mul)
+ if a.mask_max: # add thin parts, but only those connected to the main object (no clouds, no birds)
+ extra = load(a.mask_max)
+ if a.radial: # smooth thin straight parts along rays through a centre (a cable fan): fills gaps, kills stair-steps
+ rcx, rcy, rlen = (float(v) for v in a.radial.split(','))
+ H_, W_ = extra.shape; yy, xx = np.mgrid[0:H_, 0:W_].astype(np.float32)
+ dx_, dy_ = rcx - xx, rcy - yy; dn = np.hypot(dx_, dy_) + 1e-6; ux, uy = dx_ / dn, dy_ / dn
+ acc_ = np.zeros_like(extra); L_ = int(rlen)
+ for k_ in range(-L_, L_ + 1):
+ acc_ += ndi.map_coordinates(extra, [yy + uy * k_, xx + ux * k_], order=1, mode='nearest')
+ acc_ /= (2 * L_ + 1)
+ extra = np.clip(acc_ * 1.6, 0, 1)
+ core = ndi.binary_dilation(alpha > .5, iterations=4)
+ lab, n = ndi.label(extra > .35)
+ if n:
+ hit = np.unique(lab[core & (lab > 0)]); keep = np.isin(lab, hit[hit > 0])
+ extra = extra * ndi.binary_dilation(keep, iterations=2)
+ if a.thin_region: # inside the sky region BiRefNet keeps only its solid core; thin parts come from the key
+ reg = load(a.thin_region); core_a = alpha * (alpha > .85)
+ alpha = alpha * (1 - reg) + np.maximum(core_a, extra) * reg
+ if a.thin_color: # thin parts take one steel colour: a thin line's pixels are mostly sky
+ thin_w = np.clip((extra - core_a) * reg * 3, 0, 1)[..., None]
+ else: alpha = np.maximum(alpha, extra)
+ if a.poly:
+ pts = [tuple(float(v) for v in p.split(',')) for p in a.poly.split()]
+ alpha = alpha * ndi.gaussian_filter(poly_mask(img.size, pts), .7)
+ for c_ in a.cut: # rectangles removed outright (signs, lettering, stray objects)
+ cx0, cy0, cx1, cy1 = (int(v) for v in c_.split(',')); alpha[cy0:cy1, cx0:cx1] = 0
+ alpha = clean_alpha(alpha, a.keep_largest, a.min_island, a.erode)
+ rgb = decontaminate(rgb, alpha)
+ if a.thin_color and thin_w is not None:
+ tc = np.array([float(v) for v in a.thin_color.split(',')], np.float32); rgb = rgb * (1 - thin_w) + tc * thin_w
+ rgb = grade(rgb, a.sat, a.contrast, a.warm, a.gamma, a.exposure)
+
+ ys, xs = np.where(alpha > .02); pad = 6
+ y0, y1 = max(0, ys.min() - pad), min(alpha.shape[0], ys.max() + pad + 1)
+ x0, x1 = max(0, xs.min() - pad), min(alpha.shape[1], xs.max() + pad + 1)
+ out = Image.fromarray((np.dstack([rgb, alpha])[y0:y1, x0:x1] * 255 + .5).astype(np.uint8), 'RGBA')
+ s = min(1, a.max / max(out.size))
+ if s < 1: out = out.resize((round(out.width * s), round(out.height * s)), Image.LANCZOS)
+ os.makedirs(OBJ, exist_ok=True)
+ png = os.path.join(OBJ, a.id + '.png'); out.save(png, optimize=True)
+ meta_path = os.path.join(OBJ, a.id + '.json')
+ meta = json.load(open(meta_path)) if os.path.exists(meta_path) else {}
+ meta.pop('placeholder', None)
+ meta.update({'id': a.id, 'w': out.width, 'h': out.height, 'trim': [int(x0), int(y0), int(x1), int(y1)]})
+ anchors = meta.get('anchors', {})
+ for s_ in a.anchor:
+ n, v = s_.split('='); anchors[n] = [float(t) for t in v.split(',')]
+ for s_ in a.anchor_px: # anchor in cropped-image pixels → output-normalised (after the trim)
+ n, v = s_.split('='); px, py = (float(t) for t in v.split(','))
+ anchors[n] = [round((px - x0) / (x1 - x0), 5), round((py - y0) / (y1 - y0), 5)]
+ meta['anchors'] = anchors
+ if a.credit: meta['credit'] = json.load(open(a.credit))
+ meta['prep'] = {k_: v for k_, v in vars(a).items() if k_ not in ('anchor', 'anchor_px', 'credit')}
+ json.dump(meta, open(meta_path, 'w'), indent=2)
+ print(png, out.size)
+
+
+if __name__ == '__main__':
+ sys.exit(main())
diff --git a/styles/briefing-board/demo/kit/tools/rebuild_objects.sh b/styles/briefing-board/demo/kit/tools/rebuild_objects.sh
new file mode 100755
index 0000000..3ddb7ab
--- /dev/null
+++ b/styles/briefing-board/demo/kit/tools/rebuild_objects.sh
@@ -0,0 +1,60 @@
+#!/bin/sh
+# Rebuild every object in kit/objects/ from its source photo, exactly as used in the film.
+# Sources (licences in demo/CREDITS) live in sources/candidates/; masks are cached in sources/masks/.
+# Needs the library's Python (numpy, scipy, Pillow, onnxruntime) and the BiRefNet-general ONNX model
+# ($BIREFNET_ONNX, default ~/.rembg/models/birefnet-general/birefnet-general.onnx).
+# Everything is cut at the photo's own resolution (tools/rescheck.mjs proves no frame upsamples a photo).
+set -e
+KIT=$(cd "$(dirname "$0")/.." && pwd); DEMO=$(dirname "$KIT")
+LIB=${LIB:-$(cd "$DEMO/../../.." && pwd)}
+PY=${PY:-"$LIB/.venv/bin/python"}
+T="kit/tools"; SRC="sources/candidates"; M="sources/masks"; D="sources/derived" # relative: the metas record portable paths
+cd "$DEMO"; mkdir -p "$M" "$D"
+
+# ship, seen from straight above (CC BY 4.0, BAW): rotated so the bow points down, hull polygon keeps its shadow out
+"$PY" "$T/prep_object.py" "$SRC/ship_top/ship_top_1.jpg" ship --rotate 90 --crop 740,190,1230,2820 \
+ --poly "34,14 464,14 464,2490 430,2560 340,2606 240,2614 140,2606 52,2560 34,2490" --keep-largest --sat .95 --max 2700 \
+ --anchor bow=0.5,1.0 --anchor stern=0.5,0.0
+
+# ship, side view (CC0): container logos, the hull name and hull markings wiped by a median filter, then cut out
+"$PY" "$T/clean_lettering.py" "$SRC/ship_side/ship_side_1.jpg" "$D/ship_side_clean.png" --rect 700,930,3130,1375,15 \
+ --rect 520,1300,760,1380,45 --rect 300,1390,3700,1500,31 --rect 3320,940,3450,1000,15 --rect 3250,700,3500,840,15
+"$PY" "$T/prep_object.py" "$D/ship_side_clean.png" ship_side --crop 250,700,3710,1530 --keep-largest --erode 1 --sat .9 --max 3500
+"$PY" "$T/ship_anchors.py" ship_side --bow left
+
+# beam (PD-self): three-span haunched concrete girder; L/R = the two river piers of the main span
+"$PY" "$T/prep_object.py" "$SRC/beam/beam_3.jpg" beam --crop 100,770,2790,1022 --keep-largest --erode 1 --sat .45 --warm -.02 --max 2700 \
+ --anchor-px L=895,242 --anchor-px R=1805,242
+
+# arch (PD-Highsmith): steel through-arch; the road sign removed; hangers lost against the hills continued to the deck
+"$PY" "$T/prep_object.py" "$SRC/arch/arch_1.tif" arch --crop 0,1470,7000,3440 --poly "0,0 7000,0 7000,560 6850,600 6800,1970 0,1970" \
+ --cut 2300,880,2530,1030 --keep-largest --erode 1 --sat .8 --max 7000 --anchor-px L=1096,1944 --anchor-px R=6337,1965
+"$PY" "$T/repair_hangers.py" arch --deck 0.574 --band 0.04 --x0 0.25 --x1 0.9 --minfill 0
+"$PY" "$T/repair_hangers.py" arch --deck 0.574 --band 0.05 --x0 0.18 --x1 0.9
+
+# cable-stayed (PD-Highsmith): pylon + deck cut without the stays (sky region masked out), the stays measured from a
+# light top-hat key and redrawn as clean lines; one pylon and its fan, cut at mid-span, mirrored into a two-pylon main span
+"$PY" "$T/sky_key.py" "$SRC/cable/cable_1.tif" "$M/cable_sky.png" --crop 82,600,6900,3480 \
+ --above "0,2060 4500,2110 4560,2000 4800,2000 4800,2180 6818,2230" --exclude "4590,50 4790,50 4930,2240 4420,2240" --light --size 15 --lo 6 --hi 26
+"$PY" -c "from PIL import Image, ImageOps; ImageOps.invert(Image.open('$M/cable_sky_region.png').convert('L')).save('$M/cable_nosky.png')"
+"$PY" "$T/prep_object.py" "$SRC/cable/cable_1.tif" cable_half --crop 82,600,6900,3480 --mask-mul "$M/cable_nosky.png" \
+ --patch 4820,2380,4915,2820,-190,0 --cut 4560,2060,4760,2112 --min-island 0.0003 --erode 0 --sat .55 --max 7000 --anchor-px P=4681,2875
+"$PY" "$T/redraw_stays.py" cable_half --key "$M/cable_sky.png" --pylon 4681 --deck-y 2174 --scan-deck 1800 --scan-left 4450 --scan-right 4900 \
+ --width 7 --keep-poly "4600,40 4780,40 4900,2240 4450,2240"
+"$PY" "$T/mirror_span.py" cable_half cable --pylon 0.68656 --water 0.995 --max 9000
+
+# suspension (CC BY 2.0, Russ): towers and deck from BiRefNet + a dark top-hat key; the main span (between the towers'
+# inner faces) stretched ×1.7 so the towers keep their shape at a two-kilometre span; main cables and hangers redrawn clean
+"$PY" "$T/sky_key.py" "$SRC/suspension/suspension_1.jpg" "$M/susp_sky.png" --crop 380,1420,5372,2620 \
+ --above "0,330 330,470 360,720 2000,740 4560,800 4800,640 4992,600"
+"$PY" "$T/prep_object.py" "$SRC/suspension/suspension_1.jpg" susp_raw --crop 380,1420,5372,2620 --mask-max "$M/susp_sky.png" \
+ --min-island 0.0005 --erode 0 --sat .35 --max 5000 --anchor L=0.176,0.962 --anchor R=0.935,0.962
+"$PY" "$T/stretch_span.py" susp_raw suspension --from 0.19 --to 0.918 --k 1.7 --max 8000
+"$PY" "$T/redraw_suspension.py" suspension
+
+# photo prints pinned on the wall (four of the same photographs, uncut, on photo paper; the ship from the cleaned side view)
+"$PY" "$T/make_print.py" "$SRC/suspension/suspension_1.jpg" print_susp --crop 0,1150,5372,3450
+"$PY" "$T/make_print.py" "$SRC/cable/cable_1.tif" print_cable --crop 0,400,7360,4300
+"$PY" "$T/make_print.py" "$SRC/arch/arch_1.tif" print_arch --crop 0,1000,7360,4300
+"$PY" "$T/make_print.py" "$D/ship_side_clean.png" print_ship --crop 120,480,3830,1780 --w 1000 # the side-view ship, lettering wiped
+echo "objects rebuilt in $KIT/objects"
diff --git a/styles/briefing-board/demo/kit/tools/redraw_stays.py b/styles/briefing-board/demo/kit/tools/redraw_stays.py
new file mode 100644
index 0000000..bef9cb9
--- /dev/null
+++ b/styles/briefing-board/demo/kit/tools/redraw_stays.py
@@ -0,0 +1,90 @@
+#!/usr/bin/env python3
+"""Redraw the stay cables of a cable-stayed bridge cut-out as clean anti-aliased lines, at the
+positions measured in the photo. The photographed stays (twin strands, helical fillets) turn into
+stair-steps and dashes when keyed and scaled; their geometry is simple and exact, so it is measured
+from the sky key and drawn again.
+
+ python3 kit/tools/redraw_stays.py <id> --key sources/masks/cable_sky.png --pylon 4681 --deck-y 2174 \
+ --scan-deck 2110 --scan-left 4520 --scan-right 4850 [--width 7 --color .62,.64,.66]
+
+All coordinates are in the cropped photo (the key's) pixels; the object's meta 'trim' maps them.
+For each fan: the crossings of a horizontal scan just above the deck and of a vertical scan beside
+the pylon are found, paired in order (outermost deck point ↔ topmost pylon point) by a monotone
+match that maximises the key along each candidate line, and every pair is drawn from the deck to
+the pylon centre line. The pylon and deck from the base cut-out stay in front of the cables.
+"""
+import argparse, json, os
+import numpy as np
+from PIL import Image, ImageDraw
+from scipy import ndimage as ndi
+HERE = os.path.dirname(os.path.abspath(__file__)); OBJ = os.path.join(os.path.dirname(HERE), 'objects')
+ap = argparse.ArgumentParser(); ap.add_argument('id'); ap.add_argument('--key', required=True)
+for k in ('pylon', 'deck_y', 'scan_deck', 'scan_left', 'scan_right'): ap.add_argument('--' + k.replace('_', '-'), dest=k, type=float, required=True)
+ap.add_argument('--keep-poly'); ap.add_argument('--width', type=float, default=7); ap.add_argument('--color', default='.62,.64,.66'); ap.add_argument('--ss', type=int, default=3)
+a = ap.parse_args()
+img = np.asarray(Image.open(os.path.join(OBJ, a.id + '.png')).convert('RGBA'), np.float32) / 255
+meta = json.load(open(os.path.join(OBJ, a.id + '.json'))); tx, ty = meta['trim'][0], meta['trim'][1]
+key = np.asarray(Image.open(a.key).convert('L'), np.float32) / 255
+H, W = img.shape[:2]
+if a.keep_poly: # above the deck, only the pylon survives from the base cut (no stray cable fragments)
+ pm = Image.new('L', (W, H), 0)
+ ImageDraw.Draw(pm).polygon([(float(q.split(',')[0]) - tx, float(q.split(',')[1]) - ty) for q in a.keep_poly.split()], fill=255)
+ keep = np.asarray(pm, np.float32) / 255; above = (np.arange(H)[:, None] < a.deck_y - 30 - ty)
+ img[..., 3] = np.where(above & (keep < .5), 0, img[..., 3])
+
+def centres(v, thr=.45, minw=2):
+ m = v > thr; d = np.diff(np.r_[0, m.astype(np.int8), 0]); s, e = np.where(d == 1)[0], np.where(d == -1)[0]
+ return [(s_ + e_ - 1) / 2 for s_, e_ in zip(s, e) if e_ - s_ >= minw]
+KEYMAX = ndi.maximum_filter(key, 3)
+def line_score(p, q, n=160):
+ xs = np.linspace(p[0], q[0], n); ys = np.linspace(p[1], q[1], n)
+ return float(ndi.map_coordinates(KEYMAX, [ys, xs], order=1).mean())
+def match(deck_pts, pyl_pts):
+ """monotone matching maximising the key along each line (outer deck ↔ top pylon)"""
+ n, m = len(deck_pts), len(pyl_pts); S = np.full((n + 1, m + 1), -1e9); S[0, :] = 0; S[:, 0] = 0; B = {}
+ sc = np.array([[line_score(deck_pts[i], pyl_pts[j]) for j in range(m)] for i in range(n)])
+ for i in range(1, n + 1):
+ for j in range(1, m + 1):
+ opts = [(S[i - 1, j], 'i'), (S[i, j - 1], 'j')]
+ if sc[i - 1, j - 1] > .55: opts.append((S[i - 1, j - 1] + sc[i - 1, j - 1], 'd'))
+ S[i, j], B[i, j] = max(opts)
+ i, j, pairs = n, m, []
+ while i > 0 and j > 0:
+ b = B[i, j]
+ if b == 'd': pairs.append((deck_pts[i - 1], pyl_pts[j - 1], sc[i - 1, j - 1])); i -= 1; j -= 1
+ elif b == 'i': i -= 1
+ else: j -= 1
+ return pairs[::-1]
+
+lines = []
+for side in ('left', 'right'):
+ if side == 'left':
+ xs = [x for x in centres(key[int(a.scan_deck), :int(a.pylon) - 300])]; dpts = [(x, a.scan_deck) for x in sorted(xs)]
+ ys = centres(key[:int(a.deck_y) - 200, int(a.scan_left)]); ppts = [(a.scan_left, y) for y in sorted(ys)]
+ else:
+ xs = [x for x in centres(key[int(a.scan_deck), int(a.pylon) + 300:])]; dpts = [(x + int(a.pylon) + 300, a.scan_deck) for x in sorted(xs, reverse=True)]
+ ys = centres(key[:int(a.deck_y) - 200, int(a.scan_right)]); ppts = [(a.scan_right, y) for y in sorted(ys)]
+ for p, q, s in match(dpts, ppts):
+ # extend from the deck surface to the pylon centre line
+ dx, dy = q[0] - p[0], q[1] - p[1]
+ t0 = (a.deck_y - p[1]) / dy if dy else 0; t1 = (a.pylon - p[0]) / dx if dx else 1
+ P0 = (p[0] + dx * t0, p[1] + dy * t0); P1 = (p[0] + dx * t1, p[1] + dy * t1)
+ lines.append((P0, P1, s))
+ print(side, 'deck crossings', len(dpts), 'pylon crossings', len(ppts), '→ stays', sum(1 for l in lines if (l[0][0] < a.pylon) == (side == 'left')))
+# draw at ss× and downsample for anti-aliasing, in object coordinates
+ss = a.ss; cv = Image.new('L', (W * ss, H * ss), 0); dr = ImageDraw.Draw(cv)
+for P0, P1, s in lines:
+ dr.line([((P0[0] - tx) * ss, (P0[1] - ty) * ss), ((P1[0] - tx) * ss, (P1[1] - ty) * ss)], fill=255, width=int(round(a.width * ss)))
+la = np.asarray(cv.resize((W, H), Image.LANCZOS), np.float32) / 255
+col = np.array([float(v) for v in a.color.split(',')], np.float32)
+base_a = img[..., 3:4]; front = (base_a > .5).astype(np.float32) # pylon and deck stay in front
+lw = la[..., None] * (1 - front)
+rgb = img[..., :3] * (1 - lw) + col * lw
+# a lighter core makes a round cable read on the board
+core = np.asarray(Image.fromarray((la * 255).astype(np.uint8)).filter(__import__('PIL.ImageFilter', fromlist=['x']).MinFilter(3)), np.float32)[..., None] / 255
+rgb = rgb + (1 - front) * core * .12
+alpha = np.maximum(img[..., 3], la)
+out = np.dstack([np.clip(rgb, 0, 1), alpha])
+Image.fromarray((out * 255 + .5).astype(np.uint8), 'RGBA').save(os.path.join(OBJ, a.id + '.png'), optimize=True)
+meta['stays_redrawn'] = len(lines); json.dump(meta, open(os.path.join(OBJ, a.id + '.json'), 'w'), indent=2)
+print(a.id, 'stays drawn:', len(lines))
diff --git a/styles/briefing-board/demo/kit/tools/redraw_suspension.py b/styles/briefing-board/demo/kit/tools/redraw_suspension.py
new file mode 100644
index 0000000..7ed8d2d
--- /dev/null
+++ b/styles/briefing-board/demo/kit/tools/redraw_suspension.py
@@ -0,0 +1,94 @@
+#!/usr/bin/env python3
+"""Redraw the main cables and hangers of a suspension-bridge cut-out as clean lines, at the
+positions measured in the cut-out itself. Keyed hangers turn into pale smears once the main span
+is stretched; a parabola fitted to each main cable and the measured hanger positions give clean,
+honest geometry, while the towers and deck stay the photograph.
+
+ python3 kit/tools/redraw_suspension.py <id> [--color .36,.38,.41 --cable 7 --hanger 4 --ss 3]
+
+Uses meta anchors L / R (tower centres at the water line). Towers stay in front of the cables.
+"""
+import argparse, json, os
+import numpy as np
+from PIL import Image, ImageDraw
+from scipy import ndimage as ndi
+HERE = os.path.dirname(os.path.abspath(__file__)); OBJ = os.path.join(os.path.dirname(HERE), 'objects')
+ap = argparse.ArgumentParser(); ap.add_argument('id'); ap.add_argument('--color', default='.36,.38,.41')
+ap.add_argument('--cable', type=float, default=7); ap.add_argument('--hanger', type=float, default=4); ap.add_argument('--ss', type=int, default=3)
+ap.add_argument('--tower-half', type=int, default=110)
+a = ap.parse_args()
+img = np.asarray(Image.open(os.path.join(OBJ, a.id + '.png')).convert('RGBA'), np.float32) / 255
+meta = json.load(open(os.path.join(OBJ, a.id + '.json'))); H, W = img.shape[:2]
+al = img[..., 3]; L = int(meta['anchors']['L'][0] * W); R = int(meta['anchors']['R'][0] * W)
+# deck top: first row (from the top) where the main span is mostly solid
+# deck top per column: the top of the first long solid band (the stiffening truss), fitted with a line
+sm = ndi.gaussian_filter(al, (6, 2)); dx_, dy_ = [], []
+for x in range(L + a.tower_half + 20, R - a.tower_half - 20, 10):
+ col = sm[:, x] > .5; d = np.diff(np.r_[0, col.astype(np.int8), 0]); s_, e_ = np.where(d == 1)[0], np.where(d == -1)[0]
+ band = [(u, v) for u, v in zip(s_, e_) if v - u >= 50]
+ if band: dx_.append(x); dy_.append(band[0][0])
+dx_, dy_ = np.array(dx_, float), np.array(dy_, float); pd = np.polyfit(dx_, dy_, 1)
+for _ in range(3):
+ r = np.abs(np.polyval(pd, dx_) - dy_); k_ = r < max(4, 2.5 * np.median(r)); pd = np.polyfit(dx_[k_], dy_[k_], 1)
+deck_at = lambda x: float(np.polyval(pd, x)); deck = int(min(deck_at(L), deck_at(R)))
+# main cables: in each column of the main span, the topmost thin runs above the deck
+xs, ys1, ys2 = [], [], []
+for x in range(L + a.tower_half + 10, R - a.tower_half - 10, 6):
+ col = al[:int(deck_at(x)) - 8, x] > .35; d = np.diff(np.r_[0, col.astype(np.int8), 0]); s, e = np.where(d == 1)[0], np.where(d == -1)[0]
+ runs = [(s_ + e_ - 1) / 2 for s_, e_ in zip(s, e) if e_ - s_ <= 40]
+ if runs: xs.append(x); ys1.append(runs[0]); ys2.append(runs[1] if len(runs) > 1 and runs[1] - runs[0] < 45 else np.nan)
+xs, ys1, ys2 = np.array(xs, float), np.array(ys1, float), np.array(ys2, float)
+def robust_quad(x, y):
+ m = np.isfinite(y)
+ for _ in range(4):
+ p = np.polyfit(x[m], y[m], 2); r = np.abs(np.polyval(p, x) - y); m = m & (r < max(6, 2.5 * np.nanmedian(r[m])))
+ return p
+p1 = robust_quad(xs, ys1); p2 = robust_quad(xs, ys2) if np.isfinite(ys2).sum() > 30 else None
+# side spans: straight-ish cables from the tower tops to the ends, fitted the same way
+def side_fit(x0, x1):
+ sx, sy = [], []
+ for x in range(x0, x1, 6):
+ col = al[:deck - 8, x] > .35; d = np.diff(np.r_[0, col.astype(np.int8), 0]); s, e = np.where(d == 1)[0], np.where(d == -1)[0]
+ runs = [(s_ + e_ - 1) / 2 for s_, e_ in zip(s, e) if e_ - s_ <= 40]
+ if runs: sx.append(x); sy.append(runs[0])
+ if len(sx) < 10: return None, (x0, x1)
+ sx, sy = np.array(sx, float), np.array(sy, float); return robust_quad(sx, sy), (int(sx.min()), int(sx.max()))
+sideL = side_fit(10, L - a.tower_half - 10); sideR = side_fit(R + a.tower_half + 10, W - 10)
+# hangers: column coverage between the cable and the deck, peaks = hanger centres
+hcov = np.zeros(W)
+for x in range(L + a.tower_half + 10, R - a.tower_half - 10):
+ yc = int(np.polyval(p1, x)) + 10
+ db = int(deck_at(x))
+ if db - 6 - yc > 20: hcov[x] = (al[yc:db - 6, x] > .3).mean()
+hs = ndi.gaussian_filter1d(hcov, 3); pk = [x for x in range(2, W - 2) if hs[x] > .25 and hs[x] >= hs[x - 1] and hs[x] >= hs[x + 1]]
+hang = []
+for x in pk:
+ if not hang or x - hang[-1] > 18: hang.append(x)
+# base: remove every thin part above the deck except the towers
+keep = np.zeros(W, bool); keep[max(0, L - a.tower_half):L + a.tower_half] = True; keep[R - a.tower_half:min(W, R + a.tower_half)] = True
+base = img.copy()
+for x in np.where(~keep)[0]: base[:int(deck_at(min(max(x, L), R))) - 2, x, 3] = 0
+# pale, half-transparent leftovers of keyed cables (beside the towers, at the hanger feet) go too
+lum = base[..., :3] @ np.array([.2126, .7152, .0722], np.float32)
+pale = (lum > .66) & (base[..., 3] < .97)
+for x in range(W):
+ yd = int(deck_at(min(max(x, L), R)))
+ base[:yd + 14, x, 3] = np.where(pale[:yd + 14, x], 0, base[:yd + 14, x, 3])
+# draw
+ss = a.ss; cv = Image.new('L', (W * ss, H * ss), 0); dr = ImageDraw.Draw(cv)
+def poly(p, x0, x1, w):
+ pts = [(x * ss, float(np.polyval(p, x)) * ss) for x in np.linspace(x0, x1, 200)]; dr.line(pts, fill=255, width=int(round(w * ss)), joint='curve')
+poly(p1, L, R, a.cable)
+if p2 is not None: poly(p2, L, R, a.cable * .8)
+for (p, (x0, x1)), xe in ((sideL, 0), (sideR, W - 1)):
+ if p is not None: poly(p, 0, L, a.cable) if xe == 0 else poly(p, R, W - 1, a.cable)
+for x in hang:
+ yc = float(np.polyval(p1, x)); dr.line([(x * ss, yc * ss), (x * ss, (deck_at(x) + 2) * ss)], fill=255, width=int(round(a.hanger * ss)))
+la = np.asarray(cv.resize((W, H), Image.LANCZOS), np.float32) / 255
+col = np.array([float(v) for v in a.color.split(',')], np.float32)
+front = (base[..., 3:4] > .5).astype(np.float32); lw = la[..., None] * (1 - front)
+rgb = base[..., :3] * (1 - lw) + col * lw
+out = np.dstack([np.clip(rgb, 0, 1), np.maximum(base[..., 3], la)])
+Image.fromarray((out * 255 + .5).astype(np.uint8), 'RGBA').save(os.path.join(OBJ, a.id + '.png'), optimize=True)
+meta['cables_redrawn'] = dict(hangers=len(hang), deck_y=round(deck / H, 4)); json.dump(meta, open(os.path.join(OBJ, a.id + '.json'), 'w'), indent=2)
+print(a.id, 'deck row', deck, 'hangers', len(hang), 'second cable', p2 is not None)
diff --git a/styles/briefing-board/demo/kit/tools/repair_hangers.py b/styles/briefing-board/demo/kit/tools/repair_hangers.py
new file mode 100644
index 0000000..cf1479a
--- /dev/null
+++ b/styles/briefing-board/demo/kit/tools/repair_hangers.py
@@ -0,0 +1,61 @@
+#!/usr/bin/env python3
+"""Repair arch hangers lost against a busy background: every vertical hanger that is clearly visible
+just under the arch rib is continued straight down to the deck in its own colour, and stray soft
+fragments between the rib and the deck are removed.
+
+ python3 kit/tools/repair_hangers.py <id> --deck 0.615 --band 0.06 [--x0 0.16 --x1 0.92]
+
+--deck: normalised y of the deck top; --band: how far under the rib (normalised) a hanger must be visible.
+"""
+import argparse, json, os
+import numpy as np
+from PIL import Image
+from scipy import ndimage as ndi
+HERE = os.path.dirname(os.path.abspath(__file__)); OBJ = os.path.join(os.path.dirname(HERE), 'objects')
+ap = argparse.ArgumentParser(); ap.add_argument('id'); ap.add_argument('--deck', type=float, required=True)
+ap.add_argument('--band', type=float, default=.06); ap.add_argument("--maxw", type=int, default=16); ap.add_argument("--minfill", type=float, default=.12); ap.add_argument('--x0', type=float, default=0); ap.add_argument('--x1', type=float, default=1)
+a = ap.parse_args()
+im = np.asarray(Image.open(os.path.join(OBJ, a.id + '.png')).convert('RGBA'), np.float32) / 255
+H, W = im.shape[:2]; al = im[..., 3]; deck = int(a.deck * H); band = int(a.band * H)
+solid = al > .6
+# rib underside per column: the lowest solid pixel of the first solid run from the top (above the deck)
+rib = np.full(W, -1)
+for x in range(int(a.x0 * W), int(a.x1 * W)):
+ col = np.where(solid[:deck, x])[0]
+ if len(col):
+ runs = np.split(col, np.where(np.diff(col) > 1)[0] + 1); rib[x] = runs[0][-1]
+# a hanger touching the rib would read as part of it: take the rib line from a wide median instead
+valid = rib >= 0; rmed = ndi.median_filter(np.where(valid, rib, 0), size=61); rib = np.where(valid, np.minimum(rib, rmed), -1)
+# hanger columns: solid in the band just under the rib
+hang = np.zeros(W, bool)
+for x in np.where(rib >= 0)[0]:
+ y0 = rib[x] + 3; y1 = min(deck - 2, y0 + band)
+ if y1 - y0 > 4 and solid[y0:y1, x].mean() > .8 and solid[y0:deck - 2, x].mean() > a.minfill: hang[x] = True
+lab, n = ndi.label(hang); fixed = 0
+out = im.copy()
+for i in range(1, n + 1):
+ xs = np.where(lab == i)[0]
+ if len(xs) > a.maxw or len(xs) < 3: continue # too wide (a post, a sign) or a speck: not a hanger
+ x0, x1 = xs.min(), xs.max() + 1; y0 = int(np.median(rib[x0:x1])) + 3
+ seg = im[y0:y0 + band, x0:x1]; good = seg[..., 3] > .6
+ if good.sum() < 3: continue
+ colr = np.median(seg[good][:, :3], axis=0)
+ for y in range(y0, deck):
+ row = out[y, x0:x1]
+ if row[:, 3].mean() < .6: # missing here: paint the hanger in its own colour
+ out[y, x0:x1, :3] = colr; out[y, x0:x1, 3] = 1
+ fixed += 1
+# clean soft fragments between rib and deck outside hangers and solid structure
+mask_keep = np.zeros((H, W), bool)
+for i in range(1, n + 1):
+ xs = np.where(lab == i)[0]; mask_keep[:, max(0, xs.min() - 1):xs.max() + 2] = True
+for x in range(W):
+ if rib[x] < 0 or mask_keep[0, x]: continue
+ ys = slice(rib[x] + 4, deck - 2); frag = out[ys, x, 3]
+ out[ys, x, 3] = np.where(frag < .85, 0, frag)
+ low = slice(int(deck - .45 * (deck - rib[x])), deck - 2) # posts and sign legs in the lower gap go too
+ out[low, x, 3] = 0
+Image.fromarray((np.clip(out, 0, 1) * 255 + .5).astype(np.uint8), 'RGBA').save(os.path.join(OBJ, a.id + '.png'), optimize=True)
+meta = json.load(open(os.path.join(OBJ, a.id + '.json'))); meta['hangers_repaired'] = fixed
+json.dump(meta, open(os.path.join(OBJ, a.id + '.json'), 'w'), indent=2)
+print(a.id, 'hangers continued to the deck:', fixed)
diff --git a/styles/briefing-board/demo/kit/tools/ship_anchors.py b/styles/briefing-board/demo/kit/tools/ship_anchors.py
new file mode 100644
index 0000000..741c5c0
--- /dev/null
+++ b/styles/briefing-board/demo/kit/tools/ship_anchors.py
@@ -0,0 +1,14 @@
+#!/usr/bin/env python3
+"""Set bow / stern anchors of a side-view ship cut-out at its water line (the lowest wide row).
+ python3 kit/tools/ship_anchors.py <id> [--bow left|right]"""
+import argparse, json, os
+import numpy as np
+from PIL import Image
+OBJ = os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), 'objects')
+ap = argparse.ArgumentParser(); ap.add_argument('id'); ap.add_argument('--bow', default='left'); a = ap.parse_args()
+al = np.asarray(Image.open(os.path.join(OBJ, a.id + '.png')))[..., 3] > 128; H, W = al.shape
+wl = int(np.where(al.mean(1) > .5)[0].max()); cols = np.where(al.any(0))[0]
+m = json.load(open(os.path.join(OBJ, a.id + '.json')))
+ends = [cols.min() / W, cols.max() / W]; bow, stern = (ends if a.bow == 'left' else ends[::-1])
+m['anchors'] = {'bow': [round(bow, 5), round(wl / H, 5)], 'stern': [round(stern, 5), round(wl / H, 5)]}
+json.dump(m, open(os.path.join(OBJ, a.id + '.json'), 'w'), indent=2); print(a.id, m['anchors'])
diff --git a/styles/briefing-board/demo/kit/tools/sky_key.py b/styles/briefing-board/demo/kit/tools/sky_key.py
new file mode 100644
index 0000000..4a7fc0f
--- /dev/null
+++ b/styles/briefing-board/demo/kit/tools/sky_key.py
@@ -0,0 +1,40 @@
+#!/usr/bin/env python3
+"""Mask for thin parts shot against a clear sky (cables, stays, hangers, masts): key out the sky
+by colour, only above a hand-drawn line (the horizon / deck), so hills and water below are never
+keyed in. Output: a greyscale mask at the cropped size, for prep_object.py --mask-max.
+
+ python3 kit/tools/sky_key.py <raw> <out_mask.png> --crop x0,y0,x1,y1 --above "x,y x,y …" [--lo 18 --hi 55]
+
+--above: a polyline in cropped pixels; only pixels above it are considered (the sky region).
+Thin dark parts are found with a black top-hat: the sky is estimated by a grey closing (which
+removes anything thinner than --size px), and a pixel counts as object when it is darker than that
+estimate by --lo … --hi grey levels.
+"""
+import argparse
+import numpy as np
+from PIL import Image, ImageOps, ImageDraw
+from scipy import ndimage as ndi
+ap = argparse.ArgumentParser(); ap.add_argument('raw'); ap.add_argument('out')
+ap.add_argument('--crop'); ap.add_argument('--rotate', type=float, default=0)
+ap.add_argument('--above', required=True); ap.add_argument('--exclude', action='append', default=[], help='polygon left to BiRefNet (a pylon, a tower)'); ap.add_argument('--lo', type=float, default=5); ap.add_argument('--hi', type=float, default=22); ap.add_argument('--size', type=int, default=17); ap.add_argument('--light', action='store_true', help='thin parts LIGHTER than the sky (white stay cables)')
+a = ap.parse_args()
+im = ImageOps.exif_transpose(Image.open(a.raw)).convert('RGB')
+if a.rotate: im = im.rotate(a.rotate, Image.BICUBIC, expand=True)
+if a.crop: im = im.crop(tuple(int(v) for v in a.crop.split(',')))
+x = np.asarray(im, np.float32)
+lum = x @ np.array([.2126, .7152, .0722], np.float32)
+if a.light:
+ sky = ndi.grey_opening(lum, size=(a.size, a.size)); diff = lum - sky
+else:
+ sky = ndi.grey_closing(lum, size=(a.size, a.size)); diff = sky - lum
+obj = np.clip((diff - a.lo) / (a.hi - a.lo), 0, 1)
+pts = [tuple(float(v) for v in p.split(',')) for p in a.above.split()]
+W, H = im.size
+poly = Image.new('L', im.size, 0); ImageDraw.Draw(poly).polygon([(0, 0), (W, 0)] + [(W, pts[-1][1])] + pts[::-1] + [(0, pts[0][1])], fill=255)
+dr = ImageDraw.Draw(poly)
+for ex in a.exclude: dr.polygon([tuple(float(v) for v in q.split(',')) for q in ex.split()], fill=0)
+region = ndi.gaussian_filter(np.asarray(poly, np.float32) / 255, 1.0)
+m = obj * region
+Image.fromarray((m * 255 + .5).astype(np.uint8), 'L').save(a.out)
+Image.fromarray((region * 255 + .5).astype(np.uint8), 'L').save(a.out.replace('.png', '_region.png')) # where the key applies
+print(a.out, im.size)
diff --git a/styles/briefing-board/demo/kit/tools/stretch_span.py b/styles/briefing-board/demo/kit/tools/stretch_span.py
new file mode 100644
index 0000000..a254a92
--- /dev/null
+++ b/styles/briefing-board/demo/kit/tools/stretch_span.py
@@ -0,0 +1,34 @@
+#!/usr/bin/env python3
+"""Stretch the main span of a bridge cut-out horizontally, leaving the towers and side spans
+untouched, so a photographed bridge can stand for a longer span of the same type at true scale.
+
+ python3 kit/tools/stretch_span.py <id> <out_id> --from 0.20 --to 0.91 --k 1.7
+
+--from / --to: normalised x range to stretch (between the inner faces of the two towers).
+Anchors are moved with the pixels; the meta records the stretch (CREDITS says so too).
+"""
+import argparse, json, os
+import numpy as np
+from PIL import Image
+HERE = os.path.dirname(os.path.abspath(__file__)); OBJ = os.path.join(os.path.dirname(HERE), 'objects')
+ap = argparse.ArgumentParser(); ap.add_argument('id'); ap.add_argument('out')
+ap.add_argument('--from', dest='f0', type=float, required=True); ap.add_argument('--to', dest='f1', type=float, required=True)
+ap.add_argument('--k', type=float, required=True); ap.add_argument('--max', type=int, default=4800)
+a = ap.parse_args()
+im = Image.open(os.path.join(OBJ, a.id + '.png')).convert('RGBA'); W, H = im.size
+x0, x1 = round(a.f0 * W), round(a.f1 * W)
+mid = im.crop((x0, 0, x1, H)).resize((round((x1 - x0) * a.k), H), Image.LANCZOS)
+out = Image.new('RGBA', (x0 + mid.width + (W - x1), H)); out.paste(im.crop((0, 0, x0, H)), (0, 0)); out.paste(mid, (x0, 0)); out.paste(im.crop((x1, 0, W, H)), (x0 + mid.width, 0))
+s = min(1, a.max / max(out.size))
+if s < 1: out = out.resize((round(out.width * s), round(out.height * s)), Image.LANCZOS)
+out.save(os.path.join(OBJ, a.out + '.png'), optimize=True)
+meta = json.load(open(os.path.join(OBJ, a.id + '.json')))
+def mx(nx):
+ px = nx * W
+ px = px if px <= x0 else (x0 + (px - x0) * a.k if px <= x1 else x0 + (x1 - x0) * a.k + (px - x1))
+ return round(px / (x0 + mid.width + W - x1), 5)
+meta['anchors'] = {k: [mx(v[0]), v[1]] for k, v in meta.get('anchors', {}).items()}
+Wt = x0 + mid.width + W - x1
+meta.update(id=a.out, w=out.width, h=out.height, stretch=dict(source=a.id, x_from=a.f0, x_to=a.f1, k=a.k, region=[round(x0 / Wt, 5), round((x0 + mid.width) / Wt, 5)]))
+json.dump(meta, open(os.path.join(OBJ, a.out + '.json'), 'w'), indent=2)
+print(a.out, out.size, meta['anchors'])
diff --git a/styles/briefing-board/demo/scenes/_gen_film.py b/styles/briefing-board/demo/scenes/_gen_film.py
new file mode 100644
index 0000000..1bcf27a
--- /dev/null
+++ b/styles/briefing-board/demo/scenes/_gen_film.py
@@ -0,0 +1,349 @@
+#!/usr/bin/env python3
+"""The whole film as data: one board (the briefing wall), one continuous camera, timed elements,
+sound events and bilingual subtitles → scenes/film.json and audio/cues.json.
+
+ python3 scenes/_gen_film.py
+
+Everything is timed on a 120 BPM grid (beat = 0.5 s; hits on sixteenths) and on the narration
+(audio/vo/dur.json). Layout is in board px (zoom 1 shows 1,920 board px across). The river is
+1,000 m = G px wide, and every bridge is scaled so its main span (anchors L → R in
+kit/objects/<id>.json) is drawn to the same scale: the four dimension lines are honest bar lengths.
+The wall is 16:9 so the final pull-back fills the frame; its right third (references, the verdict,
+the end card) is never in shot before the reveal.
+"""
+import json, math, os
+
+HERE = os.path.dirname(os.path.abspath(__file__)); DEMO = os.path.dirname(HERE)
+OBJ = os.path.join(DEMO, 'kit', 'objects')
+VO = json.load(open(os.path.join(DEMO, 'audio', 'vo', 'dur.json')))
+meta = lambda i: json.load(open(os.path.join(OBJ, i + '.json')))
+
+# ================================================================= world layout
+BW, BH = 6400, 3600
+G = 1240 # 1,000 m on the board
+KPM = G / 1000 # board px per metre
+BANK_L = 1000; BANK_R = BANK_L + G; MID = (BANK_L + BANK_R) / 2
+RIV_T, RIV_B = 70, 1150 # plan view: the river runs top → bottom
+DIM_Y = 300 # "1,000 米" dimension across the river
+CROSS_Y = 700 # the crossing (deck line, piers, later the ruler)
+PIERS = [BANK_L + G * k / 8 for k in range(1, 8)] # pier 4 sits on the channel centre line
+SPANS = {'beam': 330, 'arch': 600, 'cable': 1208, 'suspension': 2023} # FACTS.md F1–F4
+NAMES = {'beam': '梁桥', 'arch': '拱桥', 'cable': '斜拉桥', 'suspension': '悬索桥'}
+NUMTXT = {'beam': '330 米', 'arch': '600 米', 'cable': '1,208 米', 'suspension': '2,023 米'}
+TAG, NUM = 78, 100 # name tags and numbers: sized for the final wall (≥ 20 px on screen)
+NUM_EM = {'beam': 3.04, 'arch': 3.10, 'cable': 3.82, 'suspension': 3.92} # advance widths of NUMTXT in LXGW Marker Gothic (em, with the 0.02 em track)
+TAG_W = lambda n: n * TAG * 1.06 + TAG * 1.45 # a tag's width right of its magnet (board.js tagGeom: CJK 1 em + 6 % track, padding)
+
+E, EV = [], []
+def el(**k): E.append(k); return k
+def ev(t, type, **k): EV.append(dict(t=round(t, 4), type=type, **k)); return t
+
+class Cam:
+ def __init__(s, x, y, z, roll=0):
+ s.base = dict(x=x, y=y, z=z, roll=roll); s.cur = dict(x=x, y=y, lz=math.log(z), roll=roll); s.moves = []; s.shakes = []
+ def to(s, t, d, x=None, y=None, z=None, roll=None, a=2, b=2):
+ m = dict(t=round(t, 4), d=d, a=a, b=b)
+ if x is not None: m['dx'] = round(x - s.cur['x'], 2); s.cur['x'] = x
+ if y is not None: m['dy'] = round(y - s.cur['y'], 2); s.cur['y'] = y
+ if z is not None: m['dl'] = math.log(z) - s.cur['lz']; s.cur['lz'] = math.log(z)
+ if roll is not None: m['dr'] = roll - s.cur['roll']; s.cur['roll'] = roll
+ s.moves.append(m); return t + d
+ def shake(s, t, amp=6, f=9, k=7, dir=(0, 1), roll=0):
+ s.shakes.append(dict(t=t, amp=amp, f=f, k=k, dir=list(dir), roll=roll))
+ def json(s):
+ return dict(x=s.base['x'], y=s.base['y'], z=s.base['z'], roll=s.base['roll'], moves=s.moves, shakes=s.shakes)
+
+def wavy(x0, y0, x1, y1, amp, n, seed):
+ pts = []
+ for i in range(n + 1):
+ u = i / n; w = amp * (math.sin(u * 7.3 + seed) * .6 + math.sin(u * 17.1 + seed * 2) * .4) * math.sin(u * math.pi) ** .5
+ nx, ny = -(y1 - y0), (x1 - x0); L = math.hypot(nx, ny); nx, ny = nx / L, ny / L
+ pts.append([round(x0 + (x1 - x0) * u + nx * w, 1), round(y0 + (y1 - y0) * u + ny * w, 1)])
+ return pts
+def bease(u, a=2, b=2, n=2000): # same ease as kit/board.js (velocity ∝ u^a (1-u)^b)
+ u = min(1, max(0, u)); tot = acc = 0.0
+ for i in range(n): m = (i + .5) / n; w = m ** a * (1 - m) ** b; tot += w; acc += w if m < u else 0
+ return acc / tot
+def tip_time(t0, d, frac, a, b):
+ lo, hi = 0.0, 1.0
+ for _ in range(30):
+ mid = (lo + hi) / 2; lo, hi = (mid, hi) if bease(mid, a, b, 400) < frac else (lo, mid)
+ return t0 + d * lo
+
+# ================================================================= timeline (seconds)
+T = dict(L1=.45, L2=3.08, sil1=[7.0, 8.0], stamp=8.0, L3=8.30, L4=11.42, L5=15.9, L6=19.9, L7=24.0, L8=29.875, L9=32.375,
+ sil2=[35.25, 35.75], reveal=35.75)
+DUR = 40.0
+# The test bench. Each bridge is met close on a structural detail as it lands, then the camera pulls out to its
+# JUDGEMENT FRAME — the whole bridge, both bank lines (the 1,000 m "door"), the dimension line, tag, number and
+# verdict, all in frame above the subtitles — and holds there (a slow push only) while the line is drawn, the voice
+# reads the number and the verdict lands. Every judgement frame is wider than the one before.
+BR = dict(
+ beam=dict(land=15.0, pull=(15.25, .6), line=(15.875, .375), strike=17.125, leave=18.45),
+ arch=dict(approach=(18.45, .55), land=19.0, pull=(19.25, .6), line=(19.875, .375), strike=21.125, leave=22.45),
+ cable=dict(approach=(22.45, .6), land=23.125, pull=(23.375, .7), line=(24.125, 1.5), barely=26.0, leave=28.2),
+ suspension=dict(approach=(28.2, .65), land=28.875, pull=(29.125, .7), line=(29.875, .5), ring=31.25, kick=30.175, leave=32.825))
+ROW_T = {k: v['land'] for k, v in BR.items()} # photo lands (on the beat or a sixteenth)
+LINE = {k: v['line'] for k, v in BR.items()} # dimension line: start, duration
+STRIKE = {k: v['strike'] for k, v in BR.items() if 'strike' in v}
+TITLE_T = [T['reveal'] + 1.125 + .25 * i for i in range(5)]
+
+# ================================================================= S1 the river — the hook: the width snaps across in the first quarter-second
+bankL = wavy(BANK_L, RIV_T, BANK_L, RIV_B, 9, 36, 1.3); bankR = wavy(BANK_R, RIV_T, BANK_R, RIV_B, 9, 36, 4.1)
+el(type='ink', kind='line', id='bankL', points=bankL, lw=15, color='blue', t=-1.0, d=.8, ea=1.6, eb=2.2)
+el(type='ink', kind='line', id='bankR', points=bankR, lw=15, color='blue', t=-.8, d=.7, ea=1.6, eb=2.2)
+strokes = []
+for i, y in enumerate(range(RIV_T + 40, RIV_B - 20, 70)):
+ frac = (y - RIV_T) / (RIV_B - RIV_T)
+ for side, bx, (t0, d) in ((-1, BANK_L, (-1.0, .8)), (1, BANK_R, (-.8, .7))):
+ x0 = bx + side * 24
+ strokes.append(dict(points=[[x0, y], [x0 + side * 46, y + 30]], t=round(tip_time(t0, d, frac, 1.6, 2.2) + .03, 3), d=.07, lw=6, color='grey'))
+el(type='ink', kind='hatch', id='landhatch', strokes=strokes, lw=6, color='grey', alpha=.55)
+water = []
+for i, (fx, fy) in enumerate([(.18, .14), (.62, .22), (.33, .36), (.78, .44), (.15, .58), (.52, .66), (.84, .74), (.3, .84), (.66, .93)]):
+ x0 = BANK_L + G * fx - 60; y0 = RIV_T + (RIV_B - RIV_T) * fy
+ water.append(dict(points=wavy(x0, y0, x0 + 120, y0, 7, 8, i), t=1.0 + i * .14, d=.14, lw=7, color='water'))
+el(type='ink', kind='hatch', id='water', strokes=water, lw=7, color='water', alpha=.7)
+ev(1.0, 'scribble', d=1.3, v=.3)
+el(type='ink', kind='dim', id='dim1000', **{'from': [BANK_L + 4, DIM_Y], 'to': [BANK_R - 4, DIM_Y]}, lw=12, color='blue', t=-.05, d=.3, ea=1.2, eb=2.4)
+ev(0, 'dimzip', d=.25, v=1.0); ev(0, 'arrow', v=.7); ev(.25, 'arrow', v=1.0); ev(.25, 'hook')
+el(type='ink', kind='write', id='w1000', text='1,000 米', xy=[BANK_L + 70, DIM_Y - 34], size=118, color='graphite', t=.35, d=.6)
+ev(.35, 'ink', d=.6, kind='write')
+
+# ================================================================= S2 first instinct (3 – 8)
+el(type='ink', kind='line', id='deckA', points=[[BANK_L - 130, CROSS_Y - 15], [BANK_R + 130, CROSS_Y - 15]], lw=10, color='graphite', t=3.0, d=.6, ea=1.5, eb=2.5, erase=dict(t=13.55, d=.45))
+el(type='ink', kind='line', id='deckB', points=[[BANK_L - 130, CROSS_Y + 15], [BANK_R + 130, CROSS_Y + 15]], lw=10, color='graphite', t=3.15, d=.6, ea=1.5, eb=2.5, erase=dict(t=13.6, d=.45))
+ev(3.0, 'ink', d=.75, kind='line')
+for k, px in enumerate(PIERS):
+ pt = 4.25 + .25 * k; pop = 12.75 + .125 * k
+ el(type='magnet', id=f'pier{k}', xy=[round(px, 1), CROSS_Y], r=27, color='graphite', z=16,
+ arrive=dict(t=pt - .06, kind='snap', d=.35, lift=90), leave=dict(t=pop, kind='pop', d=.32, to=[(k - 3) * 28, -160], spin=30),
+ jolts=[dict(t=T['stamp'] - .02, dy=(12 if k == 3 else 3), dx=(k - 3) * 1.5, dr=(6 if k == 3 else 0), k=8, f=24)])
+ ev(pt, 'pier', n=k); ev(pop, 'pop', n=k)
+ship_m = meta('ship'); SHIP_L = 500
+bow_off = (ship_m['anchors']['bow'][1] - .5) * SHIP_L
+s0 = -200; hit = CROSS_Y - 27 - 2 - bow_off
+el(type='ink', kind='wake', id='wake', follow='ship', t=6.0, len=330, lw=6, out=8.05)
+el(type='print', id='ship', src='ship', xy=[MID, s0], h=SHIP_L, z=6, shadow=.8, arrive=dict(t=5.98, kind='fade', d=.02),
+ moves=[dict(t=6.0, d=2.0, dy=hit - s0, a=1.5, b=.35), dict(t=8.0, d=.32, dy=-14, a=.6, b=2.2)])
+ev(5.75, 'horn', v=.55, far=1); ev(6.0, 'engine', d=2.0); ev(5.9, 'water', d=2.3)
+el(type='stamp', id='stamp', text='否决', xy=[MID + 215, CROSS_Y - 125], size=118, rot=-9, t=T['stamp'], seed=7)
+ev(T['stamp'], 'stamp')
+
+# ================================================================= S4 the new rule (11 – 14.5)
+RX = BANK_R + 200
+el(type='ink', kind='write', id='w_rule0', text='新规矩', xy=[RX, 410], size=140, color='red', t=11.1, d=.45)
+el(type='ink', kind='line', id='rule_ul', points=[[RX - 6, 452], [RX + 440, 444]], lw=11, color='red', t=11.58, d=.2)
+el(type='ink', kind='write', id='w_rule1', text='航道不立墩', xy=[RX, 640], size=124, color='graphite', t=11.8, d=.75)
+ev(11.1, 'ink', d=.45, kind='write'); ev(11.58, 'ink', d=.2, kind='line'); ev(11.8, 'ink', d=.75, kind='write')
+ev(13.55, 'erase', d=.5)
+el(type='ruler', id='ruler', **{'from': [BANK_L - 175, CROSS_Y], 'to': [BANK_R + 175, CROSS_Y]}, xy=[0, 0], w=86, z=9, inset=78,
+ arrive=dict(t=round(14.0 - .28 * .95, 4), kind='drop', d=.28, lift=360, spin=1.5, land=.95))
+ev(14.0, 'ruler')
+
+# ================================================================= S5 the test bench (elevation)
+PROJ_T = 14.4
+for i, bx in enumerate((BANK_L, BANK_R)):
+ el(type='ink', kind='line', id=f'proj{i}', points=[[bx, RIV_B + 40], [bx, BH - 70]], lw=7, color='blue', alpha=.7, dash=[26, 22],
+ t=PROJ_T + i * .05, d=.85, ea=1.6, eb=2.4)
+for k in range(8): ev(PROJ_T + .05 + k * .125, 'tick', v=.5 - k * .03)
+
+rows = {}; y = RIV_B + 150
+for name in ('beam', 'arch', 'cable', 'suspension'):
+ m = meta(name); L, R = m['anchors']['L'], m['anchors']['R']
+ span_px = SPANS[name] * KPM
+ w = span_px / (R[0] - L[0]); h = w * m['h'] / m['w']
+ above = L[1] * h; base = y + above
+ cx = BANK_L - (L[0] - .5) * w; cy = base - (L[1] - .5) * h
+ rows[name] = dict(base=base, w=w, h=h, cx=cx, cy=cy, span=span_px, top=y, end=BANK_L + span_px, dy=base + 62)
+ y = base + 245
+ROWS_BOTTOM = y
+# pins: two magnets hold every bridge print, clacked on right after it lands (where the deck is)
+LIFT = dict(beam=60, arch=320, cable=260, suspension=110) # how far each print falls: kept low where the photo has few pixels to spare
+PINS = dict(beam=(.2, .88, .35), arch=(.16, .93, .62), cable=(.06, .94, .82), suspension=(.06, .94, .5))
+for name, r in rows.items():
+ t0 = ROW_T[name]; heavy = name == 'suspension'
+ el(type='print', id=name, src=name, xy=[round(r['cx'], 1), round(r['cy'], 1)], w=round(r['w'], 1), z=10,
+ arrive=dict(t=round(t0 - (.5 if heavy else .42) * .82, 4), kind='drop', d=.5 if heavy else .42, lift=LIFT[name], spin=1.4, land=.82))
+ ev(t0, 'land', size='big' if heavy else 'mid', v=1.0 if heavy else .85)
+ px0, px1, py = PINS[name]
+ for j, fx in enumerate((px0, px1)):
+ mx, my = r['cx'] - r['w'] / 2 + fx * r['w'], r['cy'] - r['h'] / 2 + py * r['h']
+ el(type='magnet', id=f'pin_{name}{j}', xy=[round(mx, 1), round(my, 1)], r=22, color='graphite', z=20, arrive=dict(t=t0 + .125 + .125 * j - .06, kind='snap', d=.3, lift=70))
+ ev(t0 + .125 + .125 * j, 'pin', v=.55)
+ ls, ld = LINE[name]; dy = r['dy']; te = ls + ld
+ el(type='ink', kind='dim', id='dim_' + name, **{'from': [BANK_L, dy], 'to': [round(r['end'], 1), dy]}, lw=12, color='blue',
+ ext=[[BANK_L, r['base'] - 10, dy + 30], [round(r['end'], 1), r['base'] - 10, dy + 30]], extColor='grey',
+ t=ls, d=ld, ea=(1.5 if name != 'cable' else 1.6), eb=(2.6 if name != 'cable' else 3.6))
+ ev(ls, 'dimzip', d=ld, v=1.0 if heavy else .7); ev(te, 'arrow', v=1.0)
+ # label block under the arrow's end: [name tag] number
+ el(type='ink', kind='write', id='num_' + name, text=NUMTXT[name], xy=[round(r['end'] - 6, 1), dy + 118], size=NUM, color='blue', align='right', t=te + .02, d=.4)
+ ev(te + .02, 'ink', d=.4, kind='write')
+ tag_dt = .125 if name in ('cable', 'arch', 'beam') else .25
+ el(type='tag', id='tag_' + name, text=NAMES[name], xy=[round(r['end'] - 6 - NUM_EM[name] * NUM - 46 - TAG_W(len(NAMES[name])), 1), dy + 84], size=TAG, rot=-1.2 if name in ('beam', 'cable') else 1.0,
+ arrive=dict(t=te + tag_dt, kind='swing', d=.8, amp=9))
+ ev(te + tag_dt, 'tag', v=.6)
+for name, ts in STRIKE.items():
+ r = rows[name]
+ next(e for e in E if e.get('id') == 'tag_' + name)['strike'] = dict(t=ts, d=.22, color='red')
+ el(type='ink', kind='line', id='gap_' + name, points=[[r['end'] + 40, r['dy']], [BANK_R - 6, r['dy']]], lw=9, color='red', dash=[18, 16], t=ts + .12, d=.3)
+ ev(ts, 'strike'); ev(ts + .12, 'ink', d=.3, kind='line', v=.5)
+rc = rows['cable']
+TB = BR['cable']['barely']
+el(type='tag', id='tag_barely', text='勉强', xy=[rc['end'] + 95, rc['dy'] + 4], size=TAG, rot=4, arrive=dict(t=TB, kind='swing', d=.8, amp=12))
+ev(TB, 'tag', v=.9)
+rs = rows['suspension']
+el(type='ink', kind='ring', id='ring', c=[round(rs['end'] - 6 - NUM_EM['suspension'] * NUM / 2, 1), rs['dy'] + 82], r=[round(NUM_EM['suspension'] * NUM / 2 + 34), 92], lw=11, color='red', t=BR['suspension']['ring'], d=.42)
+ev(BR['suspension']['ring'], 'ink', d=.42, kind='line', v=.8)
+
+# ================================================================= S6 the ship that sets the span: a side-view ship under the suspension span
+SW = 340; sm = meta('ship_side'); sh = SW * sm['h'] / sm['w']; WL = rs['base']
+ship_y = WL - (sm['anchors']['bow'][1] - .5) * sh
+el(type='ink', kind='line', id='waterline', points=wavy(rs['end'] + 620, WL, BANK_L - 380, WL, 5, 60, 2.2), lw=7, color='water', alpha=.8, t=32.125, d=.6, ea=1.6, eb=2.2)
+ev(32.125, 'ink', d=.6, kind='line', v=.6)
+S0X, S1X = rs['end'] + 420, BANK_L + 1350 # still under the main span, near frame centre, when the reveal begins
+el(type='print', id='ship_side', src='ship_side', xy=[S0X, round(ship_y, 1)], w=SW, z=7, shadow=.7, arrive=dict(t=32.475, kind='fade', d=.02),
+ moves=[dict(t=32.525, d=4.0, dx=S1X - S0X, a=1.15, b=1.5)])
+el(type='ink', kind='wake', id='wake_side', dir='side', follow='ship_side', y=WL, sgn=1, t=32.575, lw=6)
+ev(32.0, 'horn', v=.75, far=0); ev(32.575, 'engine', d=2.6, v=.8); ev(32.475, 'water', d=2.75) # the horn first (J-cut), then the ship
+
+# ================================================================= the rest of the wall: seen whole only in the reveal
+TITLE = dict(x=4010, y=1700, size=400)
+el(type='ink', kind='line', id='leader', points=[[rs['end'] + 50, rs['dy'] + 70], [rs['end'] + 300, rs['dy'] - 200], [3830, 2350], [TITLE['x'] + 60, TITLE['y'] + 80]],
+ lw=10, color='graphite', arrow=True, t=T['reveal'] + .95, d=.6, ea=1.6, eb=2.4)
+ev(T['reveal'] + .95, 'ink', d=.6, kind='line', v=.6)
+el(type='ink', kind='write', id='w_title_ship', text='船', xy=[TITLE['x'], TITLE['y']], size=TITLE['size'], color='red', t=TITLE_T[0], d=.24)
+el(type='ink', kind='write', id='w_title_rest', text='决定跨度', xy=[TITLE['x'] + TITLE['size'] * 1.04, TITLE['y']], size=TITLE['size'], color='graphite', t=TITLE_T[1], d=1.0)
+for t_ in TITLE_T: ev(t_, 'ink', d=.22, kind='write', v=1.0)
+# reference prints pinned at the top right, each held by two magnets
+for pid, (px, py, pw, rot) in dict(print_susp=(4310, 420, 640, -2.2), print_cable=(5020, 400, 600, 1.6), print_arch=(5730, 440, 640, -1.2), print_ship=(5245, 930, 540, 2.4)).items():
+ pm = meta(pid); ph = pw * pm['h'] / pm['w']
+ el(type='print', id=pid, src=pid, xy=[px, py], w=pw, z=6, rot=rot, shadow=.85)
+ for j, fx in enumerate((-.38, .38)): el(type='magnet', id=f'{pid}_m{j}', xy=[round(px + fx * pw, 1), round(py - ph / 2 + 26, 1)], r=20, color=('red' if pid == 'print_susp' and j == 0 else 'graphite'), z=14)
+el(type='card', id='sources', xy=[4440, 930], w=860, h=430, rot=-.6, z=7, magnetR=20, magnets=[[-392, -188, 'graphite'], [392, -188, 'graphite']],
+ lines=[dict(text='数据来源', font='sc', weight=900, size=64, x=50, y=-96, color='graphite'),
+ dict(text='梁桥 330 · 工程资料', font='sc', weight=500, size=46, x=50, y=-18, color='graphite'),
+ dict(text='拱桥 600 · 通车公告', font='sc', weight=500, size=46, x=50, y=46, color='graphite'),
+ dict(text='斜拉 1,208 · 通车公告', font='sc', weight=500, size=46, x=50, y=110, color='graphite'),
+ dict(text='悬索 2,023 · 纪录认证', font='sc', weight=500, size=46, x=50, y=174, color='graphite')])
+el(type='card', id='note1', xy=[5890, 960], w=660, h=230, rot=3, z=7, magnetR=18, magnets=[[0, -88, 'blue']],
+ lines=[dict(rule=True, x=30, y=-40, w=600, h=3, color='blue'), dict(text='1,208 − 1,000 = 208', font='marker', size=64, x=40, y=40, color='blue'),
+ dict(text='刚好够', font='marker', size=52, x=40, y=96, color='graphite')])
+el(type='card', id='note2', xy=[4780, 3190], w=540, h=230, rot=-2.5, z=7, magnetR=18, magnets=[[0, -88, 'blue']],
+ lines=[dict(rule=True, x=30, y=-40, w=480, h=3, color='blue'), dict(text='2,023 ÷ 1,000 ≈ 2', font='marker', size=54, x=30, y=40, color='blue'),
+ dict(text='两倍有余', font='marker', size=52, x=40, y=96, color='graphite')])
+# a small navigation-clearance section: the channel the ship needs under the deck (no numbers)
+CX, CY = 5300, 2420
+el(type='ink', kind='write', id='w_clear', text='通航净空', xy=[CX - 520, CY - 300], size=92, color='graphite', t=-5, d=.1)
+el(type='ink', kind='line', id='cl_water', points=wavy(CX - 560, CY + 170, CX + 560, CY + 170, 5, 30, 3.3), lw=8, color='water', t=-5, d=.1)
+el(type='ink', kind='line', id='cl_deck', points=[[CX - 560, CY - 170], [CX + 560, CY - 170]], lw=10, color='graphite', t=-5, d=.1)
+el(type='ink', kind='line', id='cl_box', points=[[CX - 380, CY + 170], [CX - 380, CY - 150], [CX + 380, CY - 150], [CX + 380, CY + 170]], lw=7, color='blue', dash=[22, 16], t=-5, d=.1)
+el(type='ink', kind='line', id='cl_ship', points=[[CX - 120, CY + 170], [CX - 150, CY + 40], [CX - 150, CY - 10], [CX - 60, CY - 10], [CX - 60, CY - 90], [CX + 40, CY - 90], [CX + 40, CY - 10], [CX + 150, CY - 10], [CX + 150, CY + 40], [CX + 120, CY + 170]], lw=8, color='graphite', t=-5, d=.1)
+el(type='ink', kind='dim', id='cl_w', **{'from': [CX - 380, CY + 240], 'to': [CX + 380, CY + 240]}, lw=7, color='blue', t=-5, d=.1)
+el(type='ink', kind='dim', id='cl_h', **{'from': [CX + 450, CY + 170], 'to': [CX + 450, CY - 150]}, lw=7, color='blue', t=-5, d=.1)
+# end card: the drawing's title block, bottom right
+CARD = dict(x=5660, y=3060, w=1130, h=780)
+el(type='card', id='endcard', xy=[CARD['x'], CARD['y']], w=CARD['w'], h=CARD['h'], rot=.6, z=8, magnetR=28,
+ magnets=[[-CARD['w'] / 2 + 62, -CARD['h'] / 2 + 58, 'red'], [CARD['w'] / 2 - 62, -CARD['h'] / 2 + 58, 'graphite']],
+ lines=[dict(text='船说了算', font='sc', weight=900, size=150, x=70, y=-190, color='graphite', track=8),
+ dict(rule=True, x=72, y=-150, w=180, h=10, color='red'),
+ dict(text='ENGINEERING', font='mono', weight=600, size=72, x=72, y=-40, color='graphite', track=3),
+ dict(text='BRIEFING BOARD', font='mono', weight=600, size=72, x=72, y=48, color='graphite', track=3),
+ dict(text='工程简报板', font='sc', weight=700, size=78, x=72, y=160, color='graphite', track=10),
+ dict(text='LemoLab × Claude Opus 5.5', font='mono', weight=500, size=60, x=72, y=290, color='grey', track=1)])
+
+# ================================================================= camera
+r1, r2, r3, r4 = (rows[n] for n in ('beam', 'arch', 'cable', 'suspension'))
+c = Cam(BANK_L + 200, DIM_Y + 30, 2.6, roll=-3.0)
+c.to(0, .5, x=MID + 140, a=1.4, b=2.8); c.to(0, .7, z=1.32, roll=0, y=DIM_Y + 160, a=1.6, b=2.8) # whip with the snapping dimension
+c.to(.55, .6, x=MID + 60, a=2, b=2.4) # overshoot settles back
+c.to(1.2, 1.7, x=BANK_L + 520, y=DIM_Y + 150, z=1.42, roll=1.0, a=2, b=2.2) # push in on "1,000 米"
+c.to(2.85, 1.15, y=CROSS_Y - 10, x=BANK_L + 260, z=1.48, roll=0, a=2.2, b=2.4) # down to the crossing
+c.to(3.85, 1.9, x=BANK_R - 330, a=2, b=2.2) # along the piers
+c.to(5.45, 1.2, y=CROSS_Y - 150, x=MID + 20, z=1.22, a=2, b=2.2) # up the channel
+c.to(6.6, 1.55, y=CROSS_Y - 45, z=2.05, roll=-1.6, x=MID + 60, a=2, b=2.4) # silence: push, Dutch tilt
+c.shake(T['stamp'], amp=7, f=8.5, k=6.5, dir=(0, 1), roll=.02)
+c.to(8.2, 2.5, y=CROSS_Y - 230, z=1.42, roll=0, x=MID + 120, a=1.8, b=2.6) # pull back to the whole ship: "the ship is"
+c.to(10.75, 1.0, x=RX - 120, y=575, a=2, b=3); c.to(10.75, 1.1, z=1.0, a=2, b=3) # to the rule
+c.to(11.45, 1.4, x=RX + 160, z=1.06, a=2, b=2) # ride the marker as the rule is written
+c.to(12.6, 1.3, x=RX - 160, a=2, b=2.2) # back toward the river for the pops and the ruler
+c.to(13.7, 1.2, z=1.0, y=600, a=2, b=2)
+c.to(14.38, .72, y=r1['base'] - 30, x=BANK_L + 90, a=2.2, b=2.6); c.to(14.38, .74, z=2.05, a=2, b=2.6) # down the projection line into the pier's foot
+# judgement frames: the box that must be whole and readable, the zoom (each one wider than the last) and the centre
+def tag_box(e): # board.js tagGeom: the magnet sits at xy; the tag runs 0.875 em left of it and n·1.06 + 1.45 em right
+ s_, n_ = e['size'], len(e['text']); x_, y_ = e['xy']; h_ = s_ * 1.75
+ return [x_ - h_ * .5 - 8, y_ - h_ / 2 - 8, x_ + n_ * s_ * 1.06 + s_ * 1.45 + 8, y_ + h_ / 2 + 8]
+def num_box(e): # right-aligned marker number: board.js writeBox
+ w_ = NUM_EM[e['id'][4:]] * NUM; X_, Y_ = e['xy']; return [X_ - w_, Y_ - NUM * .86, X_, Y_ + NUM * .16]
+def union(bs): return [min(b_[0] for b_ in bs), min(b_[1] for b_ in bs), max(b_[2] for b_ in bs), max(b_[3] for b_ in bs)]
+EL = {e['id']: e for e in E if 'id' in e}
+MARGIN = dict(beam=60, arch=60, cable=70, suspension=110) # the suspension's frame also absorbs the throw
+JUDGE = {}; zprev = 9.0
+for name in ('beam', 'arch', 'cable', 'suspension'):
+ r = rows[name]; bs = [[r['cx'] - r['w'] / 2, r['cy'] - r['h'] / 2, r['cx'] + r['w'] / 2, r['cy'] + r['h'] / 2], # the whole print
+ [BANK_L - 10, r['top'], BANK_R + 10, r['dy'] + 30], # both bank lines (the door)
+ tag_box(EL['tag_' + name]), num_box(EL['num_' + name])]
+ if name == 'cable': bs.append(tag_box(EL['tag_barely']))
+ if name == 'suspension': ring = EL['ring']; bs.append([ring['c'][0] - ring['r'][0] - 8, ring['c'][1] - ring['r'][1] - 8, ring['c'][0] + ring['r'][0] + 8, ring['c'][1] + ring['r'][1] + 8])
+ content = union(bs); m = MARGIN[name]; bx = [content[0] - m, content[1] - m, content[2] + m, content[3] + m]
+ z = min(1920 / (bx[2] - bx[0]), .85 * 1080 / (bx[3] - bx[1]), zprev / 1.1); zprev = z # ≥ 10 % wider than the last
+ Hv = 1080 / z; y_lo = bx[3] - .35 * Hv; y_hi = bx[1] + .5 * Hv # the box stays above the subtitle strip (bottom 15 %)
+ y_c = min(max((bx[1] + bx[3]) / 2 + .075 * Hv, y_lo), y_hi); y_c = max(y_lo, min(y_c, BH + 120 - Hv / 2)) # no more wall below the board than needed
+ JUDGE[name] = dict(box=[round(v, 1) for v in content], z=round(z, 4), x=round((bx[0] + bx[2]) / 2, 1), y=round(y_c, 1))
+DETAIL = dict(arch=dict(x=1190, y=r2['base'] - 180, z=1.6), # the arch rib and its hangers
+ cable=dict(x=BANK_L + 250, y=r3['top'] + 70, z=1.8), # the pylon top and its fan
+ suspension=dict(x=1150, y=r4['base'] - 240, z=1.38)) # the near tower and its long hangers (z capped by rescheck)
+for name in ('beam', 'arch', 'cable', 'suspension'):
+ b_, J = BR[name], JUDGE[name]
+ if 'approach' in b_:
+ t0, d = b_['approach']; D_ = DETAIL[name]; c.to(t0, d, x=D_['x'], y=D_['y'], z=D_['z'], a=2.2, b=2.4)
+ t0, d = b_['pull']; c.to(t0, d, x=J['x'], y=J['y'], z=J['z'] / 1.025, a=2, b=2.6) # out to the judgement frame
+ J['t0'] = round(t0 + d, 3); J['t1'] = b_['leave']
+ c.to(t0 + d, b_['leave'] - t0 - d, z=J['z'], a=2, b=2) # hold: only a slow push
+# the suspension's line rockets past the right bank line: the camera is thrown right and settles back on the same frame
+KX = JUDGE['suspension']['x']; c.to(BR['suspension']['kick'], .32, x=KX + 80, a=2.0, b=3.0); c.to(BR['suspension']['kick'] + .32, .8, x=KX, a=3.0, b=2.6)
+c.to(BR['suspension']['leave'], .9, x=2950, y=r4['base'] - 20, z=1.42, a=2.2, b=2.6) # down to the water by the far tower: the ship comes
+c.to(33.475, T['reveal'] - 33.475, x=2500, a=2, b=2) # pan with the ship: the reveal starts from it
+WALL = dict(x=BW / 2, y=BH / 2 + 45, z=.2795)
+c.to(T['reveal'], 1.8, x=WALL['x'], y=WALL['y'], a=1.5, b=3.2); c.to(T['reveal'], 2.05, z=WALL['z'], a=1.4, b=3.2)
+c.to(T['reveal'] + 2.4, DUR - T['reveal'] - 2.4, z=.2864, a=1.6, b=1.2)
+ev(T['reveal'], 'reveal'); ev(T['reveal'], 'horn', v=1.0, far=0, tuned=1)
+for t_, v in ((0, .7), (10.8, .4), (14.42, .45), (18.45, .35), (22.45, .4), (28.2, .45), (BR['suspension']['kick'], 1.0), (BR['suspension']['leave'], .45), (T['reveal'] + .05, .5)): ev(t_, 'whoosh', v=v)
+for n_ in BR: ev(BR[n_]['pull'][0], 'whoosh', v=.2)
+MB = [dict(t0=12.7, t1=13.7, n=5), dict(t0=13.7, t1=14.02, n=6), dict(t0=33.375, t1=T['reveal'] + .1, n=10)] + [dict(t0=ROW_T[n] - .5, t1=ROW_T[n] + .05, n=6) for n in ROW_T]
+SHADE = [dict(t0=T['reveal'] + .75, t1=T['reveal'] + 5.75, x0=-1900, x1=BW + 900, w=1100, amt=.15, ang=-16), dict(t0=8.4, t1=10.9, x0=MID - 900, x1=MID + 900, w=420, amt=.06, ang=-16)]
+RIGHT_ZONE = [3980, 0, BW, BH] # prints, source card, notes, verdict, end card: never in shot before the reveal
+
+# ================================================================= narration and subtitles (one cue per line; each language on one line)
+LINES = {
+ 'L1': ('这条河宽 1,000 米。', 'This river is a thousand meters wide.'),
+ 'L2': ('第一反应:一路立桥墩,修座梁桥。', 'First instinct: piers all the way across. A beam bridge.'),
+ 'L3': ('可麻烦不在河,在船。', "But the river isn't the problem. The ship is."),
+ 'L4': ('新规矩:航道里不能有桥墩,一跨过去。', 'New rule: no piers in the channel. One span.'),
+ 'L5': ('梁桥:330 米,差得远。', 'Beam: 330. Not close.'),
+ 'L6': ('拱桥:600 米,还差。', 'Arch: 600. Still short.'),
+ 'L7': ('斜拉桥:1,208 米,刚好够。', 'Cable-stayed: 1,208. Just enough.'),
+ 'L8': ('悬索桥:2,000 米以上。', 'Suspension: over 2,000.'),
+ 'L9': ('河宽只是出题,船决定跨度。', 'The river sets the question. The ship sets the span.'),
+}
+subs = []
+for k, (zh, en) in LINES.items():
+ t0 = T[k]; d = VO[k]; ev(t0, 'vo', id=k)
+ subs.append(dict(t0=round(t0, 3), t1=round(t0 + max(1.8, d + .6), 3), zh=zh, en=en, speech=d))
+for a_, b_ in zip(subs, subs[1:]):
+ if a_['t1'] > b_['t0'] - .02: print('WARNING subtitles overlap:', a_['zh'], '→', b_['zh'], a_['t1'], b_['t0'])
+
+scene = dict(dur=DUR, reveal=T['reveal'], shade=SHADE, board=dict(w=BW, h=BH, seed=11, texScale=.42, ghosts=110), hand=1.0, sheen=.075,
+ light=dict(x=-1800, y=-2400, r=17000, min=.8),
+ tray=[dict(kind='marker', color='graphite', x=1500, rot=-2), dict(kind='marker', color='blue', x=1900, rot=1.5),
+ dict(kind='marker', color='red', x=2260, rot=-1), dict(kind='eraser', x=4400, rot=.5), dict(kind='marker', color='graphite', x=5200, rot=3)],
+ cam=c.json(), mb=MB, elements=E, ev=sorted(EV, key=lambda e: e['t']), subs=subs,
+ cues=dict(T, bpm=120, rows={k: dict(base=round(v['base'], 1), end=round(v['end'], 1), dy=round(v['dy'], 1)) for k, v in rows.items()},
+ title=TITLE, title_t=TITLE_T, ring=BR['suspension']['ring'], hook=.25, rows_bottom=round(ROWS_BOTTOM, 1),
+ sec=dict(rule=10.75, bench=14.45, crawl=list(BR['cable']['line']), build=BR['suspension']['land'] + .125,
+ after=32.0, lines_end=T['L9'] + VO['L9'])),
+ judge=JUDGE, right_zone=RIGHT_ZONE)
+json.dump(scene, open(os.path.join(HERE, 'film.json'), 'w'), ensure_ascii=False, indent=1)
+json.dump([dict(t0=s['t0'], t1=s['t1'], text=s['zh'] + '\n' + s['en']) for s in subs], open(os.path.join(DEMO, 'audio', 'cues.json'), 'w'), ensure_ascii=False, indent=1)
+print('scenes/film.json', DUR, 's ·', len(E), 'elements ·', len(EV), 'events ·', len(subs), 'subtitles · rows bottom', round(ROWS_BOTTOM - 245 + 62 + 118 + 30), '/', BH)
+for k, v in rows.items(): print(f" {k:11s} top {v['top']:.0f} base {v['base']:.0f} span {v['span']:.0f}px end x {v['end']:.0f} photo {v['w']:.0f}×{v['h']:.0f}")
diff --git a/styles/briefing-board/demo/scenes/film.json b/styles/briefing-board/demo/scenes/film.json
new file mode 100644
index 0000000..fd09140
--- /dev/null
+++ b/styles/briefing-board/demo/scenes/film.json
@@ -0,0 +1,4496 @@
+{
+ "dur": 40.0,
+ "reveal": 35.75,
+ "shade": [
+ {
+ "t0": 36.5,
+ "t1": 41.5,
+ "x0": -1900,
+ "x1": 7300,
+ "w": 1100,
+ "amt": 0.15,
+ "ang": -16
+ },
+ {
+ "t0": 8.4,
+ "t1": 10.9,
+ "x0": 720.0,
+ "x1": 2520.0,
+ "w": 420,
+ "amt": 0.06,
+ "ang": -16
+ }
+ ],
+ "board": {
+ "w": 6400,
+ "h": 3600,
+ "seed": 11,
+ "texScale": 0.42,
+ "ghosts": 110
+ },
+ "hand": 1.0,
+ "sheen": 0.075,
+ "light": {
+ "x": -1800,
+ "y": -2400,
+ "r": 17000,
+ "min": 0.8
+ },
+ "tray": [
+ {
+ "kind": "marker",
+ "color": "graphite",
+ "x": 1500,
+ "rot": -2
+ },
+ {
+ "kind": "marker",
+ "color": "blue",
+ "x": 1900,
+ "rot": 1.5
+ },
+ {
+ "kind": "marker",
+ "color": "red",
+ "x": 2260,
+ "rot": -1
+ },
+ {
+ "kind": "eraser",
+ "x": 4400,
+ "rot": 0.5
+ },
+ {
+ "kind": "marker",
+ "color": "graphite",
+ "x": 5200,
+ "rot": 3
+ }
+ ],
+ "cam": {
+ "x": 1200,
+ "y": 330,
+ "z": 2.6,
+ "roll": -3.0,
+ "moves": [
+ {
+ "t": 0,
+ "d": 0.5,
+ "a": 1.4,
+ "b": 2.8,
+ "dx": 560.0
+ },
+ {
+ "t": 0,
+ "d": 0.7,
+ "a": 1.6,
+ "b": 2.8,
+ "dy": 130,
+ "dl": -0.6778797084291568,
+ "dr": 3.0
+ },
+ {
+ "t": 0.55,
+ "d": 0.6,
+ "a": 2,
+ "b": 2.4,
+ "dx": -80.0
+ },
+ {
+ "t": 1.2,
+ "d": 1.7,
+ "a": 2,
+ "b": 2.2,
+ "dx": -160.0,
+ "dy": -10,
+ "dl": 0.07302513501488977,
+ "dr": 1.0
+ },
+ {
+ "t": 2.85,
+ "d": 1.15,
+ "a": 2.2,
+ "b": 2.4,
+ "dx": -260,
+ "dy": 240,
+ "dl": 0.041385216162854344,
+ "dr": -1.0
+ },
+ {
+ "t": 3.85,
+ "d": 1.9,
+ "a": 2,
+ "b": 2.2,
+ "dx": 650
+ },
+ {
+ "t": 5.45,
+ "d": 1.2,
+ "a": 2,
+ "b": 2.2,
+ "dx": -270.0,
+ "dy": -140,
+ "dl": -0.1931912290308585
+ },
+ {
+ "t": 6.6,
+ "d": 1.55,
+ "a": 2,
+ "b": 2.4,
+ "dx": 40.0,
+ "dy": 105,
+ "dl": 0.5189889344051516,
+ "dr": -1.6
+ },
+ {
+ "t": 8.2,
+ "d": 2.5,
+ "a": 1.8,
+ "b": 2.6,
+ "dx": 60.0,
+ "dy": -185,
+ "dl": -0.36718292153714743,
+ "dr": 1.6
+ },
+ {
+ "t": 10.75,
+ "d": 1.0,
+ "a": 2,
+ "b": 3,
+ "dx": 580.0,
+ "dy": 105
+ },
+ {
+ "t": 10.75,
+ "d": 1.1,
+ "a": 2,
+ "b": 3,
+ "dl": -0.35065687161316933
+ },
+ {
+ "t": 11.45,
+ "d": 1.4,
+ "a": 2,
+ "b": 2,
+ "dx": 280,
+ "dl": 0.058268908123975824
+ },
+ {
+ "t": 12.6,
+ "d": 1.3,
+ "a": 2,
+ "b": 2.2,
+ "dx": -320
+ },
+ {
+ "t": 13.7,
+ "d": 1.2,
+ "a": 2,
+ "b": 2,
+ "dy": 25,
+ "dl": -0.058268908123975824
+ },
+ {
+ "t": 14.38,
+ "d": 0.72,
+ "a": 2.2,
+ "b": 2.6,
+ "dx": -1190,
+ "dy": 766.68
+ },
+ {
+ "t": 14.38,
+ "d": 0.74,
+ "a": 2,
+ "b": 2.6,
+ "dl": 0.7178397931503168
+ },
+ {
+ "t": 15.25,
+ "d": 0.6,
+ "a": 2,
+ "b": 2.6,
+ "dx": 335.8,
+ "dy": 167.42,
+ "dl": -0.6603074654850186
+ },
+ {
+ "t": 15.85,
+ "d": 2.599999999999999,
+ "a": 2,
+ "b": 2,
+ "dl": 0.024692612590371345
+ },
+ {
+ "t": 18.45,
+ "d": 0.55,
+ "a": 2.2,
+ "b": 2.4,
+ "dx": -235.8,
+ "dy": 200.57,
+ "dl": 0.3877786889900661
+ },
+ {
+ "t": 19.25,
+ "d": 0.6,
+ "a": 2,
+ "b": 2.6,
+ "dx": 357.2,
+ "dy": 236.73,
+ "dl": -0.5077814813847625
+ },
+ {
+ "t": 19.85,
+ "d": 2.599999999999999,
+ "a": 2,
+ "b": 2,
+ "dl": 0.024692612590371407
+ },
+ {
+ "t": 22.45,
+ "d": 0.6,
+ "a": 2.2,
+ "b": 2.4,
+ "dx": -297.2,
+ "dy": 258.27,
+ "dl": 0.6008719044507745
+ },
+ {
+ "t": 23.375,
+ "d": 0.7,
+ "a": 2,
+ "b": 2.6,
+ "dx": 518.7,
+ "dy": 364.73,
+ "dl": -0.8193804532608355
+ },
+ {
+ "t": 24.075,
+ "d": 4.124999999999999,
+ "a": 2,
+ "b": 2,
+ "dl": 0.024692612590371366
+ },
+ {
+ "t": 28.2,
+ "d": 0.65,
+ "a": 2.2,
+ "b": 2.4,
+ "dx": -618.7,
+ "dy": 433.89,
+ "dl": 0.5289846749374584
+ },
+ {
+ "t": 29.125,
+ "d": 0.7,
+ "a": 2,
+ "b": 2.6,
+ "dx": 994.6,
+ "dy": -36.99,
+ "dl": -0.8592697926261723
+ },
+ {
+ "t": 29.825,
+ "d": 3.0000000000000027,
+ "a": 2,
+ "b": 2,
+ "dl": 0.024692612590371255
+ },
+ {
+ "t": 30.175,
+ "d": 0.32,
+ "a": 2.0,
+ "b": 3.0,
+ "dx": 80.0
+ },
+ {
+ "t": 30.495,
+ "d": 0.8,
+ "a": 3.0,
+ "b": 2.6,
+ "dx": -80.0
+ },
+ {
+ "t": 32.825,
+ "d": 0.9,
+ "a": 2.2,
+ "b": 2.6,
+ "dx": 805.4,
+ "dy": 256.99,
+ "dl": 0.8631505524798571
+ },
+ {
+ "t": 33.475,
+ "d": 2.2749999999999986,
+ "a": 2,
+ "b": 2,
+ "dx": -450
+ },
+ {
+ "t": 35.75,
+ "d": 1.8,
+ "a": 1.5,
+ "b": 3.2,
+ "dx": 700.0,
+ "dy": -1403.29
+ },
+ {
+ "t": 35.75,
+ "d": 2.05,
+ "a": 1.4,
+ "b": 3.2,
+ "dl": -1.6254098580001524
+ },
+ {
+ "t": 38.15,
+ "d": 1.85,
+ "a": 1.6,
+ "b": 1.2,
+ "dl": 0.024387142491336444
+ }
+ ],
+ "shakes": [
+ {
+ "t": 8.0,
+ "amp": 7,
+ "f": 8.5,
+ "k": 6.5,
+ "dir": [
+ 0,
+ 1
+ ],
+ "roll": 0.02
+ }
+ ]
+ },
+ "mb": [
+ {
+ "t0": 12.7,
+ "t1": 13.7,
+ "n": 5
+ },
+ {
+ "t0": 13.7,
+ "t1": 14.02,
+ "n": 6
+ },
+ {
+ "t0": 33.375,
+ "t1": 35.85,
+ "n": 10
+ },
+ {
+ "t0": 14.5,
+ "t1": 15.05,
+ "n": 6
+ },
+ {
+ "t0": 18.5,
+ "t1": 19.05,
+ "n": 6
+ },
+ {
+ "t0": 22.625,
+ "t1": 23.175,
+ "n": 6
+ },
+ {
+ "t0": 28.375,
+ "t1": 28.925,
+ "n": 6
+ }
+ ],
+ "elements": [
+ {
+ "type": "ink",
+ "kind": "line",
+ "id": "bankL",
+ "points": [
+ [
+ 1000.0,
+ 70.0
+ ],
+ [
+ 998.3,
+ 100.0
+ ],
+ [
+ 998.4,
+ 130.0
+ ],
+ [
+ 998.8,
+ 160.0
+ ],
+ [
+ 999.3,
+ 190.0
+ ],
+ [
+ 999.7,
+ 220.0
+ ],
+ [
+ 999.7,
+ 250.0
+ ],
+ [
+ 999.3,
+ 280.0
+ ],
+ [
+ 998.7,
+ 310.0
+ ],
+ [
+ 998.2,
+ 340.0
+ ],
+ [
+ 998.1,
+ 370.0
+ ],
+ [
+ 998.6,
+ 400.0
+ ],
+ [
+ 999.8,
+ 430.0
+ ],
+ [
+ 1001.6,
+ 460.0
+ ],
+ [
+ 1003.8,
+ 490.0
+ ],
+ [
+ 1006.0,
+ 520.0
+ ],
+ [
+ 1007.8,
+ 550.0
+ ],
+ [
+ 1008.8,
+ 580.0
+ ],
+ [
+ 1008.8,
+ 610.0
+ ],
+ [
+ 1007.8,
+ 640.0
+ ],
+ [
+ 1005.9,
+ 670.0
+ ],
+ [
+ 1003.5,
+ 700.0
+ ],
+ [
+ 1001.0,
+ 730.0
+ ],
+ [
+ 998.8,
+ 760.0
+ ],
+ [
+ 997.3,
+ 790.0
+ ],
+ [
+ 996.5,
+ 820.0
+ ],
+ [
+ 996.5,
+ 850.0
+ ],
+ [
+ 997.0,
+ 880.0
+ ],
+ [
+ 997.8,
+ 910.0
+ ],
+ [
+ 998.5,
+ 940.0
+ ],
+ [
+ 998.9,
+ 970.0
+ ],
+ [
+ 999.0,
+ 1000.0
+ ],
+ [
+ 998.7,
+ 1030.0
+ ],
+ [
+ 998.3,
+ 1060.0
+ ],
+ [
+ 998.0,
+ 1090.0
+ ],
+ [
+ 998.2,
+ 1120.0
+ ],
+ [
+ 1000.0,
+ 1150.0
+ ]
+ ],
+ "lw": 15,
+ "color": "blue",
+ "t": -1.0,
+ "d": 0.8,
+ "ea": 1.6,
+ "eb": 2.2
+ },
+ {
+ "type": "ink",
+ "kind": "line",
+ "id": "bankR",
+ "points": [
+ [
+ 2240.0,
+ 70.0
+ ],
+ [
+ 2240.7,
+ 100.0
+ ],
+ [
+ 2241.8,
+ 130.0
+ ],
+ [
+ 2243.1,
+ 160.0
+ ],
+ [
+ 2244.4,
+ 190.0
+ ],
+ [
+ 2245.4,
+ 220.0
+ ],
+ [
+ 2245.7,
+ 250.0
+ ],
+ [
+ 2245.2,
+ 280.0
+ ],
+ [
+ 2243.9,
+ 310.0
+ ],
+ [
+ 2241.9,
+ 340.0
+ ],
+ [
+ 2239.6,
+ 370.0
+ ],
+ [
+ 2237.3,
+ 400.0
+ ],
+ [
+ 2235.5,
+ 430.0
+ ],
+ [
+ 2234.4,
+ 460.0
+ ],
+ [
+ 2234.2,
+ 490.0
+ ],
+ [
+ 2234.7,
+ 520.0
+ ],
+ [
+ 2235.7,
+ 550.0
+ ],
+ [
+ 2236.8,
+ 580.0
+ ],
+ [
+ 2237.7,
+ 610.0
+ ],
+ [
+ 2238.2,
+ 640.0
+ ],
+ [
+ 2238.1,
+ 670.0
+ ],
+ [
+ 2237.6,
+ 700.0
+ ],
+ [
+ 2236.7,
+ 730.0
+ ],
+ [
+ 2235.9,
+ 760.0
+ ],
+ [
+ 2235.5,
+ 790.0
+ ],
+ [
+ 2235.7,
+ 820.0
+ ],
+ [
+ 2236.6,
+ 850.0
+ ],
+ [
+ 2238.2,
+ 880.0
+ ],
+ [
+ 2240.1,
+ 910.0
+ ],
+ [
+ 2242.1,
+ 940.0
+ ],
+ [
+ 2243.8,
+ 970.0
+ ],
+ [
+ 2244.8,
+ 1000.0
+ ],
+ [
+ 2245.0,
+ 1030.0
+ ],
+ [
+ 2244.4,
+ 1060.0
+ ],
+ [
+ 2243.3,
+ 1090.0
+ ],
+ [
+ 2241.9,
+ 1120.0
+ ],
+ [
+ 2240.0,
+ 1150.0
+ ]
+ ],
+ "lw": 15,
+ "color": "blue",
+ "t": -0.8,
+ "d": 0.7,
+ "ea": 1.6,
+ "eb": 2.2
+ },
+ {
+ "type": "ink",
+ "kind": "hatch",
+ "id": "landhatch",
+ "strokes": [
+ {
+ "points": [
+ [
+ 976,
+ 110
+ ],
+ [
+ 930,
+ 140
+ ]
+ ],
+ "t": -0.867,
+ "d": 0.07,
+ "lw": 6,
+ "color": "grey"
+ },
+ {
+ "points": [
+ [
+ 2264,
+ 110
+ ],
+ [
+ 2310,
+ 140
+ ]
+ ],
+ "t": -0.68,
+ "d": 0.07,
+ "lw": 6,
+ "color": "grey"
+ },
+ {
+ "points": [
+ [
+ 976,
+ 180
+ ],
+ [
+ 930,
+ 210
+ ]
+ ],
+ "t": -0.811,
+ "d": 0.07,
+ "lw": 6,
+ "color": "grey"
+ },
+ {
+ "points": [
+ [
+ 2264,
+ 180
+ ],
+ [
+ 2310,
+ 210
+ ]
+ ],
+ "t": -0.631,
+ "d": 0.07,
+ "lw": 6,
+ "color": "grey"
+ },
+ {
+ "points": [
+ [
+ 976,
+ 250
+ ],
+ [
+ 930,
+ 280
+ ]
+ ],
+ "t": -0.771,
+ "d": 0.07,
+ "lw": 6,
+ "color": "grey"
+ },
+ {
+ "points": [
+ [
+ 2264,
+ 250
+ ],
+ [
+ 2310,
+ 280
+ ]
+ ],
+ "t": -0.596,
+ "d": 0.07,
+ "lw": 6,
+ "color": "grey"
+ },
+ {
+ "points": [
+ [
+ 976,
+ 320
+ ],
+ [
+ 930,
+ 350
+ ]
+ ],
+ "t": -0.737,
+ "d": 0.07,
+ "lw": 6,
+ "color": "grey"
+ },
+ {
+ "points": [
+ [
+ 2264,
+ 320
+ ],
+ [
+ 2310,
+ 350
+ ]
+ ],
+ "t": -0.566,
+ "d": 0.07,
+ "lw": 6,
+ "color": "grey"
+ },
+ {
+ "points": [
+ [
+ 976,
+ 390
+ ],
+ [
+ 930,
+ 420
+ ]
+ ],
+ "t": -0.705,
+ "d": 0.07,
+ "lw": 6,
+ "color": "grey"
+ },
+ {
+ "points": [
+ [
+ 2264,
+ 390
+ ],
+ [
+ 2310,
+ 420
+ ]
+ ],
+ "t": -0.538,
+ "d": 0.07,
+ "lw": 6,
+ "color": "grey"
+ },
+ {
+ "points": [
+ [
+ 976,
+ 460
+ ],
+ [
+ 930,
+ 490
+ ]
+ ],
+ "t": -0.677,
+ "d": 0.07,
+ "lw": 6,
+ "color": "grey"
+ },
+ {
+ "points": [
+ [
+ 2264,
+ 460
+ ],
+ [
+ 2310,
+ 490
+ ]
+ ],
+ "t": -0.514,
+ "d": 0.07,
+ "lw": 6,
+ "color": "grey"
+ },
+ {
+ "points": [
+ [
+ 976,
+ 530
+ ],
+ [
+ 930,
+ 560
+ ]
+ ],
+ "t": -0.649,
+ "d": 0.07,
+ "lw": 6,
+ "color": "grey"
+ },
+ {
+ "points": [
+ [
+ 2264,
+ 530
+ ],
+ [
+ 2310,
+ 560
+ ]
+ ],
+ "t": -0.489,
+ "d": 0.07,
+ "lw": 6,
+ "color": "grey"
+ },
+ {
+ "points": [
+ [
+ 976,
+ 600
+ ],
+ [
+ 930,
+ 630
+ ]
+ ],
+ "t": -0.621,
+ "d": 0.07,
+ "lw": 6,
+ "color": "grey"
+ },
+ {
+ "points": [
+ [
+ 2264,
+ 600
+ ],
+ [
+ 2310,
+ 630
+ ]
+ ],
+ "t": -0.465,
+ "d": 0.07,
+ "lw": 6,
+ "color": "grey"
+ },
+ {
+ "points": [
+ [
+ 976,
+ 670
+ ],
+ [
+ 930,
+ 700
+ ]
+ ],
+ "t": -0.593,
+ "d": 0.07,
+ "lw": 6,
+ "color": "grey"
+ },
+ {
+ "points": [
+ [
+ 2264,
+ 670
+ ],
+ [
+ 2310,
+ 700
+ ]
+ ],
+ "t": -0.44,
+ "d": 0.07,
+ "lw": 6,
+ "color": "grey"
+ },
+ {
+ "points": [
+ [
+ 976,
+ 740
+ ],
+ [
+ 930,
+ 770
+ ]
+ ],
+ "t": -0.563,
+ "d": 0.07,
+ "lw": 6,
+ "color": "grey"
+ },
+ {
+ "points": [
+ [
+ 2264,
+ 740
+ ],
+ [
+ 2310,
+ 770
+ ]
+ ],
+ "t": -0.414,
+ "d": 0.07,
+ "lw": 6,
+ "color": "grey"
+ },
+ {
+ "points": [
+ [
+ 976,
+ 810
+ ],
+ [
+ 930,
+ 840
+ ]
+ ],
+ "t": -0.533,
+ "d": 0.07,
+ "lw": 6,
+ "color": "grey"
+ },
+ {
+ "points": [
+ [
+ 2264,
+ 810
+ ],
+ [
+ 2310,
+ 840
+ ]
+ ],
+ "t": -0.388,
+ "d": 0.07,
+ "lw": 6,
+ "color": "grey"
+ },
+ {
+ "points": [
+ [
+ 976,
+ 880
+ ],
+ [
+ 930,
+ 910
+ ]
+ ],
+ "t": -0.501,
+ "d": 0.07,
+ "lw": 6,
+ "color": "grey"
+ },
+ {
+ "points": [
+ [
+ 2264,
+ 880
+ ],
+ [
+ 2310,
+ 910
+ ]
+ ],
+ "t": -0.36,
+ "d": 0.07,
+ "lw": 6,
+ "color": "grey"
+ },
+ {
+ "points": [
+ [
+ 976,
+ 950
+ ],
+ [
+ 930,
+ 980
+ ]
+ ],
+ "t": -0.463,
+ "d": 0.07,
+ "lw": 6,
+ "color": "grey"
+ },
+ {
+ "points": [
+ [
+ 2264,
+ 950
+ ],
+ [
+ 2310,
+ 980
+ ]
+ ],
+ "t": -0.326,
+ "d": 0.07,
+ "lw": 6,
+ "color": "grey"
+ },
+ {
+ "points": [
+ [
+ 976,
+ 1020
+ ],
+ [
+ 930,
+ 1050
+ ]
+ ],
+ "t": -0.419,
+ "d": 0.07,
+ "lw": 6,
+ "color": "grey"
+ },
+ {
+ "points": [
+ [
+ 2264,
+ 1020
+ ],
+ [
+ 2310,
+ 1050
+ ]
+ ],
+ "t": -0.288,
+ "d": 0.07,
+ "lw": 6,
+ "color": "grey"
+ },
+ {
+ "points": [
+ [
+ 976,
+ 1090
+ ],
+ [
+ 930,
+ 1120
+ ]
+ ],
+ "t": -0.359,
+ "d": 0.07,
+ "lw": 6,
+ "color": "grey"
+ },
+ {
+ "points": [
+ [
+ 2264,
+ 1090
+ ],
+ [
+ 2310,
+ 1120
+ ]
+ ],
+ "t": -0.235,
+ "d": 0.07,
+ "lw": 6,
+ "color": "grey"
+ }
+ ],
+ "lw": 6,
+ "color": "grey",
+ "alpha": 0.55
+ },
+ {
+ "type": "ink",
+ "kind": "hatch",
+ "id": "water",
+ "strokes": [
+ {
+ "points": [
+ [
+ 1163.2,
+ 221.2
+ ],
+ [
+ 1178.2,
+ 224.7
+ ],
+ [
+ 1193.2,
+ 222.5
+ ],
+ [
+ 1208.2,
+ 223.1
+ ],
+ [
+ 1223.2,
+ 221.3
+ ],
+ [
+ 1238.2,
+ 214.6
+ ],
+ [
+ 1253.2,
+ 219.2
+ ],
+ [
+ 1268.2,
+ 222.6
+ ],
+ [
+ 1283.2,
+ 221.2
+ ]
+ ],
+ "t": 1.0,
+ "d": 0.14,
+ "lw": 7,
+ "color": "water"
+ },
+ {
+ "points": [
+ [
+ 1708.8,
+ 307.6
+ ],
+ [
+ 1723.8,
+ 308.6
+ ],
+ [
+ 1738.8,
+ 308.7
+ ],
+ [
+ 1753.8,
+ 307.6
+ ],
+ [
+ 1768.8,
+ 300.9
+ ],
+ [
+ 1783.8,
+ 305.3
+ ],
+ [
+ 1798.8,
+ 310.1
+ ],
+ [
+ 1813.8,
+ 308.3
+ ],
+ [
+ 1828.8,
+ 307.6
+ ]
+ ],
+ "t": 1.1400000000000001,
+ "d": 0.14,
+ "lw": 7,
+ "color": "water"
+ },
+ {
+ "points": [
+ [
+ 1349.2,
+ 458.8
+ ],
+ [
+ 1364.2,
+ 459.1
+ ],
+ [
+ 1379.2,
+ 458.7
+ ],
+ [
+ 1394.2,
+ 452.5
+ ],
+ [
+ 1409.2,
+ 456.3
+ ],
+ [
+ 1424.2,
+ 462.2
+ ],
+ [
+ 1439.2,
+ 460.0
+ ],
+ [
+ 1454.2,
+ 461.2
+ ],
+ [
+ 1469.2,
+ 458.8
+ ]
+ ],
+ "t": 1.28,
+ "d": 0.14,
+ "lw": 7,
+ "color": "water"
+ },
+ {
+ "points": [
+ [
+ 1907.2,
+ 545.2
+ ],
+ [
+ 1922.2,
+ 545.1
+ ],
+ [
+ 1937.2,
+ 539.9
+ ],
+ [
+ 1952.2,
+ 542.7
+ ],
+ [
+ 1967.2,
+ 549.3
+ ],
+ [
+ 1982.2,
+ 546.8
+ ],
+ [
+ 1997.2,
+ 548.0
+ ],
+ [
+ 2012.2,
+ 546.8
+ ],
+ [
+ 2027.2,
+ 545.2
+ ]
+ ],
+ "t": 1.42,
+ "d": 0.14,
+ "lw": 7,
+ "color": "water"
+ },
+ {
+ "points": [
+ [
+ 1126.0,
+ 696.4
+ ],
+ [
+ 1141.0,
+ 692.7
+ ],
+ [
+ 1156.0,
+ 694.2
+ ],
+ [
+ 1171.0,
+ 700.8
+ ],
+ [
+ 1186.0,
+ 698.4
+ ],
+ [
+ 1201.0,
+ 699.0
+ ],
+ [
+ 1216.0,
+ 698.4
+ ],
+ [
+ 1231.0,
+ 692.8
+ ],
+ [
+ 1246.0,
+ 696.4
+ ]
+ ],
+ "t": 1.56,
+ "d": 0.14,
+ "lw": 7,
+ "color": "water"
+ },
+ {
+ "points": [
+ [
+ 1584.8,
+ 782.8
+ ],
+ [
+ 1599.8,
+ 781.1
+ ],
+ [
+ 1614.8,
+ 787.0
+ ],
+ [
+ 1629.8,
+ 785.1
+ ],
+ [
+ 1644.8,
+ 784.9
+ ],
+ [
+ 1659.8,
+ 784.8
+ ],
+ [
+ 1674.8,
+ 778.0
+ ],
+ [
+ 1689.8,
+ 780.1
+ ],
+ [
+ 1704.8,
+ 782.8
+ ]
+ ],
+ "t": 1.7000000000000002,
+ "d": 0.14,
+ "lw": 7,
+ "color": "water"
+ },
+ {
+ "points": [
+ [
+ 1981.6,
+ 869.2
+ ],
+ [
+ 1996.6,
+ 872.5
+ ],
+ [
+ 2011.6,
+ 871.5
+ ],
+ [
+ 2026.6,
+ 870.6
+ ],
+ [
+ 2041.6,
+ 871.0
+ ],
+ [
+ 2056.6,
+ 863.8
+ ],
+ [
+ 2071.6,
+ 865.4
+ ],
+ [
+ 2086.6,
+ 870.4
+ ],
+ [
+ 2101.6,
+ 869.2
+ ]
+ ],
+ "t": 1.84,
+ "d": 0.14,
+ "lw": 7,
+ "color": "water"
+ },
+ {
+ "points": [
+ [
+ 1312.0,
+ 977.2
+ ],
+ [
+ 1327.0,
+ 979.1
+ ],
+ [
+ 1342.0,
+ 977.9
+ ],
+ [
+ 1357.0,
+ 978.6
+ ],
+ [
+ 1372.0,
+ 971.8
+ ],
+ [
+ 1387.0,
+ 972.6
+ ],
+ [
+ 1402.0,
+ 979.2
+ ],
+ [
+ 1417.0,
+ 978.0
+ ],
+ [
+ 1432.0,
+ 977.2
+ ]
+ ],
+ "t": 1.98,
+ "d": 0.14,
+ "lw": 7,
+ "color": "water"
+ },
+ {
+ "points": [
+ [
+ 1758.4,
+ 1074.4
+ ],
+ [
+ 1773.4,
+ 1074.5
+ ],
+ [
+ 1788.4,
+ 1075.4
+ ],
+ [
+ 1803.4,
+ 1069.4
+ ],
+ [
+ 1818.4,
+ 1069.5
+ ],
+ [
+ 1833.4,
+ 1077.1
+ ],
+ [
+ 1848.4,
+ 1076.0
+ ],
+ [
+ 1863.4,
+ 1076.2
+ ],
+ [
+ 1878.4,
+ 1074.4
+ ]
+ ],
+ "t": 2.12,
+ "d": 0.14,
+ "lw": 7,
+ "color": "water"
+ }
+ ],
+ "lw": 7,
+ "color": "water",
+ "alpha": 0.7
+ },
+ {
+ "type": "ink",
+ "kind": "dim",
+ "id": "dim1000",
+ "from": [
+ 1004,
+ 300
+ ],
+ "to": [
+ 2236,
+ 300
+ ],
+ "lw": 12,
+ "color": "blue",
+ "t": -0.05,
+ "d": 0.3,
+ "ea": 1.2,
+ "eb": 2.4
+ },
+ {
+ "type": "ink",
+ "kind": "write",
+ "id": "w1000",
+ "text": "1,000 米",
+ "xy": [
+ 1070,
+ 266
+ ],
+ "size": 118,
+ "color": "graphite",
+ "t": 0.35,
+ "d": 0.6
+ },
+ {
+ "type": "ink",
+ "kind": "line",
+ "id": "deckA",
+ "points": [
+ [
+ 870,
+ 685
+ ],
+ [
+ 2370,
+ 685
+ ]
+ ],
+ "lw": 10,
+ "color": "graphite",
+ "t": 3.0,
+ "d": 0.6,
+ "ea": 1.5,
+ "eb": 2.5,
+ "erase": {
+ "t": 13.55,
+ "d": 0.45
+ }
+ },
+ {
+ "type": "ink",
+ "kind": "line",
+ "id": "deckB",
+ "points": [
+ [
+ 870,
+ 715
+ ],
+ [
+ 2370,
+ 715
+ ]
+ ],
+ "lw": 10,
+ "color": "graphite",
+ "t": 3.15,
+ "d": 0.6,
+ "ea": 1.5,
+ "eb": 2.5,
+ "erase": {
+ "t": 13.6,
+ "d": 0.45
+ }
+ },
+ {
+ "type": "magnet",
+ "id": "pier0",
+ "xy": [
+ 1155.0,
+ 700
+ ],
+ "r": 27,
+ "color": "graphite",
+ "z": 16,
+ "arrive": {
+ "t": 4.19,
+ "kind": "snap",
+ "d": 0.35,
+ "lift": 90
+ },
+ "leave": {
+ "t": 12.75,
+ "kind": "pop",
+ "d": 0.32,
+ "to": [
+ -84,
+ -160
+ ],
+ "spin": 30
+ },
+ "jolts": [
+ {
+ "t": 7.98,
+ "dy": 3,
+ "dx": -4.5,
+ "dr": 0,
+ "k": 8,
+ "f": 24
+ }
+ ]
+ },
+ {
+ "type": "magnet",
+ "id": "pier1",
+ "xy": [
+ 1310.0,
+ 700
+ ],
+ "r": 27,
+ "color": "graphite",
+ "z": 16,
+ "arrive": {
+ "t": 4.44,
+ "kind": "snap",
+ "d": 0.35,
+ "lift": 90
+ },
+ "leave": {
+ "t": 12.875,
+ "kind": "pop",
+ "d": 0.32,
+ "to": [
+ -56,
+ -160
+ ],
+ "spin": 30
+ },
+ "jolts": [
+ {
+ "t": 7.98,
+ "dy": 3,
+ "dx": -3.0,
+ "dr": 0,
+ "k": 8,
+ "f": 24
+ }
+ ]
+ },
+ {
+ "type": "magnet",
+ "id": "pier2",
+ "xy": [
+ 1465.0,
+ 700
+ ],
+ "r": 27,
+ "color": "graphite",
+ "z": 16,
+ "arrive": {
+ "t": 4.69,
+ "kind": "snap",
+ "d": 0.35,
+ "lift": 90
+ },
+ "leave": {
+ "t": 13.0,
+ "kind": "pop",
+ "d": 0.32,
+ "to": [
+ -28,
+ -160
+ ],
+ "spin": 30
+ },
+ "jolts": [
+ {
+ "t": 7.98,
+ "dy": 3,
+ "dx": -1.5,
+ "dr": 0,
+ "k": 8,
+ "f": 24
+ }
+ ]
+ },
+ {
+ "type": "magnet",
+ "id": "pier3",
+ "xy": [
+ 1620.0,
+ 700
+ ],
+ "r": 27,
+ "color": "graphite",
+ "z": 16,
+ "arrive": {
+ "t": 4.94,
+ "kind": "snap",
+ "d": 0.35,
+ "lift": 90
+ },
+ "leave": {
+ "t": 13.125,
+ "kind": "pop",
+ "d": 0.32,
+ "to": [
+ 0,
+ -160
+ ],
+ "spin": 30
+ },
+ "jolts": [
+ {
+ "t": 7.98,
+ "dy": 12,
+ "dx": 0.0,
+ "dr": 6,
+ "k": 8,
+ "f": 24
+ }
+ ]
+ },
+ {
+ "type": "magnet",
+ "id": "pier4",
+ "xy": [
+ 1775.0,
+ 700
+ ],
+ "r": 27,
+ "color": "graphite",
+ "z": 16,
+ "arrive": {
+ "t": 5.19,
+ "kind": "snap",
+ "d": 0.35,
+ "lift": 90
+ },
+ "leave": {
+ "t": 13.25,
+ "kind": "pop",
+ "d": 0.32,
+ "to": [
+ 28,
+ -160
+ ],
+ "spin": 30
+ },
+ "jolts": [
+ {
+ "t": 7.98,
+ "dy": 3,
+ "dx": 1.5,
+ "dr": 0,
+ "k": 8,
+ "f": 24
+ }
+ ]
+ },
+ {
+ "type": "magnet",
+ "id": "pier5",
+ "xy": [
+ 1930.0,
+ 700
+ ],
+ "r": 27,
+ "color": "graphite",
+ "z": 16,
+ "arrive": {
+ "t": 5.44,
+ "kind": "snap",
+ "d": 0.35,
+ "lift": 90
+ },
+ "leave": {
+ "t": 13.375,
+ "kind": "pop",
+ "d": 0.32,
+ "to": [
+ 56,
+ -160
+ ],
+ "spin": 30
+ },
+ "jolts": [
+ {
+ "t": 7.98,
+ "dy": 3,
+ "dx": 3.0,
+ "dr": 0,
+ "k": 8,
+ "f": 24
+ }
+ ]
+ },
+ {
+ "type": "magnet",
+ "id": "pier6",
+ "xy": [
+ 2085.0,
+ 700
+ ],
+ "r": 27,
+ "color": "graphite",
+ "z": 16,
+ "arrive": {
+ "t": 5.69,
+ "kind": "snap",
+ "d": 0.35,
+ "lift": 90
+ },
+ "leave": {
+ "t": 13.5,
+ "kind": "pop",
+ "d": 0.32,
+ "to": [
+ 84,
+ -160
+ ],
+ "spin": 30
+ },
+ "jolts": [
+ {
+ "t": 7.98,
+ "dy": 3,
+ "dx": 4.5,
+ "dr": 0,
+ "k": 8,
+ "f": 24
+ }
+ ]
+ },
+ {
+ "type": "ink",
+ "kind": "wake",
+ "id": "wake",
+ "follow": "ship",
+ "t": 6.0,
+ "len": 330,
+ "lw": 6,
+ "out": 8.05
+ },
+ {
+ "type": "print",
+ "id": "ship",
+ "src": "ship",
+ "xy": [
+ 1620.0,
+ -200
+ ],
+ "h": 500,
+ "z": 6,
+ "shadow": 0.8,
+ "arrive": {
+ "t": 5.98,
+ "kind": "fade",
+ "d": 0.02
+ },
+ "moves": [
+ {
+ "t": 6.0,
+ "d": 2.0,
+ "dy": 621.0,
+ "a": 1.5,
+ "b": 0.35
+ },
+ {
+ "t": 8.0,
+ "d": 0.32,
+ "dy": -14,
+ "a": 0.6,
+ "b": 2.2
+ }
+ ]
+ },
+ {
+ "type": "stamp",
+ "id": "stamp",
+ "text": "否决",
+ "xy": [
+ 1835.0,
+ 575
+ ],
+ "size": 118,
+ "rot": -9,
+ "t": 8.0,
+ "seed": 7
+ },
+ {
+ "type": "ink",
+ "kind": "write",
+ "id": "w_rule0",
+ "text": "新规矩",
+ "xy": [
+ 2440,
+ 410
+ ],
+ "size": 140,
+ "color": "red",
+ "t": 11.1,
+ "d": 0.45
+ },
+ {
+ "type": "ink",
+ "kind": "line",
+ "id": "rule_ul",
+ "points": [
+ [
+ 2434,
+ 452
+ ],
+ [
+ 2880,
+ 444
+ ]
+ ],
+ "lw": 11,
+ "color": "red",
+ "t": 11.58,
+ "d": 0.2
+ },
+ {
+ "type": "ink",
+ "kind": "write",
+ "id": "w_rule1",
+ "text": "航道不立墩",
+ "xy": [
+ 2440,
+ 640
+ ],
+ "size": 124,
+ "color": "graphite",
+ "t": 11.8,
+ "d": 0.75
+ },
+ {
+ "type": "ruler",
+ "id": "ruler",
+ "from": [
+ 825,
+ 700
+ ],
+ "to": [
+ 2415,
+ 700
+ ],
+ "xy": [
+ 0,
+ 0
+ ],
+ "w": 86,
+ "z": 9,
+ "inset": 78,
+ "arrive": {
+ "t": 13.734,
+ "kind": "drop",
+ "d": 0.28,
+ "lift": 360,
+ "spin": 1.5,
+ "land": 0.95
+ }
+ },
+ {
+ "type": "ink",
+ "kind": "line",
+ "id": "proj0",
+ "points": [
+ [
+ 1000,
+ 1190
+ ],
+ [
+ 1000,
+ 3530
+ ]
+ ],
+ "lw": 7,
+ "color": "blue",
+ "alpha": 0.7,
+ "dash": [
+ 26,
+ 22
+ ],
+ "t": 14.4,
+ "d": 0.85,
+ "ea": 1.6,
+ "eb": 2.4
+ },
+ {
+ "type": "ink",
+ "kind": "line",
+ "id": "proj1",
+ "points": [
+ [
+ 2240,
+ 1190
+ ],
+ [
+ 2240,
+ 3530
+ ]
+ ],
+ "lw": 7,
+ "color": "blue",
+ "alpha": 0.7,
+ "dash": [
+ 26,
+ 22
+ ],
+ "t": 14.450000000000001,
+ "d": 0.85,
+ "ea": 1.6,
+ "eb": 2.4
+ },
+ {
+ "type": "print",
+ "id": "beam",
+ "src": "beam",
+ "xy": [
+ 1199.4,
+ 1350.6
+ ],
+ "w": 1195.7,
+ "z": 10,
+ "arrive": {
+ "t": 14.6556,
+ "kind": "drop",
+ "d": 0.42,
+ "lift": 60,
+ "spin": 1.4,
+ "land": 0.82
+ }
+ },
+ {
+ "type": "magnet",
+ "id": "pin_beam0",
+ "xy": [
+ 840.7,
+ 1335.4
+ ],
+ "r": 22,
+ "color": "graphite",
+ "z": 20,
+ "arrive": {
+ "t": 15.065,
+ "kind": "snap",
+ "d": 0.3,
+ "lift": 70
+ }
+ },
+ {
+ "type": "magnet",
+ "id": "pin_beam1",
+ "xy": [
+ 1653.8,
+ 1335.4
+ ],
+ "r": 22,
+ "color": "graphite",
+ "z": 20,
+ "arrive": {
+ "t": 15.19,
+ "kind": "snap",
+ "d": 0.3,
+ "lift": 70
+ }
+ },
+ {
+ "type": "ink",
+ "kind": "dim",
+ "id": "dim_beam",
+ "from": [
+ 1000,
+ 1458.6806786587674
+ ],
+ "to": [
+ 1409.2,
+ 1458.6806786587674
+ ],
+ "lw": 12,
+ "color": "blue",
+ "ext": [
+ [
+ 1000,
+ 1386.6806786587674,
+ 1488.6806786587674
+ ],
+ [
+ 1409.2,
+ 1386.6806786587674,
+ 1488.6806786587674
+ ]
+ ],
+ "extColor": "grey",
+ "t": 15.875,
+ "d": 0.375,
+ "ea": 1.5,
+ "eb": 2.6
+ },
+ {
+ "type": "ink",
+ "kind": "write",
+ "id": "num_beam",
+ "text": "330 米",
+ "xy": [
+ 1403.2,
+ 1576.6806786587674
+ ],
+ "size": 100,
+ "color": "blue",
+ "align": "right",
+ "t": 16.27,
+ "d": 0.4
+ },
+ {
+ "type": "tag",
+ "id": "tag_beam",
+ "text": "梁桥",
+ "xy": [
+ 774.7,
+ 1542.6806786587674
+ ],
+ "size": 78,
+ "rot": -1.2,
+ "arrive": {
+ "t": 16.375,
+ "kind": "swing",
+ "d": 0.8,
+ "amp": 9
+ },
+ "strike": {
+ "t": 17.125,
+ "d": 0.22,
+ "color": "red"
+ }
+ },
+ {
+ "type": "print",
+ "id": "arch",
+ "src": "arch",
+ "xy": [
+ 1329.8,
+ 1780.0
+ ],
+ "w": 970.7,
+ "z": 10,
+ "arrive": {
+ "t": 18.6556,
+ "kind": "drop",
+ "d": 0.42,
+ "lift": 320,
+ "spin": 1.4,
+ "land": 0.82
+ }
+ },
+ {
+ "type": "magnet",
+ "id": "pin_arch0",
+ "xy": [
+ 999.7,
+ 1813.2
+ ],
+ "r": 22,
+ "color": "graphite",
+ "z": 20,
+ "arrive": {
+ "t": 19.065,
+ "kind": "snap",
+ "d": 0.3,
+ "lift": 70
+ }
+ },
+ {
+ "type": "magnet",
+ "id": "pin_arch1",
+ "xy": [
+ 1747.2,
+ 1813.2
+ ],
+ "r": 22,
+ "color": "graphite",
+ "z": 20,
+ "arrive": {
+ "t": 19.19,
+ "kind": "snap",
+ "d": 0.3,
+ "lift": 70
+ }
+ },
+ {
+ "type": "ink",
+ "kind": "dim",
+ "id": "dim_arch",
+ "from": [
+ 1000,
+ 1976.666047947453
+ ],
+ "to": [
+ 1744.0,
+ 1976.666047947453
+ ],
+ "lw": 12,
+ "color": "blue",
+ "ext": [
+ [
+ 1000,
+ 1904.666047947453,
+ 2006.666047947453
+ ],
+ [
+ 1744.0,
+ 1904.666047947453,
+ 2006.666047947453
+ ]
+ ],
+ "extColor": "grey",
+ "t": 19.875,
+ "d": 0.375,
+ "ea": 1.5,
+ "eb": 2.6
+ },
+ {
+ "type": "ink",
+ "kind": "write",
+ "id": "num_arch",
+ "text": "600 米",
+ "xy": [
+ 1738.0,
+ 2094.666047947453
+ ],
+ "size": 100,
+ "color": "blue",
+ "align": "right",
+ "t": 20.27,
+ "d": 0.4
+ },
+ {
+ "type": "tag",
+ "id": "tag_arch",
+ "text": "拱桥",
+ "xy": [
+ 1103.5,
+ 2060.666047947453
+ ],
+ "size": 78,
+ "rot": 1.0,
+ "arrive": {
+ "t": 20.375,
+ "kind": "swing",
+ "d": 0.8,
+ "amp": 9
+ },
+ "strike": {
+ "t": 21.125,
+ "d": 0.22,
+ "color": "red"
+ }
+ },
+ {
+ "type": "print",
+ "id": "cable",
+ "src": "cable",
+ "xy": [
+ 1749.0,
+ 2384.8
+ ],
+ "w": 2181.8,
+ "z": 10,
+ "arrive": {
+ "t": 22.7806,
+ "kind": "drop",
+ "d": 0.42,
+ "lift": 260,
+ "spin": 1.4,
+ "land": 0.82
+ }
+ },
+ {
+ "type": "magnet",
+ "id": "pin_cable0",
+ "xy": [
+ 789.0,
+ 2528.8
+ ],
+ "r": 22,
+ "color": "graphite",
+ "z": 20,
+ "arrive": {
+ "t": 23.19,
+ "kind": "snap",
+ "d": 0.3,
+ "lift": 70
+ }
+ },
+ {
+ "type": "magnet",
+ "id": "pin_cable1",
+ "xy": [
+ 2708.9,
+ 2528.8
+ ],
+ "r": 22,
+ "color": "graphite",
+ "z": 20,
+ "arrive": {
+ "t": 23.315,
+ "kind": "snap",
+ "d": 0.3,
+ "lift": 70
+ }
+ },
+ {
+ "type": "ink",
+ "kind": "dim",
+ "id": "dim_cable",
+ "from": [
+ 1000,
+ 2669.5882579995
+ ],
+ "to": [
+ 2497.9,
+ 2669.5882579995
+ ],
+ "lw": 12,
+ "color": "blue",
+ "ext": [
+ [
+ 1000,
+ 2597.5882579995,
+ 2699.5882579995
+ ],
+ [
+ 2497.9,
+ 2597.5882579995,
+ 2699.5882579995
+ ]
+ ],
+ "extColor": "grey",
+ "t": 24.125,
+ "d": 1.5,
+ "ea": 1.6,
+ "eb": 3.6
+ },
+ {
+ "type": "ink",
+ "kind": "write",
+ "id": "num_cable",
+ "text": "1,208 米",
+ "xy": [
+ 2491.9,
+ 2787.5882579995
+ ],
+ "size": 100,
+ "color": "blue",
+ "align": "right",
+ "t": 25.645,
+ "d": 0.4
+ },
+ {
+ "type": "tag",
+ "id": "tag_cable",
+ "text": "斜拉桥",
+ "xy": [
+ 1702.8,
+ 2753.5882579995
+ ],
+ "size": 78,
+ "rot": -1.2,
+ "arrive": {
+ "t": 25.75,
+ "kind": "swing",
+ "d": 0.8,
+ "amp": 9
+ }
+ },
+ {
+ "type": "print",
+ "id": "suspension",
+ "src": "suspension",
+ "xy": [
+ 2144.6,
+ 3068.6
+ ],
+ "w": 2985.2,
+ "z": 10,
+ "arrive": {
+ "t": 28.465,
+ "kind": "drop",
+ "d": 0.5,
+ "lift": 110,
+ "spin": 1.4,
+ "land": 0.82
+ }
+ },
+ {
+ "type": "magnet",
+ "id": "pin_suspension0",
+ "xy": [
+ 831.1,
+ 3068.6
+ ],
+ "r": 22,
+ "color": "graphite",
+ "z": 20,
+ "arrive": {
+ "t": 28.94,
+ "kind": "snap",
+ "d": 0.3,
+ "lift": 70
+ }
+ },
+ {
+ "type": "magnet",
+ "id": "pin_suspension1",
+ "xy": [
+ 3458.1,
+ 3068.6
+ ],
+ "r": 22,
+ "color": "graphite",
+ "z": 20,
+ "arrive": {
+ "t": 29.065,
+ "kind": "snap",
+ "d": 0.3,
+ "lift": 70
+ }
+ },
+ {
+ "type": "ink",
+ "kind": "dim",
+ "id": "dim_suspension",
+ "from": [
+ 1000,
+ 3330.2876061018997
+ ],
+ "to": [
+ 3508.5,
+ 3330.2876061018997
+ ],
+ "lw": 12,
+ "color": "blue",
+ "ext": [
+ [
+ 1000,
+ 3258.2876061018997,
+ 3360.2876061018997
+ ],
+ [
+ 3508.5,
+ 3258.2876061018997,
+ 3360.2876061018997
+ ]
+ ],
+ "extColor": "grey",
+ "t": 29.875,
+ "d": 0.5,
+ "ea": 1.5,
+ "eb": 2.6
+ },
+ {
+ "type": "ink",
+ "kind": "write",
+ "id": "num_suspension",
+ "text": "2,023 米",
+ "xy": [
+ 3502.5,
+ 3448.2876061018997
+ ],
+ "size": 100,
+ "color": "blue",
+ "align": "right",
+ "t": 30.395,
+ "d": 0.4
+ },
+ {
+ "type": "tag",
+ "id": "tag_suspension",
+ "text": "悬索桥",
+ "xy": [
+ 2703.4,
+ 3414.2876061018997
+ ],
+ "size": 78,
+ "rot": 1.0,
+ "arrive": {
+ "t": 30.625,
+ "kind": "swing",
+ "d": 0.8,
+ "amp": 9
+ }
+ },
+ {
+ "type": "ink",
+ "kind": "line",
+ "id": "gap_beam",
+ "points": [
+ [
+ 1449.2,
+ 1458.6806786587674
+ ],
+ [
+ 2234,
+ 1458.6806786587674
+ ]
+ ],
+ "lw": 9,
+ "color": "red",
+ "dash": [
+ 18,
+ 16
+ ],
+ "t": 17.245,
+ "d": 0.3
+ },
+ {
+ "type": "ink",
+ "kind": "line",
+ "id": "gap_arch",
+ "points": [
+ [
+ 1784.0,
+ 1976.666047947453
+ ],
+ [
+ 2234,
+ 1976.666047947453
+ ]
+ ],
+ "lw": 9,
+ "color": "red",
+ "dash": [
+ 18,
+ 16
+ ],
+ "t": 21.245,
+ "d": 0.3
+ },
+ {
+ "type": "tag",
+ "id": "tag_barely",
+ "text": "勉强",
+ "xy": [
+ 2592.92,
+ 2673.5882579995
+ ],
+ "size": 78,
+ "rot": 4,
+ "arrive": {
+ "t": 26.0,
+ "kind": "swing",
+ "d": 0.8,
+ "amp": 12
+ }
+ },
+ {
+ "type": "ink",
+ "kind": "ring",
+ "id": "ring",
+ "c": [
+ 3306.5,
+ 3412.2876061018997
+ ],
+ "r": [
+ 230,
+ 92
+ ],
+ "lw": 11,
+ "color": "red",
+ "t": 31.25,
+ "d": 0.42
+ },
+ {
+ "type": "ink",
+ "kind": "line",
+ "id": "waterline",
+ "points": [
+ [
+ 4128.5,
+ 3268.3
+ ],
+ [
+ 4070.0,
+ 3268.2
+ ],
+ [
+ 4011.6,
+ 3268.3
+ ],
+ [
+ 3953.1,
+ 3268.3
+ ],
+ [
+ 3894.6,
+ 3268.3
+ ],
+ [
+ 3836.1,
+ 3268.2
+ ],
+ [
+ 3777.7,
+ 3268.1
+ ],
+ [
+ 3719.2,
+ 3268.0
+ ],
+ [
+ 3660.7,
+ 3267.9
+ ],
+ [
+ 3602.2,
+ 3267.7
+ ],
+ [
+ 3543.8,
+ 3267.7
+ ],
+ [
+ 3485.3,
+ 3267.7
+ ],
+ [
+ 3426.8,
+ 3267.9
+ ],
+ [
+ 3368.3,
+ 3268.2
+ ],
+ [
+ 3309.9,
+ 3268.6
+ ],
+ [
+ 3251.4,
+ 3269.1
+ ],
+ [
+ 3192.9,
+ 3269.7
+ ],
+ [
+ 3134.4,
+ 3270.4
+ ],
+ [
+ 3076.0,
+ 3271.0
+ ],
+ [
+ 3017.5,
+ 3271.7
+ ],
+ [
+ 2959.0,
+ 3272.2
+ ],
+ [
+ 2900.5,
+ 3272.7
+ ],
+ [
+ 2842.1,
+ 3272.9
+ ],
+ [
+ 2783.6,
+ 3273.0
+ ],
+ [
+ 2725.1,
+ 3272.9
+ ],
+ [
+ 2666.6,
+ 3272.5
+ ],
+ [
+ 2608.2,
+ 3272.0
+ ],
+ [
+ 2549.7,
+ 3271.3
+ ],
+ [
+ 2491.2,
+ 3270.5
+ ],
+ [
+ 2432.7,
+ 3269.7
+ ],
+ [
+ 2374.3,
+ 3268.8
+ ],
+ [
+ 2315.8,
+ 3268.0
+ ],
+ [
+ 2257.3,
+ 3267.2
+ ],
+ [
+ 2198.8,
+ 3266.6
+ ],
+ [
+ 2140.4,
+ 3266.2
+ ],
+ [
+ 2081.9,
+ 3265.9
+ ],
+ [
+ 2023.4,
+ 3265.7
+ ],
+ [
+ 1964.9,
+ 3265.8
+ ],
+ [
+ 1906.5,
+ 3265.9
+ ],
+ [
+ 1848.0,
+ 3266.2
+ ],
+ [
+ 1789.5,
+ 3266.5
+ ],
+ [
+ 1731.0,
+ 3266.8
+ ],
+ [
+ 1672.6,
+ 3267.1
+ ],
+ [
+ 1614.1,
+ 3267.3
+ ],
+ [
+ 1555.6,
+ 3267.4
+ ],
+ [
+ 1497.1,
+ 3267.5
+ ],
+ [
+ 1438.7,
+ 3267.4
+ ],
+ [
+ 1380.2,
+ 3267.3
+ ],
+ [
+ 1321.7,
+ 3267.1
+ ],
+ [
+ 1263.2,
+ 3266.9
+ ],
+ [
+ 1204.8,
+ 3266.6
+ ],
+ [
+ 1146.3,
+ 3266.5
+ ],
+ [
+ 1087.8,
+ 3266.3
+ ],
+ [
+ 1029.3,
+ 3266.3
+ ],
+ [
+ 970.9,
+ 3266.4
+ ],
+ [
+ 912.4,
+ 3266.6
+ ],
+ [
+ 853.9,
+ 3266.8
+ ],
+ [
+ 795.4,
+ 3267.2
+ ],
+ [
+ 737.0,
+ 3267.6
+ ],
+ [
+ 678.5,
+ 3267.9
+ ],
+ [
+ 620.0,
+ 3268.3
+ ]
+ ],
+ "lw": 7,
+ "color": "water",
+ "alpha": 0.8,
+ "t": 32.125,
+ "d": 0.6,
+ "ea": 1.6,
+ "eb": 2.2
+ },
+ {
+ "type": "print",
+ "id": "ship_side",
+ "src": "ship_side",
+ "xy": [
+ 3928.52,
+ 3230.1
+ ],
+ "w": 340,
+ "z": 7,
+ "shadow": 0.7,
+ "arrive": {
+ "t": 32.475,
+ "kind": "fade",
+ "d": 0.02
+ },
+ "moves": [
+ {
+ "t": 32.525,
+ "d": 4.0,
+ "dx": -1578.52,
+ "a": 1.15,
+ "b": 1.5
+ }
+ ]
+ },
+ {
+ "type": "ink",
+ "kind": "wake",
+ "id": "wake_side",
+ "dir": "side",
+ "follow": "ship_side",
+ "y": 3268.2876061018997,
+ "sgn": 1,
+ "t": 32.575,
+ "lw": 6
+ },
+ {
+ "type": "ink",
+ "kind": "line",
+ "id": "leader",
+ "points": [
+ [
+ 3558.52,
+ 3400.2876061018997
+ ],
+ [
+ 3808.52,
+ 3130.2876061018997
+ ],
+ [
+ 3830,
+ 2350
+ ],
+ [
+ 4070,
+ 1780
+ ]
+ ],
+ "lw": 10,
+ "color": "graphite",
+ "arrow": true,
+ "t": 36.7,
+ "d": 0.6,
+ "ea": 1.6,
+ "eb": 2.4
+ },
+ {
+ "type": "ink",
+ "kind": "write",
+ "id": "w_title_ship",
+ "text": "船",
+ "xy": [
+ 4010,
+ 1700
+ ],
+ "size": 400,
+ "color": "red",
+ "t": 36.875,
+ "d": 0.24
+ },
+ {
+ "type": "ink",
+ "kind": "write",
+ "id": "w_title_rest",
+ "text": "决定跨度",
+ "xy": [
+ 4426.0,
+ 1700
+ ],
+ "size": 400,
+ "color": "graphite",
+ "t": 37.125,
+ "d": 1.0
+ },
+ {
+ "type": "print",
+ "id": "print_susp",
+ "src": "print_susp",
+ "xy": [
+ 4310,
+ 420
+ ],
+ "w": 640,
+ "z": 6,
+ "rot": -2.2,
+ "shadow": 0.85
+ },
+ {
+ "type": "magnet",
+ "id": "print_susp_m0",
+ "xy": [
+ 4066.8,
+ 293.7
+ ],
+ "r": 20,
+ "color": "red",
+ "z": 14
+ },
+ {
+ "type": "magnet",
+ "id": "print_susp_m1",
+ "xy": [
+ 4553.2,
+ 293.7
+ ],
+ "r": 20,
+ "color": "graphite",
+ "z": 14
+ },
+ {
+ "type": "print",
+ "id": "print_cable",
+ "src": "print_cable",
+ "xy": [
+ 5020,
+ 400
+ ],
+ "w": 600,
+ "z": 6,
+ "rot": 1.6,
+ "shadow": 0.85
+ },
+ {
+ "type": "magnet",
+ "id": "print_cable_m0",
+ "xy": [
+ 4792.0,
+ 255.2
+ ],
+ "r": 20,
+ "color": "graphite",
+ "z": 14
+ },
+ {
+ "type": "magnet",
+ "id": "print_cable_m1",
+ "xy": [
+ 5248.0,
+ 255.2
+ ],
+ "r": 20,
+ "color": "graphite",
+ "z": 14
+ },
+ {
+ "type": "print",
+ "id": "print_arch",
+ "src": "print_arch",
+ "xy": [
+ 5730,
+ 440
+ ],
+ "w": 640,
+ "z": 6,
+ "rot": -1.2,
+ "shadow": 0.85
+ },
+ {
+ "type": "magnet",
+ "id": "print_arch_m0",
+ "xy": [
+ 5486.8,
+ 307.9
+ ],
+ "r": 20,
+ "color": "graphite",
+ "z": 14
+ },
+ {
+ "type": "magnet",
+ "id": "print_arch_m1",
+ "xy": [
+ 5973.2,
+ 307.9
+ ],
+ "r": 20,
+ "color": "graphite",
+ "z": 14
+ },
+ {
+ "type": "print",
+ "id": "print_ship",
+ "src": "print_ship",
+ "xy": [
+ 5245,
+ 930
+ ],
+ "w": 540,
+ "z": 6,
+ "rot": 2.4,
+ "shadow": 0.85
+ },
+ {
+ "type": "magnet",
+ "id": "print_ship_m0",
+ "xy": [
+ 5039.8,
+ 847.0
+ ],
+ "r": 20,
+ "color": "graphite",
+ "z": 14
+ },
+ {
+ "type": "magnet",
+ "id": "print_ship_m1",
+ "xy": [
+ 5450.2,
+ 847.0
+ ],
+ "r": 20,
+ "color": "graphite",
+ "z": 14
+ },
+ {
+ "type": "card",
+ "id": "sources",
+ "xy": [
+ 4440,
+ 930
+ ],
+ "w": 860,
+ "h": 430,
+ "rot": -0.6,
+ "z": 7,
+ "magnetR": 20,
+ "magnets": [
+ [
+ -392,
+ -188,
+ "graphite"
+ ],
+ [
+ 392,
+ -188,
+ "graphite"
+ ]
+ ],
+ "lines": [
+ {
+ "text": "数据来源",
+ "font": "sc",
+ "weight": 900,
+ "size": 64,
+ "x": 50,
+ "y": -96,
+ "color": "graphite"
+ },
+ {
+ "text": "梁桥 330 · 工程资料",
+ "font": "sc",
+ "weight": 500,
+ "size": 46,
+ "x": 50,
+ "y": -18,
+ "color": "graphite"
+ },
+ {
+ "text": "拱桥 600 · 通车公告",
+ "font": "sc",
+ "weight": 500,
+ "size": 46,
+ "x": 50,
+ "y": 46,
+ "color": "graphite"
+ },
+ {
+ "text": "斜拉 1,208 · 通车公告",
+ "font": "sc",
+ "weight": 500,
+ "size": 46,
+ "x": 50,
+ "y": 110,
+ "color": "graphite"
+ },
+ {
+ "text": "悬索 2,023 · 纪录认证",
+ "font": "sc",
+ "weight": 500,
+ "size": 46,
+ "x": 50,
+ "y": 174,
+ "color": "graphite"
+ }
+ ]
+ },
+ {
+ "type": "card",
+ "id": "note1",
+ "xy": [
+ 5890,
+ 960
+ ],
+ "w": 660,
+ "h": 230,
+ "rot": 3,
+ "z": 7,
+ "magnetR": 18,
+ "magnets": [
+ [
+ 0,
+ -88,
+ "blue"
+ ]
+ ],
+ "lines": [
+ {
+ "rule": true,
+ "x": 30,
+ "y": -40,
+ "w": 600,
+ "h": 3,
+ "color": "blue"
+ },
+ {
+ "text": "1,208 − 1,000 = 208",
+ "font": "marker",
+ "size": 64,
+ "x": 40,
+ "y": 40,
+ "color": "blue"
+ },
+ {
+ "text": "刚好够",
+ "font": "marker",
+ "size": 52,
+ "x": 40,
+ "y": 96,
+ "color": "graphite"
+ }
+ ]
+ },
+ {
+ "type": "card",
+ "id": "note2",
+ "xy": [
+ 4780,
+ 3190
+ ],
+ "w": 540,
+ "h": 230,
+ "rot": -2.5,
+ "z": 7,
+ "magnetR": 18,
+ "magnets": [
+ [
+ 0,
+ -88,
+ "blue"
+ ]
+ ],
+ "lines": [
+ {
+ "rule": true,
+ "x": 30,
+ "y": -40,
+ "w": 480,
+ "h": 3,
+ "color": "blue"
+ },
+ {
+ "text": "2,023 ÷ 1,000 ≈ 2",
+ "font": "marker",
+ "size": 54,
+ "x": 30,
+ "y": 40,
+ "color": "blue"
+ },
+ {
+ "text": "两倍有余",
+ "font": "marker",
+ "size": 52,
+ "x": 40,
+ "y": 96,
+ "color": "graphite"
+ }
+ ]
+ },
+ {
+ "type": "ink",
+ "kind": "write",
+ "id": "w_clear",
+ "text": "通航净空",
+ "xy": [
+ 4780,
+ 2120
+ ],
+ "size": 92,
+ "color": "graphite",
+ "t": -5,
+ "d": 0.1
+ },
+ {
+ "type": "ink",
+ "kind": "line",
+ "id": "cl_water",
+ "points": [
+ [
+ 4740.0,
+ 2590.0
+ ],
+ [
+ 4777.3,
+ 2590.1
+ ],
+ [
+ 4814.7,
+ 2590.1
+ ],
+ [
+ 4852.0,
+ 2589.7
+ ],
+ [
+ 4889.3,
+ 2588.9
+ ],
+ [
+ 4926.7,
+ 2587.9
+ ],
+ [
+ 4964.0,
+ 2586.8
+ ],
+ [
+ 5001.3,
+ 2586.1
+ ],
+ [
+ 5038.7,
+ 2586.1
+ ],
+ [
+ 5076.0,
+ 2586.7
+ ],
+ [
+ 5113.3,
+ 2588.1
+ ],
+ [
+ 5150.7,
+ 2589.7
+ ],
+ [
+ 5188.0,
+ 2591.3
+ ],
+ [
+ 5225.3,
+ 2592.5
+ ],
+ [
+ 5262.7,
+ 2593.0
+ ],
+ [
+ 5300.0,
+ 2592.9
+ ],
+ [
+ 5337.3,
+ 2592.3
+ ],
+ [
+ 5374.7,
+ 2591.6
+ ],
+ [
+ 5412.0,
+ 2591.1
+ ],
+ [
+ 5449.3,
+ 2591.0
+ ],
+ [
+ 5486.7,
+ 2591.3
+ ],
+ [
+ 5524.0,
+ 2591.8
+ ],
+ [
+ 5561.3,
+ 2592.3
+ ],
+ [
+ 5598.7,
+ 2592.5
+ ],
+ [
+ 5636.0,
+ 2592.2
+ ],
+ [
+ 5673.3,
+ 2591.4
+ ],
+ [
+ 5710.7,
+ 2590.3
+ ],
+ [
+ 5748.0,
+ 2589.3
+ ],
+ [
+ 5785.3,
+ 2588.6
+ ],
+ [
+ 5822.7,
+ 2588.6
+ ],
+ [
+ 5860.0,
+ 2590.0
+ ]
+ ],
+ "lw": 8,
+ "color": "water",
+ "t": -5,
+ "d": 0.1
+ },
+ {
+ "type": "ink",
+ "kind": "line",
+ "id": "cl_deck",
+ "points": [
+ [
+ 4740,
+ 2250
+ ],
+ [
+ 5860,
+ 2250
+ ]
+ ],
+ "lw": 10,
+ "color": "graphite",
+ "t": -5,
+ "d": 0.1
+ },
+ {
+ "type": "ink",
+ "kind": "line",
+ "id": "cl_box",
+ "points": [
+ [
+ 4920,
+ 2590
+ ],
+ [
+ 4920,
+ 2270
+ ],
+ [
+ 5680,
+ 2270
+ ],
+ [
+ 5680,
+ 2590
+ ]
+ ],
+ "lw": 7,
+ "color": "blue",
+ "dash": [
+ 22,
+ 16
+ ],
+ "t": -5,
+ "d": 0.1
+ },
+ {
+ "type": "ink",
+ "kind": "line",
+ "id": "cl_ship",
+ "points": [
+ [
+ 5180,
+ 2590
+ ],
+ [
+ 5150,
+ 2460
+ ],
+ [
+ 5150,
+ 2410
+ ],
+ [
+ 5240,
+ 2410
+ ],
+ [
+ 5240,
+ 2330
+ ],
+ [
+ 5340,
+ 2330
+ ],
+ [
+ 5340,
+ 2410
+ ],
+ [
+ 5450,
+ 2410
+ ],
+ [
+ 5450,
+ 2460
+ ],
+ [
+ 5420,
+ 2590
+ ]
+ ],
+ "lw": 8,
+ "color": "graphite",
+ "t": -5,
+ "d": 0.1
+ },
+ {
+ "type": "ink",
+ "kind": "dim",
+ "id": "cl_w",
+ "from": [
+ 4920,
+ 2660
+ ],
+ "to": [
+ 5680,
+ 2660
+ ],
+ "lw": 7,
+ "color": "blue",
+ "t": -5,
+ "d": 0.1
+ },
+ {
+ "type": "ink",
+ "kind": "dim",
+ "id": "cl_h",
+ "from": [
+ 5750,
+ 2590
+ ],
+ "to": [
+ 5750,
+ 2270
+ ],
+ "lw": 7,
+ "color": "blue",
+ "t": -5,
+ "d": 0.1
+ },
+ {
+ "type": "card",
+ "id": "endcard",
+ "xy": [
+ 5660,
+ 3060
+ ],
+ "w": 1130,
+ "h": 780,
+ "rot": 0.6,
+ "z": 8,
+ "magnetR": 28,
+ "magnets": [
+ [
+ -503.0,
+ -332.0,
+ "red"
+ ],
+ [
+ 503.0,
+ -332.0,
+ "graphite"
+ ]
+ ],
+ "lines": [
+ {
+ "text": "船说了算",
+ "font": "sc",
+ "weight": 900,
+ "size": 150,
+ "x": 70,
+ "y": -190,
+ "color": "graphite",
+ "track": 8
+ },
+ {
+ "rule": true,
+ "x": 72,
+ "y": -150,
+ "w": 180,
+ "h": 10,
+ "color": "red"
+ },
+ {
+ "text": "ENGINEERING",
+ "font": "mono",
+ "weight": 600,
+ "size": 72,
+ "x": 72,
+ "y": -40,
+ "color": "graphite",
+ "track": 3
+ },
+ {
+ "text": "BRIEFING BOARD",
+ "font": "mono",
+ "weight": 600,
+ "size": 72,
+ "x": 72,
+ "y": 48,
+ "color": "graphite",
+ "track": 3
+ },
+ {
+ "text": "工程简报板",
+ "font": "sc",
+ "weight": 700,
+ "size": 78,
+ "x": 72,
+ "y": 160,
+ "color": "graphite",
+ "track": 10
+ },
+ {
+ "text": "LemoLab × Claude Opus 5.5",
+ "font": "mono",
+ "weight": 500,
+ "size": 60,
+ "x": 72,
+ "y": 290,
+ "color": "grey",
+ "track": 1
+ }
+ ]
+ }
+ ],
+ "ev": [
+ {
+ "t": 0,
+ "type": "dimzip",
+ "d": 0.25,
+ "v": 1.0
+ },
+ {
+ "t": 0,
+ "type": "arrow",
+ "v": 0.7
+ },
+ {
+ "t": 0,
+ "type": "whoosh",
+ "v": 0.7
+ },
+ {
+ "t": 0.25,
+ "type": "arrow",
+ "v": 1.0
+ },
+ {
+ "t": 0.25,
+ "type": "hook"
+ },
+ {
+ "t": 0.35,
+ "type": "ink",
+ "d": 0.6,
+ "kind": "write"
+ },
+ {
+ "t": 0.45,
+ "type": "vo",
+ "id": "L1"
+ },
+ {
+ "t": 1.0,
+ "type": "scribble",
+ "d": 1.3,
+ "v": 0.3
+ },
+ {
+ "t": 3.0,
+ "type": "ink",
+ "d": 0.75,
+ "kind": "line"
+ },
+ {
+ "t": 3.08,
+ "type": "vo",
+ "id": "L2"
+ },
+ {
+ "t": 4.25,
+ "type": "pier",
+ "n": 0
+ },
+ {
+ "t": 4.5,
+ "type": "pier",
+ "n": 1
+ },
+ {
+ "t": 4.75,
+ "type": "pier",
+ "n": 2
+ },
+ {
+ "t": 5.0,
+ "type": "pier",
+ "n": 3
+ },
+ {
+ "t": 5.25,
+ "type": "pier",
+ "n": 4
+ },
+ {
+ "t": 5.5,
+ "type": "pier",
+ "n": 5
+ },
+ {
+ "t": 5.75,
+ "type": "pier",
+ "n": 6
+ },
+ {
+ "t": 5.75,
+ "type": "horn",
+ "v": 0.55,
+ "far": 1
+ },
+ {
+ "t": 5.9,
+ "type": "water",
+ "d": 2.3
+ },
+ {
+ "t": 6.0,
+ "type": "engine",
+ "d": 2.0
+ },
+ {
+ "t": 8.0,
+ "type": "stamp"
+ },
+ {
+ "t": 8.3,
+ "type": "vo",
+ "id": "L3"
+ },
+ {
+ "t": 10.8,
+ "type": "whoosh",
+ "v": 0.4
+ },
+ {
+ "t": 11.1,
+ "type": "ink",
+ "d": 0.45,
+ "kind": "write"
+ },
+ {
+ "t": 11.42,
+ "type": "vo",
+ "id": "L4"
+ },
+ {
+ "t": 11.58,
+ "type": "ink",
+ "d": 0.2,
+ "kind": "line"
+ },
+ {
+ "t": 11.8,
+ "type": "ink",
+ "d": 0.75,
+ "kind": "write"
+ },
+ {
+ "t": 12.75,
+ "type": "pop",
+ "n": 0
+ },
+ {
+ "t": 12.875,
+ "type": "pop",
+ "n": 1
+ },
+ {
+ "t": 13.0,
+ "type": "pop",
+ "n": 2
+ },
+ {
+ "t": 13.125,
+ "type": "pop",
+ "n": 3
+ },
+ {
+ "t": 13.25,
+ "type": "pop",
+ "n": 4
+ },
+ {
+ "t": 13.375,
+ "type": "pop",
+ "n": 5
+ },
+ {
+ "t": 13.5,
+ "type": "pop",
+ "n": 6
+ },
+ {
+ "t": 13.55,
+ "type": "erase",
+ "d": 0.5
+ },
+ {
+ "t": 14.0,
+ "type": "ruler"
+ },
+ {
+ "t": 14.42,
+ "type": "whoosh",
+ "v": 0.45
+ },
+ {
+ "t": 14.45,
+ "type": "tick",
+ "v": 0.5
+ },
+ {
+ "t": 14.575,
+ "type": "tick",
+ "v": 0.47
+ },
+ {
+ "t": 14.7,
+ "type": "tick",
+ "v": 0.44
+ },
+ {
+ "t": 14.825,
+ "type": "tick",
+ "v": 0.41000000000000003
+ },
+ {
+ "t": 14.95,
+ "type": "tick",
+ "v": 0.38
+ },
+ {
+ "t": 15.0,
+ "type": "land",
+ "size": "mid",
+ "v": 0.85
+ },
+ {
+ "t": 15.075,
+ "type": "tick",
+ "v": 0.35
+ },
+ {
+ "t": 15.125,
+ "type": "pin",
+ "v": 0.55
+ },
+ {
+ "t": 15.2,
+ "type": "tick",
+ "v": 0.32
+ },
+ {
+ "t": 15.25,
+ "type": "pin",
+ "v": 0.55
+ },
+ {
+ "t": 15.25,
+ "type": "whoosh",
+ "v": 0.2
+ },
+ {
+ "t": 15.325,
+ "type": "tick",
+ "v": 0.29000000000000004
+ },
+ {
+ "t": 15.875,
+ "type": "dimzip",
+ "d": 0.375,
+ "v": 0.7
+ },
+ {
+ "t": 15.9,
+ "type": "vo",
+ "id": "L5"
+ },
+ {
+ "t": 16.25,
+ "type": "arrow",
+ "v": 1.0
+ },
+ {
+ "t": 16.27,
+ "type": "ink",
+ "d": 0.4,
+ "kind": "write"
+ },
+ {
+ "t": 16.375,
+ "type": "tag",
+ "v": 0.6
+ },
+ {
+ "t": 17.125,
+ "type": "strike"
+ },
+ {
+ "t": 17.245,
+ "type": "ink",
+ "d": 0.3,
+ "kind": "line",
+ "v": 0.5
+ },
+ {
+ "t": 18.45,
+ "type": "whoosh",
+ "v": 0.35
+ },
+ {
+ "t": 19.0,
+ "type": "land",
+ "size": "mid",
+ "v": 0.85
+ },
+ {
+ "t": 19.125,
+ "type": "pin",
+ "v": 0.55
+ },
+ {
+ "t": 19.25,
+ "type": "pin",
+ "v": 0.55
+ },
+ {
+ "t": 19.25,
+ "type": "whoosh",
+ "v": 0.2
+ },
+ {
+ "t": 19.875,
+ "type": "dimzip",
+ "d": 0.375,
+ "v": 0.7
+ },
+ {
+ "t": 19.9,
+ "type": "vo",
+ "id": "L6"
+ },
+ {
+ "t": 20.25,
+ "type": "arrow",
+ "v": 1.0
+ },
+ {
+ "t": 20.27,
+ "type": "ink",
+ "d": 0.4,
+ "kind": "write"
+ },
+ {
+ "t": 20.375,
+ "type": "tag",
+ "v": 0.6
+ },
+ {
+ "t": 21.125,
+ "type": "strike"
+ },
+ {
+ "t": 21.245,
+ "type": "ink",
+ "d": 0.3,
+ "kind": "line",
+ "v": 0.5
+ },
+ {
+ "t": 22.45,
+ "type": "whoosh",
+ "v": 0.4
+ },
+ {
+ "t": 23.125,
+ "type": "land",
+ "size": "mid",
+ "v": 0.85
+ },
+ {
+ "t": 23.25,
+ "type": "pin",
+ "v": 0.55
+ },
+ {
+ "t": 23.375,
+ "type": "pin",
+ "v": 0.55
+ },
+ {
+ "t": 23.375,
+ "type": "whoosh",
+ "v": 0.2
+ },
+ {
+ "t": 24.0,
+ "type": "vo",
+ "id": "L7"
+ },
+ {
+ "t": 24.125,
+ "type": "dimzip",
+ "d": 1.5,
+ "v": 0.7
+ },
+ {
+ "t": 25.625,
+ "type": "arrow",
+ "v": 1.0
+ },
+ {
+ "t": 25.645,
+ "type": "ink",
+ "d": 0.4,
+ "kind": "write"
+ },
+ {
+ "t": 25.75,
+ "type": "tag",
+ "v": 0.6
+ },
+ {
+ "t": 26.0,
+ "type": "tag",
+ "v": 0.9
+ },
+ {
+ "t": 28.2,
+ "type": "whoosh",
+ "v": 0.45
+ },
+ {
+ "t": 28.875,
+ "type": "land",
+ "size": "big",
+ "v": 1.0
+ },
+ {
+ "t": 29.0,
+ "type": "pin",
+ "v": 0.55
+ },
+ {
+ "t": 29.125,
+ "type": "pin",
+ "v": 0.55
+ },
+ {
+ "t": 29.125,
+ "type": "whoosh",
+ "v": 0.2
+ },
+ {
+ "t": 29.875,
+ "type": "dimzip",
+ "d": 0.5,
+ "v": 1.0
+ },
+ {
+ "t": 29.875,
+ "type": "vo",
+ "id": "L8"
+ },
+ {
+ "t": 30.175,
+ "type": "whoosh",
+ "v": 1.0
+ },
+ {
+ "t": 30.375,
+ "type": "arrow",
+ "v": 1.0
+ },
+ {
+ "t": 30.395,
+ "type": "ink",
+ "d": 0.4,
+ "kind": "write"
+ },
+ {
+ "t": 30.625,
+ "type": "tag",
+ "v": 0.6
+ },
+ {
+ "t": 31.25,
+ "type": "ink",
+ "d": 0.42,
+ "kind": "line",
+ "v": 0.8
+ },
+ {
+ "t": 32.0,
+ "type": "horn",
+ "v": 0.75,
+ "far": 0
+ },
+ {
+ "t": 32.125,
+ "type": "ink",
+ "d": 0.6,
+ "kind": "line",
+ "v": 0.6
+ },
+ {
+ "t": 32.375,
+ "type": "vo",
+ "id": "L9"
+ },
+ {
+ "t": 32.475,
+ "type": "water",
+ "d": 2.75
+ },
+ {
+ "t": 32.575,
+ "type": "engine",
+ "d": 2.6,
+ "v": 0.8
+ },
+ {
+ "t": 32.825,
+ "type": "whoosh",
+ "v": 0.45
+ },
+ {
+ "t": 35.75,
+ "type": "reveal"
+ },
+ {
+ "t": 35.75,
+ "type": "horn",
+ "v": 1.0,
+ "far": 0,
+ "tuned": 1
+ },
+ {
+ "t": 35.8,
+ "type": "whoosh",
+ "v": 0.5
+ },
+ {
+ "t": 36.7,
+ "type": "ink",
+ "d": 0.6,
+ "kind": "line",
+ "v": 0.6
+ },
+ {
+ "t": 36.875,
+ "type": "ink",
+ "d": 0.22,
+ "kind": "write",
+ "v": 1.0
+ },
+ {
+ "t": 37.125,
+ "type": "ink",
+ "d": 0.22,
+ "kind": "write",
+ "v": 1.0
+ },
+ {
+ "t": 37.375,
+ "type": "ink",
+ "d": 0.22,
+ "kind": "write",
+ "v": 1.0
+ },
+ {
+ "t": 37.625,
+ "type": "ink",
+ "d": 0.22,
+ "kind": "write",
+ "v": 1.0
+ },
+ {
+ "t": 37.875,
+ "type": "ink",
+ "d": 0.22,
+ "kind": "write",
+ "v": 1.0
+ }
+ ],
+ "subs": [
+ {
+ "t0": 0.45,
+ "t1": 3.043,
+ "zh": "这条河宽 1,000 米。",
+ "en": "This river is a thousand meters wide.",
+ "speech": 1.993
+ },
+ {
+ "t0": 3.08,
+ "t1": 6.988,
+ "zh": "第一反应:一路立桥墩,修座梁桥。",
+ "en": "First instinct: piers all the way across. A beam bridge.",
+ "speech": 3.308
+ },
+ {
+ "t0": 8.3,
+ "t1": 11.386,
+ "zh": "可麻烦不在河,在船。",
+ "en": "But the river isn't the problem. The ship is.",
+ "speech": 2.486
+ },
+ {
+ "t0": 11.42,
+ "t1": 14.757,
+ "zh": "新规矩:航道里不能有桥墩,一跨过去。",
+ "en": "New rule: no piers in the channel. One span.",
+ "speech": 2.737
+ },
+ {
+ "t0": 15.9,
+ "t1": 18.771,
+ "zh": "梁桥:330 米,差得远。",
+ "en": "Beam: 330. Not close.",
+ "speech": 2.271
+ },
+ {
+ "t0": 19.9,
+ "t1": 22.442,
+ "zh": "拱桥:600 米,还差。",
+ "en": "Arch: 600. Still short.",
+ "speech": 1.942
+ },
+ {
+ "t0": 24.0,
+ "t1": 27.598,
+ "zh": "斜拉桥:1,208 米,刚好够。",
+ "en": "Cable-stayed: 1,208. Just enough.",
+ "speech": 2.998
+ },
+ {
+ "t0": 29.875,
+ "t1": 32.338,
+ "zh": "悬索桥:2,000 米以上。",
+ "en": "Suspension: over 2,000.",
+ "speech": 1.863
+ },
+ {
+ "t0": 32.375,
+ "t1": 35.845,
+ "zh": "河宽只是出题,船决定跨度。",
+ "en": "The river sets the question. The ship sets the span.",
+ "speech": 2.87
+ }
+ ],
+ "cues": {
+ "L1": 0.45,
+ "L2": 3.08,
+ "sil1": [
+ 7.0,
+ 8.0
+ ],
+ "stamp": 8.0,
+ "L3": 8.3,
+ "L4": 11.42,
+ "L5": 15.9,
+ "L6": 19.9,
+ "L7": 24.0,
+ "L8": 29.875,
+ "L9": 32.375,
+ "sil2": [
+ 35.25,
+ 35.75
+ ],
+ "reveal": 35.75,
+ "bpm": 120,
+ "rows": {
+ "beam": {
+ "base": 1396.7,
+ "end": 1409.2,
+ "dy": 1458.7
+ },
+ "arch": {
+ "base": 1914.7,
+ "end": 1744.0,
+ "dy": 1976.7
+ },
+ "cable": {
+ "base": 2607.6,
+ "end": 2497.9,
+ "dy": 2669.6
+ },
+ "suspension": {
+ "base": 3268.3,
+ "end": 3508.5,
+ "dy": 3330.3
+ }
+ },
+ "title": {
+ "x": 4010,
+ "y": 1700,
+ "size": 400
+ },
+ "title_t": [
+ 36.875,
+ 37.125,
+ 37.375,
+ 37.625,
+ 37.875
+ ],
+ "ring": 31.25,
+ "hook": 0.25,
+ "rows_bottom": 3513.3,
+ "sec": {
+ "rule": 10.75,
+ "bench": 14.45,
+ "crawl": [
+ 24.125,
+ 1.5
+ ],
+ "build": 29.0,
+ "after": 32.0,
+ "lines_end": 35.245
+ }
+ },
+ "judge": {
+ "beam": {
+ "box": [
+ 601.6,
+ 1300.0,
+ 2250,
+ 1618.9
+ ],
+ "z": 1.0857,
+ "x": 1425.8,
+ "y": 1534.1,
+ "t0": 15.85,
+ "t1": 18.45
+ },
+ "arch": {
+ "box": [
+ 844.4,
+ 1641.7,
+ 2250,
+ 2136.9
+ ],
+ "z": 0.987,
+ "x": 1547.2,
+ "y": 1971.4,
+ "t0": 19.85,
+ "t1": 22.45
+ },
+ "cable": {
+ "box": [
+ 658.1,
+ 2159.7,
+ 2879.4,
+ 2829.8
+ ],
+ "z": 0.8131,
+ "x": 1768.7,
+ "y": 2594.4,
+ "t0": 24.075,
+ "t1": 28.2
+ },
+ "suspension": {
+ "box": [
+ 652.0,
+ 2852.6,
+ 3637.2,
+ 3512.3
+ ],
+ "z": 0.599,
+ "x": 2144.6,
+ "y": 2991.3,
+ "t0": 29.825,
+ "t1": 32.825
+ }
+ },
+ "right_zone": [
+ 3980,
+ 0,
+ 6400,
+ 3600
+ ]
+}
\ No newline at end of file
diff --git a/styles/briefing-board/demo/sources/candidates/candidates.json b/styles/briefing-board/demo/sources/candidates/candidates.json
new file mode 100644
index 0000000..42dc527
--- /dev/null
+++ b/styles/briefing-board/demo/sources/candidates/candidates.json
@@ -0,0 +1,633 @@
+[
+ {
+ "file": "ship_top/ship_top_1.jpg",
+ "category": "ship_top",
+ "title": "File:Containerschiffe auf der Elbe zwischen Wedel und Hamburg (55103130595).jpg",
+ "commons_url": "https://commons.wikimedia.org/wiki/File%3AContainerschiffe_auf_der_Elbe_zwischen_Wedel_und_Hamburg_%2855103130595%29.jpg",
+ "original_url": "https://upload.wikimedia.org/wikipedia/commons/0/01/Containerschiffe_auf_der_Elbe_zwischen_Wedel_und_Hamburg_%2855103130595%29.jpg",
+ "author": "BAW_Bundesanstalt für Wasserbau",
+ "license": "CC BY 4.0",
+ "license_url": "https://creativecommons.org/licenses/by/4.0",
+ "width": 3000,
+ "height": 2247,
+ "notes": "视角:无人机正俯拍(真正的 90° 顶视),整条集装箱船完整入画、占画宽约 85%;背景:浑黄色易北河水面,船身右下方有一大片清晰的船影;品牌:顶视看不到船壳字,但满载的绿色集装箱是长荣(Evergreen)箱,原图上箱体可能有可读的 EVERGREEN 字样;右缘有竖排小字水印“© Bundesanstalt für Wasserbau CC BY 4.0”,船尾右侧画面边缘有一条小拖船,都需修掉;抠图难度:中(影子要处理);推荐度 5",
+ "recommend": 5,
+ "credit": "Containerschiffe auf der Elbe zwischen Wedel und Hamburg",
+ "license_evidence": "{{cc-by-4.0}} {{FlickreviewR|status=passed|author=BAW_Bundesanstalt für Wasserbau|sourceurl=https://flickr.com/photos/64906758@N07/55103130595|archive=|reviewdate=2026-03-09 22:10:22|reviewlicense=cc-by-4.0|reviewer=FlickreviewR 2}}",
+ "description": "Blick auf die Ladung des Containerschiffes \"EVER ARM\"",
+ "used": true
+ },
+ {
+ "file": "ship_top/ship_top_2.jpg",
+ "category": "ship_top",
+ "title": "File:Flight from Vancouver to Kauai. Strait of Georgia, Vancouver (502681) (16502173567).jpg",
+ "commons_url": "https://commons.wikimedia.org/wiki/File%3AFlight_from_Vancouver_to_Kauai._Strait_of_Georgia%2C_Vancouver_%28502681%29_%2816502173567%29.jpg",
+ "original_url": "https://upload.wikimedia.org/wikipedia/commons/3/35/Flight_from_Vancouver_to_Kauai._Strait_of_Georgia%2C_Vancouver_%28502681%29_%2816502173567%29.jpg",
+ "author": "Robert Linsdell from St. Andrews, Canada",
+ "license": "CC BY 2.0",
+ "license_url": "https://creativecommons.org/licenses/by/2.0",
+ "width": 4000,
+ "height": 2248,
+ "notes": "视角:从客机舷窗近乎正俯拍一艘散货船,整船+白色尾迹完整入画,船头朝下;背景:均匀灰蓝海面(有一层薄雾,偏灰);品牌:看不到字;船在画面中偏小(船长约占画高 85%、画宽 15%),分辨率有限;抠图难度:低;推荐度 4",
+ "recommend": 4,
+ "credit": "Flight from Vancouver to Kauai. Strait of Georgia, Vancouver (502681)",
+ "license_evidence": "{{cc-by-2.0}} {{User:FlickreviewR/reviewed-pass|Bob Linsdell|https://flickr.com/photos/92487715@N03/16502173567|2017-04-16 10:54:59|cc-by-2.0|}}",
+ "description": "Flight from Vancouver to Kauai. Strait of Georgia, Vancouver, British Columbia, Canada",
+ "used": false
+ },
+ {
+ "file": "ship_top/ship_top_3.jpg",
+ "category": "ship_top",
+ "title": "File:Kamikawa Maru 1937 NH 45576.jpg",
+ "commons_url": "https://commons.wikimedia.org/wiki/File%3AKamikawa_Maru_1937_NH_45576.jpg",
+ "original_url": "https://upload.wikimedia.org/wikipedia/commons/9/96/Kamikawa_Maru_1937_NH_45576.jpg",
+ "author": "US Government",
+ "license": "Public domain",
+ "license_url": "https://commons.wikimedia.org/wiki/File%3AKamikawa_Maru_1937_NH_45576.jpg",
+ "width": 5720,
+ "height": 4369,
+ "notes": "视角:1937 年美国海军航拍,接近正俯(略斜),整船完整入画;背景:黑白水面,左上有反光、旁边有一艘小艇;画面上缘有底片白边和孔;品牌:无;黑白老照片(需上色或做风格化);许可依据:PD-because(美国海军历史与遗产司馆藏照片声明为公有领域);抠图难度:低-中;推荐度 3",
+ "recommend": 3,
+ "credit": "Photograph Naval History and Heritage Command NH 45576",
+ "license_evidence": "{{PD-because| [https://www.history.navy.mil/our-collections/photography.html the Pictures in the Online Library of Naval History and Heritage Command are public domain, unless otherwise noted].}}",
+ "description": "The Japanese freighter Kamikawa Maru. Overhead view taken off Panama on 23 July 1937.",
+ "used": false
+ },
+ {
+ "file": "ship_top/ship_top_4.jpg",
+ "category": "ship_top",
+ "title": "File:Overhead view of USS Schuylkill (AO-76) on 17 April 1943.jpg",
+ "commons_url": "https://commons.wikimedia.org/wiki/File%3AOverhead_view_of_USS_Schuylkill_%28AO-76%29_on_17_April_1943.jpg",
+ "original_url": "https://upload.wikimedia.org/wikipedia/commons/e/e6/Overhead_view_of_USS_Schuylkill_%28AO-76%29_on_17_April_1943.jpg",
+ "author": "U.S. Navy",
+ "license": "Public domain",
+ "license_url": "https://commons.wikimedia.org/wiki/File%3AOverhead_view_of_USS_Schuylkill_%28AO-76%29_on_17_April_1943.jpg",
+ "width": 5713,
+ "height": 4238,
+ "notes": "视角:1943 年航拍,斜俯约 60°(不是正顶视),整船入画;背景:黑白水面+船尾浪花;品牌:无;注意这是美国海军油船 USS Schuylkill(外形接近商船油轮,但不是货轮);抠图难度:中(浪花);推荐度 2",
+ "recommend": 2,
+ "credit": "Official U.S. Navy photo NH 92250 from the U.S. Navy Naval History and Heritage Command",
+ "license_evidence": "{{PD-USGov-Military-Navy}}",
+ "description": "The U.S. Navy fleet oiler USS Schuylkill (AO-76) underway in Hampton Roads, Virginia (USA), 17 April 1943. She has been structurally camouflaged as a cargo ship, with a false stack amidships. Her real stack (aft) is disguised as a cowl vent.",
+ "used": false
+ },
+ {
+ "file": "ship_side/ship_side_1.jpg",
+ "category": "ship_side",
+ "title": "File:Ship Harrison (1).jpg",
+ "commons_url": "https://commons.wikimedia.org/wiki/File%3AShip_Harrison_%281%29.jpg",
+ "original_url": "https://upload.wikimedia.org/wikipedia/commons/0/03/Ship_Harrison_%281%29.jpg",
+ "author": "Tvabutzku1234",
+ "license": "CC0",
+ "license_url": "http://creativecommons.org/publicdomain/zero/1.0/deed.en",
+ "width": 3893,
+ "height": 2920,
+ "notes": "视角:接近正侧面(船头略朝镜头约 10°),整船入画,小型集装箱船(绿色船壳);背景:蓝天白云+平静的易北河口水面,远处有极细的海岸线和风机;品牌:船壳只有船首小字船名 HARRISON,集装箱上有零散公司小 logo;抠图难度:低-中(云层与上层建筑交界需细抠);推荐度 5",
+ "recommend": 5,
+ "credit": "Own work",
+ "license_evidence": "{{self|Cc-zero}}",
+ "description": "The feeder ship Harrison outbound on the Elbe river near the town of Cuxhaven",
+ "used": true
+ },
+ {
+ "file": "ship_side/ship_side_2.jpg",
+ "category": "ship_side",
+ "title": "File:Bulk Carrier Tesoro IMO 93461608789.jpg",
+ "commons_url": "https://commons.wikimedia.org/wiki/File%3ABulk_Carrier_Tesoro_IMO_93461608789.jpg",
+ "original_url": "https://upload.wikimedia.org/wikipedia/commons/6/69/Bulk_Carrier_Tesoro_IMO_93461608789.jpg",
+ "author": "ImagePerson",
+ "license": "CC BY 4.0",
+ "license_url": "https://creativecommons.org/licenses/by/4.0",
+ "width": 5155,
+ "height": 2537,
+ "notes": "视角:正侧面平视,整船入画(散货船,带 4 台甲板吊);背景:蓝天白云+深蓝海面;品牌:只有船名小字;画面偏宽(5155x2537),船体约占画宽 80%;抠图难度:低;推荐度 5",
+ "recommend": 5,
+ "credit": "Own work",
+ "license_evidence": "{{self|cc-by-4.0}}",
+ "description": "Bulk Carrier Tesoro in Caribbean",
+ "used": false
+ },
+ {
+ "file": "ship_side/ship_side_3.jpg",
+ "category": "ship_side",
+ "title": "File:Ship Alexander Grin.jpg",
+ "commons_url": "https://commons.wikimedia.org/wiki/File%3AShip_Alexander_Grin.jpg",
+ "original_url": "https://upload.wikimedia.org/wikipedia/commons/7/7d/Ship_Alexander_Grin.jpg",
+ "author": "Tvabutzku1234",
+ "license": "CC0",
+ "license_url": "http://creativecommons.org/publicdomain/zero/1.0/deed.en",
+ "width": 3164,
+ "height": 1780,
+ "notes": "视角:正侧面平视,整船入画(杂货船,甲板上装着一排绿白色集装箱式活动房);背景:淡蓝天+少量小云,水面平;品牌:仅船首小字船名;抠图难度:低;推荐度 4",
+ "recommend": 4,
+ "credit": "Own work",
+ "license_evidence": "{{self|Cc-zero}}",
+ "description": "The general cargo ship Alexander Grin inbound on the Elbe river near Cuxhaven",
+ "used": false
+ },
+ {
+ "file": "ship_side/ship_side_4.jpg",
+ "category": "ship_side",
+ "title": "File:Ship BBC Weser 2018-09-02 (2).jpg",
+ "commons_url": "https://commons.wikimedia.org/wiki/File%3AShip_BBC_Weser_2018-09-02_%282%29.jpg",
+ "original_url": "https://upload.wikimedia.org/wikipedia/commons/2/23/Ship_BBC_Weser_2018-09-02_%282%29.jpg",
+ "author": "Tvabutzku1234",
+ "license": "CC0",
+ "license_url": "http://creativecommons.org/publicdomain/zero/1.0/deed.en",
+ "width": 4149,
+ "height": 2334,
+ "notes": "视角:正侧面略带船首角度,整船入画(重吊杂货船,黄色吊臂);背景:灰白多云天空+水面;品牌:船首有“BBC”小字/船名,不占满船身;抠图难度:低-中(吊臂细节);推荐度 4",
+ "recommend": 4,
+ "credit": "Own work",
+ "license_evidence": "{{self|Cc-zero}}",
+ "description": "The general cargo ship BBC Weser inbound on the Elbe river near Cuxhaven. Details of the ship: external website (pdf).",
+ "used": false
+ },
+ {
+ "file": "ship_side/ship_side_5.jpg",
+ "category": "ship_side",
+ "title": "File:Ship Maersk Nottingham (2).jpg",
+ "commons_url": "https://commons.wikimedia.org/wiki/File%3AShip_Maersk_Nottingham_%282%29.jpg",
+ "original_url": "https://upload.wikimedia.org/wikipedia/commons/7/7a/Ship_Maersk_Nottingham_%282%29.jpg",
+ "author": "Tvabutzku1234",
+ "license": "CC0",
+ "license_url": "http://creativecommons.org/publicdomain/zero/1.0/deed.en",
+ "width": 4203,
+ "height": 2364,
+ "notes": "视角:正侧面平视,整船入画(典型集装箱船,满载白色冷藏箱,带甲板吊);背景:淡蓝天+薄云+海面;品牌:船壳无巨幅大字,只有船尾小字船名“MAERSK NOTTINGHAM”,但白色集装箱上印有很多小的 MAERSK 字样/星形 logo(需修或换色);抠图难度:低;推荐度 4",
+ "recommend": 3,
+ "credit": "Own work",
+ "license_evidence": "{{self|Cc-zero}}",
+ "description": "The container ship Maersk Nottingham inbound on the Elbe river near Cuxhaven",
+ "used": false
+ },
+ {
+ "file": "ship_side/ship_side_6.jpg",
+ "category": "ship_side",
+ "title": "File:Ship Petkum (3).jpg",
+ "commons_url": "https://commons.wikimedia.org/wiki/File%3AShip_Petkum_%283%29.jpg",
+ "original_url": "https://upload.wikimedia.org/wikipedia/commons/d/d6/Ship_Petkum_%283%29.jpg",
+ "author": "Tvabutzku1234",
+ "license": "CC0",
+ "license_url": "http://creativecommons.org/publicdomain/zero/1.0/deed.en",
+ "width": 3377,
+ "height": 1900,
+ "notes": "视角:正侧面平视,整船入画(小型集装箱支线船,带两台黄色甲板吊);背景:蓝天白云+海面,远处有极细的岸线和风机;品牌:集装箱上有多家公司小字(HAMBURG SÜD、MAERSK、HYUNDAI 等),船首有小字船名;船在画面中偏小(约占画宽 75%);抠图难度:低;推荐度 3",
+ "recommend": 3,
+ "credit": "Own work",
+ "license_evidence": "{{self|Cc-zero}}",
+ "description": "The feeder ship Petkum outbound on the Elbe river near Cuxhaven. Details of the ship: external website (pdf).",
+ "used": false
+ },
+ {
+ "file": "beam/beam_1.jpg",
+ "category": "beam",
+ "title": "File:Donaubrücke Fernstraße A3 Wörth an der Donau.JPG",
+ "commons_url": "https://commons.wikimedia.org/wiki/File%3ADonaubr%C3%BCcke_Fernstra%C3%9Fe_A3_W%C3%B6rth_an_der_Donau.JPG",
+ "original_url": "https://upload.wikimedia.org/wikipedia/commons/c/cc/Donaubr%C3%BCcke_Fernstra%C3%9Fe_A3_W%C3%B6rth_an_der_Donau.JPG",
+ "author": "Blechmodelle",
+ "license": "CC0",
+ "license_url": "http://creativecommons.org/publicdomain/zero/1.0/deed.en",
+ "width": 3648,
+ "height": 2736,
+ "notes": "视角:斜侧约 45°(强透视),钢/混凝土连续箱梁跨越多瑙河,画面里只看得清 1-2 个水中桥墩;背景:蓝天白云+水面,远处有山;品牌:桥面上一排货车,车厢上有可读的物流公司名(如 TRAWÖGER),需修掉;抠图难度:低;推荐度 3",
+ "recommend": 3,
+ "credit": "Own work",
+ "license_evidence": "{{self|Cc-zero}}",
+ "description": "Donaubrücke Wörth an der Donau Bundesfernstraße A3",
+ "used": false
+ },
+ {
+ "file": "beam/beam_2.jpg",
+ "category": "beam",
+ "title": "File:Silverwater Bridge - Parramatta River, Silverwater, NSW (7834161936).jpg",
+ "commons_url": "https://commons.wikimedia.org/wiki/File%3ASilverwater_Bridge_-_Parramatta_River%2C_Silverwater%2C_NSW_%287834161936%29.jpg",
+ "original_url": "https://upload.wikimedia.org/wikipedia/commons/6/6d/Silverwater_Bridge_-_Parramatta_River%2C_Silverwater%2C_NSW_%287834161936%29.jpg",
+ "author": "sv1ambo",
+ "license": "CC BY 2.0",
+ "license_url": "https://creativecommons.org/licenses/by/2.0",
+ "width": 3648,
+ "height": 2736,
+ "notes": "视角:接近正侧立面,连续梁多跨(桥面中部略拱),3 个桥墩立在河中;背景:蓝天白云+河面,桥下远处有楼和树林岸线;河中有一条小船和航标;品牌:无;抠图难度:低-中;推荐度 4",
+ "recommend": 4,
+ "credit": "Silverwater Bridge - Parramatta River, Silverwater, NSW",
+ "license_evidence": "{{cc-by-2.0}} {{User:FlickreviewR/reviewed-pass|sv1ambo|https://www.flickr.com/photos/50415738@N04/7834161936|2015-03-10 04:18:02|cc-by-2.0|}}",
+ "description": "Silverwater Bridge - Parramatta River, Silverwater, New South Wales. Completed 1962. It was the first prestressed concrete box girder bridge in NSW. Carries Silverwater Road across the Parramatta River.",
+ "used": false
+ },
+ {
+ "file": "beam/beam_3.jpg",
+ "category": "beam",
+ "title": "File:Kiiminkiriver Bridge 20100705.JPG",
+ "commons_url": "https://commons.wikimedia.org/wiki/File%3AKiiminkiriver_Bridge_20100705.JPG",
+ "original_url": "https://upload.wikimedia.org/wikipedia/commons/b/b1/Kiiminkiriver_Bridge_20100705.JPG",
+ "author": "Estormiz",
+ "license": "Public domain",
+ "license_url": "https://commons.wikimedia.org/wiki/File%3AKiiminkiriver_Bridge_20100705.JPG",
+ "width": 3000,
+ "height": 1657,
+ "notes": "视角:正侧立面远景,混凝土连续梁桥(3 跨)+水中桥墩;背景:淡蓝天+河面,桥后低处是树林岸线;桥在画面中偏小、偏薄;品牌:无;许可依据:PD-self;抠图难度:中(桥体细);推荐度 3",
+ "recommend": 3,
+ "credit": "Own work",
+ "license_evidence": "{{PD-self}}",
+ "description": "Kiiminkijoki Bridge is a road bridge over Kiiminkijoki river in Haukipudas. The concrete box girder bridge was completed in 1954.",
+ "used": true
+ },
+ {
+ "file": "beam/beam_4.jpg",
+ "category": "beam",
+ "title": "File:Donaubrücke Melk 02 2023-10-14.jpg",
+ "commons_url": "https://commons.wikimedia.org/wiki/File%3ADonaubr%C3%BCcke_Melk_02_2023-10-14.jpg",
+ "original_url": "https://upload.wikimedia.org/wikipedia/commons/7/73/Donaubr%C3%BCcke_Melk_02_2023-10-14.jpg",
+ "author": "Herbert Ortner",
+ "license": "CC BY 4.0",
+ "license_url": "https://creativecommons.org/licenses/by/4.0",
+ "width": 4500,
+ "height": 3375,
+ "notes": "视角:斜侧约 35°,变截面混凝土箱梁+1 个河中桥墩;背景:蓝天+薄云+多瑙河,画面左右被树枝和树干框住(遮挡桥的一端);品牌:无;抠图难度:中;推荐度 2",
+ "recommend": 2,
+ "credit": "Own work",
+ "license_evidence": "{{self|cc-by-4.0}}",
+ "description": "bridge over the Danube at Melk, eastern view at Emmersdorf",
+ "used": false
+ },
+ {
+ "file": "beam/beam_5.jpg",
+ "category": "beam",
+ "title": "File:Orwell Bridge wide view.jpg",
+ "commons_url": "https://commons.wikimedia.org/wiki/File%3AOrwell_Bridge_wide_view.jpg",
+ "original_url": "https://upload.wikimedia.org/wikipedia/commons/9/9c/Orwell_Bridge_wide_view.jpg",
+ "author": "kitmasterbloke",
+ "license": "CC BY 2.0",
+ "license_url": "https://creativecommons.org/licenses/by/2.0",
+ "width": 3996,
+ "height": 1620,
+ "notes": "视角:高处俯视的侧立面,混凝土箱梁多跨+一排水中桥墩全部入画,河上有一条货船;背景:桥后是城市和港口(不是天空),抠图难度高;品牌:无;推荐度 3",
+ "recommend": 3,
+ "credit": "https://www.flickr.com/photos/58415659@N00/54365715153/",
+ "license_evidence": "{{cc-by-2.0}}{{FlickreviewR|status=passed|author=kitmasterbloke|sourceurl=https://flickr.com/photos/58415659@N00/54365715153|archive=|reviewdate=2025-03-05 01:20:06|reviewlicense=cc-by-2.0|reviewer=FlickreviewR 2}}",
+ "description": "The Orwell Bridge is the largest bridge in East Anglia, carrying the A14 and removes port traffic from the centre of Ipswich. The tidal river sees smaller trading vessels pass beneath it.",
+ "used": false
+ },
+ {
+ "file": "beam/beam_6.jpg",
+ "category": "beam",
+ "title": "File:Bridge PEI (36453652100).jpg",
+ "commons_url": "https://commons.wikimedia.org/wiki/File%3ABridge_PEI_%2836453652100%29.jpg",
+ "original_url": "https://upload.wikimedia.org/wikipedia/commons/8/88/Bridge_PEI_%2836453652100%29.jpg",
+ "author": "Michel Rathwell from Cornwall, Canada",
+ "license": "CC BY 2.0",
+ "license_url": "https://creativecommons.org/licenses/by/2.0",
+ "width": 5700,
+ "height": 3900,
+ "notes": "视角:正侧立面(长焦),变截面混凝土箱梁连续多跨,4 个桥墩立在海中,整段等距排开;背景:干净的淡蓝天空+海面,前景一条红土滩;品牌:无;抠图难度:低;这是加拿大联邦大桥(Confederation Bridge)的一段,在加拿大有知名度,但画面只是一段普通箱梁,不易被认出;推荐度 5",
+ "recommend": 5,
+ "credit": "Bridge PEI",
+ "license_evidence": "{{cc-by-2.0}} {{User:FlickreviewR/reviewed-pass|Michel_Rathwell|https://flickr.com/photos/93922433@N02/36453652100|2017-09-30 14:01:49|cc-by-2.0|}} {{Flickr-change-of-license}}",
+ "description": "The Confederation Bridge (French: Pont de la Confédération) spans the Abegweit Passage of Northumberland Strait. It links Prince Edward Island with mainland New Brunswick, Canada. Before its official naming, Prince Edward Islanders often referred to the bridge as the \"Fixed Link\". Construction took place from October 1993 to May 1997[2] and cost C$1.3 billion. The 12.9-kilometre (8 mi) bridge op",
+ "used": false
+ },
+ {
+ "file": "beam/beam_7.jpg",
+ "category": "beam",
+ "title": "File:Confederation Bridge, Prince Edward Island, Canada.jpg",
+ "commons_url": "https://commons.wikimedia.org/wiki/File%3AConfederation_Bridge%2C_Prince_Edward_Island%2C_Canada.jpg",
+ "original_url": "https://upload.wikimedia.org/wikipedia/commons/a/a7/Confederation_Bridge%2C_Prince_Edward_Island%2C_Canada.jpg",
+ "author": "Hayden Soloviev",
+ "license": "CC BY 4.0",
+ "license_url": "https://creativecommons.org/licenses/by/4.0",
+ "width": 6000,
+ "height": 4000,
+ "notes": "视角:接近正侧立面,箱梁多跨+一排水中桥墩向远处延伸到天际;背景:灰蓝天空+海面,前景是一排绿色灌木和滩涂;品牌:无;抠图难度:低-中;同为联邦大桥;推荐度 4",
+ "recommend": 4,
+ "credit": "Own work",
+ "license_evidence": "{{self|cc-by-4.0}}",
+ "description": "Confederation Bridge, Prince Edward Island, Canada",
+ "used": false
+ },
+ {
+ "file": "arch/arch_1.tif",
+ "category": "arch",
+ "title": "File:Fort Henry Bridge) Wheeling, West Virginia LCCN2015632042.tif",
+ "commons_url": "https://commons.wikimedia.org/wiki/File%3AFort_Henry_Bridge%29_Wheeling%2C_West_Virginia_LCCN2015632042.tif",
+ "original_url": "https://upload.wikimedia.org/wikipedia/commons/4/44/Fort_Henry_Bridge%29_Wheeling%2C_West_Virginia_LCCN2015632042.tif",
+ "author": "Carol M. Highsmith",
+ "license": "Public domain",
+ "license_url": "https://commons.wikimedia.org/wiki/File%3AFort_Henry_Bridge%29_Wheeling%2C_West_Virginia_LCCN2015632042.tif",
+ "width": 7360,
+ "height": 4912,
+ "notes": "视角:接近正侧立面,绿色钢拱(下承式系杆拱)整拱完整入画,两侧引桥与桥墩立在河中;背景:淡蓝天,拱下与后方山坡/树林重叠;右侧有树叶入画;品牌:无;原图为 16-bit TIFF(约 217MB,PD-Highsmith);抠图难度:中(拱下背景杂);推荐度 5",
+ "recommend": 5,
+ "credit": "Library of Congress\nCatalog: http://lccn.loc.gov/2015632042\nImage download: https://cdn.loc.gov/master/pnp/highsm/31900/31967a.tif\nOriginal url: http://hdl.loc.gov/loc.pnp/highsm.31967",
+ "license_evidence": "{{PD-Highsmith}}",
+ "description": "Title: Fort Henry Bridge] Wheeling, West Virginia\nPhysical description: 1 photograph : digital, tiff file, color.\nNotes: Purchase; Carol M. Highsmith Photography, Inc.; 2015; (DLC/PP-2015:055).; Credit line: West Virginia Collection within the Carol M. Highsmith Archive, Library of Congress, Prints and Photographs Division.; Forms part of: West Virginia Collection within the Carol M. Highsmith Arc",
+ "used": true
+ },
+ {
+ "file": "arch/arch_2.tif",
+ "category": "arch",
+ "title": "File:Coosa River Bridge in Gadsden, Alabama LCCN2010640454.tif",
+ "commons_url": "https://commons.wikimedia.org/wiki/File%3ACoosa_River_Bridge_in_Gadsden%2C_Alabama_LCCN2010640454.tif",
+ "original_url": "https://upload.wikimedia.org/wikipedia/commons/1/1c/Coosa_River_Bridge_in_Gadsden%2C_Alabama_LCCN2010640454.tif",
+ "author": "Carol M. Highsmith",
+ "license": "Public domain",
+ "license_url": "https://commons.wikimedia.org/wiki/File%3ACoosa_River_Bridge_in_Gadsden%2C_Alabama_LCCN2010640454.tif",
+ "width": 6144,
+ "height": 4096,
+ "notes": "视角:接近侧立面(略斜),混凝土上承式空腹拱,多孔连拱全部入画、桥墩立在河中;背景:大片白云天空+河面;前景有路灯杆挡住中间一孔、底部有树冠;品牌:无;原图为 16-bit TIFF(约 151MB,PD-Highsmith);抠图难度:中(拱腹透空处要抠);推荐度 3",
+ "recommend": 3,
+ "credit": "Library of Congress\nCatalog: http://lccn.loc.gov/2010640454\nImage download: https://cdn.loc.gov/master/pnp/highsm/08600/08641a.tif\nOriginal url: http://hdl.loc.gov/loc.pnp/highsm.08641",
+ "license_evidence": "{{PD-Highsmith}}",
+ "description": "Title: Coosa River Bridge in Gadsden, Alabama\nPhysical description: 1 photograph : digital, TIFF file, color.\nNotes: Title, date, subject note, and keywords provided by the photographer.; Gift; George F. Landegger; 2010; (DLC/PP-2010:090).; Forms part of the George F. Landegger Collection of Alabama Photographs in Carol M. Highsmith's America Project in the Carol M. Highsmith Archive.; Credit line",
+ "used": false
+ },
+ {
+ "file": "arch/arch_3.jpg",
+ "category": "arch",
+ "title": "File:Roosevelt Lake Bridge (10911570464).jpg",
+ "commons_url": "https://commons.wikimedia.org/wiki/File%3ARoosevelt_Lake_Bridge_%2810911570464%29.jpg",
+ "original_url": "https://upload.wikimedia.org/wikipedia/commons/1/1d/Roosevelt_Lake_Bridge_%2810911570464%29.jpg",
+ "author": "ksblack99",
+ "license": "Public domain",
+ "license_url": "https://commons.wikimedia.org/wiki/File%3ARoosevelt_Lake_Bridge_%2810911570464%29.jpg",
+ "width": 5067,
+ "height": 3281,
+ "notes": "视角:接近正侧立面,白色钢拱(中承式)整拱完整入画,拱脚落在两岸岩坡上;背景:纯净蓝天+湖面,桥面高度处有远山轮廓线;右下角前景有一丛灌木;品牌:无;许可依据:PD-author-FlickrPDM(作者在 Flickr 标为公有领域标记,Commons 审核通过);抠图难度:低-中;推荐度 5(试过后未用,本地文件已删)",
+ "recommend": 5,
+ "credit": "Roosevelt Lake Bridge",
+ "license_evidence": "{{PD-author-FlickrPDM}} {{FlickreviewR|status=pass|author=ksblack99|sourceurl=https://flickr.com/photos/91064752@N03/10911570464|archive=|reviewdate=2021-10-15 10:10:45|reviewlicense=Public Domain Mark|reviewer=FlickreviewR 2}}",
+ "description": "Tonto National Forest -- Roosevelt, AZ.",
+ "used": false,
+ "downloaded": false
+ },
+ {
+ "file": "arch/arch_4.jpg",
+ "category": "arch",
+ "title": "File:Lewiston-Queenston Bridge from water.jpg",
+ "commons_url": "https://commons.wikimedia.org/wiki/File%3ALewiston-Queenston_Bridge_from_water.jpg",
+ "original_url": "https://upload.wikimedia.org/wikipedia/commons/1/1c/Lewiston-Queenston_Bridge_from_water.jpg",
+ "author": "https://www.flickr.com/photos/evoflash/",
+ "license": "CC BY 2.0",
+ "license_url": "https://creativecommons.org/licenses/by/2.0",
+ "width": 6395,
+ "height": 1856,
+ "notes": "视角:从河面拍的正侧立面,钢上承式拱整拱完整入画;背景:淡蓝天+两岸树林(拱下与树林重叠),前景是翠绿河水;画面很宽(6395x1856);品牌:无;抠图难度:中;推荐度 4",
+ "recommend": 4,
+ "credit": "https://www.flickr.com/photos/evoflash/28286674240/",
+ "license_evidence": "{{cc-by-2.0}}{{User:FlickreviewR/reviewed-pass|Evoflash|https://flickr.com/photos/15111621@N05/28286674240|2017-03-12 21:22:20|cc-by-2.0|}}",
+ "description": "A wide shot of the Lewiston–Queenston Bridge from the Niagara River gorge.",
+ "used": false
+ },
+ {
+ "file": "arch/arch_5.jpg",
+ "category": "arch",
+ "title": "File:Perrine Bridge spanning the Snake River at Twin Falls, Idaho.jpg",
+ "commons_url": "https://commons.wikimedia.org/wiki/File%3APerrine_Bridge_spanning_the_Snake_River_at_Twin_Falls%2C_Idaho.jpg",
+ "original_url": "https://upload.wikimedia.org/wikipedia/commons/c/cc/Perrine_Bridge_spanning_the_Snake_River_at_Twin_Falls%2C_Idaho.jpg",
+ "author": "Alaskan Dude",
+ "license": "CC BY 2.0",
+ "license_url": "https://creativecommons.org/licenses/by/2.0",
+ "width": 3499,
+ "height": 2152,
+ "notes": "视角:接近正侧立面,钢桁架上承式拱跨越峡谷,整拱入画;背景:拱上方是蓝天,拱下与峡谷岩壁重叠;品牌:无;抠图难度:中-高(拱下背景杂);推荐度 3",
+ "recommend": 3,
+ "credit": "https://www.flickr.com/photos/72213316@N00/3732553530/",
+ "license_evidence": "{{cc-by-2.0}}{{User:FlickreviewR/reviewed-pass|Alaskan Dude|https://www.flickr.com/photos/72213316@N00/3732553530|18:24, 12 May 2010 (UTC)|cc-by-2.0|}}",
+ "description": "Perrine Bridge spanning the Snake River at Twin Falls, Idaho",
+ "used": false
+ },
+ {
+ "file": "cable/cable_1.tif",
+ "category": "cable",
+ "title": "File:East Huntington bridge, Huntington, West Virginia LCCN2015631874.tif",
+ "commons_url": "https://commons.wikimedia.org/wiki/File%3AEast_Huntington_bridge%2C_Huntington%2C_West_Virginia_LCCN2015631874.tif",
+ "original_url": "https://upload.wikimedia.org/wikipedia/commons/b/b6/East_Huntington_bridge%2C_Huntington%2C_West_Virginia_LCCN2015631874.tif",
+ "author": "Carol M. Highsmith",
+ "license": "Public domain",
+ "license_url": "https://commons.wikimedia.org/wiki/File%3AEast_Huntington_bridge%2C_Huntington%2C_West_Virginia_LCCN2015631874.tif",
+ "width": 7360,
+ "height": 4912,
+ "notes": "视角:接近正侧立面,独塔+双侧扇形斜拉索完整衬在蓝天上,主跨与边跨基本都在画面内(左端桥面延伸出画);背景:干净蓝天+俄亥俄河水面,对岸是低矮树林;品牌:无;抠图难度:低(拉索细,需在原图分辨率精抠);原图为 16-bit TIFF(约 217MB,Carol M. Highsmith 摄,国会图书馆,PD-Highsmith);推荐度 5",
+ "recommend": 5,
+ "credit": "Library of Congress\n\nCatalog: http://lccn.loc.gov/2015631874\nImage download: https://cdn.loc.gov/master/pnp/highsm/31700/31799a.tif\nOriginal url: http://hdl.loc.gov/loc.pnp/highsm.31799",
+ "license_evidence": "{{PD-Highsmith}}",
+ "description": "Title: East Huntington bridge, Huntington, West Virginia\nPhysical description: 1 photograph : digital, tiff file, color.\n\nNotes: Purchase; Carol M. Highsmith Photography, Inc.; 2015; (DLC/PP-2015:055).; Credit line: West Virginia Collection within the Carol M. Highsmith Archive, Library of Congress, Prints and Photographs Division.; Forms part of: West Virginia Collection within the Carol M. Highs",
+ "used": true
+ },
+ {
+ "file": "cable/cable_2.tiff",
+ "category": "cable",
+ "title": "File:The Veterans Memorial Bridge, a cable-stayed bridge across the Ohio River between Steubenville, Ohio, and Weirton, West Virginia LCCN2015632005.tiff",
+ "commons_url": "https://commons.wikimedia.org/wiki/File%3AThe_Veterans_Memorial_Bridge%2C_a_cable-stayed_bridge_across_the_Ohio_River_between_Steubenville%2C_Ohio%2C_and_Weirton%2C_West_Virginia_LCCN2015632005.tiff",
+ "original_url": "https://upload.wikimedia.org/wikipedia/commons/8/89/The_Veterans_Memorial_Bridge%2C_a_cable-stayed_bridge_across_the_Ohio_River_between_Steubenville%2C_Ohio%2C_and_Weirton%2C_West_Virginia_LCCN2015632005.tiff",
+ "author": "Carol M. Highsmith",
+ "license": "Public domain",
+ "license_url": "https://commons.wikimedia.org/wiki/File%3AThe_Veterans_Memorial_Bridge%2C_a_cable-stayed_bridge_across_the_Ohio_River_between_Steubenville%2C_Ohio%2C_and_Weirton%2C_West_Virginia_LCCN2015632005.tiff",
+ "width": 7360,
+ "height": 4912,
+ "notes": "视角:侧立面略斜,独塔+双侧斜拉索完整入画;背景:蓝天白云,但塔下半段和拉索下部衬在后方山坡与一座旧桁架桥上(杂乱);品牌:无;抠图难度:中-高;原图 TIFF;推荐度 3",
+ "recommend": 3,
+ "credit": "Library of Congress\nCatalog: http://lccn.loc.gov/2015632005\nImage download: https://cdn.loc.gov/master/pnp/highsm/31900/31930a.tif\nOriginal url: http://hdl.loc.gov/loc.pnp/highsm.31930",
+ "license_evidence": "{{PD-Highsmith}}",
+ "description": "Title: The Newell Toll Bridge across the Ohio River between Newell, West Virginia, and East Liverpool, Ohio\nPhysical description: 1 photograph : digital, tiff file, color.\nNotes: Purchase; Carol M. Highsmith Photography, Inc.; 2015; (DLC/PP-2015:055).; Credit line: West Virginia Collection within the Carol M. Highsmith Archive, Library of Congress, Prints and Photographs Division.; The privately o",
+ "used": false
+ },
+ {
+ "file": "cable/cable_3.tif",
+ "category": "cable",
+ "title": "File:The Bridge of Honor, commonly known as the Pomeroy-Mason Bridge is a cable-stayed bridge over the Ohio River between Pomeroy, Ohio and Mason, West Virginia LCCN2015631953.tif",
+ "commons_url": "https://commons.wikimedia.org/wiki/File%3AThe_Bridge_of_Honor%2C_commonly_known_as_the_Pomeroy-Mason_Bridge_is_a_cable-stayed_bridge_over_the_Ohio_River_between_Pomeroy%2C_Ohio_and_Mason%2C_West_Virginia_LCCN2015631953.tif",
+ "original_url": "https://upload.wikimedia.org/wikipedia/commons/1/1a/The_Bridge_of_Honor%2C_commonly_known_as_the_Pomeroy-Mason_Bridge_is_a_cable-stayed_bridge_over_the_Ohio_River_between_Pomeroy%2C_Ohio_and_Mason%2C_West_Virginia_LCCN2015631953.tif",
+ "author": "Carol M. Highsmith",
+ "license": "Public domain",
+ "license_url": "https://commons.wikimedia.org/wiki/File%3AThe_Bridge_of_Honor%2C_commonly_known_as_the_Pomeroy-Mason_Bridge_is_a_cable-stayed_bridge_over_the_Ohio_River_between_Pomeroy%2C_Ohio_and_Mason%2C_West_Virginia_LCCN2015631953.tif",
+ "width": 7360,
+ "height": 4912,
+ "notes": "视角:斜侧约 30°,双塔(白色 A 形塔)+扇形拉索,近塔大远塔小;背景:蓝天+少量云,前景有公路、路灯和草坡;品牌:无;原图为 16-bit TIFF(约 217MB,PD-Highsmith);抠图难度:中;推荐度 3",
+ "recommend": 3,
+ "credit": "Library of Congress\nCatalog: http://lccn.loc.gov/2015631953\nImage download: https://cdn.loc.gov/master/pnp/highsm/31800/31878a.tif\nOriginal url: http://hdl.loc.gov/loc.pnp/highsm.31878",
+ "license_evidence": "{{PD-Highsmith}}",
+ "description": "Title: The Bridge of Honor, commonly known as the Pomeroy-Mason Bridge is a cable-stayed bridge over the Ohio River between Pomeroy, Ohio and Mason, West Virginia\nPhysical description: 1 photograph : digital, tiff file, color.\nNotes: Purchase; Carol M. Highsmith Photography, Inc.; 2015; (DLC/PP-2015:055).; Credit line: West Virginia Collection within the Carol M. Highsmith Archive, Library of Cong",
+ "used": false
+ },
+ {
+ "file": "cable/cable_4.tif",
+ "category": "cable",
+ "title": "File:East Huntington bridge, Huntington, West Virginia LCCN2015631873.tif",
+ "commons_url": "https://commons.wikimedia.org/wiki/File%3AEast_Huntington_bridge%2C_Huntington%2C_West_Virginia_LCCN2015631873.tif",
+ "original_url": "https://upload.wikimedia.org/wikipedia/commons/e/e1/East_Huntington_bridge%2C_Huntington%2C_West_Virginia_LCCN2015631873.tif",
+ "author": "Carol M. Highsmith",
+ "license": "Public domain",
+ "license_url": "https://commons.wikimedia.org/wiki/File%3AEast_Huntington_bridge%2C_Huntington%2C_West_Virginia_LCCN2015631873.tif",
+ "width": 7360,
+ "height": 4912,
+ "notes": "视角:与 cable_1 同一座桥、更侧一点但距离更远;背景:蓝天;前景有一排游艇码头遮住桥下河面(桥本身无遮挡);品牌:游艇上可能有小字;抠图难度:低-中;原图 TIFF;推荐度 3",
+ "recommend": 3,
+ "credit": "Library of Congress\n\nCatalog: http://lccn.loc.gov/2015631873\nImage download: https://cdn.loc.gov/master/pnp/highsm/31700/31798a.tif\nOriginal url: http://hdl.loc.gov/loc.pnp/highsm.31798",
+ "license_evidence": "{{PD-Highsmith}}",
+ "description": "Title: East Huntington bridge, Huntington, West Virginia\nPhysical description: 1 photograph : digital, tiff file, color.\n\nNotes: Purchase; Carol M. Highsmith Photography, Inc.; 2015; (DLC/PP-2015:055).; Credit line: West Virginia Collection within the Carol M. Highsmith Archive, Library of Congress, Prints and Photographs Division.; Forms part of: West Virginia Collection within the Carol M. Highs",
+ "used": false
+ },
+ {
+ "file": "cable/cable_5.jpg",
+ "category": "cable",
+ "title": "File:Savannah - Talmadge Memorial Bridge.jpg",
+ "commons_url": "https://commons.wikimedia.org/wiki/File%3ASavannah_-_Talmadge_Memorial_Bridge.jpg",
+ "original_url": "https://upload.wikimedia.org/wikipedia/commons/4/41/Savannah_-_Talmadge_Memorial_Bridge.jpg",
+ "author": "P. Hughes",
+ "license": "CC BY 4.0",
+ "license_url": "https://creativecommons.org/licenses/by/4.0",
+ "width": 5818,
+ "height": 3816,
+ "notes": "视角:侧立面略斜(约 15°),双塔+扇形拉索、完整主跨衬在纯净深蓝天空上;背景:深蓝天+河面;左侧有河岸建筑和栏杆,左塔下方桥面之下露出港口岸桥吊机(红蓝色);品牌:无;抠图难度:低(天空纯净);萨凡纳本地桥(Talmadge Memorial Bridge),非世界级地标;推荐度 5",
+ "recommend": 5,
+ "credit": "Own work",
+ "license_evidence": "{{self|cc-by-4.0}}",
+ "description": "Talmadge Memorial Bridge, Savannah, Georgia",
+ "used": false
+ },
+ {
+ "file": "cable/cable_6.jpg",
+ "category": "cable",
+ "title": "File:Hale Boggs Memorial Bridge - panoramio (1).jpg",
+ "commons_url": "https://commons.wikimedia.org/wiki/File%3AHale_Boggs_Memorial_Bridge_-_panoramio_%281%29.jpg",
+ "original_url": "https://upload.wikimedia.org/wikipedia/commons/f/f3/Hale_Boggs_Memorial_Bridge_-_panoramio_%281%29.jpg",
+ "author": "---=XEON=---",
+ "license": "CC BY 3.0",
+ "license_url": "https://creativecommons.org/licenses/by/3.0",
+ "width": 4320,
+ "height": 3240,
+ "notes": "视角:正侧立面,双塔+扇形拉索+完整主跨,桥在画面中部、占比中等;背景:HDR 处理的蓝天白云(对比很强)+密西西比河水面;品牌:无,但右下角有摄影者绿色小水印“XEON ©”需修掉;许可依据:Panoramio 导入,permission={{cc-by-3.0}},已过 Panoramio 审核;抠图难度:中(云层复杂);推荐度 4",
+ "recommend": 4,
+ "credit": "https://web.archive.org/web/20161028063607/http://www.panoramio.com/photo/97905312",
+ "license_evidence": "templates: cc-by-3.0, Panoramioreview",
+ "description": "Hale Boggs Memorial Bridge (Afflatus)",
+ "used": false
+ },
+ {
+ "file": "cable/cable_7.jpg",
+ "category": "cable",
+ "title": "File:Jekyll Island Information Center view, July 2024 02 Sidney Lanier Bridge.jpg",
+ "commons_url": "https://commons.wikimedia.org/wiki/File%3AJekyll_Island_Information_Center_view%2C_July_2024_02_Sidney_Lanier_Bridge.jpg",
+ "original_url": "https://upload.wikimedia.org/wikipedia/commons/8/85/Jekyll_Island_Information_Center_view%2C_July_2024_02_Sidney_Lanier_Bridge.jpg",
+ "author": "Thomson200",
+ "license": "CC0",
+ "license_url": "http://creativecommons.org/publicdomain/zero/1.0/deed.en",
+ "width": 5184,
+ "height": 3456,
+ "notes": "视角:正侧立面远景,双塔+扇形拉索+两侧长引桥全部入画;背景:淡蓝天+白云,前景是大片盐沼草地(桥在画面上半部、占比偏小);品牌:无;远处有工业烟囱;抠图难度:中(桥体细小);推荐度 3",
+ "recommend": 3,
+ "credit": "Own work",
+ "license_evidence": "{{self|cc-zero}}",
+ "description": "Jekyll Island Guest Information Center",
+ "used": false
+ },
+ {
+ "file": "suspension/suspension_1.jpg",
+ "category": "suspension",
+ "title": "File:Bear mountain bridge west II (14104379089).jpg",
+ "commons_url": "https://commons.wikimedia.org/wiki/File%3ABear_mountain_bridge_west_II_%2814104379089%29.jpg",
+ "original_url": "https://upload.wikimedia.org/wikipedia/commons/4/47/Bear_mountain_bridge_west_II_%2814104379089%29.jpg",
+ "author": "Russ",
+ "license": "CC BY 2.0",
+ "license_url": "https://creativecommons.org/licenses/by/2.0",
+ "width": 5372,
+ "height": 3651,
+ "notes": "视角:接近正侧立面(略带一点角度),两座塔与完整主缆垂度、加劲桁架全部入画;背景:干净的蓝天+哈德逊河水面,两侧是山体;右上角有树枝伸进天空(没有挡到桥);品牌:无;抠图难度:低;地区性桥(Bear Mountain Bridge),不是世界级地标;推荐度 5",
+ "recommend": 5,
+ "credit": "bear mountain bridge west II",
+ "license_evidence": "{{cc-by-2.0}} {{User:FlickreviewR/reviewed-pass|russimages|https://flickr.com/photos/81751903@N08/14104379089|2017-10-28 23:56:23|cc-by-2.0|}}",
+ "description": "bear mountain bridge west II",
+ "used": true
+ },
+ {
+ "file": "suspension/suspension_2.jpg",
+ "category": "suspension",
+ "title": "File:Deer Isle Bridge, view looking Northeast.jpg",
+ "commons_url": "https://commons.wikimedia.org/wiki/File%3ADeer_Isle_Bridge%2C_view_looking_Northeast.jpg",
+ "original_url": "https://upload.wikimedia.org/wikipedia/commons/1/1c/Deer_Isle_Bridge%2C_view_looking_Northeast.jpg",
+ "author": "Unknown author",
+ "license": "Public domain",
+ "license_url": "https://commons.wikimedia.org/wiki/File%3ADeer_Isle_Bridge%2C_view_looking_Northeast.jpg",
+ "width": 4526,
+ "height": 3173,
+ "notes": "视角:斜侧约 35°(近塔大、远塔小),两塔+主缆+绿色加劲桁架全部入画,桥面中部明显拱起;背景:多云蓝天+海湾水面,远处低矮树林岸线,右侧有混凝土锚碇/引桥墩;品牌:无;许可依据:PD-USGov-NPS-HAER(美国国会图书馆 HAER 档案彩色照片);抠图难度:中;推荐度 3",
+ "recommend": 3,
+ "credit": "This image is available from the United States Library of Congress's Prints and Photographs division under the digital ID hhh.me0314.This tag does not indicate the copyright status of the attached work. A normal copyright tag is still required. See Commons:Licensing.",
+ "license_evidence": "templates: PD-USGov-NPS-HAER",
+ "description": "The Deer Isle-Sedgwick Bridge is a suspension bridge spanning Eggemoggin Reach in the state of Maine",
+ "used": false
+ },
+ {
+ "file": "suspension/suspension_3.jpg",
+ "category": "suspension",
+ "title": "File:MidHudson.JPG",
+ "commons_url": "https://commons.wikimedia.org/wiki/File%3AMidHudson.JPG",
+ "original_url": "https://upload.wikimedia.org/wikipedia/commons/4/45/MidHudson.JPG",
+ "author": "UFu at English Wikipedia",
+ "license": "CC BY 3.0",
+ "license_url": "https://creativecommons.org/licenses/by/3.0",
+ "width": 3504,
+ "height": 2336,
+ "notes": "视角:斜侧约 30°(近塔大、远塔小),两塔与主缆全部入画;背景:蓝天白云+河面,下方有树冠遮挡近塔塔脚;品牌:无;抠图难度:中;推荐度 3",
+ "recommend": 3,
+ "credit": "Transferred from en.wikipedia to Commons.",
+ "license_evidence": "<!-- Templates \"Template:Copytocommons\", were used in the original description page as well , but do not appear to exist on commons. --> {{self|author={{user at project|UFu|wikipedia|en}}|Cc-by-3.0}} == {{Original upload log}} == {{original description page|en.wikipedia|MidHudson.JPG}} * 2010-09-05 04:16 [[:en:User:UFu|UFu]] 3504×2336× (6236563 bytes) ''<nowiki>Mid-Hudson Bridge in late afternoon light</nowiki>''",
+ "description": "Mid-Hudson Bridge in late afternoon light",
+ "used": false
+ },
+ {
+ "file": "suspension/suspension_4.tif",
+ "category": "suspension",
+ "title": "File:The \"new\" (1967) Bidwell Bar bridge carrying traffic on California Rt. 162 across Lake Oroville, a manmade reservoir created by the damming of the Feather River LCCN2013631091.tif",
+ "commons_url": "https://commons.wikimedia.org/wiki/File%3AThe_%22new%22_%281967%29_Bidwell_Bar_bridge_carrying_traffic_on_California_Rt._162_across_Lake_Oroville%2C_a_manmade_reservoir_created_by_the_damming_of_the_Feather_River_LCCN2013631091.tif",
+ "original_url": "https://upload.wikimedia.org/wikipedia/commons/b/b5/The_%22new%22_%281967%29_Bidwell_Bar_bridge_carrying_traffic_on_California_Rt._162_across_Lake_Oroville%2C_a_manmade_reservoir_created_by_the_damming_of_the_Feather_River_LCCN2013631091.tif",
+ "author": "Carol M. Highsmith",
+ "license": "Public domain",
+ "license_url": "https://commons.wikimedia.org/wiki/File%3AThe_%22new%22_%281967%29_Bidwell_Bar_bridge_carrying_traffic_on_California_Rt._162_across_Lake_Oroville%2C_a_manmade_reservoir_created_by_the_damming_of_the_Feather_River_LCCN2013631091.tif",
+ "width": 7360,
+ "height": 4912,
+ "notes": "视角:斜侧(近塔占画面左侧很大、远塔小),两塔入画;背景:灰白天空+后方山林(山体与桥交叠,抠图较难);品牌:无;原图为 TIFF(Carol M. Highsmith 摄,美国国会图书馆,公有领域);推荐度 2",
+ "recommend": 2,
+ "credit": "Library of Congress\nCatalog: http://lccn.loc.gov/2013631091\nImage download: https://cdn.loc.gov/master/pnp/highsm/23900/23913a.tif\nOriginal url: http://hdl.loc.gov/loc.pnp/highsm.23913",
+ "license_evidence": "{{PD-Highsmith}}",
+ "description": "Title: The \"new\" (1967) Bidwell Bar bridge carrying traffic on California Rt. 162 across Lake Oroville, a manmade reservoir created by the damming of the Feather River\nPhysical description: 1 photograph : digital, tiff file, color.\nNotes: Title, date, and keywords provided by the photographer.; Credit line: The Jon B. Lovelace Collection of California Photographs in Carol M. Highsmith's America Pr",
+ "used": false
+ },
+ {
+ "file": "suspension/suspension_5.jpg",
+ "category": "suspension",
+ "title": "File:Throgs Neck Bridge from Fort Totten.JPG",
+ "commons_url": "https://commons.wikimedia.org/wiki/File%3AThrogs_Neck_Bridge_from_Fort_Totten.JPG",
+ "original_url": "https://upload.wikimedia.org/wikipedia/commons/5/54/Throgs_Neck_Bridge_from_Fort_Totten.JPG",
+ "author": "Elipongo",
+ "license": "Public domain",
+ "license_url": "https://commons.wikimedia.org/wiki/File%3AThrogs_Neck_Bridge_from_Fort_Totten.JPG",
+ "width": 3072,
+ "height": 2304,
+ "notes": "视角:接近正侧立面,两座塔+完整主缆垂度+加劲桁架全部入画;背景:纯净蓝天+海湾水面,远处低矮岸线;前景有一条草地和灌木(未遮挡桥);品牌:无;抠图难度:低;纽约本地桥,不是世界级地标;推荐度 5",
+ "recommend": 5,
+ "credit": "Own work",
+ "license_evidence": "{{PD-self}}",
+ "description": "The Throgs Neck Bridge as seen from Fort Totten, New York.",
+ "used": false
+ },
+ {
+ "file": "suspension/suspension_6.jpg",
+ "category": "suspension",
+ "title": "File:Throgs Neck Bridge from Kings Point.jpg",
+ "commons_url": "https://commons.wikimedia.org/wiki/File%3AThrogs_Neck_Bridge_from_Kings_Point.jpg",
+ "original_url": "https://upload.wikimedia.org/wikipedia/commons/2/2e/Throgs_Neck_Bridge_from_Kings_Point.jpg",
+ "author": "D. Benjamin Miller",
+ "license": "CC0",
+ "license_url": "http://creativecommons.org/publicdomain/zero/1.0/deed.en",
+ "width": 6000,
+ "height": 4000,
+ "notes": "视角:正侧立面(远景长焦),两塔+主缆完整入画,桥在画面中部偏小;背景:多云天空,桥面下方远处隐约有曼哈顿天际线(会被认出是纽约,需要时可抹掉);前景水面有几根细杆;品牌:无;抠图难度:中;推荐度 4",
+ "recommend": 4,
+ "credit": "Own work",
+ "license_evidence": "{{self|cc-zero}}",
+ "description": "Throgs Neck Bridge from Kings Point",
+ "used": false
+ }
+]
\ No newline at end of file
diff --git a/styles/briefing-board/demo/stills/styleframe.jpg b/styles/briefing-board/demo/stills/styleframe.jpg
new file mode 100644
index 0000000..4e617cf
Binary files /dev/null and b/styles/briefing-board/demo/stills/styleframe.jpg differ
diff --git a/styles/briefing-board/demo/tools/camcheck.mjs b/styles/briefing-board/demo/tools/camcheck.mjs
new file mode 100644
index 0000000..bef4d12
--- /dev/null
+++ b/styles/briefing-board/demo/tools/camcheck.mjs
@@ -0,0 +1,97 @@
+// Camera smoothness, "the wall is never seen whole before the reveal", and the judgement frames.
+// node tools/camcheck.mjs [--reveal 31.1] [--fps 24] (run from anywhere; LIB found from this file)
+// Samples the page's camera (window.CAM) at 4× the frame rate and writes out/camcheck.csv:
+// t, x, y, zoom, roll, screen speed (px/frame of the frame content), its acceleration and jerk,
+// the share of the board's width and area in frame, and whether the board's left/right edges are in frame.
+// Fails (exit 1) when, before --reveal:
+// - more than 60 % of the board's width, or 40 % of its area, is in frame, or
+// - both the left and the right board edges are in frame at once, or
+// - more than 10 % of the right zone (scene.right_zone: prints, cards, notes, verdict, end card) is in frame;
+// when, inside a judgement window (scene.judge[name].t0 … t1), any part of its box leaves the frame or dips into
+// the subtitle strip (bottom 15 %);
+// and anywhere when the frame-content velocity jumps between consecutive samples by more than
+// max(6 px/frame, 30 % of the speed) outside a declared impact shake (scene.cam.shakes).
+import path from 'path'; import fs from 'fs'; import { fileURLToPath } from 'url';
+const HERE = path.dirname(fileURLToPath(import.meta.url)), DEMO = path.resolve(HERE, '..');
+const LIB = process.env.LIB || path.resolve(DEMO, '../../..');
+const { openDemo, closeServer } = await import(path.join(LIB, 'core/render/page.mjs'));
+const args = process.argv.slice(2), opt = (k, d) => { const i = args.indexOf(k); return i >= 0 ? args[i + 1] : d; };
+const FPS = +opt('--fps', 24);
+const { browser, page } = await openDemo(DEMO, { w: 1920, h: 1080 });
+const res = await page.evaluate(({ FPS }) => {
+ const W = 1920, H = 1080, dur = window.DUR, rows = [], step = 1 / (FPS * 4);
+ const corners = [[0, 0], [W, 0], [W, H], [0, H]];
+ for (let t = 0; t <= dur + 1e-9; t += step) {
+ const c = window.CAM(t), wc = corners.map(p => window.TOWORLD(p, t)), xs = wc.map(p => p[0]), ys = wc.map(p => p[1]);
+ rows.push({ t, x: c.x, y: c.y, zoom: c.zoom, roll: c.roll, dx: c.dx, dy: c.dy, x0: Math.min(...xs), x1: Math.max(...xs), y0: Math.min(...ys), y1: Math.max(...ys) });
+ }
+ return { rows };
+}, { FPS });
+// screen-space motion, in px per frame: pan of the frame centre, zoom as the speed of the frame
+// corners moving out/in (half-diagonal 1101 px × d ln z), roll as corner speed (1101 px × d roll)
+{
+ const R = res.rows, dt = 1 / (FPS * 4);
+ for (let i = 0; i < R.length; i++) {
+ const a = R[Math.max(0, i - 1)], b = R[Math.min(R.length - 1, i + 1)], h = (b.t - a.t) || dt, z = R[i].zoom;
+ const vx = ((b.x - a.x) * z + (b.dx - a.dx)) / h / FPS, vy = ((b.y - a.y) * z + (b.dy - a.dy)) / h / FPS;
+ const vz = Math.log(b.zoom / a.zoom) / h / FPS * 1101, vr = (b.roll - a.roll) * Math.PI / 180 / h / FPS * 1101;
+ Object.assign(R[i], { vx, vy, vz, vr, v: Math.hypot(vx, vy) + Math.abs(vz) + Math.abs(vr) });
+ }
+}
+const scene = JSON.parse(fs.readFileSync(path.join(DEMO, 'scenes/film.json'), 'utf8'));
+const B = scene.board, reveal = +opt('--reveal', scene.reveal ?? scene.dur), shakes = scene.cam.shakes || [];
+const rows = res.rows; let bad = 0; const notes = [];
+for (let i = 0; i < rows.length; i++) {
+ const r = rows[i];
+ const vx0 = Math.max(0, r.x0), vx1 = Math.min(B.w, r.x1), vy0 = Math.max(0, r.y0), vy1 = Math.min(B.h, r.y1);
+ r.wfrac = Math.max(0, vx1 - vx0) / B.w; r.afrac = r.wfrac * Math.max(0, vy1 - vy0) / B.h;
+ r.left = r.x0 <= 0 && r.x1 >= 0; r.right = r.x0 <= B.w && r.x1 >= B.w;
+ if (i > 0) { const p = rows[i - 1]; r.a = Math.hypot(r.vx - p.vx, r.vy - p.vy, r.vz - p.vz, r.vr - p.vr) * 4; } else r.a = 0; // px/frame per frame
+ r.j = i > 0 ? Math.abs(r.a - rows[i - 1].a) * 4 : 0;
+ r.shake = shakes.some(s => r.t >= s.t - .01 && r.t <= s.t + 1.2);
+ const RZ = scene.right_zone;
+ r.rz = RZ ? Math.max(0, Math.min(RZ[2], r.x1) - Math.max(RZ[0], r.x0)) * Math.max(0, Math.min(RZ[3], r.y1) - Math.max(RZ[1], r.y0)) / ((RZ[2] - RZ[0]) * (RZ[3] - RZ[1])) : 0;
+ if (r.t < reveal - 1e-6) {
+ if (r.rz > .10) { bad++; if (notes.length < 40) notes.push(`t=${r.t.toFixed(3)} ${(r.rz * 100).toFixed(1)}% of the right zone in frame before the reveal`); }
+ if (r.wfrac > .60 || r.afrac > .40) { bad++; if (notes.length < 40) notes.push(`t=${r.t.toFixed(3)} board width ${(r.wfrac * 100).toFixed(1)}% / area ${(r.afrac * 100).toFixed(1)}% in frame before the reveal`); }
+ if (r.left && r.right) { bad++; if (notes.length < 40) notes.push(`t=${r.t.toFixed(3)} both board edges in frame before the reveal`); }
+ }
+}
+// a velocity discontinuity shows as a one-sample spike in acceleration, an acceleration
+// discontinuity as a spike in jerk: compare each sample with its neighbourhood
+const med = (arr) => { const s = [...arr].sort((a, b) => a - b); return s[Math.floor(s.length / 2)]; };
+for (let i = 6; i < rows.length - 6; i++) {
+ const r = rows[i]; if (r.shake) continue;
+ const nb = rows.slice(i - 6, i + 7).filter((_, k) => k !== 6);
+ const ma = med(nb.map(q => q.a)), mj = med(nb.map(q => q.j));
+ if (r.a > Math.max(2.5, 4 * ma)) { bad++; if (notes.length < 40) notes.push(`t=${r.t.toFixed(3)} velocity jump: acceleration ${r.a.toFixed(2)} px/frame² vs ${ma.toFixed(2)} around it`); }
+ if (r.j > Math.max(4, 6 * mj)) { bad++; if (notes.length < 40) notes.push(`t=${r.t.toFixed(3)} acceleration jump: jerk ${r.j.toFixed(2)} vs ${mj.toFixed(2)} around it`); }
+}
+// judgement frames: the whole box in frame and above the subtitle strip for the whole window; how still the camera is
+const judge = scene.judge || {}, jrep = [];
+for (const [name, J] of Object.entries(judge)) {
+ const win = rows.filter(r => r.t >= J.t0 - 1e-6 && r.t <= J.t1 + 1e-6); let worst = Infinity, vmax = 0;
+ for (const r of win) {
+ const m = Math.min(J.box[0] - r.x0, r.x1 - J.box[2], J.box[1] - r.y0, (r.y0 + .85 * (r.y1 - r.y0)) - J.box[3]) * r.zoom; // screen px
+ worst = Math.min(worst, m); vmax = Math.max(vmax, r.v);
+ if (m < 0) { bad++; if (notes.length < 40) notes.push(`t=${r.t.toFixed(3)} judgement frame "${name}" cut by ${(-m).toFixed(0)} px`); }
+ }
+ jrep.push(`${name.padEnd(11)} ${J.t0.toFixed(2)}–${J.t1.toFixed(2)} s hold ${(J.t1 - J.t0).toFixed(2)} s frame ${(1920 / J.z).toFixed(0)} board px wide min margin ${worst.toFixed(0)} px max speed ${vmax.toFixed(1)} px/frame`);
+}
+const pre = rows.filter(r => r.t < reveal);
+const maxW = Math.max(...pre.map(r => r.wfrac)), maxA = Math.max(...pre.map(r => r.afrac));
+const after = rows.filter(r => r.t >= reveal), endW = after.length ? Math.max(...after.map(r => r.wfrac)) : 0;
+const firstWhole = rows.find(r => r.left && r.right);
+fs.mkdirSync(path.join(DEMO, 'out'), { recursive: true });
+fs.writeFileSync(path.join(DEMO, 'out/camcheck.csv'), 't,x,y,zoom,roll,dx,dy,v,a,j,wfrac,afrac,left,right\n' + rows.map(r => [r.t.toFixed(4), r.x.toFixed(2), r.y.toFixed(2), r.zoom.toFixed(5), r.roll.toFixed(4), r.dx.toFixed(3), r.dy.toFixed(3), r.v.toFixed(3), r.a.toFixed(3), r.j.toFixed(3), r.wfrac.toFixed(4), r.afrac.toFixed(4), +r.left, +r.right].join(',')).join('\n'));
+console.log(`samples ${rows.length} · reveal at ${reveal}s · before it: max ${(maxW * 100).toFixed(1)}% of the board width, ${(maxA * 100).toFixed(1)}% of its area in frame`);
+console.log(`whole board (both edges) first in frame at ${firstWhole ? firstWhole.t.toFixed(2) + ' s' : 'never'} · after the reveal up to ${(endW * 100).toFixed(1)}% of the width`);
+const pk = rows.reduce((m, r) => r.v > m.v ? r : m, rows[0]), wk = pre.reduce((m, r) => r.wfrac > m.wfrac ? r : m, pre[0]);
+const maxRZ = Math.max(...pre.map(r => r.rz));
+console.log(`before the reveal: at most ${(maxRZ * 100).toFixed(1)}% of the right zone in frame`);
+for (const l of jrep) console.log('judgement ' + l);
+console.log(`peak frame-content speed ${pk.v.toFixed(1)} px/frame at ${pk.t.toFixed(2)} s · widest framing before the reveal at ${wk.t.toFixed(2)} s`);
+for (const n of notes) console.log(' BAD ' + n);
+console.log(bad ? `camcheck: ${bad} problems` : 'camcheck: OK');
+await browser.close(); closeServer();
+process.exit(bad ? 1 : 0);
diff --git a/styles/briefing-board/demo/tools/camplot.py b/styles/briefing-board/demo/tools/camplot.py
new file mode 100644
index 0000000..2678383
--- /dev/null
+++ b/styles/briefing-board/demo/tools/camplot.py
@@ -0,0 +1,23 @@
+#!/usr/bin/env python3
+"""Plot out/camcheck.csv (written by tools/camcheck.mjs) → out/camcheck.png:
+frame-content speed (px/frame), acceleration, zoom, and the share of the board's width in frame.
+ python3 tools/camplot.py (Pillow only)"""
+import csv, os
+from PIL import Image, ImageDraw
+DEMO = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
+R = list(csv.DictReader(open(os.path.join(DEMO, 'out', 'camcheck.csv'))))
+t = [float(r['t']) for r in R]; dur = t[-1]
+W, H, PAD = 1800, 900, 60
+im = Image.new('RGB', (W, H), (250, 249, 245)); d = ImageDraw.Draw(im)
+panels = [('speed px/frame', [float(r['v']) for r in R], (31, 79, 200)), ('accel px/frame²', [float(r['a']) for r in R], (211, 58, 33)),
+ ('zoom', [float(r['zoom']) for r in R], (35, 39, 46)), ('board width in frame', [float(r['wfrac']) for r in R], (90, 140, 90))]
+ph = (H - PAD * 2) / len(panels)
+for k, (name, ys, col) in enumerate(panels):
+ y0 = PAD + k * ph; y1 = y0 + ph - 18; lo, hi = min(ys), max(ys) or 1
+ if name.startswith('board'): lo, hi = 0, 1; d.line([(PAD, y1 - .46 * (y1 - y0)), (W - PAD, y1 - .46 * (y1 - y0))], fill=(200, 120, 120))
+ d.rectangle([PAD, y0, W - PAD, y1], outline=(200, 198, 192))
+ pts = [(PAD + (tt / dur) * (W - 2 * PAD), y1 - (v - lo) / ((hi - lo) or 1) * (y1 - y0)) for tt, v in zip(t, ys)]
+ d.line(pts, fill=col, width=2); d.text((PAD + 6, y0 + 4), f'{name} max {max(ys):.2f}', fill=(40, 40, 40))
+for s in range(int(dur) + 1):
+ x = PAD + s / dur * (W - 2 * PAD); d.line([(x, H - PAD), (x, H - PAD + 6)], fill=(80, 80, 80)); d.text((x - 6, H - PAD + 8), str(s), fill=(80, 80, 80))
+im.save(os.path.join(DEMO, 'out', 'camcheck.png')); print(os.path.join(DEMO, 'out', 'camcheck.png'))
diff --git a/styles/briefing-board/demo/tools/cuecheck.py b/styles/briefing-board/demo/tools/cuecheck.py
new file mode 100644
index 0000000..9a38802
--- /dev/null
+++ b/styles/briefing-board/demo/tools/cuecheck.py
@@ -0,0 +1,21 @@
+#!/usr/bin/env python3
+"""Cue check: every visual hit in scenes/film.json lands on the music grid (120 BPM, sixteenth notes;
+landings, the stamp and the arrows sit on beats or eighths, pops and small tags may take sixteenths).
+ python3 tools/cuecheck.py [--grid 0.125] [--tol 0.001]
+Hits: photo landings, the stamp, pier magnets, pops, strikes, the ruler, arrowheads, tags, the reveal.
+Exit 1 if any hit misses the grid by more than --tol seconds."""
+import json, os, sys, argparse
+ap = argparse.ArgumentParser(); ap.add_argument('--grid', type=float, default=.125); ap.add_argument('--tol', type=float, default=.001); a = ap.parse_args()
+DEMO = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
+sc = json.load(open(os.path.join(DEMO, 'scenes', 'film.json')))
+HITS = {'land', 'stamp', 'pier', 'strike', 'ruler', 'arrow', 'tag', 'reveal'}
+bad = 0; rows = []
+for e in sc['ev']:
+ if e['type'] not in HITS: continue
+ g = round(e['t'] / a.grid) * a.grid; off = (e['t'] - g) * 1000
+ ok = abs(off) <= a.tol * 1000; bad += not ok
+ rows.append((e['t'], e['type'], g, off, ok))
+for t, ty, g, off, ok in rows:
+ print(f"{'OK ' if ok else 'BAD'} {ty:7s} {t:7.3f} s grid {g:7.3f} {off:+6.1f} ms")
+print(f"cuecheck: {len(rows) - bad}/{len(rows)} hits on the sixteenth-note grid" + ('' if not bad else f', {bad} off'))
+sys.exit(1 if bad else 0)
diff --git a/styles/briefing-board/demo/tools/final_asr.py b/styles/briefing-board/demo/tools/final_asr.py
new file mode 100644
index 0000000..6211db0
--- /dev/null
+++ b/styles/briefing-board/demo/tools/final_asr.py
@@ -0,0 +1,25 @@
+#!/usr/bin/env python3
+"""Speech check on the FINAL mix (music, foley and all): transcribe the film with faster-whisper and
+compare with the script, line by line (word match after normalising numbers and punctuation).
+ $LIB/.venv/bin/python tools/final_asr.py <film.mp4> [--model base.en]"""
+import json, os, re, subprocess, sys, tempfile, difflib
+DEMO = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
+film = sys.argv[1]; model = sys.argv[sys.argv.index('--model') + 1] if '--model' in sys.argv else 'base.en'
+from faster_whisper import WhisperModel
+tmp = tempfile.mktemp(suffix='.wav'); subprocess.run(['ffmpeg', '-v', 'error', '-y', '-i', film, '-ac', '1', '-ar', '16000', tmp], check=True)
+segs, _ = WhisperModel(model, device='cpu', compute_type='int8').transcribe(tmp, word_timestamps=True, language='en'); os.remove(tmp)
+words = [(w.start, w.word) for s in segs for w in s.words]
+norm = lambda t: re.sub(r'[^a-z0-9 ]', ' ', re.sub(r'(\d)\s*,\s*(\d)', r'\1\2', t.lower()).replace(',', '')).split() # '1 ,208' and '1,208' are 1208
+lines = {l['id']: l for l in json.load(open(os.path.join(DEMO, 'audio', 'lines.json')))}
+ev = {e['id']: e['t'] for e in json.load(open(os.path.join(DEMO, 'scenes', 'film.json')))['ev'] if e['type'] == 'vo'}
+dur = json.load(open(os.path.join(DEMO, 'audio', 'vo', 'dur.json')))
+bad = 0
+for k, l in lines.items():
+ t0, t1 = max(0, ev[k] - .6), ev[k] + dur[k] + .3
+ heard = ' '.join(w for t, w in words if t0 <= t <= t1)
+ want = l.get('asr') or l['text']
+ r = difflib.SequenceMatcher(None, norm(want), norm(heard)).ratio()
+ ok = r >= .85; bad += not ok
+ print(f"{'OK ' if ok else 'BAD'} {k} {r:.2f} | {want} → {heard.strip()}")
+print('final mix speech check:', 'OK' if not bad else f'{bad} lines below 0.85')
+sys.exit(1 if bad else 0)
diff --git a/styles/briefing-board/demo/tools/rescheck.mjs b/styles/briefing-board/demo/tools/rescheck.mjs
new file mode 100644
index 0000000..64a66b5
--- /dev/null
+++ b/styles/briefing-board/demo/tools/rescheck.mjs
@@ -0,0 +1,18 @@
+// Resolution check: for every frame (24 fps), every photo in frame must have at least one real photo
+// pixel per screen pixel (ratio ≥ 1). A stretched span counts its stretch. Writes out/rescheck.csv.
+// node tools/rescheck.mjs [--fps 24]
+import path from 'path'; import fs from 'fs'; import { fileURLToPath } from 'url';
+const HERE = path.dirname(fileURLToPath(import.meta.url)), DEMO = path.resolve(HERE, '..');
+const LIB = process.env.LIB || path.resolve(DEMO, '../../..');
+const { openDemo, closeServer } = await import(path.join(LIB, 'core/render/page.mjs'));
+const args = process.argv.slice(2), FPS = +(args[args.indexOf('--fps') + 1] || 24) || 24;
+const { browser, page } = await openDemo(DEMO, { w: 1920, h: 1080 });
+const rows = await page.evaluate(({ FPS }) => { const r = []; for (let f = 0; f <= window.DUR * FPS; f++) { const t = f / FPS; for (const q of window.RESCHECK(t)) r.push({ t, ...q }); } return r; }, { FPS });
+await browser.close(); closeServer();
+const worst = {}; for (const r of rows) if (!worst[r.id] || r.ratio < worst[r.id].ratio) worst[r.id] = r;
+fs.mkdirSync(path.join(DEMO, 'out'), { recursive: true });
+fs.writeFileSync(path.join(DEMO, 'out/rescheck.csv'), 't,id,ratio,note\n' + rows.map(r => `${r.t.toFixed(3)},${r.id},${r.ratio.toFixed(3)},${r.note}`).join('\n'));
+let bad = 0;
+for (const [id, r] of Object.entries(worst).sort()) { const ok = r.ratio >= 1; bad += !ok; console.log(`${ok ? 'OK ' : 'BAD'} ${id.padEnd(14)} min ${r.ratio.toFixed(2)} photo px per screen px at ${r.t.toFixed(2)} s ${r.note}`); }
+console.log(bad ? `rescheck: ${bad} photos upsampled` : `rescheck: OK (${Object.keys(worst).length} photos, every frame ≥ 1 photo px per screen px)`);
+process.exit(bad ? 1 : 0);
diff --git a/styles/briefing-board/demo/tools/rhythm_report.py b/styles/briefing-board/demo/tools/rhythm_report.py
new file mode 100644
index 0000000..bad53eb
--- /dev/null
+++ b/styles/briefing-board/demo/tools/rhythm_report.py
@@ -0,0 +1,84 @@
+#!/usr/bin/env python3
+"""Objective rhythm report on a finished film (picture and sound).
+
+ .venv/bin/python tools/rhythm_report.py <film.mp4> [--events scenes/film.json] [--flat 1.0]
+
+Picture
+ - motion energy per frame: mean |frame - previous frame| on a 480×270 greyscale decode (0–255 scale);
+ reported per 0.5 s and per 1 s; 1-second windows under --flat are listed as flat stretches.
+ - cut points: frames whose difference is a spike far above the local median (a hard cut).
+Sound
+ - onsets (spectral flux peaks) per second, RMS level per 0.5 s (dBFS), silences under -45 dBFS.
+Alignment
+ - for every visual hit in the scene's events (type in HITS), the distance to the nearest audio onset.
+Writes out/rhythm.csv (per 0.5 s) and prints a summary.
+"""
+import argparse, json, os, subprocess, sys
+import numpy as np, soundfile as sf
+from scipy.signal import find_peaks
+from scipy.ndimage import median_filter
+
+ap = argparse.ArgumentParser(); ap.add_argument('film'); ap.add_argument('--events'); ap.add_argument('--flat', type=float, default=1.0)
+a = ap.parse_args()
+HERE = os.path.dirname(os.path.abspath(__file__)); DEMO = os.path.dirname(HERE)
+
+# ---------------------------------------------------------------- picture
+w, h = 480, 270
+p = subprocess.run(['ffmpeg', '-v', 'error', '-i', a.film, '-vf', f'scale={w}:{h},format=gray', '-f', 'rawvideo', '-'], capture_output=True, check=True)
+fr = np.frombuffer(p.stdout, np.uint8).reshape(-1, h, w).astype(np.float32)
+fps = 24.0
+diff = np.r_[0, np.abs(np.diff(fr, axis=0)).mean(axis=(1, 2))]
+n = len(diff); dur = n / fps
+med = median_filter(diff, size=25)
+cuts = [i / fps for i in range(2, n) if diff[i] > 6 * max(med[i], .5) and diff[i] > 8]
+def win(x, size):
+ k = int(round(size * fps)); return [(i / fps, float(x[i:i + k].mean())) for i in range(0, len(x) - k + 1, k)]
+half = win(diff, .5); sec = [(t, float(diff[int(t * fps):int((t + 1) * fps)].mean())) for t in np.arange(0, dur - .999, .25)]
+flat = [(t, v) for t, v in sec if v < a.flat]
+
+# ---------------------------------------------------------------- sound
+tmp = os.path.join(DEMO, 'out', '_rhythm.wav'); os.makedirs(os.path.dirname(tmp), exist_ok=True)
+subprocess.run(['ffmpeg', '-v', 'error', '-y', '-i', a.film, '-ac', '1', '-ar', '24000', tmp], check=True)
+x, sr = sf.read(tmp); os.remove(tmp)
+hop = 240; nfft = 1024
+frames = np.lib.stride_tricks.sliding_window_view(np.pad(x, (0, nfft)), nfft)[::hop] * np.hanning(nfft)
+S = np.abs(np.fft.rfft(frames, axis=1))
+flux = np.r_[0, np.maximum(0, np.diff(np.log1p(S * 10), axis=0)).sum(1)]
+flux = flux / (np.percentile(flux, 99) + 1e-9)
+thr = median_filter(flux, size=31) + .12
+pk, _ = find_peaks(flux, height=thr, distance=int(.07 * sr / hop))
+onsets = pk * hop / sr
+rms = [(t, 20 * np.log10(np.sqrt(np.mean(x[int(t * sr):int((t + .5) * sr)] ** 2)) + 1e-9)) for t in np.arange(0, len(x) / sr - .499, .5)]
+quiet = [(t, v) for t, v in rms if v < -45]
+
+# ---------------------------------------------------------------- alignment
+HITS = {'land', 'stamp', 'magnet', 'snap', 'pop', 'strike', 'ruler', 'dimend', 'arrow', 'horn', 'reveal', 'pier'}
+evf = a.events or os.path.join(DEMO, 'scenes', 'film.json')
+off = []
+if os.path.exists(evf):
+ for e in json.load(open(evf)).get('ev', []):
+ if e['type'] in HITS:
+ d = onsets - e['t']; j = np.argmin(np.abs(d)); off.append((e['t'], e['type'], float(d[j] * 1000)))
+
+# ---------------------------------------------------------------- report
+with open(os.path.join(DEMO, 'out', 'rhythm.csv'), 'w') as f:
+ f.write('t,motion,onsets,rms_db\n')
+ for (t, m) in half:
+ o = int(((onsets >= t) & (onsets < t + .5)).sum()); r = next((v for tt, v in rms if abs(tt - t) < 1e-6), float('nan'))
+ f.write(f'{t:.2f},{m:.3f},{o},{r:.1f}\n')
+print(f'film {dur:.2f} s · {n} frames')
+print(f'picture: mean motion {diff.mean():.2f}, median {np.median(diff):.2f}; per 0.5 s:')
+print(' ' + ' '.join(f'{m:4.1f}' for _, m in half))
+print(f' hard cuts detected: {len(cuts)} {[round(c, 2) for c in cuts]}')
+lo = sorted(sec, key=lambda q: q[1])[:5]
+print(' flattest 1-s windows: ' + ', '.join(f'{t:.2f}–{t + 1:.2f} s ({v:.2f})' for t, v in lo))
+print(f' windows under {a.flat}: {len(flat)}' + (' ' + ', '.join(f'{t:.2f}' for t, _ in flat[:12]) if flat else ''))
+per_s = [int(((onsets >= s) & (onsets < s + 1)).sum()) for s in range(int(np.ceil(len(x) / sr)))]
+print(f'sound: {len(onsets)} onsets, per second: {per_s}')
+print(' rms per 0.5 s (dBFS): ' + ' '.join(f'{v:.0f}' for _, v in rms))
+print(f' quiet windows (< -45 dBFS): {[round(t, 1) for t, _ in quiet]}')
+if off:
+ ab = np.abs([o for _, _, o in off])
+ print(f'alignment: {len(off)} visual hits, median |offset| {np.median(ab):.0f} ms, within 40 ms: {(ab <= 40).sum()}/{len(ab)}')
+ for t, ty, o in off:
+ if abs(o) > 40: print(f' {ty:8s} at {t:6.2f} s → nearest onset {o:+.0f} ms')
diff --git a/styles/briefing-board/demo/tools/subcheck.mjs b/styles/briefing-board/demo/tools/subcheck.mjs
new file mode 100644
index 0000000..237fa45
--- /dev/null
+++ b/styles/briefing-board/demo/tools/subcheck.mjs
@@ -0,0 +1,35 @@
+// Subtitle check: one line per language, measured with the real fonts in the page.
+// node tools/subcheck.mjs [path/to/film.srt]
+// 1. In the page (window.SUBCHECK): the Chinese and the English line of every cue are measured with
+// the burned-in fonts (white-space: nowrap; nothing ever wraps) and must be narrower than the safe width.
+// 2. In the .srt: every cue has exactly two lines, Chinese first, English second, and no line wraps.
+// 3. Timing (DIRECTOR.md §7): every cue ≥ 1.8 s, and ≥ its spoken part + 0.6 s (from scenes/film.json).
+import path from 'path'; import fs from 'fs'; import { fileURLToPath } from 'url';
+const HERE = path.dirname(fileURLToPath(import.meta.url)), DEMO = path.resolve(HERE, '..');
+const LIB = process.env.LIB || path.resolve(DEMO, '../../..');
+const { openDemo, closeServer } = await import(path.join(LIB, 'core/render/page.mjs'));
+const { browser, page } = await openDemo(DEMO, { w: 1920, h: 1080 });
+const rows = await page.evaluate(() => window.SUBCHECK());
+await browser.close(); closeServer();
+let bad = 0;
+for (const r of rows) {
+ const ok = r.ok; if (!ok) bad++;
+ console.log(`${ok ? 'OK ' : 'BAD'} #${String(r.i + 1).padStart(2)} zh ${String(r.wz).padStart(4)} px en ${String(r.we).padStart(4)} px (safe ${r.safe}) ${r.zh} | ${r.en}`);
+}
+const scene = JSON.parse(fs.readFileSync(path.join(DEMO, 'scenes/film.json'), 'utf8'));
+for (const [i, s] of (scene.subs || []).entries()) {
+ const d = s.t1 - s.t0, need = Math.max(1.8, (s.speech || 0) + .6);
+ if (d + 1e-6 < need) { bad++; console.log(`BAD #${i + 1} on screen ${d.toFixed(2)} s, needs ${need.toFixed(2)} s`); }
+}
+const srt = process.argv[2] || path.join(DEMO, 'out/film.srt');
+if (fs.existsSync(srt)) {
+ const blocks = fs.readFileSync(srt, 'utf8').trim().split(/\r?\n\r?\n/);
+ for (const b of blocks) {
+ const L = b.split(/\r?\n/), text = L.slice(2);
+ const han = s => /\p{Script=Han}/u.test(s);
+ if (text.length !== 2 || !han(text[0]) || han(text[1])) { bad++; console.log(`BAD srt cue ${L[0]}: expected 2 lines (Chinese, then English), got ${JSON.stringify(text)}`); }
+ }
+ console.log(`srt: ${blocks.length} cues checked (${srt})`);
+} else console.log(`srt not found yet: ${srt}`);
+console.log(bad ? `subcheck: ${bad} problems` : `subcheck: OK (${rows.length} cues, each language on one line)`);
+process.exit(bad ? 1 : 0);
diff --git a/styles/briefing-board/poster.jpg b/styles/briefing-board/poster.jpg
new file mode 100644
index 0000000..4e617cf
Binary files /dev/null and b/styles/briefing-board/poster.jpg differ
diff --git a/styles/briefing-board/style.json b/styles/briefing-board/style.json
new file mode 100644
index 0000000..43d9651
--- /dev/null
+++ b/styles/briefing-board/style.json
@@ -0,0 +1,18 @@
+{
+ "slug": "briefing-board",
+ "num": "56",
+ "en": "Engineering Briefing Board",
+ "cn": "工程简报板",
+ "category_en": "Information & Keynote",
+ "category_cn": "信息与发布",
+ "film": "The Ship Decides",
+ "line": "A river needs a bridge; four bridge types are tested on one briefing wall, and the ship that must pass underneath picks the winner.",
+ "line_cn": "一条河要架桥,四种桥型在一面简报墙上逐个受检,拍板的是桥下要过的船。",
+ "uses": [
+ "Engineering decisions",
+ "Option comparisons",
+ "Briefings & explainers"
+ ],
+ "frame_sec": 39.9,
+ "dur": 40.0
+}
diff --git a/styles/satellite-briefing/DEMO.md b/styles/satellite-briefing/DEMO.md
new file mode 100644
index 0000000..15b4e09
--- /dev/null
+++ b/styles/satellite-briefing/DEMO.md
@@ -0,0 +1,92 @@
+# Satellite Briefing — our demo
+
+One example among many. Don't reuse its story, arc, shots, props or timings.
+
+Demo: *The Map Still Says Sea* 《地图上还写着海》 (37.8 s) · `satellite-briefing.mp4` · source in [`demo/`](demo/)
+
+A satellite follows the map to a sea and finds a desert; the only part that came back is the part someone dammed. The Aral Sea, 1977–2025, on public-domain Landsat imagery. Chinese on screen, English narration, bilingual subtitles (Chinese line above, English line below).
+
+## Story & structure
+
+Logline: on the map it is still the Aral Sea; from orbit it is salt and sand; the one piece of it that returned, the North Aral, was kept by a 13 km dike.
+
+Arc: a claim (a printed atlas page of the 1960 sea, its serif name 咸海) → the check (a dive into the map until it fills the frame, a scanner bar tears it away: salt crust, then silence) → the evidence (time rewound to 1977 and played forward in one locked frame, each year leaving its shoreline as a ring, the rings coming faster and faster) → the human scale (a range line from Muynak's old harbour to today's sea, 95 km) → the turn (silence, then water heard before it is seen, a whip pan north to the Kok-Aral dike, rings that grow outward, the water's true colour coming back) → the ending (the label 咸海 leaves the empty basin and pins itself to the North Aral; back to orbit).
+
+Native moves spent: *the map against the photograph* at the reveal; *time rings in a locked frame* as the signature shot; *the range line* for the human scale; *colour returns where the story turns* for the North Aral; *the dive and the climb* as bookends; *the reticle becomes the frame* for the end card.
+
+Measured values are labelled as measured on screen; every number and its source is in [`demo/FACTS.md`](demo/FACTS.md).
+
+## Shots
+
+One continuous take; framing changes by altitude. Times in seconds.
+
+| # | Time | Shot | Camera | Native move / note |
+|---|---|---|---|---|
+| 1 | 0.0–1.8 | Earth's limb across the top, Central Asia below; a reticle searching, locks at 0.6; map layer on at 1.2 | oblique orbit (tilt 57°), lateral drift from frame 0 | the lock ping is the film's key sound |
+| 2 | 1.8–5.4 | the sea's blue becomes a whole printed page as we fall into it: paper grain, a halftone in the ink, a fold, waterlines along the east coast, graticule, Amu Darya and Syr Darya, town dots, the serif name growing to the frame centre | dive, 3,800 → 160 km, tilt 55° → 0°, accelerate then brake; the coast stays in frame | the ground beneath drains to grey |
+| 3 | 5.36–6.6 | a scanner bar sweeps down the frame and tears the page away (0.34 s): wind-streaked salt crust underneath, 咸海 left floating over it | settle 160 → 46 km | a 0.45 s suck-out before the tear; silence 1 from ~5.9 |
+| 4 | 6.6–7.8 | five upward scans 2025 → 2014 → 2009 → 2000 → 1989 → 1977, a year counter steps back | climb 29 → 900 km, ease-out | first sound after silence: the rewind |
+| 5 | 7.8–13.2 | **signature**: the whole sea, everything outside the old shore dimmed; six soft downward scans each print a shoreline ring (1977, 1989, 2000, 2009, 2014, 2025) at 1.8 / 1.2 / 0.9 / 0.6 / 0.9 s spacing; the lost band flashes; a light runs along the newest shore; reading 80 % → 7 % (dimmed while it rolls, bright when it lands) | nadir orbit: 980 → 600 km and 0° → −15° rotation on an accelerating curve (motion per second 1.2 → 3.9), braking in 0.3 s on the stop | the camera speeds up with the rings and stops with them |
+| 6 | 13.2–15.3 | held breath: the 2025 ring breathes; from 14.1 a reticle searches and locks on Muynak's old port at 14.7 | pan that brings the port to the centre (588 → 520 km, rotation to −12°) | the lock ping answers the opening |
+| 7 | 15.3–17.4 | the reticle holds the port through the push, the rest dimmed; 16.2 the port label with the ship horn; 16.5 the 1977 shoreline (measured) is drawn past the port, "1977 年岸线", the water lost since 1977 a faint wash | pure push on the port, 520 → 92 km, port at the centre | lands readable: the port at the old water's edge |
+| 8 | 17.4–23.4 | 17.4–18.6 the port slides left to give the line room; 18.6–20.4 a 4 px range line grows from the port with 10 km ticks and numbers every 50 km, a reticle and a rolling "km" at its tip, the reading rolling in the right third; destination marked at 19.2; lands on "95" as the narrator says it; a lit corridor follows the line | the camera chases the tip from the port to the sea (lens shift −700 → +60 px), then pulls back 104 → 245 km to show the whole distance | local contrast raised for this range; silence 2, 21.9–22.8 |
+| 9 | 23.4–24.0 | the ground streaks | whip pan north (~280 km in 0.6 s) with directional blur | the water was heard 0.6 s earlier |
+| 10 | 24.0–28.8 | Kok-Aral dike traced (24.0–24.6, slam on "dam"); 2001 ring at 25.2; the 2009 water grows outward from the 2001 shore (25.3–26.4) and the 2009 ring stamps where it stops; only the North Aral's water regains true colour; a light runs along the new shore; reading +37 % | push 44 → 24 km with a 7° turn | water growing outward = the turn |
+| 11 | 28.8–34.2 | north plate becomes 2025 under the climb; the label 咸海 slides from the empty basin and pins to the North Aral (30.6–31.2); colour returns everywhere | climb to orbit, tilt back to 50° | L-cut: the water fades under the climb |
+| 12 | 34.2–37.8 | the lock brackets open into the end-card frame; one last satellite pass sweeps behind the title | Earth turns under a dimmed oblique orbit | end card |
+
+## Score structure
+
+100 BPM, 4/4; every key action on a beat or half-beat (`demo/tools/cuecheck.py`: 0 ms on 26 cues). D minor, turning to D major at the dam.
+
+| Section | Time | Palette | Notes |
+|---|---|---|---|
+| Orbit | 0–1.8 | D drone (pulse bass with 2nd/3rd harmonics), Dm pad, FM telemetry plucks in 8ths, orbit hum, radio hiss, data chatter | lock ping D6 at 0.6, map ping A5 at 1.2 |
+| Dive | 1.8–4.95 | plucks to 16ths with the filter opening, hi-hat ticks, noise riser, gran cassa crescendo, rising tone, altitude-counter clicks | everything is sucked out 4.95–5.36 |
+| Tear | 5.4 | the map torn away: bass drum, gran cassa, timpani, a fortissimo low-brass stab (trombones, tuba, horns, D minor), crash, a crackling paper rip swept with the scan bar | one of the three heaviest moments |
+| Silence 1 | ~5.9–6.6 | thin wind; the tear decays into it | |
+| Rewind | 6.6–7.8 | the last 1.8 s of the film's own soundtrack played backwards and speeding up, a reversed tam-tam, counter ticks | the turn into the signature shot |
+| Rings | 7.8–13.2 | bass descends D–C–B♭–A–G with the chords Dm–C–B♭–A–Gm (two pad layers); tuba on each root, trombone on the fifth; a sub pulse on every beat, every half beat from 2000; ticks 8ths → 16ths; each ring: timpani on the root + bass drum + inharmonic metal ring + pen hiss; a reversed cymbal swells into a 0.24 s suck-out | acceleration by subdivision, not tempo |
+| Stop | 13.2–15.3 | the slam (bass drum, timpani, gran cassa, gong, metal clang), then low D, bowed cymbal, thin drone | the loudest moment of the film |
+| Muynak | 15.3–21.9 | distant ship horn (two detuned saws, long room) with a creak, timpani heartbeat every two beats, a low D/A drone whose filter opens with the range line, dry sand grains, ratchet ticks per 2 km (accent every 10 km), a hollow tock + ping when the reading lands | |
+| Silence 2 | 21.9–22.8 | wind only | first sound after it: one lap of water at 22.8, before the picture turns north |
+| North | 22.8–28.8 | whip crack and swish; a 0.22 s suck-out, then the dam slam (bass drum, timpani, knock, clash, low metal gate); D major: tuba, trombone, horns, a warm pad, bowed vibraphone, a cymbal swell that lands as the water arrives, glass-harp motif D5–A4–C♯5–F♯5–E5–D5 with echoes, vibraphone pulse; water bed | the only wet timbres in the film |
+| Climb | 28.8–34.2 | horns D3/A3/F♯4, tuba, bowed vibraphone, D-major pad; the motif on glass and FM ping together (dry and wet united); light pulse | pin ping at 31.2 |
+| End | 34.2–37.8 | low D hit, lock-ping echo, a soft sweep for the last pass, long tail | |
+
+Mix (in `mix.py`): stem gains frozen (music 10 dB under the voice while it speaks and ducked about 5 dB, pulse −8 dB, foley −6 dB, beds −17 dB); bus compression on music, pulse, foley and beds only, so the hits keep their weight; a master stage (−14.4 LUFS, true-peak limiter at −4.6 dBTP on 4× oversampled peaks; AAC adds back about 3 dB). Sub-bass: a 38 Hz high-pass (46 Hz, 4th order on hits) and a −5 dB shelf below 62 Hz on everything but the voice; the impacts carry their weight at 60–120 Hz (`punch()`): 20–60 Hz sits 16 dB under the full band, as in the dataviz demo. The film measures −13.8 LUFS, true peak −1.6 dBTP, LRA 5.3 LU. `tools/impactcheck.py`: the hard stop is the loudest momentary moment of the film, the dam slam −0.5 dB and the map tear −2.6 dB under it (each among the loudest 4 s of the film), and they follow dips of −4, −3 and −14 dB. Silences sit about 20 dB under the program.
+
+## Palette & props
+
+- Ground: Landsat true colour at orbit; the analysis grade from #070B0E to #A1A7A9 with a fifth of the chroma.
+- Marks #F2F5F6 with dark halos; the reading amber #FFBE55; the printed map: paper #ECE2CB, sea #8CB5DB, coast ink #1A3B6B, graticule in a faded red-brown, the serif name in #1F3F6B on the page and #D6EAFF over the sand.
+- The North Aral water returns to a lifted true colour inside a 0.75° circle; nothing else in the analysis layer is coloured.
+- Props: the printed map (Natural Earth historic-lake polygon as a distance field, rivers, two town dots), six measured shorelines (1977–2025), the North Aral rings (2001, 2009), the Kok-Aral dike traced on the 2025 image, the Muynak range line.
+- Narrator: Kokoro `bf_emma`, speeds 0.9–1.0.
+
+## End card
+
+The lock brackets open from the North Aral into a frame on the left: 地图上还写着海 (Noto Serif SC, the map's voice), *The Map Still Says Sea*, a rule, `SATELLITE BRIEFING · 卫星简报`, `LemoLab × Claude Opus 5.5`, over the dimmed Earth turning; a last satellite pass sweeps down behind it. 3.6 s. The "LemoLab × Claude Opus 5.5" sign-off belongs to this library's demo only; a user's film carries no LemoLab credit and no copy of this card.
+
+## Build notes
+
+```
+demo/
+ build.sh one command: voice → checks → events → video → mix → master → .srt → checks → poster
+ index.html two canvases (WebGL2 imagery, 2D marks), fonts
+ film.js render(t): camera keys, plate/scan state, every mark, readouts, subtitles, end card, EV
+ engine.js camera, project/unproject, plate shader (grade, soft scans, growth, printed map, water colour, whip blur)
+ overlay.js hairlines, brackets, readouts, transcript strip, text registry for readcheck
+ timeline.js beats, cues, ring schedule, narration (single source; tools/export.mjs → timeline.json, cues.json, voice/lines.json)
+ mix.py score, foley, beds, voice, mix → out/mix.wav + out/stems/
+ tools/ fetch_landsat.py, fetch_gibs.py, plates.py, bmng.py, vectors.py, mapfield.py, growth.py, fonts.py (data); lowcheck.py (sub-bass share);
+ export.mjs, voicefix.py (voice); cuecheck.py, subcheck.mjs, motioncheck.py, audiocheck.py, impactcheck.py, finalasr.py (checks)
+ assets/ plates/ (JPEG plates, water masks, mapfield.png, ko_grow.png, plates.json), vectors.json, raw/ (downloads + manifest.jsonl)
+ FACTS.md, CREDITS, TREATMENT.md, PRODUCTION_LOG.md, stills/styleframe.jpg
+```
+
+- `sh demo/build.sh` takes about 2 minutes on Apple silicon (the picture renders in ~20 s with 3 workers). `FETCH=1` first rebuilds the imagery (~25 minutes, ~3 GB of cached arrays in `assets/raw/`).
+- Checks it runs: `asr_check.py` with `small.en` (the base model hears "sea" as "C"), cue grid, subtitle single-line widths measured with the real fonts (widest line 578 px against 1100 px), `readcheck.mjs`, motion per second (no stretch over 1 s below 0.6 mean pixel change; the slowest second of the film is 1.06), the impact ranking.
+- Plates: region mosaics 3917 × 2652 at ~190 m for six years; detail plates at ~32–40 m for the landing, Muynak and Kok-Aral; Blue Marble world (4096 × 2048) and Central Asia. All sampled in one shader pass; memory about 1 GB of textures per render worker.
+- Demo-specific pitfalls: the 1977 Landsat 2 mosaic needs nearest-neighbour resampling, dropout-row repair, streak cleaning at 12° on land and one L1GS scene to close a hole in the north-west bay; the 1989 scene of path 161 on 16 August carries a dust plume across the sea and is excluded (`exclude` in `tools/plates_spec.json`); a dike-bounded polder 10–15 km west of Muynak has a straight edge that can read as a seam: it is dimmed while the port is centred and slides out of frame before the range line; the water masks need contour pieces along plate borders removed or a straight line appears in the North Aral; the map's place names other than 咸海 were dropped because a dive gives them less than the reading time they need.
+- Kokoro adds a breathy syllable after "Someone kept it."; `tools/voicefix.py` trims it before the speech check.
diff --git a/styles/satellite-briefing/STYLE.md b/styles/satellite-briefing/STYLE.md
new file mode 100644
index 0000000..af54371
--- /dev/null
+++ b/styles/satellite-briefing/STYLE.md
@@ -0,0 +1,114 @@
+# Satellite Briefing — Style Prompt
+
+> Real satellite imagery of a real place, graded down to an analyst's grey, with thin white measurement lines drawn on the ground: a lock-on reticle, outlines, a range line, one reading. One continuous zoom built from stacked imagery plates carries the viewer from orbit to the ground and back, and time can run inside one locked frame.
+> References (grammar only): open-source investigation films that annotate satellite pictures (thin lines on imagery, one claim per screen, the measuring gesture as the plot); Charles and Ray Eames' *Powers of Ten* (one continuous change of scale with a readout riding along); NASA Earth Observatory's *World of Change* (one place, one frame, time running). Copy none of their layouts, typefaces, icons or music, and never name them in the film.
+
+## 1. Essence, and what it is not
+
+- **The ground is a photograph**: real, licence-clean, georeferenced satellite or aerial imagery of the actual place. Nothing on the ground is drawn, stylised or generated.
+- **Two layers, two truths**: the imagery is what the satellite saw; the hairlines are what the analyst measured. Marks are thin, white, sparse, and sit on real coordinates.
+- **The grade moves with the story**: orbit in true colour, the analysis layer in grey, colour back only where the story turns.
+- **Scale is the camera**: one zoom from orbit to the ground built from nested plates, with an altitude readout and a scale bar from the same camera.
+- **One finding per screen**, in the single accent colour.
+
+Not Data Storytelling (a chart on paper; here the map is a photograph), not Sci-fi Hologram HUD (no glowing wireframes or invented interface chrome), not Blueprint (no drafting sheet), not Isometric Infographic (no diorama; real nadir or oblique views), not a keynote (no slides, header bars or chapter numbers).
+
+## 2. Materials & rendering
+
+- **Plates**: georeferenced rasters with a lon/lat bounding box, sampled in a shader by the point the camera ray hits, nested by resolution (world → region → detail) with feathered edges so a finer plate dissolves into the coarser one as the camera descends.
+- **Globe**: ray–sphere from a perspective camera, a thin atmosphere rim, limb shading at orbit only. Pass |C|² − R² from double precision; float32 alone fails at a few tens of kilometres.
+- **Time**: dated plates share one grid. A soft scan front (a satellite pass, never a hairline) swaps them: north → south forward, south → north for a rewind. Growth can run outward from the old edge, ordered by a distance map.
+- **The analyst's grade** (one uniform from colour to grey): luminance, local contrast from coarser mip levels, clarity around a wide mean, a shoulder so salt, snow and cloud stay below white, toned blue-black → cool silver that stops near 65 % grey, a fifth of the original chroma. White belongs to the marks.
+- **Marks**: a 2D overlay through the same world → screen function: hairlines 1.2–2.6 px with a 3–4 px dark halo, dashes for history and claims, corner brackets, ticks, leader lines. Lines draw on; outlines print behind the scan.
+- **Screen space only for instruments** (altitude, scale bar, imagery credit) and the transcript strip. Everything else is anchored to the ground.
+- **The claim layer** is a printed map drawn in the same shader from a distance field of the historical outline: paper grain that stays a few pixels wide at any zoom, a halftone in the ink, coast and waterlines, graticule, rivers, the serif name. Exact at every altitude.
+- **Post**: light grain in ffmpeg, a vignette, directional blur only on whip pans.
+
+## 3. Colour logic
+
+- Neutral ground: grey, roughly 3–65 % in value. White means *measured*.
+- One accent (warm, e.g. amber) for the single reading on screen, never decoration.
+- A second hue may mark the **claim** the imagery tests (a map, a plan, a promise): flat, cartographic, never used for anything measured.
+- True colour is evidence: at orbit, and again only where the story turns (the field that greened, the water that returned).
+- No false-colour ramps over the imagery.
+
+Example (our demo): ground #070B0E → #A1A7A9, marks #F2F5F6, reading #FFBE55, map blue rgb(46, 112, 206).
+
+## 4. Type & subtitles
+
+- **Roles**: a light condensed grotesk for the reading (96–130 px, e.g. Barlow Condensed); a monospace for instruments, coordinates and dates (20–34 px, e.g. IBM Plex Mono); a sans for labels in the film's language (24–42 px, e.g. Noto Sans SC); a serif only for the claim layer and the title. The map speaks serif, the analyst sans. OFL, self-hosted, CJK subset.
+- **Labels attach to the ground** with a leader line. The reading sits in the right third beside what it measures: a small label above, a source note below ("Landsat, measured", "World Bank").
+- **Subtitles are a transcript strip** at the bottom left: a 2 px white rule, a dark plate fading right, left-aligned. Bilingual = two single lines, the film's language on top: measure each with the real font (`nowrap`) and split into two cues rather than wrap or shrink.
+- Nothing below 20 px at 1080p, the imagery credit included.
+- Hold subtitles ≥ max(1.8 s, speech + 0.6 s); a rolling counter reports its landing value; labels stay ≥ characters ÷ 4.5 + 1.5 s (CJK).
+
+## 5. Motion quality
+
+- The camera never stops: distance interpolates in log space, segments ease, holds keep a 2–5 % creep or a slow rotation. No frozen frame longer than a second.
+- Marks arrive by being made: a line grows, an outline prints behind the scan, a counter rolls and lands with a small pop, a reticle snaps with overshoot.
+- Time changes are scans, never dissolves; their spacing tells the speed (equal steps for steady change, shrinking steps for a collapse), and the camera moves with them: a slow orbit or push that accelerates as the steps shorten and brakes on the last one.
+- Never moves: the ground under its annotations, the instrument positions.
+
+## 6. Camera grammar
+
+| Move | What it expresses | Can serve |
+|---|---|---|
+| Oblique orbit, limb in frame | scale, context, distance | an opening; a return; an end card |
+| Dive (log zoom, tilt to nadir) | going to look for yourself | a reveal; checking a claim |
+| Locked nadir frame, slow creep | evidence, comparison | time running in one place; a measurement |
+| Push-in on a point | singling out | one town, one dam, one field |
+| Track along a line | travelling a distance | measuring; a river, a road, a border |
+| Whip pan with blur | a new subject at the same altitude | the counter-example; "meanwhile" |
+| Climb back to orbit | consequence, perspective | an ending; a summary |
+
+At key moments the subject fills at least a third of the frame height; reading right, subtitles bottom left, instruments in the corners, no label in the subtitle strip. Transitions: scan-line swaps, a map layer switched off, zooming through plates, whip pans, the reticle opening into the end card. Avoid crossfades between unrelated places and hard cuts inside a zoom.
+
+## 7. Sound palette
+
+- **Telemetry**: FM pings (the lock-on ping is a key sound worth bringing back), dry ticks on the grid that divide to accelerate, filtered-noise scans (rising for a rewind, falling for forward time), servo whines for the reticle, a ratchet for a range line.
+- **Weight**: timpani, bass drum, gran cassa, bowed cymbal, a tam-tam reversed when time runs backwards. Measurements land on a pitched hit.
+- **Synthesis**: a pulse bass with audible 2nd and 3rd harmonics, detuned-saw pads under a low-pass, risers for dives.
+- **Beds**: orbit hum, radio hiss, data chatter; the place's own ambience (wind, water, a far horn), sparingly, often as J- or L-cuts.
+- **Dry until the turn**: electronics, skins and metal, then one organic wet timbre (glass, water, bowed metal) arrives with the turn.
+- **Silence**: music and foley stop, a thin bed stays, impacts may decay into it; the first sound after it is the turn. A short suck-out (0.2–0.45 s, music and foley down 25 dB) before the heaviest impacts makes them land: the claim torn away, a hard stop, a structure closing.
+- **Mix**: voice ~10 dB over music; the two or three designed impacts are the loudest moments (keep them out of the bus compressor, give them mid-range body such as a low-brass stab); −14 LUFS, true peak ≤ −1.2 dB. Voice: a calm analyst, short declarative lines.
+
+## 8. Native moves
+
+- **The map against the photograph.** The camera falls into the printed map of the claim until it fills the frame; a scanner bar tears it away and the ground is underneath; the name outlives the page. *Fits content like:* a lake still on maps but gone; a cleared concession forest; an old coastline; a planned city never built.
+- **Time rings in a locked frame.** Dated plates scan in one by one; each leaves its outline, and the band lost between two rings flashes. *Fits content like:* a glacier's retreat; a city's sprawl; a delta's erosion; a fire scar season after season.
+- **The range line.** Mark the destination, grow a ticked line from A to B, chase the tip while the reading counts up beside it, land on the number, pull back to show the whole distance. *Fits content like:* how far a shore moved; a village to its well; a camp to the border; a dam to the town downstream.
+- **The dive and the climb.** One zoom from orbit to the ground, or back. *Fits content like:* locating anything; a scale reveal; an ending that returns one place to the planet.
+- **Colour returns where the story turns.** Only the subject regains true colour inside the grey. *Fits content like:* an irrigated field; a refilled reservoir; a regrown forest.
+- **The reticle becomes the frame**: the lock-on brackets open out to hold the end card.
+
+## 9. Pitfalls of the medium
+
+- **Licences**: not usable: Google Earth/Maps, Bing, Esri World Imagery, Mapbox Satellite, Planet, Maxar, news photos, AI-generated imagery. EOX Sentinel-2 cloudless is CC BY 4.0 only for 2016 (2018 onward is NC). Raw Copernicus Sentinel data need "Contains modified Copernicus Sentinel data [year]"; check the user's rules. Public domain or free with credit: USGS Landsat (1972 on, worldwide), USGS NAIP (US, ~1 m), NASA Blue Marble, MODIS, VIIRS. Burn a readable credit into the picture and list every asset in `CREDITS`.
+- **Getting it**: Landsat Collection 2 from the Microsoft Planetary Computer STAC (no account; its data API reprojects a scene to a lon/lat box) or USGS EarthExplorer; MODIS, VIIRS and Blue Marble by date from the NASA GIBS WMS. Log every request.
+- **Seams**: paths imaged on other days disagree. One date per path, neighbours a day apart, each scene gain-matched to a homogeneous reference on stable land, feathered overlaps, holes filled from the same year only (an outline dated 1989 must be 1989).
+- **Old sensors**: Landsat MSS (to 1992) lacks blue and shortwave infrared and drops scan lines: nearest-neighbour resampling, thin near-zero rows as nodata filled from same-year scenes, residual streaks at the scan angle cleaned on land only (never on the measured water), colour matched to a modern mosaic. Inspect every year at full contrast: one bright streak across a lake reads as a render error.
+- **Plumes and haze** cross water as bright diagonal bands: swap the scene for another date of the same year rather than painting it out.
+- **Edges**: resampling against nodata darkens scene rims (erode the mask); drop contour pieces along a plate border. Real straight edges (dikes, polders) can read as seams: frame them out or label them.
+- **Grey mush at close range**: low-altitude salt or sand flattens into one grey; raise local contrast for that range only and dim outside the measured corridor.
+- **Water and cloud**: MNDWI where shortwave infrared exists, only the basin you measure; clouds read as features in grey, so use the dry season.
+- **Facts**: every number from an official source or labelled as measured, with method and scene IDs on file; measure on the date you show.
+
+## 10. Engine
+
+- `demo/engine.js`: `makeCamera({lat, lon, d, tilt, heading, sx, sy})`, `project()` / `unproject()`, the WebGL2 plate shader (nested plates, time scans, growth map, analyst grade, printed-map layer, whip blur).
+- `demo/overlay.js`: hairlines, brackets, `readout`, the measured single-line `subtitle` strip, `text` with a registry for `window.TEXTS`.
+- `demo/tools/`: `fetch_landsat.py` (STAC, one date per path, compositing with a source map, same-year gap fill), `plates.py` (normalisation, streak cleaning, water masks, areas), `vectors.py` (shorelines, distances), `mapfield.py` (the printed map), `growth.py`.
+- Minimal example, not in the demo: a glacier: one plate per date, NDSI instead of MNDWI, one outline per year, a locked nadir camera while three scans print three rings.
+
+## 11. Variation space
+
+The agent decides the place or places, whether there is a claim layer, which dates, the structure, the camera path, the accent hue and where colour comes back.
+
+- **Structures**: a locked time-lapse of one place ending in one push-in; a route that tracks a river from source to mouth with a reading at each stop; a comparison that whips between two places at one scale.
+- **Openings**: a ground-level detail (one building, one boat) that climbs to reveal its scale; a black frame a scan line paints in row by row; an oblique orbit with a searching reticle.
+- **Endings**: the climb back to orbit; a last measurement that lands and holds in silence; the claim layer redrawn to match the ground.
+
+---
+
+How our demo was made (story, shots, score, end card, build): [DEMO.md](DEMO.md). Read it after your treatment exists.
diff --git a/styles/satellite-briefing/demo/CREDITS b/styles/satellite-briefing/demo/CREDITS
new file mode 100644
index 0000000..b0dd024
--- /dev/null
+++ b/styles/satellite-briefing/demo/CREDITS
@@ -0,0 +1,51 @@
+The Map Still Says Sea (地图上还写着海) — Satellite Briefing (Lemo-Opuscar) · LemoLab × Claude Opus 5.5
+
+No AI-generated images, no stock footage, no Google/Bing/Esri/Mapbox basemaps. Every pixel of ground is a
+public-domain satellite image; every line is drawn in code. Exact download URLs (one per request, with the
+access date) are logged in assets/raw/manifest.jsonl; the Landsat scene IDs behind every plate and pixel are
+in assets/plates/plates.json and assets/raw/landsat/<plate>.npz (key "src").
+
+IMAGERY (burned-in credit, bottom right, whole film: "影像 Landsat · USGS/NASA Blue Marble · NASA")
+- Landsat 2 MSS (1977), Landsat 4/5 TM (1989, 2001, 2009), Landsat 7 ETM+ (2000), Landsat 8/9 OLI (2014, 2025):
+ U.S. Geological Survey / NASA, Collection 2 Level-1 (MSS) and Level-2 surface reflectance (TM/ETM+/OLI).
+ Public domain ("federally created data and therefore reside in the public domain", USGS data citation page).
+ Credit: "Landsat imagery courtesy of the U.S. Geological Survey."
+ Accessed 2026-10-15 through the Microsoft Planetary Computer STAC + data API
+ (https://planetarycomputer.microsoft.com, collections landsat-c2-l1 and landsat-c2-l2), which reprojects
+ each scene to a lon/lat box; the scenes were composited, colour-normalised and graded by tools/ in this folder.
+- NASA Blue Marble: Next Generation (globe and Central Asia), via NASA GIBS WMS
+ (https://gibs.earthdata.nasa.gov, layer BlueMarble_NextGeneration). NASA imagery, free to reuse with credit.
+ "We acknowledge the use of imagery provided by services from NASA's Global Imagery Browse Services (GIBS),
+ part of NASA's Earth Science Data and Information System (ESDIS)."
+- Modifications: reprojection, mosaicking, per-scene gain matching, MSS scan-line dropout repair, grading to
+ grey, water masks and shorelines derived from the imagery. The credits above still apply.
+
+VECTORS
+- Natural Earth, ne_10m_lakes_historic ("Aral Sea", historic extent) and ne_10m_rivers_lake_centerlines (Amu Darya,
+ Syr Darya) — the printed-map layer (paper, waterlines and graticule are drawn in the shader). Public domain.
+ https://github.com/nvkelso/natural-earth-vector
+
+FACTS
+- See FACTS.md: NASA Earth Observatory, USGS EROS Earthshots, NASA MODIS gallery, World Bank (Feature Story 2008;
+ Implementation Completion Report ICR0000874, 2011). Measured values are labelled as measured on screen.
+
+FONTS (SIL Open Font License 1.1, licence texts in fonts/; Chinese fonts subset with the Google Fonts API &text=)
+- Barlow Condensed — The Barlow Project Authors (readouts, English subtitle line)
+- IBM Plex Mono — IBM (instruments, year labels, credit line)
+- Noto Sans SC — Google / Adobe (Chinese labels and subtitle line)
+- Noto Serif SC — Google / Adobe (the map layer and the title)
+
+VOICE
+- Kokoro-82M (hexgrad), voice bf_emma, Apache License 2.0; run locally via kokoro-onnx (MIT) through the
+ library's core/tts/tts.py. Speech check: faster-whisper small.en (MIT; OpenAI Whisper weights, MIT).
+
+MUSIC & SOUND
+- Original score and sound design, written for this film in mix.py: synthesis in numpy (pulse bass, FM telemetry
+ plucks and pings, filtered-noise beds and sweeps, synthesized wind, water, ship horn, ratchet) plus sampled
+ instruments played through the library's core/audio/sampler.py:
+ timpani, concert bass drum, gran cassa, tam-tam (reversed), gong, suspended cymbal (bowed, stick, crescendo,
+ reversed hit), clash cymbals, closed hi-hat, vibraphone, bowed vibraphone, glass harp, French horn (sustain and
+ staccato), trombone (sustain and staccato), tuba (sustain and staccato).
+- Samples (CC0): FreePats project (freepats.zenvoid.org), VS Chamber Orchestra: Community Edition (Versilian
+ Studios), Versilian Community Sample Library (Versilian Studios).
+- Procedural helpers (click, whoosh, creak, compress, limit) from the library's core/audio/sfx.py.
diff --git a/styles/satellite-briefing/demo/FACTS.md b/styles/satellite-briefing/demo/FACTS.md
new file mode 100644
index 0000000..538e00b
--- /dev/null
+++ b/styles/satellite-briefing/demo/FACTS.md
@@ -0,0 +1,68 @@
+# 事实表:《地图上还写着海》
+
+片中每一个数字、年份和事实性说法都在下表里:说法 → 官方出处(URL)→ 原文引用。引文为英文原文。NASA Earth Observatory 的旧域名 earthobservatory.nasa.gov 已 301 跳转到 science.nasa.gov,下面给的是跳转后的地址。核对日期:2026-10-15。
+
+两类数字要分开看:
+
+- **官方数字**:直接来自 NASA、USGS、世界银行的原文(下表 A)。
+- **影像实测**:本片在 USGS Landsat 影像上自己量的(年轮岸线、"还在水下的部分"百分比、莫伊纳克到海边的距离,下表 B)。画面上都标了"Landsat 测算 / 影像实测",方法和所用景号写在这里,并和官方数字逐一对照。
+
+## A. 官方数字与说法
+
+| # | 片中说法(画面 / 旁白) | 出处 | 原文 |
+|---|---|---|---|
+| A1 | 地图标签"咸海"、"地图 · 约 68,000 km²" | USGS EROS Earthshots《Aral Sea, Kazakhstan and Uzbekistan》 https://eros.usgs.gov/earthshots/aral-sea-kazakhstan-and-uzbekistan | "The Aral Sea once covered about 68,000 square kilometers…" |
+| A1′ | 地图图层:蓝色海面、岸线、等深式的岸线晕线、河流(阿姆河、锡尔河) | Natural Earth `ne_10m_lakes_historic`(公有领域),要素 "Aral Sea",featurecla = "Historic Lake";河流来自 `ne_10m_rivers_lake_centerlines`(公有领域)。岸线内的晕线是地图的印刷惯例,不代表水深数据 | 多边形面积本片算得 67,501 km²,与 UNEP GEAS 2014 公报 "approximately 66,000 km2 – 67, 500 km2 (depending on source)" 一致 |
+| A2 | 旁白 "On the map, this is still a sea." | Natural Earth 现行湖泊图层 `ne_10m_lakes` 仍以 "North Aral Sea" / "South Aral Sea" 命名这两块水体;地名本身就叫"海" | 修辞句,不含数字 |
+| A3 | 旁白 "Then its rivers went to the cotton fields." | NASA Earth Observatory, World of Change: Shrinking Aral Sea https://science.nasa.gov/earth/earth-observatory/world-of-change/aral-sea | "In the 1960s, the Soviet Union undertook a major water diversion project…" / "…were used to transform the desert into farms for cotton and other crops." |
+| A4 | 旁白 "By 2014, the eastern basin had dried."、字幕"到 2014 年,东边的湖盆干涸了" | NASA Earth Observatory, *The Aral Sea Loses Its Eastern Lobe*(2014-09-26 Image of the Day) https://science.nasa.gov/earth/earth-observatory/the-aral-sea-loses-its-eastern-lobe-84437 | "For the first time in modern history, the eastern basin of the South Aral Sea has completely dried." |
+| A5 | 旁白 "This was a fishing port."、标签"莫伊纳克 · 旧渔港" | NASA MODIS Image Gallery, 2014-05-04 https://modis.gsfc.nasa.gov/gallery/individual.php?db_date=2014-05-04 | "…a vibrant center of the Aral Sea's fishing industry" / "…rusting ship hulks sitting on dry land, far from any water." |
+| A6 | 标签"科卡拉尔大坝 · 2005 年建成 · 长 13 km" | 世界银行 2008 Feature Story https://documents1.worldbank.org/curated/en/888771468089960580/pdf/462360BRI0Box31e0no0FS231Kazakhstan.pdf | "the 13 km Kok-Aral Dike … Completion was in August 2005." |
+| A7 | 读数"北咸海水面 +37% · 2001→2009 · 世界银行";年轮年份 2001、2009 与之对齐 | 世界银行完工报告 ICR0000874(2011-06-21),SYR DARYA CONTROL AND NORTHERN ARAL SEA PHASE-1 PROJECT(P046045) https://documents1.worldbank.org/curated/en/189171468038051254/pdf/ICR8740P0460450Official0Use0Only090.pdf | "increased by 37% from 2,400 km2 in 2001 to 3,300 km2 in 2009" |
+| A8 | 旁白 "And the water came back." | 同 A7 | "NAS water levels above Baltic Sea Level (BSL) increased from a pre-project low of 38 m to the desired design level of 42 m." |
+| A9 | 旁白 "The sea did not come back on its own. Someone kept it." | 同 A7(项目即"有人":哈萨克斯坦政府与世界银行的 SYNAS 项目) | 修辞句,不含数字 |
+| A10 | 瞄准框读数"北纬 45° 东经 60°" | Natural Earth 历史湖泊多边形的中心约 45.1°N、59.8°E,取整 | 位置标注 |
+| A11 | 影像署名"影像 Landsat · USGS/NASA Blue Marble · NASA" | USGS 数据引用页 https://www.usgs.gov/centers/eros/data-citation ;NASA 影像使用说明 https://science.nasa.gov/earth/faq/ | "federally created data and therefore reside in the public domain";"freely available for re-publication or re-use, including commercial purposes… We ask that NASA be given credit" |
+
+## B. 影像实测(本片自己量的)
+
+### B1. 年轮与"还在水下的部分"
+
+方法:每一年用该年 7–10 月无云的 Landsat 场景拼成一张经纬度栅格(每像素 0.0024° 经度 × 0.0017° 纬度,约 190 m)。水体:TM/ETM+/OLI 用 MNDWI(绿 − 短波红外)与 NDWI 联合阈值,MSS 用绿 − 近红外(0.8–1.1 µm)与近红外暗值;只保留落在 Natural Earth 历史海面内、面积 ≥ 25 km² 的水体,填掉 < 3 km² 的小岛。按纬度修正像元面积后求和。岸线 = 水体掩膜 0.5 等值线(marching squares),简化到约 115 m。百分比 = 实测水面 ÷ 68,000 km²(A1)。代码:`tools/fetch_landsat.py`、`tools/plates.py`、`tools/vectors.py`;结果在 `assets/vectors.json` 与 `assets/plates/plates.json`(含每个像元来自哪一景)。
+
+| 年份(画面) | 所用影像 | 实测水面 | 画面读数 |
+|---|---|---|---|
+| 1977 | Landsat 2 MSS,34 景,1977-07-25 至 09-22(含 6 景同年补洞,其中 1 景 L1GS);扫描线掉线已修补(见 B4) | 54,403 km² | 80% |
+| 1989 | Landsat 4/5 TM,27 景,1989-06-14 至 10-13(排除了 1989-08-16 第 161 轨道:湖面上有一道沙尘羽流,改用 09-17) | 39,860 km² | 59% |
+| 2000 | Landsat 7 ETM+,28 景,2000-07-17 至 09-29 | 26,879 km² | 40% |
+| 2009 | Landsat 5 TM,27 景,2009-07-14 至 09-16 | 14,366 km² | 21% |
+| 2014 | Landsat 8 OLI,28 景,2014-07-03 至 09-16 | 7,061 km² | 10% |
+| 2025 | Landsat 8/9 OLI,28 景,2025-08-18 至 08-31 | 5,079 km² | 7% |
+
+与官方数字对照:
+
+- NASA EO 2001(*The Shrinking Aral Sea*,https://science.nasa.gov/earth/earth-observatory/the-shrinking-aral-sea-1396/ ):"In the last 30 years, more than 60 percent of the lake has disappeared." 本片 2000 年实测剩 39.5%,即消失约 60%。一致。
+- 世界银行 2008 新闻稿:"Between 1960 and 2004, the sea's surface area shrank almost 70 percent." 2004 年落在本片 2000 年(39.5%)与 2009 年(21.1%)之间,约 30%。一致。
+- USGS Earthshots:"It is now only about 10% of the size it was in 1960." NASA EO 2024(https://science.nasa.gov/earth/earth-observatory/dunes-and-desert-replace-the-aral-sea-152887 ):"…has decreased to approximately 10 percent of its original area." 本片 2014 年 10.4%,2025 年 8 月 7.5%(当年夏末偏枯;官方是约数)。画面最后停在实测的 7%,不写"约 10%",避免两个数字打架。
+- 1977 年读数之前的"100%"是地图上的海(A1),不对应任何一张影像。
+
+### B2. 莫伊纳克旧港到今天的海边:95 km
+
+- 起点:莫伊纳克海岸边的废船区(旧港岸线),59.030°E、43.785°N。
+- 终点:2025 年 8 月 Landsat 拼接图上南咸海西湖盆(今天仍在的那片海)距起点最近的水体像元,58.323°E、44.467°N。
+- 方法:只在包含西湖盆的连通水体里找最近点,用大圆距离(R = 6371.0088 km):94.5 km,画面和旁白取 95 km。
+- 对照:ESA 2003 年图片说明(https://www.esa.int/ESA_Multimedia/Images/2003/07/Fishing_town_Muynak_is_now_150_km_from_water )"Now the town is 150 km away from water."——那是 2003 年、量到当时另一处水体,参考点不同,所以本片不用 150 km,只用自己按公开方法实测的数。
+
+### B3. 科卡拉尔大坝的位置
+
+白线沿 2025 年 Landsat 上可见的坝体描出:西北臂 60.750°E 46.120°N → 拐角 60.788°E 46.087°N → 东臂 60.865°E 46.088°N。肉眼可见的坝体约 10 km;画面上的"长 13 km"用的是世界银行的数字(A6),不是这条白线的长度。
+
+### B4. 影像修补(不改变测量)
+
+- 1977 年 Landsat 2 MSS 的扫描线掉线(整行近零)按无效像元处理,由相邻场景补;残留的细条纹(约 12° 方向的长直线、请求分块之间的 1 像素接缝)只在陆地上用跨线中值替换,湖面与岸线不动(岸线就是测量对象)。
+- 1989 年换掉一景带沙尘羽流的场景,同年 09-17 的同一轨道代替。
+- 面积按修补后的影像重新测了一遍(上表):1977 年比修补前少 0.3%,1989 年因换景少 1.0%,两年的画面读数(80%、59%)都没有变。
+
+## C. 终渲前对照
+
+终渲前逐句核对了 `timeline.js` 里的 10 句旁白与中英字幕、`film.js` 里的全部画面文字,以及 `cues.json`、`satellite-briefing.srt`:每个数字、年份都能在上表找到出处;没有表外的数字。
diff --git a/styles/satellite-briefing/demo/assets/plates/plates.json b/styles/satellite-briefing/demo/assets/plates/plates.json
new file mode 100644
index 0000000..dc0cd43
--- /dev/null
+++ b/styles/satellite-briefing/demo/assets/plates/plates.json
@@ -0,0 +1,1522 @@
+{
+ "r2025": {
+ "plate": [
+ 55.3,
+ 42.9,
+ 64.7,
+ 47.4
+ ],
+ "W": 3917,
+ "H": 2652,
+ "dlon": 0.0024,
+ "dlat": 0.001697056274847714,
+ "scenes": [
+ {
+ "id": "LC09_L2SP_161028_20250819_02_T1",
+ "date": "2025-08-19",
+ "cloud": 0.0,
+ "pixels": 1029018
+ },
+ {
+ "id": "LC09_L2SP_161029_20250819_02_T1",
+ "date": "2025-08-19",
+ "cloud": 0.0,
+ "pixels": 840746
+ },
+ {
+ "id": "LC08_L2SP_160030_20250820_02_T1",
+ "date": "2025-08-20",
+ "cloud": 0.0,
+ "pixels": 538587
+ },
+ {
+ "id": "LC08_L2SP_160029_20250820_02_T1",
+ "date": "2025-08-20",
+ "cloud": 0.92,
+ "pixels": 540045
+ },
+ {
+ "id": "LC09_L2SP_161027_20250819_02_T1",
+ "date": "2025-08-19",
+ "cloud": 0.03,
+ "pixels": 323550
+ },
+ {
+ "id": "LC09_L2SP_161030_20250819_02_T1",
+ "date": "2025-08-19",
+ "cloud": 0.0,
+ "pixels": 350939
+ },
+ {
+ "id": "LC08_L2SP_162027_20250818_02_T1",
+ "date": "2025-08-18",
+ "cloud": 0.01,
+ "pixels": 266688
+ },
+ {
+ "id": "LC08_L2SP_160028_20250820_02_T1",
+ "date": "2025-08-20",
+ "cloud": 0.02,
+ "pixels": 539386
+ },
+ {
+ "id": "LC08_L2SP_162028_20250818_02_T1",
+ "date": "2025-08-18",
+ "cloud": 0.09,
+ "pixels": 537494
+ },
+ {
+ "id": "LC08_L2SP_162029_20250818_02_T1",
+ "date": "2025-08-18",
+ "cloud": 0.04,
+ "pixels": 538096
+ },
+ {
+ "id": "LC09_L2SP_159030_20250821_02_T1",
+ "date": "2025-08-21",
+ "cloud": 0.0,
+ "pixels": 395203
+ },
+ {
+ "id": "LC09_L2SP_159029_20250821_02_T1",
+ "date": "2025-08-21",
+ "cloud": 0.0,
+ "pixels": 535646
+ },
+ {
+ "id": "LC08_L2SP_160027_20250820_02_T1",
+ "date": "2025-08-20",
+ "cloud": 0.17,
+ "pixels": 228079
+ },
+ {
+ "id": "LC08_L2SP_162030_20250818_02_T1",
+ "date": "2025-08-18",
+ "cloud": 0.01,
+ "pixels": 346999
+ },
+ {
+ "id": "LC08_L2SP_163027_20250825_02_T1",
+ "date": "2025-08-25",
+ "cloud": 0.0,
+ "pixels": 266505
+ },
+ {
+ "id": "LC09_L2SP_159028_20250821_02_T1",
+ "date": "2025-08-21",
+ "cloud": 0.0,
+ "pixels": 534873
+ },
+ {
+ "id": "LC08_L2SP_163028_20250825_02_T1",
+ "date": "2025-08-25",
+ "cloud": 0.0,
+ "pixels": 536627
+ },
+ {
+ "id": "LC08_L2SP_163029_20250825_02_T1",
+ "date": "2025-08-25",
+ "cloud": 0.0,
+ "pixels": 481768
+ },
+ {
+ "id": "LC09_L2SP_158030_20250830_02_T1",
+ "date": "2025-08-30",
+ "cloud": 0.0,
+ "pixels": 367474
+ },
+ {
+ "id": "LC09_L2SP_158029_20250830_02_T1",
+ "date": "2025-08-30",
+ "cloud": 0.0,
+ "pixels": 330168
+ },
+ {
+ "id": "LC09_L2SP_159027_20250821_02_T1",
+ "date": "2025-08-21",
+ "cloud": 0.12,
+ "pixels": 221564
+ },
+ {
+ "id": "LC08_L2SP_163030_20250825_02_T1",
+ "date": "2025-08-25",
+ "cloud": 0.0,
+ "pixels": 208391
+ },
+ {
+ "id": "LC09_L2SP_164027_20250824_02_T1",
+ "date": "2025-08-24",
+ "cloud": 0.06,
+ "pixels": 129455
+ },
+ {
+ "id": "LC09_L2SP_158028_20250830_02_T1",
+ "date": "2025-08-30",
+ "cloud": 0.02,
+ "pixels": 125327
+ },
+ {
+ "id": "LC09_L2SP_164028_20250824_02_T1",
+ "date": "2025-08-24",
+ "cloud": 0.0,
+ "pixels": 95184
+ },
+ {
+ "id": "LC09_L2SP_164029_20250824_02_T1",
+ "date": "2025-08-24",
+ "cloud": 0.0,
+ "pixels": 42
+ },
+ {
+ "id": "LC08_L2SP_157030_20250831_02_T1",
+ "date": "2025-08-31",
+ "cloud": 0.0,
+ "pixels": 410
+ },
+ {
+ "id": "LC08_L2SP_157029_20250831_02_T1",
+ "date": "2025-08-31",
+ "cloud": 0.02,
+ "pixels": 0
+ },
+ {
+ "id": "LC09_L2SP_158027_20250830_02_T1",
+ "date": "2025-08-30",
+ "cloud": 6.45,
+ "pixels": 936
+ },
+ {
+ "id": "LC09_L2SP_164030_20250824_02_T1",
+ "date": "2025-08-24",
+ "cloud": 0.0,
+ "pixels": 0
+ },
+ {
+ "id": "LC08_L2SP_157028_20250831_02_T1",
+ "date": "2025-08-31",
+ "cloud": 0.05,
+ "pixels": 0
+ },
+ {
+ "id": "LC08_L2SP_165027_20250823_02_T1",
+ "date": "2025-08-23",
+ "cloud": 0.9,
+ "pixels": 0
+ }
+ ],
+ "water_km2": 5079.1,
+ "coverage": 0.9924
+ },
+ "r1989": {
+ "plate": [
+ 55.3,
+ 42.9,
+ 64.7,
+ 47.4
+ ],
+ "W": 3917,
+ "H": 2652,
+ "dlon": 0.0024,
+ "dlat": 0.001697056274847714,
+ "scenes": [
+ {
+ "id": "LT04_L2SP_161028_19890917_02_T1",
+ "date": "1989-09-17",
+ "cloud": 1.0,
+ "pixels": 940419
+ },
+ {
+ "id": "LT04_L2SP_161029_19890917_02_T1",
+ "date": "1989-09-17",
+ "cloud": 1.0,
+ "pixels": 831691
+ },
+ {
+ "id": "LT05_L2SP_160030_19890614_02_T1",
+ "date": "1989-06-14",
+ "cloud": 0.0,
+ "pixels": 537849
+ },
+ {
+ "id": "LT05_L2SP_160029_19890614_02_T1",
+ "date": "1989-06-14",
+ "cloud": 0.0,
+ "pixels": 529295
+ },
+ {
+ "id": "LT04_L2SP_161027_19890917_02_T1",
+ "date": "1989-09-17",
+ "cloud": 8.0,
+ "pixels": 364207
+ },
+ {
+ "id": "LT05_L2SP_160028_19890614_02_T1",
+ "date": "1989-06-14",
+ "cloud": 0.0,
+ "pixels": 524597
+ },
+ {
+ "id": "LT04_L2SP_161030_19890917_02_T1",
+ "date": "1989-09-17",
+ "cloud": 5.0,
+ "pixels": 361689
+ },
+ {
+ "id": "LT05_L2SP_162027_19890916_02_T1",
+ "date": "1989-09-16",
+ "cloud": 0.0,
+ "pixels": 249095
+ },
+ {
+ "id": "LT05_L2SP_162028_19890916_02_T1",
+ "date": "1989-09-16",
+ "cloud": 1.0,
+ "pixels": 541102
+ },
+ {
+ "id": "LT05_L2SP_162029_19890916_02_T1",
+ "date": "1989-09-16",
+ "cloud": 2.0,
+ "pixels": 540876
+ },
+ {
+ "id": "LT05_L2SP_159030_19891013_02_T1",
+ "date": "1989-10-13",
+ "cloud": 0.0,
+ "pixels": 381442
+ },
+ {
+ "id": "LT05_L2SP_159029_19891013_02_T1",
+ "date": "1989-10-13",
+ "cloud": 0.0,
+ "pixels": 535887
+ },
+ {
+ "id": "LT05_L2SP_160027_19890614_02_T1",
+ "date": "1989-06-14",
+ "cloud": 0.0,
+ "pixels": 235262
+ },
+ {
+ "id": "LT05_L2SP_159028_19891013_02_T1",
+ "date": "1989-10-13",
+ "cloud": 0.0,
+ "pixels": 531541
+ },
+ {
+ "id": "LT05_L2SP_162030_19890916_02_T1",
+ "date": "1989-09-16",
+ "cloud": 2.0,
+ "pixels": 372273
+ },
+ {
+ "id": "LT04_L2SP_163027_19890729_02_T1",
+ "date": "1989-07-29",
+ "cloud": 9.0,
+ "pixels": 247222
+ },
+ {
+ "id": "LT04_L2SP_163028_19890729_02_T1",
+ "date": "1989-07-29",
+ "cloud": 7.0,
+ "pixels": 534531
+ },
+ {
+ "id": "LT04_L2SP_163029_19890729_02_T1",
+ "date": "1989-07-29",
+ "cloud": 4.0,
+ "pixels": 469908
+ },
+ {
+ "id": "LT05_L2SP_158030_19890718_02_T1",
+ "date": "1989-07-18",
+ "cloud": 2.0,
+ "pixels": 368380
+ },
+ {
+ "id": "LT05_L2SP_158029_19890718_02_T1",
+ "date": "1989-07-18",
+ "cloud": 1.0,
+ "pixels": 375018
+ },
+ {
+ "id": "LT05_L2SP_159027_19891013_02_T1",
+ "date": "1989-10-13",
+ "cloud": 3.0,
+ "pixels": 236124
+ },
+ {
+ "id": "LT05_L2SP_158028_19890718_02_T1",
+ "date": "1989-07-18",
+ "cloud": 0.0,
+ "pixels": 169014
+ },
+ {
+ "id": "LT04_L2SP_163030_19890729_02_T1",
+ "date": "1989-07-29",
+ "cloud": 0.0,
+ "pixels": 214731
+ },
+ {
+ "id": "LT05_L2SP_164027_19890829_02_T1",
+ "date": "1989-08-29",
+ "cloud": 2.0,
+ "pixels": 112533
+ },
+ {
+ "id": "LT05_L2SP_164028_19890829_02_T1",
+ "date": "1989-08-29",
+ "cloud": 0.0,
+ "pixels": 86739
+ },
+ {
+ "id": "LT05_L2SP_164029_19890829_02_T1",
+ "date": "1989-08-29",
+ "cloud": 0.0,
+ "pixels": 0
+ },
+ {
+ "id": "LT05_L2SP_157030_19890913_02_T1",
+ "date": "1989-09-13",
+ "cloud": 10.0,
+ "pixels": 7394
+ },
+ {
+ "id": "LT05_L2SP_158027_19890718_02_T1",
+ "date": "1989-07-18",
+ "cloud": 0.0,
+ "pixels": 10381
+ },
+ {
+ "id": "LT05_L2SP_157028_19890913_02_T1",
+ "date": "1989-09-13",
+ "cloud": 12.0,
+ "pixels": 0
+ },
+ {
+ "id": "LT05_L2SP_164030_19890829_02_T1",
+ "date": "1989-08-29",
+ "cloud": 0.0,
+ "pixels": 0
+ },
+ {
+ "id": "LT05_L2SP_165027_19890905_02_T1",
+ "date": "1989-09-05",
+ "cloud": 5.0,
+ "pixels": 0
+ }
+ ],
+ "water_km2": 39859.8,
+ "coverage": 0.9975
+ },
+ "r1977": {
+ "plate": [
+ 55.3,
+ 42.9,
+ 64.7,
+ 47.4
+ ],
+ "W": 3917,
+ "H": 2652,
+ "dlon": 0.0024,
+ "dlat": 0.001697056274847714,
+ "scenes": [
+ {
+ "id": "LM02_L1TP_173029_19770902_02_T2",
+ "date": "1977-09-02",
+ "cloud": 1.0,
+ "pixels": 948437
+ },
+ {
+ "id": "LM02_L1TP_173028_19770902_02_T2",
+ "date": "1977-09-02",
+ "cloud": 0.0,
+ "pixels": 865099
+ },
+ {
+ "id": "LM02_L1TP_174027_19770903_02_T2",
+ "date": "1977-09-03",
+ "cloud": 0.0,
+ "pixels": 350582
+ },
+ {
+ "id": "LM02_L1TP_173030_19770902_02_T2",
+ "date": "1977-09-02",
+ "cloud": 0.0,
+ "pixels": 527113
+ },
+ {
+ "id": "LM02_L1TP_172030_19770901_02_T2",
+ "date": "1977-09-01",
+ "cloud": 1.0,
+ "pixels": 355505
+ },
+ {
+ "id": "LM02_L1TP_172029_19770901_02_T2",
+ "date": "1977-09-01",
+ "cloud": 2.0,
+ "pixels": 496537
+ },
+ {
+ "id": "LM02_L1TP_173027_19770902_02_T2",
+ "date": "1977-09-02",
+ "cloud": 0.0,
+ "pixels": 211220
+ },
+ {
+ "id": "LM02_L1TP_174029_19770903_02_T2",
+ "date": "1977-09-03",
+ "cloud": 0.0,
+ "pixels": 563557
+ },
+ {
+ "id": "LM02_L1TP_172028_19770901_02_T2",
+ "date": "1977-09-01",
+ "cloud": 1.0,
+ "pixels": 505552
+ },
+ {
+ "id": "LM02_L1TP_175027_19770904_02_T2",
+ "date": "1977-09-04",
+ "cloud": 8.0,
+ "pixels": 303380
+ },
+ {
+ "id": "LM02_L1TP_174030_19770903_02_T2",
+ "date": "1977-09-03",
+ "cloud": 0.0,
+ "pixels": 347676
+ },
+ {
+ "id": "LM02_L1TP_175028_19770904_02_T2",
+ "date": "1977-09-04",
+ "cloud": 3.0,
+ "pixels": 741332
+ },
+ {
+ "id": "LM02_L1TP_171030_19770918_02_T2",
+ "date": "1977-09-18",
+ "cloud": 0.0,
+ "pixels": 380652
+ },
+ {
+ "id": "LM02_L1TP_171029_19770918_02_T2",
+ "date": "1977-09-18",
+ "cloud": 0.0,
+ "pixels": 488643
+ },
+ {
+ "id": "LM02_L1TP_172027_19770901_02_T2",
+ "date": "1977-09-01",
+ "cloud": 0.0,
+ "pixels": 239743
+ },
+ {
+ "id": "LM02_L1TP_175029_19770904_02_T1",
+ "date": "1977-09-04",
+ "cloud": 0.0,
+ "pixels": 495164
+ },
+ {
+ "id": "LM02_L1TP_171028_19770918_02_T2",
+ "date": "1977-09-18",
+ "cloud": 0.0,
+ "pixels": 493002
+ },
+ {
+ "id": "LM02_L1TP_176027_19770905_02_T2",
+ "date": "1977-09-05",
+ "cloud": 0.0,
+ "pixels": 235897
+ },
+ {
+ "id": "LM02_L1TP_175030_19770904_02_T2",
+ "date": "1977-09-04",
+ "cloud": 5.0,
+ "pixels": 333494
+ },
+ {
+ "id": "LM02_L1TP_176028_19770905_02_T2",
+ "date": "1977-09-05",
+ "cloud": 1.0,
+ "pixels": 358404
+ },
+ {
+ "id": "LM02_L1TP_170030_19770725_02_T2",
+ "date": "1977-07-25",
+ "cloud": 0.0,
+ "pixels": 290479
+ },
+ {
+ "id": "LM02_L1TP_170029_19770725_02_T2",
+ "date": "1977-07-25",
+ "cloud": 1.0,
+ "pixels": 282478
+ },
+ {
+ "id": "LM02_L1TP_176029_19770905_02_T2",
+ "date": "1977-09-05",
+ "cloud": 2.0,
+ "pixels": 164063
+ },
+ {
+ "id": "LM02_L1TP_171027_19770918_02_T2",
+ "date": "1977-09-18",
+ "cloud": 1.0,
+ "pixels": 145197
+ },
+ {
+ "id": "LM02_L1TP_170028_19770725_02_T2",
+ "date": "1977-07-25",
+ "cloud": 1.0,
+ "pixels": 60065
+ },
+ {
+ "id": "LM02_L1TP_177027_19770906_02_T2",
+ "date": "1977-09-06",
+ "cloud": 1.0,
+ "pixels": 3984
+ },
+ {
+ "id": "LM02_L1TP_177028_19770906_02_T2",
+ "date": "1977-09-06",
+ "cloud": 6.0,
+ "pixels": 0
+ },
+ {
+ "id": "LM02_L1TP_176030_19770905_02_T2",
+ "date": "1977-09-05",
+ "cloud": 2.0,
+ "pixels": 15502
+ },
+ {
+ "id": "LM02_L1TP_169030_19770724_02_T2",
+ "date": "1977-07-24",
+ "cloud": 0.0,
+ "pixels": 0
+ },
+ {
+ "id": "LM02_L1TP_169029_19770724_02_T2",
+ "date": "1977-07-24",
+ "cloud": 0.0,
+ "pixels": 0
+ },
+ {
+ "id": "LM02_L1TP_170027_19770725_02_T2",
+ "date": "1977-07-25",
+ "cloud": 0.0,
+ "pixels": 3010
+ },
+ {
+ "id": "LM02_L1TP_177029_19770906_02_T2",
+ "date": "1977-09-06",
+ "cloud": 10.0,
+ "pixels": 0
+ },
+ {
+ "id": "LM02_L1TP_169028_19770724_02_T2",
+ "date": "1977-07-24",
+ "cloud": 1.0,
+ "pixels": 0
+ },
+ {
+ "id": "LM02_L1TP_175029_19770922_02_T1",
+ "date": "1977-09-22",
+ "cloud": 0.0,
+ "pixels": 2501,
+ "fill": true
+ },
+ {
+ "id": "LM02_L1TP_171029_19770726_02_T2",
+ "date": "1977-07-26",
+ "cloud": 0.0,
+ "pixels": 5307,
+ "fill": true
+ },
+ {
+ "id": "LM02_L1TP_175030_19770922_02_T2",
+ "date": "1977-09-22",
+ "cloud": 1.0,
+ "pixels": 2675,
+ "fill": true
+ },
+ {
+ "id": "LM02_L1TP_175028_19770922_02_T2",
+ "date": "1977-09-22",
+ "cloud": 1.0,
+ "pixels": 11254,
+ "fill": true
+ },
+ {
+ "id": "LM02_L1TP_172029_19770919_02_T2",
+ "date": "1977-09-19",
+ "cloud": 1.0,
+ "pixels": 2024,
+ "fill": true
+ },
+ {
+ "id": "LM02_L1GS_174028_19770903_02_T2",
+ "date": "1977-09-03",
+ "cloud": 0.0,
+ "pixels": 114663,
+ "fill": true
+ }
+ ],
+ "water_km2": 54403.4,
+ "coverage": 1.0
+ },
+ "la2025": {
+ "plate": [
+ 59.55,
+ 44.6,
+ 60.65,
+ 45.2
+ ],
+ "W": 3143,
+ "H": 2424,
+ "dlon": 0.00035,
+ "dlat": 0.00024748737341529165,
+ "scenes": [
+ {
+ "id": "LC09_L2SP_161028_20250819_02_T1",
+ "date": "2025-08-19",
+ "cloud": 0.0,
+ "pixels": 1411307
+ },
+ {
+ "id": "LC09_L2SP_161029_20250819_02_T1",
+ "date": "2025-08-19",
+ "cloud": 0.0,
+ "pixels": 6140076
+ },
+ {
+ "id": "LC08_L2SP_160029_20250820_02_T1",
+ "date": "2025-08-20",
+ "cloud": 0.92,
+ "pixels": 589
+ }
+ ],
+ "water_km2": 0.0,
+ "coverage": 0.9913
+ },
+ "mu2025": {
+ "plate": [
+ 58.05,
+ 43.55,
+ 59.45,
+ 44.75
+ ],
+ "W": 3111,
+ "H": 3771,
+ "dlon": 0.00045,
+ "dlat": 0.0003181980515339464,
+ "scenes": [
+ {
+ "id": "LC09_L2SP_161030_20250819_02_T1",
+ "date": "2025-08-19",
+ "cloud": 0.0,
+ "pixels": 5503868
+ },
+ {
+ "id": "LC09_L2SP_161029_20250819_02_T1",
+ "date": "2025-08-19",
+ "cloud": 0.0,
+ "pixels": 5696978
+ },
+ {
+ "id": "LC08_L2SP_162029_20250818_02_T1",
+ "date": "2025-08-18",
+ "cloud": 0.04,
+ "pixels": 448040
+ },
+ {
+ "id": "LC08_L2SP_162030_20250818_02_T1",
+ "date": "2025-08-18",
+ "cloud": 0.01,
+ "pixels": 0
+ },
+ {
+ "id": "LC08_L2SP_160030_20250820_02_T1",
+ "date": "2025-08-20",
+ "cloud": 0.0,
+ "pixels": 0
+ }
+ ],
+ "water_km2": 397.2,
+ "coverage": 0.993
+ },
+ "ca": {
+ "plate": [
+ 40,
+ 30,
+ 80,
+ 60
+ ],
+ "W": 4800,
+ "H": 3600,
+ "source": "NASA Blue Marble: Next Generation via NASA GIBS",
+ "colour_fit": [
+ [
+ 0.3770947754383087,
+ 0.5617558360099792,
+ 0.42307808995246887
+ ],
+ [
+ 0.35492944717407227,
+ 0.22291874885559082,
+ 0.215192511677742
+ ]
+ ]
+ },
+ "world": {
+ "plate": [
+ -180,
+ -90,
+ 180,
+ 90
+ ],
+ "W": 4096,
+ "H": 2048,
+ "source": "NASA Blue Marble: Next Generation via NASA GIBS"
+ },
+ "r2000": {
+ "plate": [
+ 55.3,
+ 42.9,
+ 64.7,
+ 47.4
+ ],
+ "W": 3917,
+ "H": 2652,
+ "dlon": 0.0024,
+ "dlat": 0.001697056274847714,
+ "scenes": [
+ {
+ "id": "LE07_L2SP_161028_20000729_02_T1",
+ "date": "2000-07-29",
+ "cloud": 1.0,
+ "pixels": 955393
+ },
+ {
+ "id": "LE07_L2SP_161029_20000729_02_T1",
+ "date": "2000-07-29",
+ "cloud": 0.0,
+ "pixels": 832778
+ },
+ {
+ "id": "LE07_L2SP_160030_20000722_02_T1",
+ "date": "2000-07-22",
+ "cloud": 0.0,
+ "pixels": 538781
+ },
+ {
+ "id": "LE07_L2SP_160029_20000722_02_T1",
+ "date": "2000-07-22",
+ "cloud": 0.0,
+ "pixels": 534695
+ },
+ {
+ "id": "LE07_L2SP_161030_20000729_02_T1",
+ "date": "2000-07-29",
+ "cloud": 0.0,
+ "pixels": 361845
+ },
+ {
+ "id": "LE07_L2SP_160028_20000722_02_T1",
+ "date": "2000-07-22",
+ "cloud": 0.0,
+ "pixels": 581118
+ },
+ {
+ "id": "LE07_L2SP_162027_20000906_02_T1",
+ "date": "2000-09-06",
+ "cloud": 0.0,
+ "pixels": 363974
+ },
+ {
+ "id": "LE07_L2SP_162028_20000906_02_T1",
+ "date": "2000-09-06",
+ "cloud": 0.0,
+ "pixels": 549261
+ },
+ {
+ "id": "LE07_L2SP_162029_20000906_02_T1",
+ "date": "2000-09-06",
+ "cloud": 0.0,
+ "pixels": 547901
+ },
+ {
+ "id": "LE07_L2SP_159029_20000901_02_T1",
+ "date": "2000-09-01",
+ "cloud": 9.0,
+ "pixels": 593549
+ },
+ {
+ "id": "LE07_L2SP_160027_20000722_02_T1",
+ "date": "2000-07-22",
+ "cloud": 0.0,
+ "pixels": 346812
+ },
+ {
+ "id": "LE07_L2SP_159028_20000901_02_T1",
+ "date": "2000-09-01",
+ "cloud": 0.0,
+ "pixels": 528696
+ },
+ {
+ "id": "LE07_L2SP_162030_20000906_02_T1",
+ "date": "2000-09-06",
+ "cloud": 0.0,
+ "pixels": 370062
+ },
+ {
+ "id": "LE07_L2SP_158030_20000724_02_T1",
+ "date": "2000-07-24",
+ "cloud": 0.0,
+ "pixels": 520675
+ },
+ {
+ "id": "LE07_L2SP_159027_20000901_02_T1",
+ "date": "2000-09-01",
+ "cloud": 1.0,
+ "pixels": 236469
+ },
+ {
+ "id": "LE07_L2SP_158029_20000724_02_T1",
+ "date": "2000-07-24",
+ "cloud": 0.0,
+ "pixels": 359413
+ },
+ {
+ "id": "LE07_L2SP_163030_20000828_02_T1",
+ "date": "2000-08-28",
+ "cloud": 0.0,
+ "pixels": 257021
+ },
+ {
+ "id": "LE07_L2SP_158028_20000724_02_T1",
+ "date": "2000-07-24",
+ "cloud": 0.0,
+ "pixels": 157790
+ },
+ {
+ "id": "LE07_L2SP_164027_20000718_02_T1",
+ "date": "2000-07-18",
+ "cloud": 3.0,
+ "pixels": 307971
+ },
+ {
+ "id": "LE07_L2SP_164028_20000718_02_T1",
+ "date": "2000-07-18",
+ "cloud": 0.0,
+ "pixels": 397117
+ },
+ {
+ "id": "LE07_L2SP_164029_20000718_02_T1",
+ "date": "2000-07-18",
+ "cloud": 0.0,
+ "pixels": 163573
+ },
+ {
+ "id": "LE07_L2SP_157030_20000717_02_T1",
+ "date": "2000-07-17",
+ "cloud": 0.0,
+ "pixels": 2261
+ },
+ {
+ "id": "LE07_L2SP_157029_20000717_02_T1",
+ "date": "2000-07-17",
+ "cloud": 4.0,
+ "pixels": 0
+ },
+ {
+ "id": "LE07_L2SP_158027_20000724_02_T1",
+ "date": "2000-07-24",
+ "cloud": 0.0,
+ "pixels": 7179
+ },
+ {
+ "id": "LE07_L2SP_157028_20000717_02_T1",
+ "date": "2000-07-17",
+ "cloud": 4.0,
+ "pixels": 0
+ },
+ {
+ "id": "LE07_L2SP_159030_20000731_02_T1",
+ "date": "2000-07-31",
+ "cloud": 0.0,
+ "pixels": 170190
+ },
+ {
+ "id": "LE07_L2SP_163027_20000727_02_T1",
+ "date": "2000-07-27",
+ "cloud": 2.0,
+ "pixels": 104072
+ },
+ {
+ "id": "LE07_L2SP_163028_20000913_02_T1",
+ "date": "2000-09-13",
+ "cloud": 4.0,
+ "pixels": 222775
+ },
+ {
+ "id": "LE07_L2SP_163029_20000929_02_T1",
+ "date": "2000-09-29",
+ "cloud": 0.0,
+ "pixels": 215410
+ },
+ {
+ "id": "LE07_L2SP_164030_20000904_02_T1",
+ "date": "2000-09-04",
+ "cloud": 5.0,
+ "pixels": 0
+ },
+ {
+ "id": "LE07_L2SP_161027_20000729_02_T1",
+ "date": "2000-07-29",
+ "cloud": 15.0,
+ "pixels": 82419,
+ "fill": true
+ }
+ ],
+ "water_km2": 26879.3,
+ "coverage": 0.9975
+ },
+ "r2009": {
+ "plate": [
+ 55.3,
+ 42.9,
+ 64.7,
+ 47.4
+ ],
+ "W": 3917,
+ "H": 2652,
+ "dlon": 0.0024,
+ "dlat": 0.001697056274847714,
+ "scenes": [
+ {
+ "id": "LT05_L2SP_161028_20090916_02_T1",
+ "date": "2009-09-16",
+ "cloud": 3.0,
+ "pixels": 965275
+ },
+ {
+ "id": "LT05_L2SP_160030_20090909_02_T1",
+ "date": "2009-09-09",
+ "cloud": 0.0,
+ "pixels": 618601
+ },
+ {
+ "id": "LT05_L2SP_160029_20090909_02_T1",
+ "date": "2009-09-09",
+ "cloud": 1.0,
+ "pixels": 780003
+ },
+ {
+ "id": "LT05_L2SP_161027_20090916_02_T1",
+ "date": "2009-09-16",
+ "cloud": 1.0,
+ "pixels": 371058
+ },
+ {
+ "id": "LT05_L2SP_162027_20090721_02_T1",
+ "date": "2009-07-21",
+ "cloud": 0.0,
+ "pixels": 246374
+ },
+ {
+ "id": "LT05_L2SP_160028_20090909_02_T1",
+ "date": "2009-09-09",
+ "cloud": 5.0,
+ "pixels": 536365
+ },
+ {
+ "id": "LT05_L2SP_162028_20090721_02_T1",
+ "date": "2009-07-21",
+ "cloud": 0.0,
+ "pixels": 585076
+ },
+ {
+ "id": "LT05_L2SP_162029_20090721_02_T1",
+ "date": "2009-07-21",
+ "cloud": 0.0,
+ "pixels": 856056
+ },
+ {
+ "id": "LT05_L2SP_159030_20090902_02_T1",
+ "date": "2009-09-02",
+ "cloud": 0.0,
+ "pixels": 373051
+ },
+ {
+ "id": "LT05_L2SP_159029_20090902_02_T1",
+ "date": "2009-09-02",
+ "cloud": 0.0,
+ "pixels": 545280
+ },
+ {
+ "id": "LT05_L2SP_160027_20090909_02_T1",
+ "date": "2009-09-09",
+ "cloud": 8.0,
+ "pixels": 250224
+ },
+ {
+ "id": "LT05_L2SP_162030_20090721_02_T1",
+ "date": "2009-07-21",
+ "cloud": 0.0,
+ "pixels": 543705
+ },
+ {
+ "id": "LT05_L2SP_163027_20090829_02_T1",
+ "date": "2009-08-29",
+ "cloud": 2.0,
+ "pixels": 248983
+ },
+ {
+ "id": "LT05_L2SP_159028_20090902_02_T1",
+ "date": "2009-09-02",
+ "cloud": 0.0,
+ "pixels": 537858
+ },
+ {
+ "id": "LT05_L2SP_163028_20090829_02_T1",
+ "date": "2009-08-29",
+ "cloud": 1.0,
+ "pixels": 544981
+ },
+ {
+ "id": "LT05_L2SP_163029_20090829_02_T1",
+ "date": "2009-08-29",
+ "cloud": 0.0,
+ "pixels": 477383
+ },
+ {
+ "id": "LT05_L2SP_158030_20090810_02_T1",
+ "date": "2009-08-10",
+ "cloud": 8.0,
+ "pixels": 340044
+ },
+ {
+ "id": "LT05_L2SP_158029_20090810_02_T1",
+ "date": "2009-08-10",
+ "cloud": 11.0,
+ "pixels": 332461
+ },
+ {
+ "id": "LT05_L2SP_159027_20090902_02_T1",
+ "date": "2009-09-02",
+ "cloud": 0.0,
+ "pixels": 241988
+ },
+ {
+ "id": "LT05_L2SP_163030_20090829_02_T1",
+ "date": "2009-08-29",
+ "cloud": 1.0,
+ "pixels": 218680
+ },
+ {
+ "id": "LT05_L2SP_164027_20090905_02_T1",
+ "date": "2009-09-05",
+ "cloud": 1.0,
+ "pixels": 112703
+ },
+ {
+ "id": "LT05_L2SP_158028_20090810_02_T1",
+ "date": "2009-08-10",
+ "cloud": 2.0,
+ "pixels": 125662
+ },
+ {
+ "id": "LT05_L2SP_164028_20090905_02_T1",
+ "date": "2009-09-05",
+ "cloud": 0.0,
+ "pixels": 88245
+ },
+ {
+ "id": "LT05_L2SP_164029_20090905_02_T1",
+ "date": "2009-09-05",
+ "cloud": 1.0,
+ "pixels": 0
+ },
+ {
+ "id": "LT05_L2SP_157030_20090904_02_T1",
+ "date": "2009-09-04",
+ "cloud": 0.0,
+ "pixels": 19
+ },
+ {
+ "id": "LT05_L2SP_157029_20090904_02_T1",
+ "date": "2009-09-04",
+ "cloud": 0.0,
+ "pixels": 0
+ },
+ {
+ "id": "LT05_L2SP_158027_20090810_02_T1",
+ "date": "2009-08-10",
+ "cloud": 4.0,
+ "pixels": 1220
+ },
+ {
+ "id": "LT05_L2SP_164030_20090905_02_T1",
+ "date": "2009-09-05",
+ "cloud": 0.0,
+ "pixels": 0
+ },
+ {
+ "id": "LT05_L2SP_157028_20090904_02_T1",
+ "date": "2009-09-04",
+ "cloud": 1.0,
+ "pixels": 0
+ },
+ {
+ "id": "LT05_L2SP_165027_20090811_02_T1",
+ "date": "2009-08-11",
+ "cloud": 1.0,
+ "pixels": 0
+ },
+ {
+ "id": "LT05_L2SP_165028_20090811_02_T1",
+ "date": "2009-08-11",
+ "cloud": 1.0,
+ "pixels": 0
+ },
+ {
+ "id": "LT05_L2SP_161029_20090714_02_T1",
+ "date": "2009-07-14",
+ "cloud": 0.0,
+ "pixels": 216599
+ },
+ {
+ "id": "LT05_L2SP_161030_20090714_02_T1",
+ "date": "2009-07-14",
+ "cloud": 0.0,
+ "pixels": 151306
+ }
+ ],
+ "water_km2": 14366.3,
+ "coverage": 0.9924
+ },
+ "r2014": {
+ "plate": [
+ 55.3,
+ 42.9,
+ 64.7,
+ 47.4
+ ],
+ "W": 3917,
+ "H": 2652,
+ "dlon": 0.0024,
+ "dlat": 0.001697056274847714,
+ "scenes": [
+ {
+ "id": "LC08_L2SP_161028_20140829_02_T1",
+ "date": "2014-08-29",
+ "cloud": 0.01,
+ "pixels": 1025566
+ },
+ {
+ "id": "LC08_L2SP_161029_20140829_02_T1",
+ "date": "2014-08-29",
+ "cloud": 0.0,
+ "pixels": 838002
+ },
+ {
+ "id": "LC08_L2SP_160030_20140907_02_T1",
+ "date": "2014-09-07",
+ "cloud": 0.0,
+ "pixels": 538451
+ },
+ {
+ "id": "LC08_L2SP_160029_20140907_02_T1",
+ "date": "2014-09-07",
+ "cloud": 0.01,
+ "pixels": 534857
+ },
+ {
+ "id": "LC08_L2SP_161027_20140829_02_T1",
+ "date": "2014-08-29",
+ "cloud": 0.0,
+ "pixels": 320181
+ },
+ {
+ "id": "LC08_L2SP_161030_20140829_02_T1",
+ "date": "2014-08-29",
+ "cloud": 0.0,
+ "pixels": 347742
+ },
+ {
+ "id": "LC08_L2SP_160028_20140907_02_T1",
+ "date": "2014-09-07",
+ "cloud": 0.05,
+ "pixels": 534264
+ },
+ {
+ "id": "LC08_L2SP_162028_20140804_02_T1",
+ "date": "2014-08-04",
+ "cloud": 0.0,
+ "pixels": 646472
+ },
+ {
+ "id": "LC08_L2SP_162029_20140804_02_T1",
+ "date": "2014-08-04",
+ "cloud": 0.75,
+ "pixels": 543862
+ },
+ {
+ "id": "LC08_L2SP_159030_20140815_02_T1",
+ "date": "2014-08-15",
+ "cloud": 0.28,
+ "pixels": 397507
+ },
+ {
+ "id": "LC08_L2SP_159029_20140815_02_T1",
+ "date": "2014-08-15",
+ "cloud": 1.3,
+ "pixels": 536973
+ },
+ {
+ "id": "LC08_L2SP_160027_20140907_02_T1",
+ "date": "2014-09-07",
+ "cloud": 0.07,
+ "pixels": 225494
+ },
+ {
+ "id": "LC08_L2SP_162030_20140804_02_T1",
+ "date": "2014-08-04",
+ "cloud": 0.07,
+ "pixels": 350877
+ },
+ {
+ "id": "LC08_L2SP_163027_20140710_02_T1",
+ "date": "2014-07-10",
+ "cloud": 8.82,
+ "pixels": 361342
+ },
+ {
+ "id": "LC08_L2SP_159028_20140815_02_T1",
+ "date": "2014-08-15",
+ "cloud": 0.17,
+ "pixels": 535914
+ },
+ {
+ "id": "LC08_L2SP_163028_20140710_02_T1",
+ "date": "2014-07-10",
+ "cloud": 4.72,
+ "pixels": 539182
+ },
+ {
+ "id": "LC08_L2SP_163029_20140710_02_T1",
+ "date": "2014-07-10",
+ "cloud": 1.19,
+ "pixels": 481488
+ },
+ {
+ "id": "LC08_L2SP_158030_20140824_02_T1",
+ "date": "2014-08-24",
+ "cloud": 0.0,
+ "pixels": 369563
+ },
+ {
+ "id": "LC08_L2SP_158029_20140824_02_T1",
+ "date": "2014-08-24",
+ "cloud": 0.0,
+ "pixels": 331890
+ },
+ {
+ "id": "LC08_L2SP_163030_20140710_02_T1",
+ "date": "2014-07-10",
+ "cloud": 0.24,
+ "pixels": 208030
+ },
+ {
+ "id": "LC08_L2SP_164027_20140903_02_T1",
+ "date": "2014-09-03",
+ "cloud": 0.14,
+ "pixels": 127114
+ },
+ {
+ "id": "LC08_L2SP_158028_20140824_02_T1",
+ "date": "2014-08-24",
+ "cloud": 0.0,
+ "pixels": 188166
+ },
+ {
+ "id": "LC08_L2SP_164028_20140903_02_T1",
+ "date": "2014-09-03",
+ "cloud": 0.2,
+ "pixels": 92413
+ },
+ {
+ "id": "LC08_L2SP_164029_20140903_02_T1",
+ "date": "2014-09-03",
+ "cloud": 0.09,
+ "pixels": 2
+ },
+ {
+ "id": "LC08_L2SP_157030_20140902_02_T1",
+ "date": "2014-09-02",
+ "cloud": 4.16,
+ "pixels": 607
+ },
+ {
+ "id": "LC08_L2SP_157029_20140902_02_T1",
+ "date": "2014-09-02",
+ "cloud": 8.62,
+ "pixels": 0
+ },
+ {
+ "id": "LC08_L2SP_158027_20140824_02_T1",
+ "date": "2014-08-24",
+ "cloud": 0.0,
+ "pixels": 88917
+ },
+ {
+ "id": "LC08_L2SP_164030_20140903_02_T1",
+ "date": "2014-09-03",
+ "cloud": 1.41,
+ "pixels": 0
+ },
+ {
+ "id": "LC08_L2SP_157028_20140902_02_T1",
+ "date": "2014-09-02",
+ "cloud": 0.06,
+ "pixels": 0
+ },
+ {
+ "id": "LC08_L2SP_165027_20140825_02_T1",
+ "date": "2014-08-25",
+ "cloud": 0.56,
+ "pixels": 0
+ },
+ {
+ "id": "LC08_L2SP_159027_20140916_02_T1",
+ "date": "2014-09-16",
+ "cloud": 1.18,
+ "pixels": 72177
+ },
+ {
+ "id": "LC08_L2SP_162027_20140703_02_T1",
+ "date": "2014-07-03",
+ "cloud": 12.81,
+ "pixels": 72011,
+ "fill": true
+ }
+ ],
+ "water_km2": 7060.7,
+ "coverage": 0.9975
+ },
+ "ko2001": {
+ "plate": [
+ 60.2,
+ 45.8,
+ 61.6,
+ 46.5
+ ],
+ "W": 3500,
+ "H": 2475,
+ "dlon": 0.0004,
+ "dlat": 0.000282842712474619,
+ "scenes": [
+ {
+ "id": "LE07_L2SP_160028_20010826_02_T1",
+ "date": "2001-08-26",
+ "cloud": 4.0,
+ "pixels": 8252889
+ },
+ {
+ "id": "LE07_L2SP_161028_20010817_02_T1",
+ "date": "2001-08-17",
+ "cloud": 4.0,
+ "pixels": 338055
+ },
+ {
+ "id": "LE07_L2SP_161027_20010716_02_T1",
+ "date": "2001-07-16",
+ "cloud": 7.0,
+ "pixels": 0
+ }
+ ],
+ "water_km2": 1665.8,
+ "coverage": 0.9917
+ },
+ "ko2009": {
+ "plate": [
+ 60.2,
+ 45.8,
+ 61.6,
+ 46.5
+ ],
+ "W": 3500,
+ "H": 2475,
+ "dlon": 0.0004,
+ "dlat": 0.000282842712474619,
+ "scenes": [
+ {
+ "id": "LT05_L2SP_160028_20090909_02_T1",
+ "date": "2009-09-09",
+ "cloud": 5.0,
+ "pixels": 8162424
+ },
+ {
+ "id": "LT05_L2SP_161028_20090916_02_T1",
+ "date": "2009-09-16",
+ "cloud": 3.0,
+ "pixels": 428520
+ },
+ {
+ "id": "LT05_L2SP_160028_20090723_02_T1",
+ "date": "2009-07-23",
+ "cloud": 3.0,
+ "pixels": 0
+ }
+ ],
+ "water_km2": 1884.5,
+ "coverage": 0.9917
+ },
+ "ko2025": {
+ "plate": [
+ 60.2,
+ 45.8,
+ 61.6,
+ 46.5
+ ],
+ "W": 3500,
+ "H": 2475,
+ "dlon": 0.0004,
+ "dlat": 0.000282842712474619,
+ "scenes": [
+ {
+ "id": "LC08_L2SP_160028_20250820_02_T1",
+ "date": "2025-08-20",
+ "cloud": 0.02,
+ "pixels": 7988263
+ },
+ {
+ "id": "LC09_L2SP_161027_20250819_02_T1",
+ "date": "2025-08-19",
+ "cloud": 0.03,
+ "pixels": 0
+ },
+ {
+ "id": "LC09_L2SP_161028_20250819_02_T1",
+ "date": "2025-08-19",
+ "cloud": 0.0,
+ "pixels": 602681
+ }
+ ],
+ "water_km2": 1813.0,
+ "coverage": 0.9917
+ },
+ "mapfield": {
+ "plate": [
+ 54.0,
+ 41.5,
+ 66.0,
+ 48.5
+ ],
+ "W": 1200,
+ "H": 700,
+ "km": 60,
+ "source": "Natural Earth ne_10m_lakes_historic; Blue Marble relief"
+ }
+}
\ No newline at end of file
diff --git a/styles/satellite-briefing/demo/assets/vectors.json b/styles/satellite-briefing/demo/assets/vectors.json
new file mode 100644
index 0000000..abe5975
--- /dev/null
+++ b/styles/satellite-briefing/demo/assets/vectors.json
@@ -0,0 +1 @@
+{"base_km2":68000.0,"rings":{"1977":[[[61.4836,46.78501],[61.4692,46.78352],[61.4236,46.77246],[61.3828,46.7696],[61.3612,46.7627],[61.3348,46.75818],[61.3252,46.75341],[61.31251,46.74409],[61.3082,46.7356],[61.31873,46.70675],[61.32381,46.68469],[61.32331,46.67281],[61.3204,46.6692],[61.3084,46.66339],[61.2916,46.64997],[61.2772,46.64246],[61.2724,46.64279],[61.27,46.64477],[61.265,46.66433],[61.2604,46.67056],[61.2556,46.67309],[61.2436,46.67287],[61.1956,46.66263],[61.1644,46.67011],[61.15584,46.66942],[61.15038,46.66602],[61.14761,46.65584],[61.1548,46.64575],[61.162,46.64349],[61.174,46.6436],[61.17924,46.64566],[61.1884,46.65437],[61.1932,46.65579],[61.198,46.6546],[61.21268,46.64566],[61.2244,46.63191],[61.2371,46.6219],[61.24503,46.61172],[61.2458,46.60663],[61.23951,46.59984],[61.234,46.59792],[61.2172,46.59714],[61.2004,46.58955],[61.19396,46.58456],[61.18982,46.57608],[61.19484,46.55741],[61.20606,46.53874],[61.22135,46.52008],[61.23927,46.5082],[61.24308,46.50311],[61.24411,46.49123],[61.2412,46.48765],[61.2364,46.48579],[61.1956,46.48684],[61.1404,46.47375],[61.0756,46.47158],[61.03,46.46675],[61.0084,46.46649],[60.9748,46.46328],[60.922,46.46869],[60.898,46.47543],[60.88484,46.48274],[60.84263,46.51329],[60.8332,46.53064],[60.82571,46.55062],[60.8188,46.55628],[60.802,46.56347],[60.79221,46.57269],[60.79066,46.58626],[60.78699,46.59475],[60.79,46.60473],[60.80493,46.6202],[60.80607,46.64057],[60.814,46.66649],[60.83546,46.68808],[60.84846,46.70845],[60.86639,46.72712],[60.8668,46.73221],[60.8596,46.75066],[60.8452,46.75732],[60.8212,46.76008],[60.7444,46.75905],[60.73,46.75687],[60.6988,46.75715],[60.6412,46.773],[60.6148,46.77477],[60.5884,46.7838],[60.5596,46.7838],[60.5428,46.77962],[60.526,46.78277],[60.5188,46.78165],[60.50932,46.77294],[60.50029,46.75766],[60.5011,46.74918],[60.50621,46.739],[60.5119,46.7356],[60.5212,46.7334],[60.5452,46.73448],[60.5764,46.73196],[60.6172,46.71857],[60.6604,46.69547],[60.7084,46.66375],[60.742,46.6479],[60.74655,46.64226],[60.74283,46.63717],[60.73,46.62988],[60.6868,46.61231],[60.64458,46.58117],[60.6292,46.57222],[60.61,46.56485],[60.5812,46.56268],[60.5596,46.56578],[60.5332,46.58167],[60.50407,46.59644],[60.4876,46.6076],[60.4837,46.61172],[60.48369,46.6202],[60.48103,46.62529],[60.4732,46.63047],[60.466,46.63195],[60.4612,46.63023],[60.45088,46.6202],[60.44129,46.58796],[60.44295,46.57438],[60.44071,46.5659],[60.4372,46.56134],[60.43,46.56171],[60.41962,46.56759],[60.41264,46.57608],[60.39594,46.61172],[60.3891,46.6219],[60.33482,46.67621],[60.3028,46.69841],[60.2836,46.70652],[60.2692,46.7076],[60.2572,46.70652],[60.22366,46.69318],[60.202,46.67741],[60.17296,46.66433],[60.13965,46.64566],[60.106,46.62027],[60.0844,46.61323],[60.0316,46.60903],[60.0148,46.59896],[60.0004,46.58597],[59.9524,46.5758],[59.93711,46.5642],[59.93129,46.55571],[59.91925,46.54723],[59.91696,46.54214],[59.92327,46.53365],[59.94485,46.51499],[59.94812,46.50311],[59.95533,46.49292],[59.95892,46.45219],[59.96621,46.43013],[59.97771,46.41316],[59.97588,46.40977],[59.95923,46.40298],[59.95703,46.39959],[59.9596,46.39518],[59.9644,46.394],[59.9716,46.39483],[59.9956,46.40294],[60.0124,46.40001],[60.0244,46.40051],[60.0532,46.3879],[60.0724,46.37353],[60.0964,46.3617],[60.1204,46.35372],[60.154,46.34797],[60.15923,46.34358],[60.15867,46.3351],[60.16353,46.32322],[60.1612,46.31957],[60.15227,46.31473],[60.15054,46.31134],[60.15343,46.30794],[60.1588,46.30595],[60.16825,46.30794],[60.17564,46.31643],[60.17672,46.33001],[60.17343,46.34189],[60.1804,46.34834],[60.2044,46.34824],[60.226,46.35222],[60.24431,46.35716],[60.2596,46.36777],[60.2716,46.37092],[60.2884,46.3711],[60.29764,46.36564],[60.30226,46.34867],[60.31184,46.34189],[60.31,46.33585],[60.29185,46.3334],[60.28612,46.32152],[60.274,46.31311],[60.2644,46.31232],[60.2524,46.30762],[60.238,46.30899],[60.23458,46.30794],[60.2244,46.29267],[60.22162,46.28079],[60.2188,46.27787],[60.2044,46.27867],[60.19,46.28454],[60.1828,46.28444],[60.17889,46.28249],[60.17688,46.2774],[60.17468,46.24176],[60.178,46.23568],[60.1852,46.23528],[60.202,46.24127],[60.2284,46.24139],[60.2404,46.24548],[60.2596,46.24191],[60.274,46.24643],[60.286,46.2472],[60.28834,46.25024],[60.28141,46.26212],[60.28407,46.27231],[60.28188,46.28928],[60.27808,46.29946],[60.27936,46.30285],[60.2836,46.30533],[60.2908,46.30331],[60.3076,46.28793],[60.322,46.28782],[60.346,46.27481],[60.3532,46.27517],[60.35615,46.28758],[60.35425,46.30455],[60.35733,46.31304],[60.3676,46.3192],[60.3724,46.32444],[60.3772,46.32551],[60.39006,46.32152],[60.406,46.30584],[60.43156,46.29267],[60.4307,46.28928],[60.4276,46.28865],[60.4156,46.29181],[60.4084,46.29047],[60.40251,46.28419],[60.40256,46.27909],[60.406,46.2765],[60.4228,46.27653],[60.4324,46.27285],[60.4468,46.2519],[60.4732,46.25008],[60.4828,46.24551],[60.49,46.239],[60.4948,46.2382],[60.5188,46.24298],[60.5332,46.2431],[60.5524,46.24704],[60.5692,46.24817],[60.5836,46.25406],[60.59341,46.26552],[60.5812,46.26737],[60.573,46.2757],[60.57198,46.28249],[60.5788,46.28689],[60.6004,46.28488],[60.6172,46.28828],[60.6436,46.2879],[60.6484,46.28548],[60.65045,46.2757],[60.6556,46.27225],[60.6748,46.2747],[60.6868,46.27942],[60.68957,46.28249],[60.68832,46.28758],[60.6772,46.30285],[60.68175,46.31813],[60.7012,46.33722],[60.7228,46.34105],[60.73004,46.3351],[60.73167,46.32322],[60.73692,46.30964],[60.76626,46.26891],[60.79377,46.218],[60.79026,46.20273],[60.79292,46.18406],[60.79095,46.162],[60.78817,46.15691],[60.78218,46.15351],[60.7684,46.14972],[60.754,46.14882],[60.7252,46.14157],[60.7108,46.14033],[60.6676,46.12959],[60.6508,46.12734],[60.6292,46.12688],[60.5908,46.12061],[60.5812,46.12278],[60.5657,46.13145],[60.55551,46.14333],[60.52937,46.16709],[60.502,46.18248],[60.4828,46.18793],[60.4612,46.18931],[60.4228,46.18628],[60.3604,46.16875],[60.346,46.16713],[60.3196,46.15989],[60.3028,46.15844],[60.2884,46.16207],[60.2668,46.17437],[60.2524,46.18003],[60.2068,46.18793],[60.1972,46.18793],[60.1804,46.18495],[60.1468,46.18714],[60.1372,46.18589],[60.1084,46.19472],[60.0196,46.20005],[59.99536,46.19424],[59.97089,46.17557],[59.95873,46.15351],[59.9548,46.13645],[59.94129,46.12297],[59.9284,46.11605],[59.9092,46.10989],[59.89,46.09944],[59.866,46.09287],[59.8612,46.09296],[59.8559,46.09751],[59.85526,46.11109],[59.86189,46.13145],[59.86379,46.14503],[59.85501,46.16369],[59.8274,46.18576],[59.81779,46.20273],[59.81734,46.20952],[59.82593,46.23497],[59.82812,46.25024],[59.82525,46.26721],[59.8108,46.28279],[59.7676,46.31716],[59.7484,46.32597],[59.7196,46.33222],[59.6644,46.33581],[59.602,46.33168],[59.59386,46.3351],[59.58803,46.34019],[59.5876,46.35296],[59.5732,46.3568],[59.5516,46.35383],[59.5276,46.34678],[59.494,46.32836],[59.46535,46.30116],[59.46179,46.29267],[59.46277,46.28079],[59.4724,46.27331],[59.48271,46.27231],[59.4916,46.28073],[59.4964,46.28173],[59.506,46.27799],[59.5206,46.26721],[59.5324,46.25071],[59.55618,46.20782],[59.55574,46.19764],[59.56497,46.19085],[59.55879,46.17557],[59.5636,46.17334],[59.578,46.17153],[59.5852,46.16787],[59.6004,46.15521],[59.60769,46.14333],[59.59824,46.11957],[59.54989,46.06696],[59.53407,46.04151],[59.5312,46.01435],[59.53594,45.96514],[59.53373,45.94477],[59.53847,45.93289],[59.51651,45.90744],[59.50106,45.87859],[59.49779,45.86841],[59.50098,45.84125],[59.506,45.83166],[59.51483,45.82598],[59.5132,45.8215],[59.4892,45.81429],[59.4508,45.81229],[59.4364,45.81481],[59.4076,45.81482],[59.3332,45.80356],[59.3164,45.79603],[59.2996,45.78425],[59.28775,45.77337],[59.2804,45.76209],[59.2756,45.76211],[59.2732,45.76427],[59.26726,45.82428],[59.27002,45.84465],[59.2756,45.85653],[59.2892,45.8735],[59.33235,45.91932],[59.3476,45.93],[59.3692,45.93653],[59.3775,45.94138],[59.39134,45.95496],[59.4052,45.97887],[59.4124,45.98341],[59.422,45.98465],[59.42622,45.9889],[59.42734,45.99569],[59.42447,46.00587],[59.41169,46.02284],[59.4028,46.03022],[59.3836,46.03857],[59.338,46.03476],[59.3236,46.02999],[59.3068,46.0277],[59.29507,46.02284],[59.2444,46.00903],[59.23251,46.00078],[59.21885,45.97872],[59.194,45.96868],[59.182,45.96164],[59.17,45.95943],[59.16279,45.96174],[59.16103,45.96684],[59.17502,46.00417],[59.17933,46.01775],[59.17843,46.02114],[59.1724,46.02347],[59.146,46.02247],[59.1292,46.02484],[59.12483,46.02793],[59.1196,46.04048],[59.1124,46.04624],[59.0836,46.05684],[59.0692,46.05694],[59.0404,46.05105],[58.9756,46.02296],[58.9636,46.01559],[58.9468,46.00949],[58.9108,46.00455],[58.8988,46.0004],[58.8772,45.99783],[58.8604,45.99376],[58.8028,45.96733],[58.7709,45.94308],[58.75666,45.9278],[58.74247,45.90065],[58.7188,45.87978],[58.69422,45.84804],[58.66406,45.80052],[58.65456,45.77337],[58.64417,45.75301],[58.63407,45.71907],[58.62863,45.66306],[58.62162,45.64609],[58.62258,45.63421],[58.63178,45.62742],[58.63252,45.62233],[58.6252,45.60879],[58.6188,45.60197],[58.61005,45.59688],[58.5988,45.59309],[58.59302,45.58839],[58.58612,45.57312],[58.58361,45.55954],[58.55792,45.5239],[58.55531,45.50015],[58.5498,45.47808],[58.54913,45.45942],[58.54034,45.44245],[58.53622,45.42887],[58.53134,45.42038],[58.50592,45.39153],[58.4956,45.38261],[58.4668,45.36444],[58.44567,45.34571],[58.43411,45.33214],[58.40175,45.28292],[58.39401,45.26425],[58.38847,45.2371],[58.36814,45.19977],[58.36287,45.1811],[58.35953,45.14885],[58.35646,45.13698],[58.34843,45.1234],[58.34677,45.10813],[58.342,45.10275],[58.3276,45.09939],[58.31959,45.09455],[58.2964,45.0657],[58.28658,45.04533],[58.28496,45.03176],[58.26751,44.99442],[58.26257,44.96897],[58.25622,44.96218],[58.24539,44.95539],[58.2268,44.92863],[58.21465,44.90787],[58.19939,44.87223],[58.19926,44.83151],[58.20512,44.79587],[58.21008,44.78738],[58.21692,44.76362],[58.23055,44.73647],[58.24439,44.71101],[58.27972,44.65671],[58.29255,44.61428],[58.29035,44.6058],[58.28181,44.59392],[58.2772,44.59082],[58.2652,44.58857],[58.25977,44.58543],[58.22947,44.5481],[58.21948,44.53282],[58.21167,44.51076],[58.21139,44.45815],[58.22541,44.39876],[58.22612,44.35803],[58.24255,44.31899],[58.26606,44.28336],[58.29798,44.24772],[58.35005,44.20699],[58.38542,44.17305],[58.39115,44.16456],[58.40202,44.13741],[58.38927,44.07801],[58.38659,44.05256],[58.38593,43.97789],[58.37647,43.94734],[58.36522,43.92697],[58.36047,43.9117],[58.35574,43.88285],[58.3576,43.85909],[58.35539,43.82176],[58.36196,43.7997],[58.37973,43.77424],[58.402,43.75305],[58.4212,43.73972],[58.4404,43.72997],[58.4596,43.72327],[58.4812,43.72091],[58.5004,43.72111],[58.5292,43.72535],[58.5484,43.73073],[58.594,43.74855],[58.6108,43.75181],[58.62584,43.75897],[58.6636,43.76672],[58.7356,43.79567],[58.7572,43.79794],[58.76977,43.80309],[58.78016,43.82006],[58.79957,43.84382],[58.81487,43.86927],[58.82056,43.89303],[58.81835,43.90152],[58.81331,43.90831],[58.8028,43.91687],[58.78294,43.92358],[58.7716,43.92409],[58.76152,43.92188],[58.75526,43.91849],[58.74738,43.89812],[58.73873,43.88964],[58.7284,43.88719],[58.7164,43.88946],[58.6948,43.9026],[58.68692,43.91509],[58.68733,43.93546],[58.69094,43.94394],[58.6972,43.94817],[58.7092,43.9467],[58.7404,43.94975],[58.7908,43.95145],[58.8172,43.9487],[58.8508,43.93835],[58.882,43.9238],[58.93089,43.89643],[58.9516,43.88185],[59.0212,43.82509],[59.05165,43.80648],[59.0572,43.80484],[59.0668,43.80736],[59.08663,43.81836],[59.08935,43.82345],[59.08962,43.84042],[59.0932,43.84886],[59.122,43.87957],[59.1316,43.88503],[59.1364,43.88536],[59.14067,43.88285],[59.14339,43.87097],[59.1485,43.86418],[59.158,43.86026],[59.1796,43.85659],[59.2156,43.85692],[59.2948,43.87657],[59.3188,43.87678],[59.3356,43.87386],[59.35,43.87369],[59.3764,43.88197],[59.3908,43.88369],[59.4172,43.88352],[59.434,43.87828],[59.44205,43.88115],[59.44891,43.88794],[59.45097,43.89303],[59.45015,43.90322],[59.45517,43.91],[59.4628,43.91233],[59.4748,43.91217],[59.48076,43.92019],[59.4868,43.92103],[59.50185,43.9117],[59.5109,43.89303],[59.50047,43.87437],[59.49828,43.82006],[59.52065,43.7963],[59.5299,43.76066],[59.5444,43.73958],[59.5636,43.72612],[59.578,43.7191],[59.602,43.7097],[59.638,43.70281],[59.7004,43.70028],[59.7292,43.69621],[59.7436,43.69104],[59.758,43.68874],[59.7844,43.67746],[59.8228,43.66841],[59.8492,43.66425],[59.8876,43.66763],[59.89198,43.67072],[59.8972,43.681],[59.9092,43.68807],[59.9188,43.69017],[59.9284,43.69589],[59.9404,43.69811],[59.95,43.70265],[59.9572,43.70264],[59.96278,43.69957],[59.97188,43.68939],[59.97327,43.6826],[59.97112,43.67242],[59.97675,43.65884],[59.98889,43.64696],[59.99146,43.62999],[59.991,43.6249],[59.97688,43.59605],[59.97159,43.57908],[59.97715,43.5655],[59.97677,43.56041],[59.9716,43.55236],[59.9524,43.55336],[59.92321,43.54005],[59.9308,43.53605],[59.9428,43.53458],[59.9524,43.53125],[59.9596,43.53205],[59.9692,43.54198],[59.9812,43.54559],[59.9874,43.55023],[60.00477,43.57399],[60.00444,43.57908],[59.9913,43.58756],[59.99124,43.59265],[60.00011,43.60114],[60.00609,43.61641],[60.02258,43.63678],[60.04282,43.66732],[60.04663,43.67751],[60.04597,43.69108],[60.06596,43.72163],[60.0844,43.73304],[60.0892,43.733],[60.0988,43.7275],[60.1084,43.73034],[60.1204,43.73053],[60.12595,43.73351],[60.1468,43.75418],[60.1636,43.76728],[60.1708,43.77772],[60.1876,43.78528],[60.19384,43.7963],[60.20052,43.82006],[60.22538,43.84212],[60.2289,43.8523],[60.2332,43.85738],[60.238,43.85818],[60.2428,43.85571],[60.25,43.84403],[60.2596,43.83896],[60.26553,43.83194],[60.2791,43.82345],[60.28249,43.82855],[60.28402,43.84042],[60.29047,43.84721],[60.2997,43.86588],[60.28987,43.87946],[60.29226,43.89643],[60.298,43.89898],[60.3148,43.89545],[60.3268,43.89721],[60.33103,43.89473],[60.334,43.8891],[60.35872,43.87606],[60.3607,43.87267],[60.35987,43.8557],[60.3652,43.84689],[60.3676,43.8455],[60.37,43.84694],[60.37288,43.8557],[60.36877,43.87606],[60.37181,43.88624],[60.36231,43.89473],[60.35858,43.91],[60.36021,43.91509],[60.3748,43.92735],[60.382,43.92854],[60.39883,43.92358],[60.40211,43.91849],[60.40103,43.90831],[60.406,43.90828],[60.4252,43.9259],[60.42831,43.93716],[60.42848,43.94904],[60.4348,43.95169],[60.4516,43.95124],[60.45451,43.95243],[60.45478,43.95582],[60.45087,43.96261],[60.43465,43.97619],[60.42992,43.98298],[60.4298,43.99146],[60.4348,43.99873],[60.442,44.00144],[60.4588,44.00111],[60.4684,44.01211],[60.4732,44.01358],[60.47721,44.01183],[60.48376,43.99825],[60.48381,43.98298],[60.48812,43.96431],[60.4924,43.95901],[60.5092,43.95443],[60.51681,43.94734],[60.51903,43.93885],[60.52532,43.92867],[60.51692,43.91849],[60.52174,43.9117],[60.52346,43.89982],[60.526,43.89863],[60.5308,43.90087],[60.53608,43.9117],[60.53662,43.92697],[60.53455,43.93376],[60.52166,43.94734],[60.52665,43.9711],[60.514,43.98571],[60.5026,43.99146],[60.50094,43.99655],[60.50893,44.02031],[60.51546,44.03219],[60.5168,44.04407],[60.51006,44.05086],[60.50986,44.05425],[60.51674,44.06613],[60.52728,44.07462],[60.53385,44.08819],[60.53371,44.09329],[60.52935,44.10177],[60.53077,44.11195],[60.53536,44.12044],[60.52318,44.1425],[60.52801,44.15608],[60.5308,44.15886],[60.5356,44.15893],[60.55,44.14394],[60.5572,44.14016],[60.562,44.14246],[60.56494,44.14929],[60.5716,44.15049],[60.58185,44.1442],[60.5884,44.1315],[60.5908,44.13101],[60.59562,44.13402],[60.59848,44.1425],[60.59058,44.15947],[60.59365,44.17135],[60.598,44.17427],[60.6124,44.17659],[60.62064,44.18493],[60.62148,44.19511],[60.6244,44.19907],[60.6316,44.20342],[60.6436,44.20248],[60.64677,44.20699],[60.6436,44.21014],[60.634,44.20763],[60.6124,44.21238],[60.59357,44.22905],[60.59462,44.24432],[60.6014,44.26299],[60.60078,44.27826],[60.6124,44.28495],[60.6268,44.28623],[60.6388,44.29722],[60.6532,44.30058],[60.65823,44.31221],[60.66437,44.31899],[60.69817,44.34106],[60.70063,44.35803],[60.72416,44.40215],[60.74357,44.42591],[60.75415,44.44458],[60.77021,44.45815],[60.778,44.46134],[60.7847,44.45985],[60.78852,44.44288],[60.7996,44.43428],[60.814,44.43103],[60.82082,44.43439],[60.82647,44.44627],[60.82308,44.46834],[60.82391,44.47682],[60.81487,44.487],[60.8111,44.49549],[60.8164,44.50575],[60.8212,44.50844],[60.8356,44.51148],[60.85,44.51181],[60.8692,44.52084],[60.8836,44.52444],[60.8908,44.52434],[60.91083,44.51925],[60.9135,44.52094],[60.91538,44.52773],[60.922,44.53067],[60.9388,44.5305],[60.946,44.52885],[60.9512,44.52604],[60.95613,44.51755],[60.9604,44.51509],[60.9652,44.51581],[60.97097,44.52094],[60.97196,44.52773],[60.9606,44.54301],[60.9556,44.54363],[60.9436,44.53638],[60.9364,44.53631],[60.91638,44.54979],[60.9035,44.56507],[60.88343,44.57016],[60.8814,44.57525],[60.88653,44.59222],[60.8908,44.59418],[60.91,44.59176],[60.9172,44.5938],[60.934,44.61315],[60.9556,44.61883],[60.9676,44.62843],[60.9916,44.64084],[61.0156,44.65692],[61.0564,44.67346],[61.0684,44.67601],[61.0828,44.682],[61.0948,44.6841],[61.1044,44.68871],[61.126,44.69026],[61.1428,44.69702],[61.1644,44.69954],[61.174,44.70398],[61.1956,44.70856],[61.2148,44.70725],[61.2268,44.71139],[61.2508,44.71402],[61.2628,44.71818],[61.2772,44.71902],[61.2988,44.72341],[61.3108,44.72327],[61.3204,44.71995],[61.3252,44.71995],[61.3372,44.72423],[61.3636,44.72933],[61.3732,44.72677],[61.38705,44.71441],[61.3948,44.71363],[61.4068,44.72225],[61.40905,44.72629],[61.4013,44.73138],[61.3828,44.73258],[61.37538,44.73477],[61.37156,44.73986],[61.378,44.74712],[61.3924,44.7526],[61.3972,44.75277],[61.4092,44.74722],[61.42083,44.73817],[61.426,44.73735],[61.4404,44.74676],[61.462,44.75212],[61.4681,44.75514],[61.46725,44.75853],[61.4596,44.76177],[61.4428,44.76304],[61.44129,44.76702],[61.4788,44.7876],[61.4932,44.79293],[61.49656,44.79587],[61.49637,44.79926],[61.4908,44.80156],[61.4764,44.80073],[61.46173,44.79587],[61.45635,44.78738],[61.45,44.7859],[61.44069,44.79247],[61.43087,44.81114],[61.4332,44.81505],[61.4404,44.81958],[61.4644,44.82332],[61.48541,44.8366],[61.48688,44.84338],[61.4812,44.84714],[61.4572,44.85177],[61.4404,44.85106],[61.4212,44.85439],[61.41576,44.85696],[61.39549,44.88411],[61.3564,44.91106],[61.34769,44.92145],[61.34216,44.93333],[61.3177,44.9503],[61.29907,44.97066],[61.2915,44.98254],[61.27,45.00307],[61.26039,45.01988],[61.25873,45.05891],[61.24337,45.10303],[61.2316,45.11677],[61.2268,45.11829],[61.2148,45.11799],[61.20682,45.1217],[61.19746,45.13188],[61.1821,45.15564],[61.1788,45.16556],[61.1668,45.16886],[61.1623,45.17261],[61.14687,45.20825],[61.14811,45.22862],[61.1452,45.23223],[61.1332,45.23906],[61.1028,45.28292],[61.09966,45.2948],[61.09102,45.30838],[61.07479,45.32535],[61.06771,45.34571],[61.06603,45.36099],[61.04934,45.39832],[61.03647,45.42038],[61.01966,45.44414],[60.99413,45.4713],[60.98905,45.47978],[60.97413,45.49336],[60.96776,45.50354],[60.9434,45.5256],[60.93628,45.53578],[60.92423,45.54766],[60.898,45.58866],[60.89265,45.59857],[60.89247,45.60876],[60.88318,45.63082],[60.88612,45.6427],[60.87785,45.65627],[60.87205,45.70888],[60.87637,45.71907],[60.87163,45.73773],[60.8428,45.76398],[60.82302,45.77337],[60.81799,45.78865],[60.82115,45.80222],[60.826,45.80736],[60.8308,45.80827],[60.8452,45.80466],[60.8524,45.80566],[60.8884,45.83468],[60.8932,45.83528],[60.9028,45.83024],[60.91,45.83049],[60.922,45.83797],[60.94267,45.84634],[60.9417,45.85653],[60.9446,45.86501],[60.94446,45.88198],[60.95303,45.89386],[60.9652,45.9045],[60.98689,45.94138],[60.98993,45.95496],[60.99273,45.97532],[60.99021,46.00078],[60.98748,46.01944],[60.97873,46.03472],[60.97,46.04229],[60.9484,46.05473],[60.9412,46.05666],[60.9292,46.05446],[60.922,46.05537],[60.90855,46.06527],[60.8956,46.07171],[60.87254,46.09581],[60.87131,46.1009],[60.87339,46.1043],[60.8788,46.10814],[60.886,46.11006],[60.9244,46.10858],[60.946,46.11226],[60.9604,46.12004],[60.9748,46.12455],[61.00576,46.13824],[61.00967,46.14503],[61.01033,46.15691],[61.0156,46.16114],[61.0252,46.16095],[61.0492,46.16502],[61.0708,46.17258],[61.0924,46.17434],[61.102,46.17207],[61.1092,46.16765],[61.1164,46.15321],[61.1236,46.15009],[61.1308,46.14949],[61.15,46.15719],[61.1668,46.16828],[61.17013,46.17388],[61.17009,46.19764],[61.173,46.20612],[61.1812,46.21262],[61.2028,46.21585],[61.22941,46.23667],[61.25798,46.27061],[61.30287,46.33679],[61.3132,46.35673],[61.32065,46.36564],[61.3286,46.38431],[61.32727,46.39449],[61.31298,46.40977],[61.31104,46.41486],[61.3156,46.41833],[61.3324,46.41473],[61.3396,46.41473],[61.3492,46.41697],[61.35455,46.42165],[61.37102,46.4488],[61.37421,46.46068],[61.37488,46.48104],[61.38217,46.5048],[61.3924,46.51026],[61.438,46.51295],[61.44443,46.5082],[61.44768,46.49801],[61.4428,46.49669],[61.4356,46.49926],[61.4308,46.49917],[61.42656,46.49632],[61.42646,46.49123],[61.4308,46.48742],[61.4428,46.4832],[61.45693,46.47426],[61.46262,46.47426],[61.46471,46.47765],[61.46375,46.48614],[61.46684,46.49292],[61.47346,46.49971],[61.48385,46.5048],[61.48756,46.50989],[61.4836,46.51194],[61.4692,46.50898],[61.45464,46.51159],[61.45193,46.51668],[61.45385,46.53196],[61.45657,46.53705],[61.47647,46.54893],[61.5052,46.57676],[61.52761,46.59135],[61.53815,46.60663],[61.56061,46.6219],[61.57872,46.64566],[61.60119,46.68978],[61.61959,46.71015],[61.6348,46.72219],[61.6492,46.72413],[61.654,46.72642],[61.6636,46.73791],[61.6684,46.73804],[61.678,46.73098],[61.68465,46.73221],[61.6838,46.7373],[61.67314,46.74918],[61.67225,46.75597],[61.67441,46.76276],[61.6708,46.76665],[61.6636,46.76786],[61.6492,46.76547],[61.6372,46.76992],[61.6228,46.77022],[61.6156,46.7683],[61.6036,46.76125],[61.5892,46.75751],[61.5796,46.76398],[61.5748,46.76521],[61.5676,46.76185],[61.56132,46.75597],[61.55951,46.739],[61.55355,46.73221],[61.54898,46.72033],[61.534,46.71408],[61.52316,46.71354],[61.51766,46.71693],[61.51646,46.72033],[61.52794,46.74409],[61.52748,46.75257],[61.52061,46.77294],[61.51354,46.77973],[61.5028,46.78537],[61.4836,46.78501]],[[60.34582,46.38771],[60.3628,46.38652],[60.38257,46.37752],[60.401,46.35376],[60.4228,46.33451],[60.42852,46.3317],[60.4444,46.32877],[60.46444,46.31643],[60.47127,46.30794],[60.4684,46.30085],[60.4588,46.29668],[60.4492,46.29678],[60.42968,46.30964],[60.4204,46.3197],[60.3964,46.3307],[60.382,46.33349],[60.3628,46.3398],[60.3412,46.33886],[60.3268,46.33428],[60.31288,46.34189],[60.30889,46.35546],[60.31745,46.36904],[60.32836,46.38092],[60.34582,46.38771]],[[58.67027,45.7581],[58.6756,45.75666],[58.67851,45.75301],[58.67919,45.72755],[58.67821,45.72076],[58.67172,45.70888],[58.67194,45.68173],[58.66892,45.66306],[58.6612,45.65579],[58.642,45.64772],[58.63811,45.64949],[58.63693,45.65288],[58.65166,45.68343],[58.65992,45.70888],[58.65091,45.71907],[58.65009,45.72585],[58.65694,45.73434],[58.66461,45.7547],[58.67027,45.7581]],[[60.00682,45.71737],[60.0316,45.71808],[60.0556,45.71342],[60.0916,45.69963],[60.1132,45.69492],[60.11666,45.69191],[60.1132,45.68721],[60.1012,45.68499],[60.0796,45.67686],[60.0436,45.66821],[60.022,45.66116],[59.9644,45.63036],[59.8924,45.60526],[59.8756,45.59637],[59.8636,45.59461],[59.8492,45.59565],[59.8084,45.59169],[59.7988,45.59468],[59.77943,45.60706],[59.77167,45.62403],[59.76708,45.65797],[59.77188,45.69191],[59.7772,45.6974],[59.7844,45.69898],[59.7988,45.69482],[59.818,45.69289],[59.8924,45.69309],[59.9188,45.69889],[59.9476,45.70203],[60.00682,45.71737]],[[59.0876,45.54936],[59.0932,45.54882],[59.11,45.54247],[59.11528,45.53918],[59.11695,45.53578],[59.11158,45.5273],[59.11529,45.51202],[59.10578,45.48827],[59.1004,45.48494],[59.09647,45.48657],[59.09453,45.48996],[59.08528,45.5273],[59.08288,45.54427],[59.0876,45.54936]],[[59.10126,45.44414],[59.1052,45.44563],[59.10833,45.44414],[59.10799,45.43566],[59.1156,45.4085],[59.12434,45.39832],[59.13481,45.39153],[59.14351,45.38305],[59.14916,45.37456],[59.15326,45.36099],[59.15153,45.34232],[59.14805,45.33044],[59.1412,45.32555],[59.1364,45.32573],[59.1292,45.32974],[59.12547,45.32705],[59.12899,45.31686],[59.12964,45.29989],[59.1377,45.27613],[59.14676,45.26595],[59.14007,45.25238],[59.14053,45.24389],[59.14501,45.2371],[59.1484,45.2347],[59.1532,45.23488],[59.16922,45.25407],[59.1916,45.26579],[59.1988,45.26487],[59.2084,45.25942],[59.21058,45.25577],[59.20019,45.23031],[59.1997,45.22353],[59.202,45.21843],[59.2228,45.20256],[59.2372,45.19475],[59.2516,45.1906],[59.2708,45.19074],[59.2756,45.19288],[59.27561,45.20146],[59.28023,45.20995],[59.2991,45.22522],[59.3044,45.22756],[59.3116,45.22799],[59.3452,45.21945],[59.374,45.2181],[59.386,45.22163],[59.3908,45.22124],[59.39337,45.21674],[59.38794,45.21165],[59.3668,45.20468],[59.3524,45.20724],[59.3404,45.20683],[59.3356,45.20425],[59.33156,45.19807],[59.33012,45.1794],[59.338,45.16603],[59.34354,45.16073],[59.34429,45.15564],[59.34067,45.14885],[59.3284,45.14367],[59.32284,45.13528],[59.32634,45.1251],[59.33527,45.12],[59.3404,45.12049],[59.3428,45.12261],[59.35488,45.14546],[59.35528,45.15225],[59.34905,45.16073],[59.35542,45.17601],[59.362,45.17848],[59.3764,45.17551],[59.3908,45.17849],[59.3956,45.17519],[59.39659,45.16922],[59.38768,45.13867],[59.38339,45.10473],[59.37956,45.09794],[59.37895,45.08946],[59.35816,45.04024],[59.35537,45.02836],[59.33784,44.99273],[59.3188,44.96889],[59.314,44.96625],[59.3044,44.96591],[59.29756,44.96388],[59.29,44.95431],[59.2852,44.95432],[59.28193,44.95878],[59.28215,44.96557],[59.28679,44.97236],[59.2972,44.97972],[59.3164,44.98795],[59.32158,44.99273],[59.3203,44.99951],[59.3092,45.01024],[59.29,45.01688],[59.2636,45.0175],[59.2468,45.02177],[59.2084,45.04867],[59.1868,45.05826],[59.1628,45.06128],[59.1484,45.05955],[59.13064,45.05382],[59.10969,45.03515],[59.09935,45.02327],[59.09206,45.00291],[59.0788,44.99292],[59.06807,44.97915],[59.06677,44.97406],[59.0716,44.96356],[59.074,44.96045],[59.07947,44.96048],[59.09231,44.97406],[59.09217,44.98933],[59.09458,44.99951],[59.10199,45.00461],[59.1076,45.00542],[59.11256,45.00291],[59.13113,44.98424],[59.13703,44.97406],[59.13594,44.96897],[59.1316,44.96594],[59.1076,44.96323],[59.0932,44.95428],[59.08984,44.9486],[59.0884,44.93213],[59.0836,44.92661],[59.0788,44.92489],[59.07419,44.92824],[59.07554,44.94351],[59.0716,44.94823],[59.062,44.94468],[59.05709,44.93672],[59.0524,44.9336],[59.0404,44.93277],[59.03641,44.93672],[59.03908,44.94691],[59.03734,44.95878],[59.04119,44.96897],[59.0486,44.97915],[59.04901,44.99782],[59.05413,45.01479],[59.0596,45.02225],[59.07734,45.03346],[59.09049,45.05212],[59.122,45.10813],[59.15541,45.15225],[59.1748,45.17063],[59.1868,45.17127],[59.19356,45.16752],[59.19405,45.15395],[59.17755,45.13867],[59.17649,45.13188],[59.17938,45.12],[59.1844,45.1116],[59.194,45.10591],[59.2036,45.10393],[59.2228,45.1057],[59.2444,45.11583],[59.26387,45.13358],[59.27191,45.14885],[59.2708,45.15492],[59.266,45.15888],[59.25616,45.16243],[59.218,45.18269],[59.1916,45.18982],[59.1858,45.19298],[59.18148,45.19807],[59.17963,45.21334],[59.1748,45.21805],[59.17,45.21826],[59.1604,45.21468],[59.15141,45.21504],[59.1412,45.21855],[59.122,45.23009],[59.11198,45.24219],[59.11384,45.25068],[59.11265,45.27274],[59.1076,45.27546],[59.0956,45.27474],[59.08368,45.28292],[59.082,45.28632],[59.08715,45.2931],[59.0771,45.30159],[59.0716,45.30275],[59.06886,45.29989],[59.06964,45.2965],[59.07757,45.28801],[59.0767,45.28632],[59.0716,45.28534],[59.062,45.28744],[59.06121,45.28632],[59.07097,45.27444],[59.07094,45.27104],[59.0644,45.26526],[59.0572,45.26337],[59.0452,45.26898],[59.0356,45.27753],[59.0236,45.27975],[58.9996,45.29065],[58.99362,45.2965],[58.99444,45.30498],[58.98269,45.31517],[58.97967,45.32365],[58.97987,45.33044],[58.99205,45.34571],[58.9972,45.34743],[59.0068,45.34658],[59.0212,45.33745],[59.0284,45.33689],[59.0393,45.34911],[59.0524,45.35809],[59.07632,45.36947],[59.09147,45.38475],[59.09633,45.39493],[59.09882,45.41529],[59.09523,45.43226],[59.10126,45.44414]],[[58.98368,44.63295],[58.99,44.63435],[58.99239,44.63295],[58.99194,44.62956],[58.98777,44.62616],[58.9756,44.61945],[58.95054,44.61089],[58.93843,44.6041],[58.9276,44.59535],[58.9228,44.59404],[58.9204,44.59501],[58.91986,44.59901],[58.9372,44.62132],[58.954,44.6284],[58.9636,44.6306],[58.9756,44.62989],[58.98368,44.63295]],[[60.862,44.49309],[60.85907,44.4904],[60.85777,44.48191],[60.84943,44.46664],[60.84401,44.43779],[60.84514,44.42761],[60.85659,44.41064],[60.85472,44.39706],[60.8596,44.39398],[60.86346,44.39536],[60.86372,44.39706],[60.86099,44.40215],[60.86093,44.40894],[60.86704,44.41742],[60.8716,44.42005],[60.8812,44.41772],[60.8908,44.4068],[60.8956,44.40571],[60.89889,44.40724],[60.90138,44.41233],[60.90189,44.4293],[60.9052,44.43385],[60.9196,44.43206],[60.9316,44.43763],[60.958,44.43426],[60.96995,44.43779],[60.9676,44.44089],[60.958,44.44507],[60.9412,44.44939],[60.93132,44.45985],[60.898,44.47285],[60.8836,44.48568],[60.8716,44.48743],[60.862,44.49309]],[[60.682,44.31474],[60.67872,44.31221],[60.67687,44.30542],[60.66657,44.29524],[60.65984,44.28336],[60.65941,44.27826],[60.66265,44.25451],[60.6723,44.23075],[60.6772,44.22807],[60.6868,44.22703],[60.68875,44.23754],[60.6916,44.24089],[60.6988,44.24351],[60.7156,44.24599],[60.72055,44.24942],[60.71853,44.25451],[60.70799,44.2579],[60.69993,44.26639],[60.71113,44.28505],[60.72041,44.29524],[60.7036,44.30671],[60.6916,44.30594],[60.68529,44.3139],[60.682,44.31474]],[[60.52502,44.24942],[60.5332,44.24972],[60.53825,44.24772],[60.54127,44.24263],[60.54017,44.23754],[60.52632,44.22226],[60.50712,44.20699],[60.50421,44.1985],[60.48753,44.17474],[60.48551,44.15777],[60.4793,44.14929],[60.47612,44.13571],[60.4732,44.13207],[60.46813,44.13062],[60.46313,44.13402],[60.46019,44.1442],[60.4635,44.16117],[60.50679,44.23754],[60.514,44.24624],[60.52502,44.24942]],[[60.35488,44.07971],[60.3628,44.08086],[60.36788,44.07632],[60.36543,44.06444],[60.35879,44.05256],[60.3436,44.03864],[60.31474,44.02371],[60.30047,44.01013],[60.29341,44.01013],[60.28988,44.01522],[60.29075,44.02201],[60.30539,44.04068],[60.31,44.04377],[60.322,44.04601],[60.33026,44.05086],[60.34343,44.07122],[60.35488,44.07971]],[[60.21848,43.92188],[60.226,43.92308],[60.2308,43.92019],[60.23193,43.91679],[60.22067,43.89134],[60.22415,43.86418],[60.2092,43.8485],[60.1852,43.84332],[60.1826,43.84721],[60.19489,43.87097],[60.19669,43.88285],[60.20732,43.89303],[60.21314,43.91509],[60.21848,43.92188]],[[59.6908,43.61678],[59.68599,43.61302],[59.68287,43.60453],[59.68522,43.58926],[59.69136,43.57738],[59.69315,43.5655],[59.70146,43.55532],[59.71488,43.53156],[59.71428,43.51629],[59.71646,43.5078],[59.72558,43.49592],[59.7292,43.49546],[59.73277,43.49762],[59.73712,43.5095],[59.73018,43.53835],[59.734,43.54187],[59.7412,43.54454],[59.746,43.54428],[59.7628,43.53752],[59.7772,43.53797],[59.7868,43.54146],[59.7916,43.54075],[59.79669,43.52817],[59.78771,43.51968],[59.78661,43.51629],[59.7892,43.51405],[59.7988,43.5121],[59.80109,43.50441],[59.8036,43.50371],[59.8156,43.50858],[59.842,43.51015],[59.866,43.52374],[59.8732,43.52458],[59.8948,43.52278],[59.90107,43.52477],[59.90312,43.52986],[59.902,43.53874],[59.8972,43.53983],[59.8828,43.53758],[59.87403,43.54005],[59.87374,43.54344],[59.87822,43.54853],[59.87811,43.55871],[59.8636,43.5625],[59.85976,43.5655],[59.8575,43.57399],[59.8589,43.58417],[59.8564,43.58641],[59.8516,43.5834],[59.84296,43.5655],[59.8372,43.56202],[59.8204,43.56911],[59.7964,43.56487],[59.7604,43.56852],[59.75518,43.57059],[59.75044,43.57738],[59.74179,43.58077],[59.7419,43.58926],[59.7388,43.59293],[59.7244,43.59887],[59.7124,43.60801],[59.7004,43.61006],[59.6956,43.61516],[59.6908,43.61678]]],"1989":[[[60.5788,46.78167],[60.5548,46.7767],[60.54585,46.77124],[60.54739,46.75766],[60.5564,46.74578],[60.5668,46.74029],[60.6244,46.72074],[60.6436,46.71267],[60.718,46.66877],[60.75913,46.65245],[60.76505,46.64736],[60.76644,46.64226],[60.76375,46.63717],[60.7564,46.63151],[60.7468,46.62755],[60.7276,46.62348],[60.7132,46.61745],[60.6977,46.60832],[60.68522,46.59475],[60.6748,46.58849],[60.6148,46.56642],[60.5884,46.56179],[60.5668,46.56199],[60.5524,46.56551],[60.53531,46.57269],[60.5092,46.58811],[60.4636,46.60864],[60.4588,46.60918],[60.45701,46.60493],[60.4598,46.58796],[60.45662,46.56759],[60.42732,46.52347],[60.41966,46.5082],[60.41456,46.48444],[60.41239,46.48104],[60.4084,46.47941],[60.40448,46.48104],[60.40271,46.48444],[60.39233,46.53874],[60.37987,46.57947],[60.35377,46.63887],[60.32953,46.66772],[60.30136,46.68978],[60.2788,46.69794],[60.2644,46.70033],[60.2572,46.69962],[60.2428,46.69509],[60.22565,46.68639],[60.1996,46.66547],[60.154,46.64456],[60.13604,46.63378],[60.1132,46.61667],[60.0988,46.61166],[60.07,46.60848],[60.058,46.60531],[60.0364,46.59702],[60.01395,46.58117],[60.00354,46.57099],[59.99732,46.56081],[59.98259,46.49801],[59.98259,46.47765],[59.98577,46.46577],[59.99634,46.4471],[60.01609,46.43013],[60.0316,46.42082],[60.058,46.41049],[60.07849,46.38431],[60.094,46.37498],[60.118,46.36544],[60.1372,46.3604],[60.154,46.35991],[60.16058,46.36225],[60.1684,46.36913],[60.1804,46.37305],[60.2164,46.37973],[60.274,46.3837],[60.2956,46.3935],[60.31,46.39744],[60.3268,46.40962],[60.3388,46.41168],[60.3556,46.40377],[60.382,46.39965],[60.39913,46.3928],[60.44595,46.35037],[60.466,46.33657],[60.5188,46.31432],[60.5692,46.29796],[60.57551,46.29946],[60.57824,46.30964],[60.59608,46.31813],[60.60896,46.3317],[60.62523,46.33849],[60.6484,46.35382],[60.6532,46.35462],[60.6652,46.35117],[60.68026,46.35716],[60.68599,46.36904],[60.706,46.38475],[60.71556,46.38601],[60.7276,46.38207],[60.73383,46.37752],[60.73698,46.35037],[60.74892,46.32831],[60.77322,46.29097],[60.81697,46.23327],[60.83152,46.20442],[60.83152,46.18915],[60.82628,46.17727],[60.78947,46.13484],[60.78067,46.11448],[60.7852,46.11102],[60.7996,46.1131],[60.8236,46.10462],[60.838,46.10338],[60.84226,46.09921],[60.84327,46.09072],[60.8476,46.08884],[60.8548,46.08942],[60.85786,46.09072],[60.85844,46.09412],[60.83369,46.11448],[60.83348,46.11787],[60.838,46.12153],[60.8524,46.12325],[60.8668,46.12834],[60.8836,46.12413],[60.9004,46.12765],[60.9124,46.13257],[60.9316,46.1459],[60.95471,46.16709],[60.982,46.18085],[61.0228,46.191],[61.0588,46.19461],[61.0756,46.20293],[61.08807,46.20273],[61.09406,46.20612],[61.09716,46.218],[61.1092,46.22446],[61.138,46.22076],[61.1764,46.22631],[61.20563,46.24006],[61.2196,46.24995],[61.23654,46.27061],[61.24407,46.30116],[61.25644,46.32322],[61.26785,46.33679],[61.27793,46.36225],[61.28054,46.41316],[61.269,46.43522],[61.26641,46.45559],[61.26804,46.48274],[61.2748,46.4865],[61.2988,46.48716],[61.306,46.48925],[61.31543,46.50311],[61.33419,46.51838],[61.3396,46.52761],[61.35937,46.54214],[61.36147,46.54553],[61.36091,46.55402],[61.36764,46.5625],[61.3756,46.56631],[61.3924,46.56976],[61.4044,46.57028],[61.4092,46.57258],[61.41046,46.57608],[61.40779,46.58117],[61.40629,46.59814],[61.4116,46.60381],[61.42524,46.60832],[61.4287,46.61681],[61.42444,46.6219],[61.40872,46.63038],[61.3924,46.64695],[61.3852,46.64825],[61.3708,46.64392],[61.3516,46.64266],[61.32848,46.62529],[61.3156,46.61871],[61.3084,46.60957],[61.28468,46.59984],[61.27693,46.58456],[61.26934,46.55402],[61.26994,46.54893],[61.27737,46.53535],[61.27581,46.51499],[61.27254,46.5048],[61.26551,46.49462],[61.24445,46.47256],[61.2292,46.4618],[61.2196,46.45785],[61.1956,46.45596],[61.1812,46.45028],[61.1644,46.45054],[61.1524,46.44623],[61.138,46.43817],[61.1308,46.4364],[61.1212,46.43851],[61.0948,46.4526],[61.0684,46.4595],[61.0372,46.46152],[60.958,46.45987],[60.9148,46.46516],[60.8908,46.47215],[60.8764,46.47911],[60.83689,46.5065],[60.82843,46.51499],[60.8188,46.53192],[60.80951,46.54214],[60.79587,46.55402],[60.7756,46.56692],[60.77075,46.57269],[60.77007,46.58456],[60.77873,46.61341],[60.78571,46.65075],[60.78328,46.66263],[60.79985,46.68469],[60.80521,46.69827],[60.78466,46.739],[60.7756,46.74445],[60.7516,46.75094],[60.7348,46.75323],[60.718,46.75092],[60.6892,46.7585],[60.67,46.7616],[60.6364,46.77299],[60.6076,46.77416],[60.5884,46.78045],[60.5788,46.78167]],[[59.5612,46.34701],[59.5372,46.3444],[59.51276,46.3351],[59.48835,46.31982],[59.47907,46.30964],[59.47647,46.30285],[59.4796,46.29759],[59.5036,46.29064],[59.52551,46.2757],[59.58009,46.20612],[59.62631,46.162],[59.64311,46.14333],[59.65638,46.12127],[59.6548,46.11687],[59.6428,46.11282],[59.63062,46.1009],[59.61214,46.06357],[59.58248,46.03642],[59.57488,46.02454],[59.57487,46.01605],[59.57976,46.00587],[59.5876,46.00102],[59.5996,45.99878],[59.6092,45.99296],[59.61222,45.99399],[59.6188,46.00212],[59.6356,46.00433],[59.6476,46.00922],[59.6548,46.00891],[59.65813,46.00417],[59.65821,45.98041],[59.65434,45.96684],[59.62827,45.91423],[59.61433,45.89726],[59.6092,45.88388],[59.60001,45.87519],[59.5972,45.86548],[59.59,45.86349],[59.56734,45.8735],[59.56109,45.88029],[59.5516,45.90053],[59.5444,45.905],[59.54045,45.90235],[59.52986,45.88198],[59.52285,45.85822],[59.51562,45.84804],[59.52138,45.82259],[59.51947,45.8175],[59.5132,45.81222],[59.4988,45.80614],[59.4628,45.79694],[59.4196,45.79629],[59.3932,45.79785],[59.34585,45.78865],[59.32024,45.78016],[59.2852,45.75159],[59.2684,45.7489],[59.2564,45.75014],[59.25365,45.75301],[59.25519,45.77507],[59.25286,45.78865],[59.25299,45.81919],[59.25618,45.83447],[59.26572,45.85313],[59.27332,45.86501],[59.2927,45.88368],[59.3116,45.90936],[59.33444,45.9278],[59.362,45.94416],[59.36991,45.96005],[59.3683,45.97362],[59.37213,45.99059],[59.36935,45.99738],[59.35578,46.00757],[59.3452,46.01287],[59.3332,46.01687],[59.3212,46.01855],[59.3068,46.01826],[59.2828,46.01403],[59.2612,46.00874],[59.242,46.00092],[59.2346,45.99569],[59.2204,45.97791],[59.1892,45.95778],[59.1796,45.95448],[59.158,45.95444],[59.1292,45.95916],[59.0956,45.95754],[59.074,45.9582],[59.0452,45.97005],[59.0236,45.98485],[59.014,45.98631],[58.9996,45.98556],[58.978,45.97893],[58.96278,45.97023],[58.95572,45.96005],[58.9564,45.94405],[58.9492,45.93824],[58.9252,45.93718],[58.8796,45.93972],[58.8628,45.93814],[58.8292,45.9313],[58.8028,45.92166],[58.7668,45.89836],[58.7428,45.88601],[58.72579,45.8718],[58.69072,45.83107],[58.67393,45.80731],[58.66165,45.78355],[58.64589,45.74452],[58.63887,45.71907],[58.63341,45.66306],[58.62659,45.6444],[58.62542,45.61045],[58.618,45.59843],[58.60356,45.59009],[58.59824,45.585],[58.59045,45.57312],[58.58361,45.55445],[58.56239,45.5256],[58.55939,45.51712],[58.55826,45.50015],[58.54768,45.47808],[58.54433,45.44584],[58.534,45.41511],[58.52462,45.40172],[58.49886,45.37626],[58.4512,45.34062],[58.41822,45.29989],[58.40652,45.28123],[58.39647,45.25747],[58.39581,45.24219],[58.39263,45.23031],[58.37246,45.19807],[58.36527,45.17261],[58.35954,45.13698],[58.34911,45.11491],[58.34628,45.10303],[58.342,45.0976],[58.32732,45.09115],[58.3201,45.08606],[58.29612,45.05382],[58.27214,44.98763],[58.26875,44.96727],[58.26236,44.95878],[58.24432,44.94181],[58.22412,44.91127],[58.20908,44.87733],[58.20406,44.85357],[58.20419,44.83829],[58.21174,44.79078],[58.21509,44.78568],[58.222,44.78319],[58.2292,44.78593],[58.2261,44.79587],[58.2292,44.80144],[58.23492,44.80435],[58.2508,44.8073],[58.26956,44.82302],[58.26876,44.82641],[58.2652,44.8276],[58.2508,44.82394],[58.24706,44.82472],[58.2449,44.82981],[58.2484,44.83511],[58.258,44.83789],[58.27,44.83308],[58.2748,44.83365],[58.2844,44.85339],[58.2964,44.85206],[58.3108,44.85789],[58.3204,44.85623],[58.32807,44.85187],[58.3299,44.84848],[58.318,44.84157],[58.3012,44.84097],[58.2964,44.83931],[58.29052,44.81793],[58.2868,44.81529],[58.2772,44.81381],[58.27404,44.81114],[58.2748,44.80473],[58.29114,44.79417],[58.2918,44.79078],[58.2892,44.78739],[58.2724,44.78602],[58.258,44.79221],[58.2508,44.79272],[58.23972,44.78568],[58.23194,44.7772],[58.22305,44.77381],[58.22075,44.77041],[58.22192,44.76362],[58.2268,44.7578],[58.2316,44.75737],[58.2388,44.76199],[58.2436,44.76278],[58.2508,44.75935],[58.25702,44.75344],[58.25361,44.74665],[58.23779,44.74326],[58.23619,44.73817],[58.25393,44.70423],[58.27988,44.66689],[58.29247,44.64144],[58.29981,44.61937],[58.29718,44.6041],[58.29265,44.59561],[58.2532,44.56368],[58.23371,44.53961],[58.22127,44.51246],[58.21865,44.47682],[58.22365,44.44627],[58.24572,44.36142],[58.26223,44.32918],[58.28272,44.30033],[58.29769,44.28505],[58.32717,44.26469],[58.39749,44.23075],[58.4356,44.20929],[58.49999,44.16796],[58.534,44.15077],[58.5628,44.13973],[58.5844,44.13395],[58.6492,44.12195],[58.6708,44.11972],[58.6924,44.11963],[58.7332,44.12504],[58.7452,44.12829],[58.74897,44.13062],[58.7538,44.1408],[58.7596,44.14458],[58.7668,44.14542],[58.77734,44.13741],[58.78059,44.12383],[58.80004,44.11026],[58.79579,44.10177],[58.8196,44.09539],[58.8532,44.08181],[58.86183,44.07122],[58.86142,44.06104],[58.8676,44.05538],[58.894,44.04197],[58.9636,44.01969],[59.002,44.00463],[59.0356,43.99518],[59.0932,43.98452],[59.1508,43.97977],[59.218,43.96549],[59.2516,43.9619],[59.2732,43.96252],[59.3188,43.95325],[59.3524,43.94379],[59.386,43.94039],[59.41,43.94209],[59.43742,43.94904],[59.46414,43.96431],[59.5036,43.97437],[59.51405,43.98128],[59.53,43.99725],[59.5468,44.00154],[59.55222,43.99995],[59.5612,43.99112],[59.5756,43.98353],[59.5876,43.96494],[59.5948,43.96197],[59.6068,43.9619],[59.6332,43.96503],[59.6668,43.96526],[59.7508,43.9784],[59.8084,43.98185],[59.8204,43.98102],[59.83,43.98262],[59.8468,43.97939],[59.8564,43.96472],[59.8708,43.95817],[59.8804,43.95672],[59.8972,43.95736],[59.9308,43.96562],[59.95417,43.97619],[60.0148,44.00953],[60.0316,44.02256],[60.0796,44.04568],[60.1084,44.0508],[60.1444,44.06066],[60.1732,44.07566],[60.1948,44.07961],[60.2092,44.08466],[60.2356,44.10057],[60.2476,44.10516],[60.2548,44.10472],[60.2716,44.09725],[60.27802,44.09668],[60.278,44.10177],[60.26366,44.11365],[60.26124,44.11874],[60.27662,44.13402],[60.29334,44.15608],[60.30141,44.17984],[60.29995,44.2019],[60.31269,44.21717],[60.32136,44.23923],[60.33113,44.24602],[60.3364,44.24688],[60.3508,44.23687],[60.37,44.23541],[60.4108,44.24761],[60.4204,44.25484],[60.4324,44.25976],[60.46391,44.28505],[60.48505,44.30881],[60.50867,44.34784],[60.5164,44.35539],[60.5356,44.36327],[60.5788,44.36518],[60.6004,44.37602],[60.6103,44.39027],[60.62359,44.40045],[60.65826,44.44118],[60.66309,44.44967],[60.6724,44.45834],[60.67788,44.46834],[60.67979,44.48531],[60.6988,44.51409],[60.708,44.52094],[60.71172,44.53113],[60.72098,44.54131],[60.73583,44.56507],[60.73821,44.57186],[60.73746,44.58543],[60.73159,44.59731],[60.73136,44.6041],[60.72543,44.61089],[60.72716,44.61598],[60.7396,44.61988],[60.7612,44.61871],[60.7684,44.62003],[60.778,44.62535],[60.7924,44.63872],[60.802,44.6443],[60.8452,44.65958],[60.8764,44.66615],[60.91,44.67819],[60.93462,44.69404],[60.94382,44.70253],[60.95232,44.71271],[60.96872,44.74156],[60.96621,44.7789],[60.96289,44.79417],[60.94585,44.82811],[60.9293,44.86884],[60.92143,44.88072],[60.9101,44.90957],[60.90176,44.92145],[60.88052,44.96388],[60.87545,44.99273],[60.87754,45.008],[60.87472,45.02667],[60.84687,45.13188],[60.84353,45.17092],[60.83583,45.20146],[60.82224,45.22862],[60.81242,45.2405],[60.76099,45.28632],[60.72926,45.33383],[60.67993,45.38644],[60.67062,45.39493],[60.63868,45.41699],[60.622,45.42366],[60.61466,45.43396],[60.59635,45.45263],[60.59282,45.45942],[60.5956,45.4643],[60.60463,45.4696],[60.59436,45.48148],[60.60056,45.49336],[60.59988,45.54597],[60.61175,45.56124],[60.62769,45.57142],[60.63313,45.59518],[60.65174,45.63421],[60.64739,45.65627],[60.647,45.67155],[60.64404,45.68003],[60.64412,45.6987],[60.6334,45.71058],[60.62164,45.74452],[60.6172,45.74845],[60.60091,45.7564],[60.60213,45.77167],[60.60816,45.78186],[60.61212,45.79543],[60.62423,45.8124],[60.6388,45.82337],[60.6628,45.83717],[60.69369,45.86841],[60.70621,45.87859],[60.73746,45.91423],[60.74292,45.9278],[60.78546,45.97872],[60.79031,45.9889],[60.80666,46.00926],[60.80781,46.03642],[60.80346,46.0466],[60.7924,46.05267],[60.7684,46.05324],[60.754,46.05949],[60.73112,46.08224],[60.73796,46.09412],[60.7372,46.0992],[60.73,46.09622],[60.72141,46.08733],[60.7132,46.08248],[60.6652,46.07833],[60.6076,46.08668],[60.5548,46.09803],[60.5236,46.11087],[60.4828,46.13499],[60.4564,46.14613],[60.4324,46.15197],[60.4108,46.15253],[60.334,46.14431],[60.3028,46.14431],[60.262,46.15153],[60.2188,46.16498],[60.21034,46.16369],[60.20873,46.15521],[60.2044,46.15402],[60.1804,46.16746],[60.1468,46.16807],[60.1084,46.17439],[60.0508,46.17764],[60.0364,46.17505],[60.01862,46.16709],[60.0052,46.1572],[59.98451,46.13484],[59.9644,46.11706],[59.9164,46.09292],[59.8852,46.08013],[59.866,46.07529],[59.8444,46.07294],[59.8084,46.07338],[59.79825,46.07884],[59.79729,46.08563],[59.80301,46.09242],[59.83496,46.11278],[59.84226,46.12975],[59.84319,46.14163],[59.83988,46.15351],[59.81874,46.18236],[59.81008,46.20103],[59.80979,46.21121],[59.81633,46.24006],[59.81674,46.25194],[59.8133,46.26552],[59.8062,46.2757],[59.7676,46.31046],[59.7556,46.31835],[59.7388,46.32511],[59.7148,46.32902],[59.686,46.32912],[59.6476,46.32713],[59.602,46.3212],[59.59458,46.32322],[59.5852,46.32933],[59.5732,46.34398],[59.5612,46.34701]],[[60.016,45.72755],[60.07,45.72827],[60.0892,45.72552],[60.1084,45.72024],[60.226,45.6754],[60.2404,45.6628],[60.24271,45.65797],[60.2404,45.65507],[60.226,45.66055],[60.2116,45.65798],[60.1492,45.66217],[60.1012,45.66289],[60.0844,45.66152],[60.0532,45.6514],[60.0076,45.62693],[59.9836,45.61683],[59.8852,45.58832],[59.8492,45.58278],[59.8036,45.57919],[59.7676,45.5797],[59.76265,45.5816],[59.76044,45.585],[59.76166,45.59688],[59.75214,45.62064],[59.74157,45.62912],[59.73955,45.63421],[59.7412,45.63683],[59.7508,45.63878],[59.75348,45.641],[59.75661,45.65118],[59.76018,45.68343],[59.76595,45.69361],[59.7724,45.69924],[59.7844,45.70275],[59.8228,45.69956],[59.8492,45.70281],[59.8804,45.70328],[59.9308,45.71381],[59.9452,45.72159],[59.9596,45.7196],[60.016,45.72755]],[[59.13826,45.62064],[59.14559,45.61724],[59.1532,45.60177],[59.1676,45.5922],[59.1892,45.5925],[59.218,45.58807],[59.2396,45.59818],[59.2468,45.59943],[59.26408,45.58839],[59.2708,45.57953],[59.27183,45.57142],[59.26511,45.56124],[59.26652,45.54427],[59.25413,45.53239],[59.26295,45.5273],[59.26438,45.52051],[59.2588,45.51755],[59.2444,45.5198],[59.23,45.51782],[59.21072,45.50524],[59.19615,45.48827],[59.19338,45.47299],[59.18419,45.4662],[59.18391,45.45602],[59.17232,45.44075],[59.16355,45.4102],[59.16715,45.40511],[59.1724,45.40225],[59.194,45.39817],[59.20017,45.40172],[59.21152,45.41869],[59.218,45.42017],[59.22484,45.41529],[59.22794,45.40681],[59.23629,45.39832],[59.24869,45.37796],[59.24985,45.35759],[59.23454,45.33553],[59.23044,45.32535],[59.23348,45.31347],[59.24694,45.30498],[59.25496,45.2931],[59.25473,45.28632],[59.24607,45.25747],[59.24327,45.2354],[59.2453,45.22692],[59.254,45.2185],[59.2708,45.21393],[59.2756,45.21549],[59.27867,45.22013],[59.27344,45.23031],[59.288,45.25577],[59.28583,45.26086],[59.26991,45.27613],[59.27289,45.28801],[59.27269,45.2982],[59.27731,45.30329],[59.2852,45.3056],[59.29443,45.30329],[59.2986,45.29141],[59.30732,45.28123],[59.30848,45.27104],[59.31248,45.26256],[59.32725,45.24898],[59.3428,45.24185],[59.35,45.24217],[59.3572,45.24519],[59.36105,45.24898],[59.36245,45.25407],[59.3572,45.26393],[59.3524,45.26689],[59.3356,45.26329],[59.3267,45.26595],[59.32629,45.26935],[59.3356,45.27803],[59.33913,45.28801],[59.33708,45.2965],[59.32884,45.30498],[59.32873,45.31008],[59.3332,45.3153],[59.338,45.31768],[59.3572,45.31248],[59.3616,45.31008],[59.37548,45.2948],[59.38965,45.26086],[59.39853,45.24898],[59.40141,45.22862],[59.40179,45.18958],[59.40575,45.17261],[59.40184,45.16413],[59.39853,45.13867],[59.39321,45.13019],[59.3951,45.1217],[59.39168,45.10134],[59.37378,45.06061],[59.37216,45.05043],[59.34786,44.99951],[59.33339,44.97915],[59.30409,44.94691],[59.29314,44.93163],[59.28498,44.91466],[59.27948,44.8926],[59.2612,44.87971],[59.24527,44.86545],[59.22681,44.82302],[59.20894,44.79417],[59.20154,44.78738],[59.1916,44.78219],[59.1844,44.78065],[59.1604,44.78907],[59.15681,44.79417],[59.16807,44.80266],[59.177,44.81453],[59.19325,44.82811],[59.20913,44.85696],[59.22155,44.87393],[59.22621,44.88751],[59.22473,44.90448],[59.23692,44.94521],[59.24147,44.95539],[59.25996,44.98085],[59.26432,44.99103],[59.26474,44.99951],[59.2636,45.00469],[59.2588,45.01012],[59.242,45.01909],[59.19978,45.04873],[59.1892,45.05366],[59.17,45.05654],[59.1484,45.05683],[59.13804,45.05212],[59.13045,45.04194],[59.12614,45.03006],[59.12833,45.01988],[59.16068,44.97066],[59.16834,44.952],[59.16707,44.9486],[59.1628,44.94597],[59.1412,44.94912],[59.1292,44.94908],[59.1052,44.94285],[59.09899,44.93842],[59.09554,44.92484],[59.10831,44.88751],[59.1068,44.88072],[59.1004,44.87914],[59.0692,44.8894],[59.0524,44.89283],[59.0428,44.89722],[59.038,44.89722],[59.0308,44.89328],[59.0188,44.88209],[58.9828,44.87044],[58.97363,44.86375],[58.97402,44.85696],[58.99529,44.82981],[58.99617,44.82302],[58.99009,44.81453],[58.9852,44.81182],[58.9636,44.81261],[58.954,44.8099],[58.94828,44.80435],[58.9516,44.80101],[58.966,44.80127],[58.9828,44.79351],[58.9948,44.79344],[59.0044,44.79711],[59.0092,44.79718],[59.0236,44.7904],[59.0308,44.78988],[59.04436,44.80605],[59.05175,44.81963],[59.0596,44.82493],[59.0692,44.82834],[59.0812,44.82512],[59.0932,44.8133],[59.122,44.81126],[59.12788,44.80775],[59.1271,44.80435],[59.12076,44.79926],[59.08296,44.7772],[59.07222,44.74835],[59.06427,44.73817],[59.0572,44.73658],[59.0428,44.74413],[59.03657,44.74326],[59.02873,44.72459],[59.03181,44.71271],[59.03132,44.70423],[59.02394,44.69574],[59.02247,44.69065],[59.02287,44.67198],[59.03148,44.64653],[59.033,44.63465],[59.0356,44.63263],[59.05019,44.64653],[59.05729,44.65841],[59.05787,44.66689],[59.05264,44.67707],[59.05465,44.68047],[59.0596,44.68252],[59.0668,44.68284],[59.0812,44.68093],[59.08531,44.67877],[59.10066,44.63804],[59.10686,44.60919],[59.11312,44.59222],[59.11347,44.58374],[59.1124,44.58174],[59.1076,44.58093],[59.0884,44.59533],[59.0817,44.6041],[59.07658,44.61937],[59.0716,44.62168],[59.0596,44.61456],[59.03681,44.60749],[59.03282,44.6041],[59.03355,44.59561],[59.05371,44.57864],[59.05452,44.57525],[59.0524,44.57257],[59.0476,44.57231],[59.0356,44.58095],[59.0236,44.58563],[58.9924,44.59038],[58.98726,44.58713],[58.9839,44.57016],[58.9804,44.56565],[58.9756,44.5655],[58.9636,44.57367],[58.942,44.56249],[58.93602,44.55489],[58.93935,44.5447],[58.942,44.54262],[58.9492,44.54404],[58.966,44.55575],[58.9708,44.55506],[58.97499,44.55149],[58.97393,44.53791],[58.96848,44.51755],[58.95913,44.50737],[58.9276,44.49293],[58.90771,44.47512],[58.90282,44.46664],[58.89953,44.44627],[58.89549,44.43609],[58.87895,44.42251],[58.87,44.4098],[58.8604,44.40384],[58.85471,44.40724],[58.85226,44.41573],[58.85552,44.431],[58.86541,44.44797],[58.86562,44.46155],[58.85105,44.50228],[58.83267,44.52264],[58.81569,44.53622],[58.79479,44.5481],[58.78784,44.55828],[58.7644,44.57689],[58.76313,44.58204],[58.7668,44.58484],[58.7716,44.58503],[58.7956,44.57529],[58.8076,44.57382],[58.8412,44.55852],[58.85549,44.55489],[58.86188,44.54131],[58.86551,44.53791],[58.8748,44.53557],[58.8844,44.53721],[58.89218,44.54131],[58.89686,44.5481],[58.89287,44.56846],[58.89812,44.6024],[58.90425,44.61768],[58.90217,44.62786],[58.90863,44.63974],[58.9186,44.66859],[58.9252,44.67234],[58.9564,44.67403],[58.96151,44.67198],[58.9708,44.6634],[58.9828,44.66015],[58.9935,44.66519],[59.00303,44.67538],[59.00793,44.69404],[59.00512,44.71441],[58.98445,44.75174],[58.9636,44.7695],[58.93159,44.78738],[58.9228,44.78917],[58.906,44.78556],[58.9014,44.78738],[58.89326,44.80775],[58.88003,44.82132],[58.87892,44.8332],[58.88108,44.85187],[58.899,44.86375],[58.90368,44.87054],[58.906,44.88005],[58.91048,44.88411],[58.918,44.88403],[58.92134,44.87902],[58.92092,44.86884],[58.91225,44.85696],[58.91268,44.85017],[58.918,44.84491],[58.9228,44.84429],[58.9276,44.84707],[58.94298,44.87223],[58.94487,44.88411],[58.93502,44.91296],[58.9324,44.91517],[58.9228,44.91664],[58.9185,44.91975],[58.90505,44.94012],[58.90594,44.952],[58.91807,44.96557],[58.91672,44.97406],[58.9084,44.97924],[58.9084,44.98424],[58.9132,44.98609],[58.9228,44.98278],[58.9276,44.98342],[58.93181,44.99782],[58.9372,45.0012],[58.95096,44.99273],[58.9612,44.9953],[58.9708,44.9929],[58.9756,44.99327],[58.98214,45.00461],[58.9924,45.0137],[59.0042,45.01988],[59.00731,45.02327],[59.02524,45.05043],[59.02809,45.064],[59.02048,45.08097],[59.01498,45.10982],[59.0116,45.11347],[59.0068,45.11275],[58.99877,45.10643],[58.99,45.09338],[58.9732,45.09545],[58.97076,45.09455],[58.96964,45.08776],[58.966,45.08465],[58.954,45.08594],[58.9396,45.07672],[58.9324,45.07858],[58.9084,45.09334],[58.8772,45.10634],[58.86308,45.10813],[58.86295,45.11322],[58.8748,45.11705],[58.87856,45.12],[58.8806,45.13019],[58.87601,45.14207],[58.87416,45.15564],[58.87,45.15889],[58.858,45.16103],[58.85359,45.1777],[58.858,45.18115],[58.87,45.17824],[58.87258,45.1828],[58.86977,45.18619],[58.8604,45.19122],[58.8556,45.19151],[58.8412,45.18757],[58.834,45.18954],[58.82994,45.19298],[58.82997,45.19637],[58.834,45.19942],[58.8412,45.20018],[58.8532,45.1976],[58.85844,45.20146],[58.85867,45.21674],[58.85167,45.22692],[58.84985,45.24389],[58.86341,45.26935],[58.8597,45.28123],[58.86554,45.29141],[58.86342,45.29989],[58.86832,45.31347],[58.86868,45.32874],[58.8724,45.33217],[58.8868,45.3324],[58.89865,45.34062],[58.90674,45.3559],[58.91024,45.37626],[58.91825,45.38814],[58.9156,45.39256],[58.906,45.38859],[58.90033,45.38984],[58.90241,45.41529],[58.88991,45.41869],[58.88607,45.42717],[58.88627,45.43396],[58.89161,45.44245],[58.89104,45.45602],[58.89726,45.4662],[58.90401,45.48657],[58.8984,45.49845],[58.9034,45.50693],[58.9108,45.51256],[58.9252,45.51577],[58.9396,45.52245],[58.9492,45.52414],[58.9612,45.53389],[58.966,45.53392],[58.9828,45.52549],[58.9924,45.52572],[59.0098,45.53748],[59.014,45.54835],[59.01847,45.55106],[59.02439,45.54936],[59.0356,45.53976],[59.0452,45.53578],[59.049,45.53578],[59.04985,45.54427],[59.05473,45.55615],[59.05026,45.56463],[59.05068,45.56803],[59.0596,45.57161],[59.0884,45.57654],[59.1076,45.5883],[59.11515,45.59009],[59.11666,45.59179],[59.11504,45.59857],[59.134,45.61883],[59.13826,45.62064]],[[59.23053,45.51372],[59.2372,45.51392],[59.24594,45.50354],[59.2564,45.4985],[59.25978,45.48827],[59.25447,45.47808],[59.25563,45.4696],[59.25353,45.4662],[59.2468,45.46417],[59.2348,45.46354],[59.2204,45.45864],[59.2151,45.46281],[59.21248,45.47469],[59.2156,45.47942],[59.2228,45.48193],[59.22375,45.48487],[59.2163,45.49166],[59.21606,45.49505],[59.22224,45.50524],[59.23053,45.51372]],[[58.79032,45.15395],[58.7956,45.15481],[58.8028,45.15138],[58.81303,45.14376],[58.81528,45.13698],[58.8004,45.11622],[58.7932,45.1138],[58.774,45.11249],[58.7524,45.12614],[58.74959,45.13358],[58.7523,45.13698],[58.762,45.14082],[58.7716,45.14857],[58.7812,45.14958],[58.79032,45.15395]],[[58.37023,44.952],[58.3756,44.95135],[58.378,44.94893],[58.37615,44.94012],[58.38162,44.92824],[58.3684,44.91893],[58.36388,44.90448],[58.3588,44.90153],[58.354,44.90127],[58.34346,44.90618],[58.34078,44.91127],[58.35098,44.91975],[58.35435,44.92993],[58.36443,44.94012],[58.36436,44.9486],[58.37023,44.952]],[[58.90606,44.2596],[58.9228,44.25831],[58.93256,44.25281],[58.94033,44.23584],[58.94293,44.22226],[58.94165,44.21717],[58.9084,44.19311],[58.882,44.18397],[58.86679,44.17474],[58.86213,44.16796],[58.86183,44.15777],[58.86426,44.14929],[58.8604,44.14269],[58.8484,44.13519],[58.8316,44.13036],[58.82828,44.12383],[58.83139,44.11535],[58.8303,44.11195],[58.8244,44.11108],[58.8172,44.11291],[58.81,44.11642],[58.8052,44.12139],[58.79727,44.13911],[58.79901,44.17984],[58.79328,44.20869],[58.78306,44.22396],[58.786,44.23704],[58.7908,44.24089],[58.7956,44.24151],[58.8124,44.23596],[58.8292,44.23554],[58.83548,44.23075],[58.8412,44.2204],[58.8508,44.21175],[58.8556,44.20972],[58.86681,44.22905],[58.90606,44.2596]]],"2000":[[[60.5764,46.77973],[60.562,46.77349],[60.55338,46.76276],[60.5548,46.75833],[60.57128,46.74578],[60.5932,46.73308],[60.6484,46.71038],[60.7036,46.6773],[60.7252,46.66689],[60.7636,46.65308],[60.7684,46.65251],[60.77339,46.65414],[60.78113,46.66602],[60.79636,46.68299],[60.80035,46.69318],[60.77159,46.7373],[60.7564,46.74205],[60.742,46.74954],[60.7348,46.74954],[60.7252,46.74623],[60.7204,46.74625],[60.706,46.75275],[60.6628,46.76256],[60.6388,46.7713],[60.6076,46.77246],[60.5884,46.77884],[60.5764,46.77973]],[[60.274,46.69658],[60.2524,46.69588],[60.2332,46.68992],[60.19576,46.66263],[60.1564,46.64456],[60.1132,46.61623],[60.0892,46.60638],[60.0676,46.60669],[60.0364,46.59489],[60.0124,46.57847],[60.00255,46.56759],[59.99486,46.54553],[59.9826,46.48953],[59.98965,46.46238],[59.9953,46.45389],[60.0052,46.44459],[60.03784,46.42165],[60.0628,46.40874],[60.077,46.38771],[60.094,46.3767],[60.1156,46.36884],[60.1444,46.36352],[60.1732,46.37254],[60.2116,46.37938],[60.2308,46.3804],[60.27333,46.38601],[60.31168,46.40128],[60.3292,46.41081],[60.3388,46.41227],[60.37,46.41193],[60.3796,46.41822],[60.3844,46.4191],[60.39431,46.41316],[60.40528,46.40128],[60.42201,46.37752],[60.45872,46.34358],[60.4756,46.33326],[60.50092,46.32322],[60.5476,46.30755],[60.5572,46.30604],[60.5884,46.31907],[60.62329,46.34698],[60.64098,46.35886],[60.6484,46.36088],[60.6628,46.36024],[60.66806,46.36225],[60.69286,46.38431],[60.6945,46.40128],[60.7012,46.40425],[60.70792,46.40298],[60.7204,46.39013],[60.7372,46.39228],[60.74381,46.3894],[60.74339,46.36055],[60.74905,46.33849],[60.79179,46.27231],[60.82177,46.23667],[60.83582,46.21121],[60.83674,46.19764],[60.83439,46.18915],[60.8055,46.14333],[60.80648,46.13824],[60.814,46.13503],[60.8308,46.14272],[60.85,46.1483],[60.862,46.15559],[60.8668,46.15673],[60.87224,46.15521],[60.886,46.14544],[60.9004,46.14501],[60.9124,46.14008],[60.9172,46.14009],[60.9388,46.15452],[60.95501,46.17048],[60.982,46.18756],[61.0468,46.20139],[61.0636,46.20745],[61.0852,46.21058],[61.10086,46.22309],[61.1092,46.22686],[61.1404,46.22597],[61.1884,46.23553],[61.1956,46.23854],[61.20215,46.24685],[61.21497,46.25703],[61.22928,46.27909],[61.23281,46.29267],[61.25993,46.34698],[61.26819,46.37243],[61.26381,46.41316],[61.25926,46.42844],[61.25918,46.46407],[61.26261,46.47595],[61.2604,46.47846],[61.2556,46.47608],[61.25392,46.47086],[61.249,46.46577],[61.2244,46.4545],[61.2124,46.45168],[61.1908,46.45184],[61.1644,46.44738],[61.1548,46.44417],[61.1428,46.4348],[61.1332,46.43277],[61.1188,46.43575],[61.0924,46.45061],[61.0684,46.45781],[61.0228,46.46149],[60.9988,46.45987],[60.9532,46.45996],[60.9172,46.46516],[60.89505,46.47086],[60.87782,46.47935],[60.838,46.50581],[60.8284,46.51595],[60.81481,46.53705],[60.778,46.56169],[60.7708,46.56858],[60.76732,46.57778],[60.77612,46.61851],[60.7732,46.6355],[60.754,46.62662],[60.7276,46.62134],[60.7084,46.61363],[60.69571,46.60493],[60.68883,46.59305],[60.68399,46.58966],[60.6532,46.58158],[60.6124,46.56645],[60.5884,46.56199],[60.5692,46.56199],[60.5524,46.56552],[60.5332,46.57416],[60.5092,46.58817],[60.4708,46.60363],[60.4612,46.60436],[60.45981,46.57438],[60.45667,46.5642],[60.42251,46.51329],[60.41216,46.47765],[60.40999,46.47426],[60.406,46.47262],[60.40209,46.47426],[60.40033,46.47765],[60.39713,46.51329],[60.38758,46.55232],[60.37508,46.59135],[60.35589,46.63378],[60.33671,46.65923],[60.32071,46.67451],[60.2956,46.69162],[60.2836,46.69567],[60.274,46.69658]],[[59.5396,46.33698],[59.5252,46.3338],[59.5084,46.32719],[59.49387,46.31643],[59.4922,46.30964],[59.53,46.27859],[59.57923,46.21461],[59.6575,46.13824],[59.67698,46.11448],[59.69288,46.08902],[59.6874,46.07375],[59.68886,46.05169],[59.68366,46.0432],[59.687,46.03302],[59.68673,46.02454],[59.67182,45.96174],[59.66215,45.93799],[59.63759,45.89386],[59.61665,45.84634],[59.59906,45.82937],[59.58782,45.8124],[59.58321,45.80052],[59.5852,45.79108],[59.59506,45.78355],[59.60204,45.77507],[59.60219,45.76828],[59.5972,45.76178],[59.5876,45.76199],[59.554,45.77589],[59.542,45.7786],[59.53385,45.77846],[59.5132,45.76429],[59.48205,45.74792],[59.46055,45.72246],[59.4532,45.719],[59.44921,45.72076],[59.44749,45.72416],[59.44824,45.74452],[59.446,45.74733],[59.4316,45.75119],[59.4196,45.75711],[59.4004,45.76189],[59.3884,45.762],[59.3668,45.75689],[59.35,45.7569],[59.3332,45.75362],[59.30546,45.74113],[59.2852,45.74362],[59.2492,45.74215],[59.23884,45.74622],[59.22922,45.76149],[59.22899,45.78525],[59.23628,45.8141],[59.25524,45.85992],[59.26037,45.86671],[59.28157,45.88538],[59.30169,45.91083],[59.33996,45.94308],[59.35068,45.95835],[59.35101,45.97023],[59.34851,45.97872],[59.33831,45.99399],[59.31808,46.00757],[59.2972,46.01247],[59.2828,46.01148],[59.2684,46.00839],[59.2444,45.99966],[59.2348,45.99249],[59.2228,45.97803],[59.20298,45.96514],[59.18485,45.94987],[59.1796,45.94796],[59.1244,45.95737],[59.1028,45.95737],[59.0764,45.95415],[59.0476,45.95481],[59.0356,45.95929],[59.01423,45.97532],[59.002,45.97768],[58.9804,45.97214],[58.9708,45.96688],[58.96623,45.96174],[58.96595,45.95156],[58.98017,45.93289],[58.97821,45.9278],[58.9732,45.92541],[58.9564,45.92389],[58.882,45.93539],[58.8628,45.93312],[58.8316,45.9265],[58.81,45.91784],[58.79958,45.91083],[58.77463,45.87859],[58.7692,45.87689],[58.7524,45.87633],[58.7332,45.86739],[58.71763,45.85313],[58.68219,45.8124],[58.66572,45.78186],[58.64367,45.71737],[58.63793,45.66646],[58.63139,45.64609],[58.63114,45.61555],[58.62847,45.60536],[58.62118,45.59518],[58.60194,45.5816],[58.58736,45.55445],[58.5724,45.53652],[58.56719,45.5273],[58.56062,45.49505],[58.55251,45.47978],[58.54913,45.44923],[58.53755,45.4119],[58.5318,45.40341],[58.50845,45.38135],[58.45689,45.34232],[58.41473,45.28971],[58.40174,45.26256],[58.39913,45.23371],[58.37777,45.19977],[58.37007,45.17261],[58.36386,45.13698],[58.34927,45.10303],[58.34307,45.09625],[58.3204,45.08117],[58.30332,45.05721],[58.28898,45.02158],[58.27254,44.96557],[58.23714,44.92145],[58.21692,44.88072],[58.21366,44.86714],[58.21361,44.8332],[58.21619,44.79587],[58.21937,44.78399],[58.23359,44.75005],[58.25051,44.7178],[58.29036,44.65671],[58.30479,44.61598],[58.30382,44.60071],[58.29566,44.58713],[58.2796,44.57441],[58.26413,44.56507],[58.2532,44.5552],[58.23371,44.52773],[58.22579,44.50228],[58.22579,44.47173],[58.23372,44.44118],[58.24572,44.41233],[58.2721,44.375],[58.294,44.35419],[58.3228,44.33862],[58.342,44.33378],[58.3972,44.32786],[58.402,44.32574],[58.4068,44.31839],[58.45,44.31294],[58.4812,44.30047],[58.4956,44.29901],[58.5004,44.29344],[58.5052,44.29118],[58.546,44.2832],[58.5724,44.28083],[58.6204,44.28284],[58.6468,44.28723],[58.69,44.29086],[58.714,44.29199],[58.726,44.29073],[58.7524,44.29341],[58.75523,44.29524],[58.75,44.2985],[58.7236,44.30547],[58.6885,44.31221],[58.68534,44.3156],[58.69,44.31884],[58.7164,44.31801],[58.798,44.31014],[58.8268,44.31267],[58.8556,44.30662],[58.8604,44.30769],[58.87,44.3153],[58.8772,44.3164],[58.8964,44.31608],[58.9228,44.3104],[58.9684,44.31971],[58.9996,44.31971],[59.026,44.31507],[59.05,44.30281],[59.06707,44.28845],[59.08444,44.2562],[59.11,44.22722],[59.11907,44.21208],[59.1412,44.18303],[59.15711,44.16796],[59.17338,44.15947],[59.20902,44.13571],[59.22056,44.12553],[59.22397,44.11874],[59.2228,44.11418],[59.218,44.1122],[59.2036,44.11811],[59.1844,44.11898],[59.17253,44.12553],[59.16815,44.13402],[59.1628,44.13751],[59.1292,44.14332],[59.1196,44.14696],[59.11,44.14639],[59.098,44.14183],[59.0932,44.14199],[59.086,44.14514],[59.06602,44.15947],[59.05946,44.16796],[59.04927,44.19681],[59.0482,44.22735],[59.0452,44.23239],[59.04271,44.23075],[59.03535,44.21038],[59.03033,44.18662],[59.03276,44.17814],[59.02974,44.15099],[59.0404,44.13786],[59.05,44.12984],[59.07131,44.11704],[59.1028,44.10509],[59.1148,44.09707],[59.1316,44.08999],[59.1508,44.08364],[59.1724,44.08191],[59.1892,44.07425],[59.2156,44.07364],[59.2276,44.0714],[59.25661,44.05765],[59.27292,44.04577],[59.2876,44.04058],[59.3332,44.03168],[59.362,44.03116],[59.3764,44.02869],[59.41,44.03204],[59.44325,44.04068],[59.44687,44.04407],[59.44458,44.04577],[59.41,44.05099],[59.38533,44.06274],[59.38219,44.06613],[59.38243,44.06953],[59.38769,44.07462],[59.3932,44.07652],[59.4244,44.07255],[59.4364,44.07329],[59.4508,44.07191],[59.4676,44.06874],[59.4916,44.07037],[59.5204,44.06881],[59.5516,44.07344],[59.59,44.07546],[59.6044,44.07365],[59.6236,44.06572],[59.6548,44.06053],[59.6836,44.05985],[59.7028,44.05546],[59.734,44.05184],[59.8204,44.04952],[59.82902,44.04577],[59.82231,44.03898],[59.8228,44.03604],[59.8252,44.03522],[59.8516,44.03318],[59.8852,44.03491],[59.9284,44.04646],[59.9428,44.05335],[59.9572,44.05751],[60.022,44.08798],[60.046,44.10379],[60.094,44.1143],[60.1132,44.12653],[60.14942,44.16117],[60.15795,44.17305],[60.17569,44.19002],[60.20585,44.23075],[60.21406,44.24432],[60.21466,44.24942],[60.2116,44.2499],[60.2092,44.24814],[60.1972,44.23387],[60.19339,44.22566],[60.17883,44.21038],[60.14811,44.17135],[60.118,44.14696],[60.0988,44.14143],[60.09498,44.1425],[60.09493,44.1442],[60.12553,44.16965],[60.14951,44.19511],[60.18341,44.23923],[60.20273,44.27148],[60.22158,44.29014],[60.226,44.30101],[60.23822,44.31221],[60.24706,44.32918],[60.2572,44.3384],[60.2644,44.34088],[60.2788,44.33771],[60.2932,44.33972],[60.3172,44.34643],[60.32137,44.34445],[60.321,44.34275],[60.3148,44.33927],[60.2956,44.33488],[60.27895,44.32069],[60.24782,44.30711],[60.23428,44.29184],[60.23463,44.29014],[60.238,44.29011],[60.25,44.29476],[60.2644,44.30422],[60.2908,44.31338],[60.3028,44.31615],[60.3292,44.31885],[60.3508,44.32588],[60.3772,44.34193],[60.39949,44.36142],[60.44738,44.41573],[60.46109,44.44458],[60.47145,44.45815],[60.47004,44.47003],[60.47512,44.487],[60.47193,44.49549],[60.47655,44.50228],[60.47657,44.50737],[60.4732,44.51427],[60.45926,44.51925],[60.45379,44.53452],[60.46099,44.56846],[60.47259,44.58883],[60.47958,44.59731],[60.4972,44.61146],[60.55,44.63443],[60.5668,44.64629],[60.58388,44.65162],[60.61624,44.67368],[60.6292,44.67927],[60.63179,44.68386],[60.62565,44.69404],[60.62916,44.69744],[60.646,44.7056],[60.66177,44.72968],[60.65581,44.73647],[60.6484,44.73759],[60.6244,44.72654],[60.6148,44.72594],[60.60796,44.72968],[60.60224,44.73817],[60.60096,44.74156],[60.6028,44.74643],[60.6148,44.75733],[60.6196,44.7586],[60.6235,44.75683],[60.6268,44.74802],[60.634,44.74905],[60.63922,44.75344],[60.63927,44.76532],[60.64193,44.77381],[60.6244,44.7875],[60.6196,44.7872],[60.6028,44.77869],[60.5908,44.78161],[60.57662,44.78059],[60.5596,44.76581],[60.5524,44.76603],[60.5404,44.77208],[60.53762,44.76871],[60.54076,44.76193],[60.53878,44.75853],[60.502,44.73611],[60.4924,44.73664],[60.4828,44.74096],[60.45816,44.76193],[60.44651,44.78399],[60.43346,44.79587],[60.4228,44.81865],[60.4017,44.8366],[60.40096,44.83999],[60.40675,44.85017],[60.40219,44.87733],[60.39151,44.89769],[60.38973,44.90957],[60.3724,44.94511],[60.3556,44.94956],[60.34823,44.95539],[60.34311,44.96388],[60.34274,44.97745],[60.33933,44.98254],[60.33866,44.99103],[60.33405,45.00121],[60.33799,45.0097],[60.33835,45.01818],[60.33073,45.02836],[60.32006,45.03346],[60.32193,45.04364],[60.31768,45.05212],[60.3052,45.06099],[60.29954,45.07079],[60.26272,45.11491],[60.25766,45.1234],[60.25367,45.13698],[60.256,45.15395],[60.2538,45.18958],[60.27104,45.22183],[60.28091,45.23371],[60.28336,45.2405],[60.2884,45.24433],[60.2956,45.24656],[60.30097,45.24389],[60.30118,45.2405],[60.29082,45.2354],[60.29005,45.23371],[60.2932,45.23176],[60.29804,45.23371],[60.30332,45.2405],[60.3196,45.24784],[60.3244,45.2624],[60.34354,45.27613],[60.34794,45.28292],[60.35457,45.28801],[60.35724,45.2982],[60.3628,45.30156],[60.3724,45.30343],[60.3762,45.30838],[60.37312,45.33044],[60.36064,45.34402],[60.36458,45.3525],[60.36462,45.36778],[60.3388,45.38583],[60.3244,45.40162],[60.32323,45.40511],[60.32583,45.41529],[60.3106,45.42887],[60.3132,45.44075],[60.31145,45.45432],[60.31587,45.46281],[60.31581,45.4713],[60.31256,45.47808],[60.29562,45.49505],[60.28416,45.51372],[60.28418,45.51881],[60.2903,45.5273],[60.28828,45.54257],[60.28417,45.55275],[60.29197,45.56294],[60.28744,45.57482],[60.28316,45.57991],[60.274,45.58684],[60.2404,45.59898],[60.1876,45.6052],[60.1252,45.61776],[60.094,45.61805],[60.0676,45.61236],[60.0244,45.59796],[59.9836,45.59367],[59.8852,45.57596],[59.8468,45.5709],[59.794,45.56731],[59.7772,45.56731],[59.7628,45.56931],[59.7532,45.57401],[59.7433,45.5833],[59.73088,45.60536],[59.73046,45.62912],[59.73741,45.66476],[59.73643,45.68003],[59.75689,45.6987],[59.7748,45.70906],[59.7868,45.71129],[59.8228,45.71156],[59.8396,45.71378],[59.9188,45.73194],[59.92137,45.73943],[59.93126,45.74622],[59.9332,45.75136],[59.9164,45.75901],[59.8948,45.77721],[59.8876,45.77896],[59.8756,45.77757],[59.87053,45.78016],[59.86915,45.78355],[59.878,45.79686],[59.8828,45.80022],[59.9212,45.80352],[59.938,45.80863],[59.9451,45.80731],[59.94876,45.80392],[59.93616,45.78355],[59.94331,45.77337],[59.94433,45.76319],[59.95,45.75967],[59.9668,45.76527],[59.974,45.76523],[59.9788,45.7633],[59.98055,45.7581],[59.97349,45.74792],[59.9764,45.74473],[60.0436,45.75215],[60.1132,45.75013],[60.1516,45.74025],[60.15551,45.74113],[60.15972,45.74622],[60.1636,45.74746],[60.1924,45.74414],[60.20649,45.74622],[60.19985,45.7547],[60.20011,45.7581],[60.2212,45.76779],[60.23144,45.77507],[60.24289,45.80052],[60.24347,45.8124],[60.2356,45.82144],[60.2068,45.83627],[60.1996,45.83828],[60.1924,45.83761],[60.1756,45.83102],[60.1612,45.82953],[60.1372,45.82418],[60.118,45.82991],[60.0916,45.83512],[60.07629,45.84295],[60.0652,45.84362],[60.0436,45.83769],[60.0268,45.83926],[60.022,45.83813],[60.02226,45.82768],[60.01,45.82085],[59.9932,45.80582],[59.9692,45.80243],[59.96397,45.80731],[59.96604,45.81919],[59.962,45.82118],[59.9404,45.82295],[59.93728,45.82598],[59.93675,45.83277],[59.93129,45.83786],[59.93104,45.84125],[59.93665,45.85144],[59.93027,45.86332],[59.9298,45.8735],[59.9367,45.88538],[59.93493,45.88877],[59.92434,45.89556],[59.92437,45.89895],[59.9284,45.90202],[59.9452,45.90332],[59.94933,45.90065],[59.95253,45.89217],[59.9572,45.88891],[59.9716,45.88476],[60.0028,45.87964],[60.034,45.86342],[60.0436,45.86126],[60.0556,45.86198],[60.0748,45.85926],[60.094,45.86312],[60.1204,45.87166],[60.142,45.88595],[60.1564,45.89062],[60.1804,45.89128],[60.1996,45.88977],[60.2212,45.89437],[60.2428,45.8932],[60.2572,45.89498],[60.2788,45.88987],[60.3148,45.87594],[60.3316,45.86736],[60.3556,45.86373],[60.3892,45.85191],[60.394,45.85212],[60.406,45.85967],[60.4225,45.86332],[60.4348,45.87425],[60.454,45.8829],[60.46442,45.89047],[60.4876,45.91346],[60.4931,45.92271],[60.48821,45.9312],[60.49558,45.93799],[60.49435,45.95835],[60.50589,45.97023],[60.50851,45.97702],[60.5068,45.98124],[60.49803,45.9855],[60.4996,45.99019],[60.5164,45.99825],[60.5212,45.99761],[60.5308,45.99201],[60.538,45.99136],[60.5572,45.99728],[60.5668,45.99734],[60.5836,46.00039],[60.598,46.00624],[60.6196,46.00751],[60.634,46.01251],[60.658,46.01757],[60.67288,46.02454],[60.68714,46.03811],[60.68822,46.04151],[60.6796,46.05864],[60.6604,46.05457],[60.634,46.05424],[60.5956,46.05775],[60.5788,46.05601],[60.562,46.05952],[60.5308,46.05905],[60.526,46.05802],[60.514,46.05065],[60.5044,46.04923],[60.4756,46.05323],[60.442,46.06206],[60.43662,46.06017],[60.43597,46.05339],[60.4324,46.05054],[60.40511,46.05339],[60.4216,46.03811],[60.4276,46.03807],[60.442,46.0418],[60.46061,46.03811],[60.47138,46.03302],[60.47658,46.02454],[60.47475,46.00926],[60.46502,45.99399],[60.46555,45.98211],[60.4626,45.97362],[60.46259,45.96344],[60.4671,45.94647],[60.46654,45.93459],[60.46319,45.92611],[60.46573,45.91592],[60.4396,45.89526],[60.4156,45.88871],[60.3628,45.88336],[60.3508,45.88745],[60.334,45.88931],[60.31,45.89732],[60.25,45.91045],[60.2404,45.91569],[60.2212,45.93438],[60.1978,45.96174],[60.1756,45.969],[60.1396,45.96752],[60.1324,45.96584],[60.1252,45.96179],[60.11237,45.94987],[60.10527,45.93968],[60.0988,45.93819],[60.0788,45.94987],[60.06491,45.96684],[60.05922,45.98211],[60.06035,45.99059],[60.06439,45.99569],[60.0748,46.0015],[60.094,46.00498],[60.1492,45.99856],[60.166,45.99861],[60.1756,46.00195],[60.18003,46.00757],[60.16819,46.02114],[60.16281,46.05508],[60.13346,46.09581],[60.11919,46.10939],[60.106,46.11802],[60.0916,46.12307],[60.0676,46.12688],[60.0508,46.12655],[60.0148,46.11828],[59.9476,46.09031],[59.8804,46.06783],[59.8588,46.06302],[59.7964,46.05457],[59.782,46.05461],[59.7724,46.05731],[59.76077,46.06527],[59.76133,46.07375],[59.782,46.08981],[59.81405,46.10939],[59.82573,46.12127],[59.83101,46.13484],[59.82548,46.1586],[59.81204,46.18236],[59.80527,46.19933],[59.80499,46.20952],[59.80954,46.23158],[59.80941,46.25534],[59.80388,46.26891],[59.7943,46.28249],[59.78285,46.29437],[59.758,46.31382],[59.746,46.32004],[59.7316,46.32458],[59.7124,46.32718],[59.6788,46.32563],[59.602,46.3142],[59.5924,46.3174],[59.5762,46.3317],[59.5684,46.33547],[59.5588,46.3375],[59.5396,46.33698]],[[58.98715,45.7564],[58.9924,45.75718],[58.99768,45.75301],[58.99859,45.73264],[59.00295,45.71737],[58.99625,45.67834],[58.99938,45.65967],[59.00892,45.6393],[59.01523,45.63082],[59.02485,45.62233],[59.0428,45.61186],[59.0644,45.60853],[59.0812,45.61503],[59.09337,45.62573],[59.09821,45.63421],[59.09851,45.641],[59.09341,45.64779],[59.0935,45.65118],[59.098,45.65444],[59.1148,45.66001],[59.1532,45.65732],[59.1772,45.64009],[59.2084,45.63998],[59.2228,45.63464],[59.2276,45.63439],[59.24996,45.64609],[59.2588,45.64812],[59.2756,45.64584],[59.28428,45.6393],[59.29266,45.61555],[59.29553,45.60027],[59.2986,45.54766],[59.30319,45.53239],[59.29366,45.48827],[59.29694,45.44923],[59.29506,45.43905],[59.2982,45.41529],[59.28688,45.38644],[59.28659,45.37117],[59.29375,45.3542],[59.31794,45.31347],[59.3212,45.31379],[59.3236,45.31622],[59.33588,45.33723],[59.34593,45.36947],[59.34855,45.38644],[59.33407,45.43057],[59.32239,45.45093],[59.33709,45.46281],[59.34371,45.47808],[59.35881,45.49505],[59.36281,45.50693],[59.35835,45.52051],[59.3502,45.53239],[59.3428,45.53797],[59.33105,45.54257],[59.32842,45.54597],[59.3332,45.54968],[59.3716,45.5561],[59.3788,45.55481],[59.38324,45.55106],[59.38652,45.53748],[59.38548,45.529],[59.38941,45.50184],[59.38288,45.48317],[59.37305,45.43057],[59.39245,45.33383],[59.42033,45.24389],[59.41821,45.17092],[59.41553,45.14885],[59.40547,45.11152],[59.36796,45.01648],[59.35294,44.99103],[59.30411,44.92993],[59.29629,44.91466],[59.29006,44.8909],[59.27066,44.86205],[59.25185,44.81963],[59.21949,44.79078],[59.19422,44.76193],[59.17943,44.74835],[59.16825,44.72459],[59.1353,44.70423],[59.12612,44.69235],[59.12579,44.67538],[59.12848,44.6618],[59.14433,44.61259],[59.14527,44.59731],[59.15873,44.55489],[59.16447,44.51755],[59.17312,44.49379],[59.17676,44.47003],[59.17,44.46527],[59.1628,44.46526],[59.14687,44.47682],[59.13779,44.50058],[59.13953,44.52264],[59.13636,44.53282],[59.13256,44.53622],[59.1268,44.53491],[59.12275,44.52773],[59.11544,44.50397],[59.1052,44.49702],[59.098,44.49518],[59.0908,44.49824],[59.0308,44.54467],[59.0188,44.54856],[59.0092,44.54779],[59.00462,44.5447],[58.99931,44.53622],[58.98908,44.50906],[58.97062,44.49209],[58.9636,44.48172],[58.94842,44.46834],[58.94399,44.45815],[58.9468,44.45529],[58.9516,44.45605],[58.96441,44.46494],[58.9732,44.47548],[58.9852,44.48027],[59.002,44.4804],[59.02197,44.47512],[59.03006,44.46664],[59.04012,44.44458],[59.05595,44.41912],[59.07292,44.3716],[59.0668,44.36786],[59.0548,44.3674],[59.0284,44.37346],[59.0164,44.3736],[59.0116,44.37136],[59.00284,44.36142],[58.9948,44.35785],[58.966,44.35242],[58.9324,44.35176],[58.8892,44.34581],[58.8772,44.34188],[58.8484,44.32717],[58.8412,44.32901],[58.8292,44.33611],[58.81,44.34387],[58.78881,44.35803],[58.7692,44.36597],[58.7572,44.37575],[58.7428,44.38371],[58.726,44.39137],[58.70664,44.39706],[58.6876,44.41086],[58.6708,44.41044],[58.6572,44.42251],[58.6549,44.42761],[58.6554,44.43779],[58.6612,44.45136],[58.66167,44.46494],[58.65845,44.47343],[58.65866,44.4904],[58.66315,44.49719],[58.6684,44.49883],[58.67171,44.49719],[58.67544,44.48361],[58.6948,44.47058],[58.7044,44.45979],[58.7116,44.45977],[58.7188,44.46305],[58.72701,44.47173],[58.73107,44.48191],[58.73901,44.51416],[58.73872,44.5464],[58.7308,44.55991],[58.714,44.56658],[58.71047,44.57355],[58.71087,44.58204],[58.71981,44.61428],[58.71976,44.63125],[58.71432,44.63974],[58.6996,44.65221],[58.6444,44.67612],[58.6276,44.67831],[58.62134,44.67368],[58.61719,44.6635],[58.6108,44.66205],[58.60335,44.66859],[58.5978,44.68556],[58.60245,44.70083],[58.61166,44.71441],[58.63,44.72877],[58.6444,44.73497],[58.666,44.73109],[58.67364,44.72459],[58.66985,44.71271],[58.67132,44.70423],[58.67491,44.69913],[58.68767,44.68895],[58.6972,44.6855],[58.7092,44.68484],[58.7428,44.69212],[58.7476,44.69003],[58.74958,44.68386],[58.7524,44.68197],[58.77,44.68556],[58.77442,44.68216],[58.77719,44.66859],[58.7908,44.65071],[58.798,44.64931],[58.8076,44.65512],[58.8148,44.65187],[58.82865,44.63804],[58.82712,44.63295],[58.8176,44.62616],[58.8153,44.61598],[58.8172,44.60919],[58.8244,44.60596],[58.8316,44.60783],[58.84351,44.61428],[58.85231,44.62616],[58.8576,44.63804],[58.8772,44.64594],[58.88462,44.65671],[58.88513,44.67028],[58.8677,44.73647],[58.84752,44.76871],[58.82435,44.79756],[58.8148,44.80321],[58.8028,44.80716],[58.7956,44.80761],[58.7884,44.80489],[58.78005,44.79587],[58.77593,44.78229],[58.7653,44.76023],[58.7596,44.75684],[58.75343,44.76023],[58.75174,44.76702],[58.75821,44.78738],[58.75834,44.81453],[58.75553,44.84678],[58.74928,44.86375],[58.74739,44.87733],[58.75186,44.88751],[58.7596,44.8951],[58.7668,44.89914],[58.7836,44.90226],[58.79382,44.90787],[58.80247,44.91636],[58.80874,44.93842],[58.80833,44.9503],[58.80287,44.96557],[58.8047,44.97066],[58.8109,44.97406],[58.8316,44.97705],[58.83666,44.97915],[58.84435,44.99273],[58.85872,45.008],[58.86135,45.01648],[58.8607,45.02497],[58.86334,45.03006],[58.8676,45.03194],[58.8772,45.03188],[58.89904,45.04024],[58.91636,45.05212],[58.91745,45.05721],[58.9108,45.06067],[58.8988,45.06267],[58.8628,45.05858],[58.8532,45.05544],[58.84681,45.04873],[58.84551,45.04194],[58.84968,45.03176],[58.846,45.02731],[58.8388,45.02738],[58.8196,45.0348],[58.798,45.03183],[58.7788,45.02518],[58.7644,45.01716],[58.75659,45.008],[58.75172,44.99951],[58.75095,44.98594],[58.7476,44.98072],[58.7164,44.97613],[58.6804,44.96062],[58.666,44.95189],[58.6588,44.95514],[58.65128,44.96388],[58.65891,44.98933],[58.6564,44.99207],[58.6492,44.99358],[58.64771,44.99612],[58.65159,45.01139],[58.64836,45.02158],[58.68018,45.06061],[58.7068,45.08676],[58.71797,45.09455],[58.72634,45.09794],[58.7332,45.10441],[58.7404,45.10337],[58.74486,45.10473],[58.74783,45.11491],[58.75466,45.1234],[58.774,45.13322],[58.7812,45.13218],[58.7884,45.12428],[58.79539,45.1251],[58.79676,45.13019],[58.79088,45.14037],[58.79264,45.14546],[58.8196,45.16014],[58.82563,45.16583],[58.82472,45.16922],[58.8124,45.18131],[58.7901,45.19807],[58.7644,45.22545],[58.74715,45.23371],[58.73247,45.25238],[58.72936,45.26256],[58.72768,45.28292],[58.73373,45.29989],[58.7452,45.31392],[58.74764,45.32535],[58.74285,45.34062],[58.73378,45.3508],[58.73275,45.35929],[58.72892,45.36608],[58.72845,45.37965],[58.73097,45.38814],[58.7295,45.39493],[58.73386,45.40511],[58.73393,45.41529],[58.74846,45.43905],[58.76167,45.45263],[58.76852,45.47808],[58.77323,45.48487],[58.798,45.50001],[58.82546,45.50863],[58.8388,45.51566],[58.8508,45.51726],[58.85357,45.5239],[58.86304,45.53239],[58.87011,45.54936],[58.9036,45.57067],[58.91471,45.57991],[58.9324,45.5902],[58.9468,45.59472],[58.9612,45.60448],[58.96646,45.60367],[58.9876,45.5909],[58.9948,45.59065],[59.00091,45.59348],[59.00173,45.59688],[58.99636,45.60706],[58.97256,45.62912],[58.97005,45.63421],[58.97679,45.67834],[58.97219,45.71567],[58.97219,45.73434],[58.978,45.74941],[58.98715,45.7564]],[[59.10649,44.42591],[59.1124,44.42555],[59.1172,44.42264],[59.12941,44.40724],[59.13111,44.38518],[59.12544,44.37839],[59.1172,44.37483],[59.11,44.37626],[59.098,44.38323],[59.0812,44.38644],[59.07642,44.39027],[59.07324,44.39706],[59.07451,44.40385],[59.0788,44.40955],[59.0956,44.42142],[59.10649,44.42591]],[[58.5544,44.33257],[58.5676,44.33338],[58.594,44.33158],[58.6276,44.32617],[58.64061,44.32239],[58.64029,44.31899],[58.6372,44.31818],[58.57,44.31357],[58.5532,44.31727],[58.5364,44.31335],[58.5148,44.31524],[58.5028,44.31798],[58.4668,44.32008],[58.462,44.32132],[58.4597,44.32409],[58.462,44.32685],[58.4668,44.32809],[58.5124,44.33159],[58.5544,44.33257]],[[59.18744,44.32918],[59.194,44.33025],[59.19708,44.32578],[59.19174,44.30711],[59.17019,44.27996],[59.1652,44.27638],[59.1604,44.27571],[59.15367,44.27996],[59.15352,44.28505],[59.18744,44.32918]],[[60.06996,44.13062],[60.07412,44.12892],[60.07408,44.12723],[60.0604,44.11645],[60.0292,44.10571],[60.00001,44.09159],[59.9884,44.08144],[59.94755,44.06274],[59.89944,44.04747],[59.8612,44.04013],[59.8396,44.04091],[59.83018,44.04577],[59.83226,44.04916],[59.8372,44.05118],[59.8852,44.05754],[59.9452,44.07588],[59.9812,44.09075],[60.0057,44.10347],[60.022,44.11784],[60.0364,44.12605],[60.0508,44.12912],[60.06996,44.13062]]],"2009":[[[60.5788,46.78326],[60.53055,46.77294],[60.52745,46.76785],[60.52773,46.75936],[60.5356,46.74915],[60.5548,46.74121],[60.598,46.72922],[60.6316,46.71607],[60.6652,46.69887],[60.7108,46.67088],[60.7516,46.65429],[60.7612,46.64669],[60.7617,46.64057],[60.7564,46.63476],[60.7492,46.63136],[60.73,46.6264],[60.7012,46.61399],[60.6748,46.59114],[60.6124,46.56749],[60.5908,46.56368],[60.5668,46.56369],[60.5452,46.57016],[60.5116,46.5886],[60.4804,46.60302],[60.47355,46.60832],[60.46869,46.61851],[60.4636,46.62083],[60.4564,46.621],[60.45273,46.61851],[60.45067,46.61341],[60.45519,46.59475],[60.45501,46.57778],[60.45181,46.5642],[60.42164,46.51668],[60.41363,46.48783],[60.4108,46.48506],[60.406,46.48506],[60.40273,46.48953],[60.39713,46.53026],[60.38772,46.5625],[60.37255,46.60323],[60.35135,46.64396],[60.334,46.66623],[60.30136,46.69148],[60.2788,46.70006],[60.2596,46.7018],[60.24174,46.69657],[60.226,46.68868],[60.19815,46.66602],[60.154,46.64626],[60.13604,46.63548],[60.1108,46.61667],[60.0988,46.6128],[60.0628,46.60746],[60.0412,46.60094],[60.03154,46.59644],[60.00676,46.57778],[60.00057,46.57099],[59.99678,46.5625],[59.98047,46.49801],[59.98094,46.46747],[59.99159,46.44541],[60.0004,46.43518],[60.0244,46.41981],[60.0508,46.41049],[60.0654,46.39789],[60.07638,46.38431],[60.0892,46.37525],[60.1276,46.36035],[60.1444,46.35665],[60.154,46.35665],[60.1636,46.35931],[60.1708,46.36766],[60.1828,46.3725],[60.2236,46.37974],[60.2764,46.38086],[60.3078,46.3928],[60.3244,46.40512],[60.3364,46.40651],[60.3676,46.39658],[60.3868,46.38829],[60.41676,46.37074],[60.4612,46.33771],[60.4828,46.32645],[60.5164,46.31263],[60.5668,46.29559],[60.5764,46.29541],[60.58328,46.29776],[60.60356,46.32322],[60.61,46.32816],[60.622,46.33054],[60.634,46.32861],[60.646,46.32893],[60.64991,46.3317],[60.65123,46.34019],[60.6556,46.34336],[60.6604,46.34344],[60.67,46.34004],[60.67704,46.34189],[60.68974,46.35376],[60.6951,46.36904],[60.70089,46.37583],[60.7084,46.38114],[60.7156,46.3811],[60.7214,46.37583],[60.7299,46.35207],[60.74753,46.32152],[60.81326,46.22649],[60.82432,46.20103],[60.8246,46.18576],[60.82176,46.17897],[60.78459,46.13484],[60.77885,46.12466],[60.7732,46.12139],[60.7636,46.12081],[60.76247,46.11957],[60.76334,46.11278],[60.78032,46.09581],[60.79,46.09027],[60.8188,46.08857],[60.826,46.09093],[60.8332,46.09934],[60.84599,46.1026],[60.8493,46.11787],[60.8452,46.12293],[60.8404,46.12354],[60.8284,46.11428],[60.8212,46.11399],[60.8116,46.11934],[60.8068,46.12636],[60.8092,46.12873],[60.82026,46.13145],[60.82539,46.13824],[60.8308,46.14177],[60.85,46.14696],[60.8644,46.15497],[60.8812,46.15899],[60.8908,46.15837],[60.90622,46.15012],[60.91273,46.13994],[60.9172,46.13868],[60.93868,46.14503],[60.9526,46.1586],[60.9724,46.17154],[60.9916,46.17766],[61.042,46.18254],[61.0516,46.18528],[61.05769,46.19085],[61.05686,46.20103],[61.0636,46.20586],[61.0732,46.2065],[61.09,46.19979],[61.0948,46.19981],[61.10215,46.20442],[61.1068,46.21726],[61.1116,46.2209],[61.138,46.21728],[61.1644,46.21833],[61.1836,46.22396],[61.21804,46.24346],[61.23668,46.26552],[61.24433,46.28588],[61.24594,46.30116],[61.25814,46.31982],[61.27166,46.3334],[61.28033,46.35376],[61.28756,46.41146],[61.27184,46.43353],[61.2707,46.48104],[61.2772,46.48442],[61.3012,46.48373],[61.3108,46.48636],[61.32211,46.5048],[61.3396,46.51605],[61.36565,46.53874],[61.36745,46.55402],[61.37055,46.55911],[61.4116,46.56781],[61.41457,46.57099],[61.41836,46.58287],[61.42856,46.58796],[61.45,46.60464],[61.4674,46.6236],[61.4716,46.63221],[61.486,46.64087],[61.48767,46.64566],[61.4812,46.64991],[61.4692,46.64614],[61.4644,46.64628],[61.45715,46.65245],[61.45,46.65481],[61.4188,46.65483],[61.4092,46.65767],[61.3948,46.66704],[61.3852,46.66741],[61.37682,46.66093],[61.37779,46.65075],[61.3708,46.64528],[61.366,46.6441],[61.354,46.64584],[61.342,46.64214],[61.3324,46.6465],[61.3276,46.64679],[61.306,46.64156],[61.3012,46.63861],[61.29978,46.63378],[61.30871,46.62529],[61.30951,46.6219],[61.29685,46.61511],[61.2892,46.60663],[61.2727,46.60154],[61.2604,46.59151],[61.246,46.59155],[61.2316,46.58029],[61.2172,46.58394],[61.2124,46.58245],[61.20751,46.57438],[61.2124,46.56808],[61.222,46.56758],[61.2364,46.57233],[61.24531,46.56929],[61.24572,46.5659],[61.23742,46.55741],[61.23697,46.55232],[61.24536,46.53705],[61.26429,46.52177],[61.26826,46.51159],[61.26548,46.50141],[61.25677,46.48953],[61.24231,46.47595],[61.2268,46.46644],[61.198,46.46544],[61.174,46.45622],[61.1308,46.44599],[61.1212,46.44763],[61.0924,46.458],[61.0756,46.4612],[61.0444,46.46322],[60.9532,46.46157],[60.9316,46.46389],[60.9076,46.46835],[60.8908,46.4741],[60.8764,46.48196],[60.84161,46.5065],[60.83215,46.51499],[60.82034,46.53535],[60.8099,46.54723],[60.78915,46.5625],[60.77363,46.57778],[60.77728,46.60154],[60.78593,46.62699],[60.79172,46.66602],[60.80935,46.69827],[60.81471,46.71524],[60.80927,46.7373],[60.80224,46.74578],[60.79,46.75106],[60.7612,46.75479],[60.7324,46.75507],[60.718,46.75323],[60.6676,46.7627],[60.6388,46.77304],[60.6268,46.77479],[60.6076,46.77449],[60.5884,46.78286],[60.5788,46.78326]],[[59.5516,46.32185],[59.54104,46.31813],[59.53195,46.30964],[59.53234,46.30455],[59.54411,46.28249],[59.5897,46.218],[59.62755,46.18067],[59.7076,46.11548],[59.7196,46.10822],[59.734,46.10414],[59.746,46.10379],[59.76993,46.10939],[59.7868,46.11728],[59.80137,46.12806],[59.80701,46.13994],[59.80672,46.162],[59.79447,46.18576],[59.79059,46.20103],[59.79059,46.21121],[59.7974,46.24515],[59.79247,46.26212],[59.78367,46.2774],[59.76365,46.29946],[59.7364,46.31658],[59.7268,46.31989],[59.7124,46.32203],[59.65,46.31696],[59.5924,46.30564],[59.5876,46.30643],[59.5732,46.31759],[59.5516,46.32185]],[[59.278,46.00772],[59.25764,46.00247],[59.23898,45.99399],[59.22362,45.97702],[59.1988,45.96025],[59.1844,45.94022],[59.17964,45.93799],[59.1628,45.94559],[59.1268,45.95208],[59.1052,45.95228],[59.0812,45.94881],[59.0716,45.94636],[59.06604,45.94308],[59.05292,45.92271],[59.0476,45.918],[59.0428,45.9178],[59.0284,45.92314],[59.0164,45.92183],[59.0044,45.91668],[58.99425,45.90574],[58.99,45.90393],[58.9732,45.90795],[58.9444,45.90908],[58.918,45.91772],[58.8748,45.92624],[58.8604,45.92502],[58.8436,45.92042],[58.8196,45.90807],[58.80492,45.89217],[58.79932,45.87519],[58.8052,45.85275],[58.8028,45.85126],[58.798,45.85161],[58.7764,45.8618],[58.7668,45.86401],[58.7548,45.86298],[58.73934,45.85822],[58.72241,45.84804],[58.7092,45.83649],[58.68353,45.80562],[58.67292,45.78525],[58.66767,45.76998],[58.66382,45.74622],[58.6515,45.72246],[58.64847,45.71228],[58.64513,45.68003],[58.63385,45.63591],[58.63599,45.61045],[58.63291,45.59179],[58.6276,45.58699],[58.6132,45.58367],[58.6035,45.57821],[58.59217,45.55275],[58.56992,45.5273],[58.56546,45.49675],[58.55248,45.4696],[58.55181,45.44754],[58.5436,45.40912],[58.51929,45.38814],[58.5028,45.37049],[58.4668,45.34762],[58.4281,45.30329],[58.41714,45.28801],[58.40607,45.26256],[58.40541,45.24219],[58.4021,45.23031],[58.3876,45.21035],[58.38257,45.19977],[58.37487,45.17261],[58.37153,45.14716],[58.36401,45.1251],[58.34846,45.09964],[58.32729,45.08267],[58.31052,45.0623],[58.30029,45.04024],[58.2767,44.96557],[58.23713,44.91296],[58.22122,44.87902],[58.21846,44.86714],[58.21859,44.8366],[58.22367,44.80096],[58.22892,44.78059],[58.23839,44.75683],[58.26011,44.71441],[58.29757,44.65671],[58.30868,44.63125],[58.31386,44.60749],[58.31102,44.59222],[58.29961,44.57186],[58.29069,44.56676],[58.2748,44.56554],[58.26774,44.56337],[58.2532,44.55055],[58.23686,44.52434],[58.23059,44.49888],[58.23046,44.47852],[58.23327,44.46155],[58.24335,44.43439],[58.2556,44.42195],[58.2868,44.40949],[58.3108,44.40503],[58.342,44.40483],[58.3684,44.40874],[58.402,44.41702],[58.426,44.42739],[58.4452,44.4387],[58.46765,44.45476],[58.49101,44.47682],[58.52918,44.52094],[58.55407,44.56337],[58.56833,44.61768],[58.57408,44.67198],[58.58349,44.70423],[58.59372,44.72629],[58.606,44.74571],[58.61465,44.75344],[58.6348,44.76039],[58.65259,44.76193],[58.65478,44.77211],[58.6709,44.79926],[58.67421,44.81114],[58.67439,44.8366],[58.66979,44.85357],[58.66936,44.88921],[58.65646,44.91636],[58.65193,44.92145],[58.6468,44.92299],[58.618,44.91709],[58.61024,44.91806],[58.59828,44.92824],[58.59761,44.94691],[58.60292,44.97576],[58.61321,44.99612],[58.61485,45.01139],[58.62108,45.02836],[58.6228,45.04317],[58.6708,45.09421],[58.68097,45.10813],[58.68788,45.1234],[58.69313,45.14546],[58.68919,45.17261],[58.69068,45.19977],[58.6723,45.2371],[58.66159,45.24898],[58.65975,45.25916],[58.64599,45.28632],[58.65015,45.31686],[58.6484,45.32705],[58.6526,45.33893],[58.65328,45.3542],[58.66532,45.40002],[58.67347,45.4136],[58.68015,45.43396],[58.69634,45.45093],[58.7214,45.4713],[58.74581,45.50354],[58.75464,45.51881],[58.7764,45.53648],[58.79277,45.54766],[58.8364,45.56939],[58.8676,45.57933],[58.88045,45.58839],[58.90178,45.60876],[58.91482,45.62742],[58.92833,45.65458],[58.93287,45.69361],[58.92228,45.73434],[58.93125,45.76489],[58.9444,45.78098],[58.954,45.78716],[58.9732,45.79486],[58.9924,45.80649],[59.0044,45.80369],[59.0164,45.80335],[59.0236,45.79606],[59.0284,45.7942],[59.03828,45.79543],[59.0548,45.8019],[59.05971,45.80731],[59.08471,45.85992],[59.08574,45.86671],[59.0908,45.87017],[59.09652,45.86841],[59.1244,45.85056],[59.15956,45.81919],[59.17584,45.80901],[59.18271,45.80222],[59.1868,45.80083],[59.19,45.80222],[59.19492,45.8141],[59.20766,45.82598],[59.24889,45.88029],[59.28448,45.91592],[59.30737,45.94817],[59.31354,45.96005],[59.31615,45.97362],[59.31307,45.99738],[59.30712,46.00247],[59.2972,46.0066],[59.2876,46.00827],[59.278,46.00772]],[[59.5372,45.74297],[59.5228,45.73795],[59.506,45.72655],[59.4938,45.71567],[59.48505,45.7021],[59.44518,45.66985],[59.4364,45.66075],[59.4292,45.65693],[59.4148,45.65414],[59.3956,45.64251],[59.3904,45.63252],[59.38231,45.62573],[59.3788,45.61851],[59.36618,45.60876],[59.36395,45.60367],[59.36859,45.59348],[59.3812,45.58523],[59.398,45.56825],[59.41075,45.54766],[59.42672,45.53409],[59.4268,45.5238],[59.4376,45.51542],[59.43535,45.51372],[59.4244,45.51265],[59.4076,45.51392],[59.40355,45.51202],[59.40212,45.50863],[59.4052,45.50674],[59.4196,45.50607],[59.4231,45.50184],[59.41049,45.48827],[59.41241,45.4696],[59.4057,45.45942],[59.40116,45.44584],[59.40211,45.4136],[59.41631,45.38305],[59.4325,45.37117],[59.4364,45.36993],[59.44009,45.37117],[59.44583,45.37965],[59.46663,45.40002],[59.46564,45.40511],[59.45677,45.41529],[59.46033,45.42548],[59.44959,45.44075],[59.45259,45.44414],[59.4628,45.44809],[59.46579,45.45093],[59.47295,45.4696],[59.47196,45.47808],[59.4796,45.48467],[59.494,45.48867],[59.5252,45.49072],[59.566,45.48293],[59.58312,45.47469],[59.58935,45.4662],[59.60984,45.44923],[59.6142,45.43905],[59.61175,45.43057],[59.59643,45.42038],[59.59175,45.4136],[59.59316,45.40172],[59.59002,45.39323],[59.5941,45.38305],[59.58768,45.37117],[59.59463,45.35929],[59.59407,45.3559],[59.5564,45.33906],[59.5468,45.33969],[59.5416,45.33723],[59.53997,45.32874],[59.5492,45.32497],[59.55252,45.32026],[59.55013,45.29141],[59.54488,45.28462],[59.53762,45.27953],[59.5372,45.27037],[59.53114,45.26425],[59.518,45.25736],[59.5108,45.25656],[59.5036,45.25881],[59.49733,45.25407],[59.4954,45.24898],[59.495,45.22862],[59.4906,45.21334],[59.46629,45.17261],[59.47134,45.16243],[59.4803,45.15225],[59.48844,45.12679],[59.50128,45.10303],[59.5022,45.09455],[59.49654,45.07588],[59.51045,45.05552],[59.51124,45.05043],[59.49257,45.03176],[59.48445,45.00461],[59.47814,44.99612],[59.4799,44.98594],[59.46384,44.95539],[59.4604,44.95164],[59.4484,44.94497],[59.4364,44.94169],[59.4196,44.93425],[59.41971,44.93163],[59.42723,44.92484],[59.4259,44.91806],[59.41805,44.90957],[59.4026,44.89769],[59.386,44.87484],[59.3597,44.86205],[59.35,44.85138],[59.3452,44.85006],[59.34071,44.85187],[59.33872,44.85526],[59.34087,44.86545],[59.33343,44.87563],[59.33226,44.88072],[59.33771,44.90278],[59.34878,44.92145],[59.34654,44.92484],[59.3404,44.92559],[59.32788,44.91466],[59.32554,44.90957],[59.32589,44.90108],[59.32063,44.8926],[59.31354,44.87223],[59.30423,44.85526],[59.2932,44.84169],[59.28816,44.82641],[59.27149,44.80605],[59.25194,44.79078],[59.2442,44.77381],[59.23,44.76535],[59.22524,44.76023],[59.21968,44.74835],[59.21849,44.73477],[59.20674,44.72289],[59.20186,44.71441],[59.21303,44.69913],[59.218,44.68726],[59.21707,44.6618],[59.22283,44.64992],[59.2228,44.64052],[59.24042,44.62786],[59.24452,44.61768],[59.25432,44.60919],[59.25523,44.6058],[59.242,44.59466],[59.2324,44.59683],[59.22861,44.60071],[59.22744,44.6058],[59.2204,44.60874],[59.2107,44.60749],[59.20571,44.6041],[59.20463,44.60071],[59.21519,44.58713],[59.21578,44.57695],[59.22263,44.56846],[59.22254,44.55998],[59.2276,44.54865],[59.2444,44.52869],[59.24278,44.52434],[59.2309,44.51416],[59.23171,44.50737],[59.2468,44.49213],[59.2588,44.48973],[59.26378,44.487],[59.26976,44.47343],[59.2547,44.45476],[59.25382,44.44797],[59.26133,44.43779],[59.2828,44.42938],[59.28907,44.42421],[59.29114,44.41742],[59.29044,44.40385],[59.29559,44.38348],[59.3236,44.37654],[59.32864,44.37839],[59.338,44.38826],[59.3476,44.38923],[59.3548,44.38733],[59.41,44.35151],[59.41598,44.34106],[59.4292,44.33747],[59.43923,44.33257],[59.46113,44.31899],[59.4676,44.31307],[59.4844,44.31058],[59.50378,44.30033],[59.5132,44.28965],[59.5348,44.28199],[59.542,44.27301],[59.54893,44.26808],[59.5636,44.26404],[59.5804,44.26701],[59.5876,44.26613],[59.614,44.24926],[59.6524,44.25415],[59.6692,44.2472],[59.6812,44.24809],[59.71,44.24382],[59.7244,44.24632],[59.746,44.24297],[59.7652,44.2431],[59.80986,44.23414],[59.8228,44.22543],[59.854,44.22617],[59.8684,44.22368],[59.8804,44.2178],[59.8876,44.22065],[59.8996,44.23495],[59.9068,44.23969],[59.9188,44.2433],[59.9212,44.24772],[59.9164,44.25114],[59.9044,44.25138],[59.89,44.24425],[59.8804,44.24357],[59.85245,44.25451],[59.85058,44.2579],[59.854,44.26321],[59.8612,44.26552],[59.87164,44.26469],[59.86903,44.27826],[59.87258,44.28336],[59.878,44.28542],[59.8876,44.28537],[59.89213,44.28336],[59.8972,44.27737],[59.9044,44.27625],[59.926,44.28473],[59.9404,44.28539],[59.9524,44.29266],[59.9692,44.28984],[59.97472,44.29184],[59.9836,44.29902],[59.9956,44.29746],[60.00249,44.29354],[60.00257,44.29014],[59.99009,44.27996],[59.98807,44.27487],[60.0028,44.26882],[60.00792,44.26469],[60.00883,44.26129],[59.9921,44.24602],[59.98663,44.23244],[59.9764,44.22736],[59.9596,44.22869],[59.9548,44.23048],[59.95178,44.23414],[59.9548,44.23716],[59.9716,44.23952],[59.97985,44.24602],[59.9788,44.24827],[59.974,44.25014],[59.9524,44.25217],[59.9476,44.251],[59.94378,44.24772],[59.94205,44.24263],[59.94377,44.23584],[59.93224,44.22735],[59.94137,44.21717],[59.94262,44.21038],[59.93307,44.1985],[59.9236,44.19087],[59.92236,44.18493],[59.9356,44.18903],[59.9476,44.19011],[59.9596,44.18705],[59.97202,44.19511],[59.9764,44.20473],[59.9884,44.20572],[60.0028,44.21048],[60.0172,44.20934],[60.0207,44.21038],[60.02175,44.21378],[60.01892,44.22057],[60.0292,44.23339],[60.034,44.23369],[60.046,44.23052],[60.0604,44.22247],[60.06702,44.22396],[60.06831,44.22735],[60.0652,44.2314],[60.0604,44.23421],[60.0508,44.23612],[60.04727,44.23923],[60.05263,44.24772],[60.05365,44.2562],[60.07162,44.27996],[60.094,44.29554],[60.10755,44.30202],[60.11538,44.31221],[60.11835,44.32069],[60.12531,44.32748],[60.13124,44.34106],[60.143,44.35294],[60.14469,44.35972],[60.1396,44.36486],[60.13,44.36638],[60.1108,44.35871],[60.0796,44.35367],[60.0748,44.35474],[60.0604,44.36413],[60.0364,44.36215],[60.022,44.36441],[60.01471,44.36821],[60.00678,44.38179],[60.0109,44.39027],[60.01112,44.40045],[60.00964,44.40554],[60.0052,44.40938],[60.0004,44.41047],[59.99572,44.40724],[59.99522,44.39366],[59.99982,44.38518],[59.9956,44.38122],[59.9884,44.37892],[59.9836,44.37981],[59.9644,44.39003],[59.96133,44.39876],[59.9524,44.40339],[59.9488,44.40724],[59.94956,44.41912],[59.95329,44.42761],[59.95244,44.4327],[59.9476,44.4379],[59.93379,44.44118],[59.93238,44.44458],[59.93606,44.45476],[59.93349,44.46834],[59.94662,44.48361],[59.94706,44.50228],[59.9452,44.50449],[59.9356,44.50735],[59.9328,44.51076],[59.93363,44.51585],[59.94301,44.52434],[59.92784,44.54131],[59.92521,44.5481],[59.9308,44.55331],[59.95377,44.55998],[59.95782,44.56337],[59.95703,44.56676],[59.94519,44.57864],[59.9469,44.60919],[59.95186,44.62277],[59.94821,44.63125],[59.97157,44.65331],[59.9743,44.6601],[59.9716,44.66287],[59.9668,44.66266],[59.95159,44.65162],[59.94134,44.63295],[59.9308,44.62595],[59.92376,44.62616],[59.92063,44.62956],[59.92287,44.64144],[59.9212,44.64505],[59.914,44.64444],[59.90746,44.63974],[59.91002,44.62616],[59.90678,44.61768],[59.9092,44.61524],[59.9188,44.61269],[59.92144,44.60919],[59.90966,44.59052],[59.90871,44.57864],[59.90097,44.56676],[59.89496,44.55149],[59.89,44.54997],[59.8732,44.55035],[59.87202,44.54131],[59.86641,44.52943],[59.85681,44.52264],[59.842,44.51652],[59.84061,44.50906],[59.8372,44.50734],[59.83,44.51061],[59.82473,44.51755],[59.82718,44.52773],[59.82717,44.54301],[59.83,44.54643],[59.8492,44.55708],[59.85507,44.56507],[59.85683,44.57864],[59.869,44.58713],[59.87678,44.6041],[59.881,44.63465],[59.89078,44.64483],[59.88866,44.65841],[59.8948,44.66017],[59.9068,44.6528],[59.9116,44.65255],[59.9188,44.66057],[59.9308,44.66568],[59.93455,44.67028],[59.92862,44.67877],[59.93113,44.68726],[59.92499,44.70083],[59.92505,44.71101],[59.92938,44.7195],[59.92903,44.72289],[59.92503,44.72629],[59.9116,44.72796],[59.90578,44.73138],[59.90966,44.75683],[59.89976,44.7755],[59.90328,44.78399],[59.903,44.79417],[59.91059,44.81284],[59.92765,44.83999],[59.948,44.85696],[59.95507,44.86884],[59.97958,44.88072],[59.98419,44.88921],[59.99251,44.8943],[59.99369,44.91127],[60.0052,44.92332],[60.01073,44.93503],[60.01593,44.95539],[60.01148,44.97236],[60.02582,45.0097],[60.02446,45.01309],[60.01507,45.01818],[60.01219,45.02327],[60.00552,45.04873],[60.00759,45.05891],[59.99727,45.07588],[59.99616,45.10303],[59.97955,45.13358],[59.97564,45.15055],[59.96989,45.15904],[59.95703,45.16922],[59.9452,45.18639],[59.924,45.20146],[59.92085,45.21165],[59.90888,45.22183],[59.90797,45.22522],[59.93225,45.24559],[59.94722,45.24898],[59.94958,45.25916],[59.9596,45.26653],[59.9716,45.26983],[59.9812,45.26336],[59.9884,45.26392],[60.0052,45.28182],[60.04935,45.30838],[60.05015,45.31177],[60.0436,45.31413],[60.0268,45.30955],[60.0047,45.31008],[60.00313,45.31177],[60.0052,45.31533],[60.0196,45.31978],[60.03061,45.32535],[60.03301,45.32874],[60.0292,45.33083],[60.0076,45.33188],[60.00368,45.33383],[60.00367,45.33723],[60.0172,45.34065],[60.0292,45.34038],[60.0412,45.34385],[60.0532,45.34021],[60.07,45.33867],[60.0748,45.34087],[60.08131,45.34911],[60.09014,45.3559],[60.09219,45.36099],[60.08263,45.36608],[60.08112,45.37287],[60.07874,45.37456],[60.0604,45.37071],[60.0532,45.37081],[60.0388,45.37663],[60.0148,45.3779],[59.98442,45.38475],[59.9716,45.39015],[59.9572,45.38792],[59.9524,45.38931],[59.94227,45.40002],[59.94243,45.40511],[59.9452,45.40792],[59.95,45.40809],[59.9596,45.40274],[59.9764,45.40148],[59.9813,45.40511],[59.97228,45.41529],[59.97244,45.41869],[59.9764,45.42135],[60.0076,45.41898],[60.0148,45.42688],[60.0196,45.42786],[60.0316,45.42086],[60.0388,45.42],[60.04289,45.42208],[60.03978,45.42717],[60.0316,45.43154],[60.0124,45.4372],[59.998,45.44853],[59.9836,45.44666],[59.97134,45.45263],[59.9476,45.45968],[59.94322,45.46281],[59.94019,45.4696],[59.93379,45.47639],[59.914,45.48299],[59.90598,45.49505],[59.89765,45.50015],[59.89,45.50165],[59.8852,45.50042],[59.88804,45.48996],[59.8828,45.48738],[59.8564,45.49165],[59.8475,45.50015],[59.8396,45.50352],[59.8204,45.50316],[59.8012,45.50892],[59.7868,45.52601],[59.7316,45.55385],[59.71158,45.56803],[59.70119,45.5816],[59.69926,45.58839],[59.6994,45.61894],[59.7036,45.63082],[59.70185,45.65458],[59.71072,45.66646],[59.71354,45.67664],[59.71297,45.68512],[59.70471,45.7004],[59.7004,45.70184],[59.6908,45.69944],[59.6788,45.69935],[59.6308,45.68748],[59.5948,45.69815],[59.58923,45.70379],[59.59029,45.71228],[59.5852,45.71342],[59.5564,45.69818],[59.55142,45.697],[59.54789,45.6987],[59.54687,45.7021],[59.54865,45.71058],[59.55453,45.71907],[59.55677,45.73943],[59.5516,45.74309],[59.5372,45.74297]],[[59.3332,45.53101],[59.3236,45.52698],[59.3183,45.52221],[59.30847,45.49166],[59.30566,45.4713],[59.3059,45.45263],[59.31031,45.43735],[59.31009,45.42208],[59.31742,45.4136],[59.32066,45.40341],[59.3236,45.40072],[59.32911,45.40341],[59.3315,45.4136],[59.32718,45.43057],[59.31695,45.44414],[59.31565,45.44923],[59.33376,45.4696],[59.35527,45.50863],[59.35268,45.51881],[59.3476,45.52719],[59.3404,45.5307],[59.3332,45.53101]],[[59.73472,44.55149],[59.7412,44.55207],[59.7484,44.54872],[59.75107,44.5447],[59.7484,44.54071],[59.7292,44.52817],[59.6956,44.5216],[59.6764,44.50158],[59.6644,44.49387],[59.6476,44.48815],[59.638,44.47651],[59.6284,44.47324],[59.6116,44.47093],[59.60131,44.47173],[59.59211,44.47512],[59.58668,44.4887],[59.57746,44.49888],[59.57327,44.50737],[59.57465,44.51246],[59.5852,44.52284],[59.5972,44.52759],[59.626,44.52301],[59.62862,44.51925],[59.62543,44.50737],[59.62794,44.50397],[59.6308,44.50358],[59.63667,44.50737],[59.64652,44.51925],[59.6692,44.53463],[59.6764,44.53655],[59.6932,44.53742],[59.71,44.54579],[59.73472,44.55149]],[[59.7988,43.56609],[59.78868,43.55702],[59.78165,43.54683],[59.78138,43.54344],[59.794,43.53742],[59.8061,43.53665],[59.8252,43.51685],[59.8324,43.51564],[59.8396,43.51694],[59.86413,43.53156],[59.87186,43.55023],[59.87144,43.55532],[59.8684,43.55782],[59.8516,43.56044],[59.8348,43.55983],[59.818,43.56589],[59.7988,43.56609]]],"2014":[[[60.5812,46.78326],[60.5476,46.77618],[60.5236,46.77401],[60.52029,46.76954],[60.52053,46.75936],[60.5284,46.74915],[60.5428,46.74294],[60.6028,46.72752],[60.6412,46.712],[60.7156,46.66877],[60.754,46.65263],[60.76117,46.64566],[60.76117,46.64057],[60.75487,46.63378],[60.7228,46.62358],[60.7008,46.61341],[60.6748,46.59078],[60.61,46.56749],[60.586,46.56348],[60.5668,46.56401],[60.55197,46.56759],[60.51577,46.58626],[60.47772,46.60323],[60.47116,46.60832],[60.46793,46.61851],[60.4636,46.62133],[60.4588,46.62118],[60.45508,46.61851],[60.45302,46.61341],[60.45519,46.57947],[60.45168,46.5625],[60.42403,46.52008],[60.41363,46.48783],[60.4108,46.48506],[60.406,46.48506],[60.40273,46.48953],[60.39713,46.53535],[60.38947,46.56081],[60.3773,46.59644],[60.35617,46.63548],[60.33441,46.66433],[60.3076,46.68717],[60.2932,46.69503],[60.2788,46.70016],[60.2668,46.70237],[60.2572,46.70172],[60.2428,46.69679],[60.2236,46.68699],[60.1972,46.66547],[60.154,46.64626],[60.1108,46.61714],[60.0988,46.61323],[60.0628,46.608],[60.0388,46.60092],[60.00675,46.57947],[59.99912,46.57099],[59.99389,46.54723],[59.98287,46.51838],[59.97766,46.48953],[59.98098,46.46238],[59.998,46.43176],[60.046,46.41032],[60.0748,46.38532],[60.08639,46.37752],[60.1276,46.36035],[60.1444,46.35665],[60.1636,46.35679],[60.1876,46.37122],[60.1948,46.3738],[60.2284,46.37994],[60.2644,46.37865],[60.2764,46.3803],[60.3052,46.38931],[60.3268,46.40275],[60.3436,46.40316],[60.3532,46.4011],[60.38721,46.38601],[60.418,46.36813],[60.44351,46.34867],[60.46502,46.3351],[60.4828,46.32632],[60.5596,46.2967],[60.5764,46.29391],[60.5836,46.29485],[60.58746,46.29776],[60.59112,46.30794],[60.598,46.31331],[60.60457,46.32491],[60.61,46.32818],[60.6196,46.32928],[60.6292,46.3227],[60.6388,46.32784],[60.6532,46.32756],[60.64753,46.34019],[60.65055,46.34528],[60.6556,46.34728],[60.6652,46.34632],[60.6772,46.34112],[60.682,46.34226],[60.69292,46.35886],[60.69181,46.36904],[60.706,46.38163],[60.7108,46.38384],[60.7156,46.38377],[60.7211,46.37922],[60.73047,46.35037],[60.74651,46.32152],[60.80846,46.23158],[60.82193,46.20103],[60.82221,46.18406],[60.81905,46.17557],[60.79936,46.15351],[60.79516,46.14163],[60.78434,46.12466],[60.77515,46.11618],[60.778,46.11476],[60.7948,46.11724],[60.80596,46.11109],[60.81007,46.10599],[60.8044,46.10231],[60.7804,46.10119],[60.77862,46.09751],[60.78533,46.09072],[60.7924,46.08837],[60.802,46.08834],[60.814,46.09071],[60.826,46.08924],[60.8404,46.09016],[60.84626,46.09412],[60.84334,46.1009],[60.838,46.1036],[60.826,46.10233],[60.81896,46.1043],[60.80429,46.12636],[60.8068,46.12914],[60.8188,46.13165],[60.826,46.13879],[60.8332,46.1428],[60.85,46.14696],[60.8668,46.15593],[60.8884,46.15927],[60.90828,46.15182],[60.91149,46.14842],[60.9124,46.13873],[60.9172,46.137],[60.934,46.14274],[60.9508,46.15922],[60.9748,46.17376],[60.9916,46.17775],[61.0204,46.1807],[61.0372,46.1802],[61.0444,46.18225],[61.05342,46.18915],[61.05356,46.19933],[61.0612,46.20512],[61.0732,46.20679],[61.0972,46.20343],[61.102,46.20778],[61.10623,46.218],[61.114,46.2216],[61.1428,46.21579],[61.1644,46.21624],[61.186,46.22295],[61.21564,46.24006],[61.23756,46.26382],[61.24439,46.28079],[61.24549,46.29606],[61.2484,46.3028],[61.2702,46.32491],[61.27748,46.3351],[61.28273,46.35037],[61.28633,46.38431],[61.2958,46.3928],[61.29212,46.40128],[61.29205,46.40977],[61.27289,46.43183],[61.27059,46.48104],[61.2772,46.48393],[61.3036,46.479],[61.31331,46.48104],[61.31765,46.48444],[61.32297,46.49632],[61.33,46.50379],[61.3588,46.52266],[61.3732,46.5361],[61.39165,46.54214],[61.40306,46.54893],[61.41199,46.5625],[61.4224,46.56759],[61.426,46.57694],[61.438,46.57791],[61.45106,46.58626],[61.45511,46.59135],[61.45426,46.60323],[61.45935,46.61002],[61.474,46.61952],[61.4908,46.63528],[61.5004,46.63759],[61.50465,46.64057],[61.50476,46.64566],[61.4987,46.65245],[61.5004,46.65734],[61.5052,46.65831],[61.5148,46.65364],[61.5196,46.65324],[61.5268,46.65463],[61.53026,46.65754],[61.53064,46.66093],[61.52441,46.67111],[61.52418,46.6796],[61.52126,46.68299],[61.5148,46.68412],[61.498,46.6785],[61.4884,46.67748],[61.48355,46.67451],[61.47888,46.66602],[61.474,46.66456],[61.4692,46.66612],[61.46551,46.67451],[61.462,46.67603],[61.4548,46.6752],[61.4212,46.66385],[61.4164,46.66466],[61.4068,46.67441],[61.3996,46.67556],[61.3924,46.67437],[61.3804,46.66753],[61.37438,46.65923],[61.37435,46.65075],[61.3708,46.64797],[61.366,46.64782],[61.3564,46.65092],[61.342,46.64713],[61.3276,46.6495],[61.3084,46.64574],[61.30037,46.64226],[61.29678,46.63887],[61.29596,46.63378],[61.30578,46.6219],[61.29725,46.61681],[61.2892,46.6079],[61.2748,46.60116],[61.26288,46.59135],[61.258,46.59016],[61.246,46.59116],[61.2316,46.582],[61.2196,46.58579],[61.21204,46.58456],[61.20546,46.57778],[61.20566,46.57099],[61.2148,46.56697],[61.2316,46.57025],[61.23866,46.56759],[61.23875,46.5625],[61.22978,46.55232],[61.23018,46.54723],[61.24063,46.53365],[61.2583,46.52347],[61.2659,46.51159],[61.26541,46.5048],[61.258,46.49172],[61.24711,46.48104],[61.2292,46.46982],[61.198,46.4675],[61.174,46.45711],[61.1332,46.44724],[61.1092,46.45138],[61.09,46.4579],[61.0684,46.46139],[61.0396,46.46322],[60.958,46.46157],[60.9364,46.46356],[60.8956,46.47237],[60.8476,46.50226],[60.83302,46.51499],[60.81902,46.53705],[60.7876,46.5623],[60.77607,46.57778],[60.77487,46.58966],[60.78593,46.62699],[60.78978,46.65075],[60.79692,46.67111],[60.8195,46.72033],[60.81662,46.7356],[60.80923,46.74578],[60.7972,46.75128],[60.7828,46.75463],[60.7708,46.75391],[60.7564,46.75578],[60.718,46.75323],[60.6676,46.76266],[60.6388,46.77299],[60.6052,46.7746],[60.59051,46.78142],[60.5812,46.78326]],[[59.542,46.32667],[59.51896,46.31982],[59.51587,46.31473],[59.57392,46.23158],[59.58959,46.21291],[59.614,46.18885],[59.69165,46.12297],[59.71875,46.09751],[59.7292,46.09097],[59.7412,46.09057],[59.7628,46.09729],[59.794,46.11218],[59.806,46.12059],[59.81105,46.12636],[59.81612,46.14672],[59.81342,46.162],[59.79779,46.19424],[59.79779,46.2163],[59.80234,46.24006],[59.79958,46.25873],[59.7844,46.28325],[59.76845,46.29946],[59.746,46.31488],[59.7316,46.32056],[59.7172,46.32371],[59.686,46.32081],[59.6572,46.32033],[59.614,46.31118],[59.5972,46.30932],[59.59,46.31106],[59.57878,46.32152],[59.57254,46.32491],[59.5588,46.32733],[59.542,46.32667]],[[59.278,46.00602],[59.254,45.99946],[59.24089,45.99229],[59.22358,45.97532],[59.2009,45.96005],[59.18999,45.94477],[59.1864,45.93629],[59.182,45.93315],[59.1772,45.93328],[59.1628,45.94324],[59.122,45.95038],[59.1076,45.95038],[59.0812,45.94488],[59.074,45.93988],[59.06906,45.93289],[59.06108,45.90235],[59.0572,45.89837],[59.05086,45.89556],[59.0428,45.89682],[59.0212,45.90949],[59.0092,45.90848],[58.9972,45.90037],[58.99,45.89876],[58.966,45.90617],[58.9444,45.90523],[58.918,45.911],[58.8916,45.91385],[58.8724,45.92141],[58.8604,45.92172],[58.8508,45.91969],[58.8364,45.91313],[58.822,45.90316],[58.8172,45.89875],[58.81408,45.89217],[58.81407,45.8718],[58.83391,45.84295],[58.83303,45.83786],[58.8268,45.83698],[58.8052,45.84409],[58.786,45.8482],[58.7764,45.84874],[58.7596,45.84615],[58.7476,45.85227],[58.7404,45.85218],[58.7236,45.8447],[58.71314,45.83616],[58.70274,45.82598],[58.6876,45.80602],[58.67054,45.76998],[58.66608,45.74282],[58.65478,45.72585],[58.65087,45.71567],[58.64513,45.67155],[58.63619,45.6427],[58.63834,45.62403],[58.63771,45.59179],[58.6324,45.58696],[58.6132,45.58232],[58.60536,45.57821],[58.59214,45.54936],[58.577,45.53578],[58.5723,45.529],[58.56899,45.51712],[58.56786,45.50015],[58.55488,45.4713],[58.55181,45.43735],[58.546,45.40575],[58.52596,45.39153],[58.50391,45.36947],[58.4692,45.3477],[58.42193,45.2931],[58.40847,45.26425],[58.40572,45.25068],[58.40701,45.23201],[58.38943,45.20995],[58.38253,45.19468],[58.37487,45.16243],[58.37393,45.14885],[58.36641,45.12679],[58.35086,45.10134],[58.3252,45.07882],[58.31052,45.05891],[58.30093,45.03685],[58.29666,45.01648],[58.28593,44.99273],[58.27835,44.96557],[58.24434,44.92145],[58.23359,44.90278],[58.22174,44.87393],[58.22099,44.83829],[58.22622,44.81284],[58.23451,44.80266],[58.23067,44.78738],[58.23794,44.77211],[58.23882,44.76362],[58.25231,44.74835],[58.25298,44.73477],[58.26283,44.71441],[58.2724,44.70242],[58.28659,44.69574],[58.28441,44.68556],[58.30174,44.65671],[58.306,44.65363],[58.318,44.65579],[58.32223,44.65331],[58.32347,44.64992],[58.3207,44.64483],[58.31148,44.63804],[58.31881,44.6058],[58.31582,44.58713],[58.30699,44.56676],[58.3036,44.56322],[58.2988,44.56174],[58.2772,44.56407],[58.26461,44.55998],[58.24303,44.53282],[58.23566,44.51585],[58.23299,44.50397],[58.23281,44.48021],[58.23614,44.45815],[58.24531,44.43949],[58.2652,44.42893],[58.282,44.42539],[58.3012,44.42519],[58.3516,44.42878],[58.378,44.43357],[58.4164,44.44907],[58.4332,44.45979],[58.45041,44.47512],[58.48898,44.51755],[58.50309,44.53791],[58.51988,44.57016],[58.53473,44.62107],[58.54573,44.67368],[58.57073,44.75514],[58.57197,44.77211],[58.5772,44.77574],[58.5916,44.7733],[58.5988,44.77505],[58.61138,44.78738],[58.62308,44.80775],[58.62621,44.82472],[58.62352,44.85357],[58.61828,44.86545],[58.60205,44.88411],[58.57158,44.90448],[58.56279,44.91636],[58.56433,44.92654],[58.57732,44.94521],[58.59033,44.98085],[58.58676,44.99103],[58.57,45.00981],[58.5676,45.01117],[58.558,45.01136],[58.55605,45.01479],[58.5622,45.02158],[58.59962,45.04873],[58.6108,45.06129],[58.6372,45.07846],[58.65671,45.09455],[58.66628,45.10643],[58.67633,45.13019],[58.67901,45.15734],[58.67148,45.17431],[58.66863,45.19298],[58.65848,45.21334],[58.64942,45.22353],[58.63633,45.24559],[58.62299,45.26086],[58.62117,45.27104],[58.62392,45.2931],[58.62056,45.30329],[58.63067,45.32026],[58.63348,45.33893],[58.63245,45.34402],[58.6252,45.35257],[58.6239,45.35759],[58.64017,45.37626],[58.64929,45.39663],[58.65973,45.43735],[58.6564,45.45163],[58.65932,45.45432],[58.6684,45.45635],[58.678,45.46088],[58.69119,45.4696],[58.7085,45.48827],[58.7238,45.50015],[58.73676,45.51881],[58.74302,45.53239],[58.74986,45.55615],[58.7572,45.56523],[58.7668,45.56936],[58.7932,45.57292],[58.8388,45.58431],[58.8484,45.59135],[58.86008,45.59688],[58.85966,45.60536],[58.87974,45.63252],[58.88993,45.66476],[58.89087,45.67664],[58.89754,45.7021],[58.89754,45.73095],[58.8954,45.74452],[58.90668,45.76998],[58.90767,45.78865],[58.91153,45.79883],[58.9156,45.80077],[58.93,45.80006],[58.942,45.80351],[58.9684,45.81396],[58.9996,45.83049],[59.0286,45.85483],[59.03975,45.8718],[59.0524,45.8796],[59.0716,45.87877],[59.0956,45.88641],[59.1052,45.89229],[59.11,45.89335],[59.1532,45.87786],[59.1748,45.87329],[59.17863,45.87519],[59.182,45.88032],[59.1868,45.88232],[59.218,45.87958],[59.2276,45.88161],[59.23993,45.88707],[59.266,45.90884],[59.28208,45.92611],[59.29508,45.94477],[59.30708,45.97193],[59.31037,45.9872],[59.30695,45.99738],[59.2924,46.0053],[59.278,46.00602]],[[59.9092,45.03258],[59.90467,45.02836],[59.89771,45.01479],[59.89609,45.00121],[59.89264,44.99782],[59.8684,44.9871],[59.83,44.98231],[59.78818,44.95709],[59.78829,44.95369],[59.7964,44.94768],[59.79751,44.94012],[59.806,44.93664],[59.8252,44.94007],[59.8372,44.93883],[59.8468,44.94521],[59.8588,44.94875],[59.8684,44.94895],[59.87345,44.94691],[59.87656,44.94181],[59.8756,44.93192],[59.85567,44.92315],[59.85174,44.91975],[59.85602,44.90787],[59.8612,44.9046],[59.869,44.90787],[59.8756,44.91955],[59.8804,44.9236],[59.8852,44.92503],[59.8972,44.92363],[59.902,44.92473],[59.92191,44.93672],[59.92652,44.96557],[59.91354,44.99442],[59.91911,45.00461],[59.91319,45.01648],[59.91667,45.03006],[59.914,45.03272],[59.9092,45.03258]]],"2025":[[[60.5764,46.78148],[60.538,46.77145],[60.53448,46.76276],[60.538,46.7544],[60.5428,46.75222],[60.5524,46.75113],[60.5764,46.73622],[60.5956,46.73092],[60.6412,46.71369],[60.71756,46.66942],[60.7564,46.65304],[60.76325,46.64736],[60.76453,46.64057],[60.76184,46.63548],[60.75482,46.63038],[60.7276,46.624],[60.7036,46.6136],[60.69868,46.61002],[60.6892,46.59625],[60.6796,46.59018],[60.6436,46.57986],[60.6172,46.56911],[60.5884,46.56368],[60.5692,46.56349],[60.5548,46.56642],[60.5404,46.57186],[60.5188,46.58426],[60.4876,46.59763],[60.4612,46.60292],[60.45776,46.59814],[60.45741,46.57778],[60.45409,46.5642],[60.42492,46.52008],[60.41773,46.50311],[60.41358,46.48614],[60.4084,46.48281],[60.40449,46.48444],[60.40273,46.48783],[60.39473,46.53874],[60.37743,46.59135],[60.36309,46.6236],[60.34178,46.65584],[60.3244,46.6735],[60.29496,46.69318],[60.2716,46.70047],[60.25,46.69908],[60.23864,46.69487],[60.22352,46.68639],[60.1948,46.66375],[60.1636,46.6509],[60.1492,46.64286],[60.11108,46.61681],[60.0988,46.6128],[60.058,46.60602],[60.03554,46.59644],[60.0076,46.57563],[59.99778,46.56081],[59.98246,46.49632],[59.98334,46.47086],[59.99292,46.4505],[60.00198,46.43862],[60.02652,46.42165],[60.0484,46.41433],[60.05667,46.40977],[60.06747,46.39959],[60.0769,46.38601],[60.0892,46.37693],[60.1132,46.36624],[60.1444,46.35836],[60.154,46.35925],[60.1636,46.36734],[60.1828,46.37295],[60.2212,46.37973],[60.2764,46.38258],[60.31,46.39607],[60.3292,46.40796],[60.3364,46.40985],[60.3436,46.40946],[60.358,46.40149],[60.382,46.39597],[60.3964,46.38974],[60.418,46.37482],[60.44329,46.35207],[60.4708,46.33318],[60.5212,46.31263],[60.5668,46.2973],[60.574,46.29741],[60.57923,46.29946],[60.58634,46.30964],[60.598,46.31798],[60.61,46.33199],[60.6172,46.33403],[60.634,46.3337],[60.6508,46.34667],[60.6772,46.34992],[60.68688,46.35716],[60.68976,46.36734],[60.7028,46.37922],[60.7108,46.38324],[60.718,46.38255],[60.72857,46.37413],[60.73287,46.35376],[60.74994,46.32322],[60.81669,46.22649],[60.82369,46.21291],[60.8294,46.19085],[60.82456,46.16709],[60.83019,46.15691],[60.8428,46.15095],[60.8476,46.15227],[60.8596,46.16257],[60.8692,46.16546],[60.8812,46.16392],[60.898,46.16459],[60.9244,46.15143],[60.9316,46.1505],[60.94217,46.15521],[60.9676,46.17335],[60.994,46.18204],[61.0348,46.1885],[61.06211,46.20612],[61.0924,46.20719],[61.0996,46.21687],[61.1092,46.2221],[61.1188,46.22345],[61.138,46.22074],[61.1764,46.22475],[61.1932,46.23143],[61.2124,46.24172],[61.23265,46.26382],[61.24484,46.30116],[61.258,46.32641],[61.27025,46.33849],[61.27793,46.36055],[61.27821,46.39619],[61.27502,46.41486],[61.26659,46.43522],[61.26803,46.48274],[61.2748,46.48649],[61.2964,46.48736],[61.30592,46.49123],[61.318,46.50769],[61.33185,46.51838],[61.34376,46.53365],[61.35787,46.54214],[61.36028,46.55402],[61.36766,46.5642],[61.378,46.56778],[61.4068,46.57214],[61.40825,46.58626],[61.4061,46.59305],[61.4092,46.5983],[61.4164,46.60001],[61.4308,46.59628],[61.44361,46.60323],[61.44806,46.61002],[61.44535,46.62699],[61.45076,46.63378],[61.45,46.63655],[61.438,46.63952],[61.4236,46.64574],[61.3972,46.65199],[61.3732,46.64392],[61.35251,46.64226],[61.3252,46.62483],[61.30667,46.61681],[61.2964,46.60624],[61.2748,46.60098],[61.26802,46.59305],[61.25625,46.58626],[61.2526,46.58287],[61.2604,46.58192],[61.26276,46.57947],[61.26069,46.56929],[61.24744,46.56081],[61.24477,46.55571],[61.26193,46.53535],[61.26789,46.52517],[61.27072,46.51838],[61.271,46.5082],[61.24748,46.47086],[61.2412,46.46601],[61.198,46.46075],[61.1668,46.45061],[61.15,46.43907],[61.1332,46.43824],[61.1164,46.44182],[61.09233,46.45389],[61.0684,46.45949],[61.0252,46.46318],[60.9772,46.46318],[60.9628,46.4618],[60.9364,46.46389],[60.91,46.46906],[60.8932,46.47414],[60.8548,46.49723],[60.83779,46.50989],[60.81722,46.53705],[60.7756,46.56698],[60.77075,46.57269],[60.77007,46.58287],[60.78353,46.62869],[60.78688,46.66093],[60.79807,46.68469],[60.80122,46.69827],[60.80984,46.70675],[60.80702,46.72033],[60.79965,46.739],[60.79555,46.74409],[60.7852,46.74881],[60.7564,46.75294],[60.7204,46.74931],[60.706,46.75455],[60.6676,46.76162],[60.6364,46.77299],[60.6052,46.77416],[60.58747,46.78142],[60.5764,46.78148]],[[59.6308,46.30474],[59.6164,46.30029],[59.60419,46.29267],[59.60296,46.28079],[59.6092,46.27338],[59.61446,46.25873],[59.60596,46.24346],[59.62038,46.22309],[59.64117,46.21121],[59.6452,46.20122],[59.64891,46.19764],[59.662,46.19064],[59.6716,46.19314],[59.6812,46.19282],[59.6908,46.19883],[59.71,46.19424],[59.7172,46.19427],[59.7316,46.20283],[59.7412,46.20611],[59.7484,46.20583],[59.758,46.20224],[59.7652,46.20409],[59.76837,46.20952],[59.77301,46.25024],[59.7652,46.26479],[59.75806,46.27061],[59.75246,46.28079],[59.74231,46.29097],[59.7316,46.29712],[59.7172,46.29998],[59.6764,46.30044],[59.6524,46.30248],[59.6404,46.3059],[59.6308,46.30474]],[[59.2708,46.00263],[59.25294,45.99738],[59.242,45.99141],[59.22339,45.97193],[59.20518,45.96005],[59.19872,45.95156],[59.19924,45.93799],[59.2036,45.9349],[59.218,45.93141],[59.2252,45.92283],[59.23,45.9202],[59.2348,45.91972],[59.242,45.92215],[59.2732,45.94579],[59.29909,45.97702],[59.30032,45.9889],[59.29527,45.99738],[59.2828,46.00287],[59.2708,46.00263]],[[58.7836,45.8313],[58.7644,45.82501],[58.7308,45.82597],[58.7164,45.8211],[58.69933,45.80562],[58.68492,45.78355],[58.67488,45.76149],[58.6756,45.74208],[58.66102,45.72755],[58.65568,45.71737],[58.64753,45.66646],[58.63909,45.641],[58.64314,45.61385],[58.64251,45.59179],[58.6372,45.58664],[58.6156,45.58094],[58.60894,45.57651],[58.60411,45.56972],[58.59606,45.54766],[58.58433,45.53918],[58.57666,45.53069],[58.56781,45.48996],[58.55817,45.47639],[58.55487,45.4679],[58.55206,45.43226],[58.5532,45.40745],[58.52598,45.38814],[58.50631,45.36608],[58.47078,45.34571],[58.45799,45.32705],[58.44009,45.31177],[58.42814,45.2982],[58.41327,45.26935],[58.41046,45.25577],[58.41274,45.2388],[58.41168,45.22862],[58.39313,45.20825],[58.38733,45.19637],[58.37873,45.14885],[58.37094,45.1234],[58.35181,45.09794],[58.32834,45.07758],[58.31291,45.05382],[58.30335,45.03176],[58.30143,45.01139],[58.2891,44.99103],[58.28462,44.97236],[58.27837,44.95878],[58.27027,44.94521],[58.25054,44.92315],[58.24106,44.90787],[58.22892,44.88072],[58.22579,44.87054],[58.22579,44.86036],[58.23327,44.81623],[58.24092,44.78738],[58.26251,44.74156],[58.29188,44.69404],[58.31679,44.64653],[58.32353,44.62616],[58.33081,44.58543],[58.32536,44.57186],[58.3084,44.55953],[58.2988,44.55786],[58.2796,44.56166],[58.26433,44.55658],[58.25742,44.54979],[58.24484,44.52943],[58.23766,44.50397],[58.23779,44.48191],[58.24048,44.46834],[58.24609,44.45815],[58.2628,44.44963],[58.282,44.44951],[58.30632,44.45815],[58.3252,44.4679],[58.3528,44.4904],[58.3876,44.51177],[58.40557,44.52943],[58.4164,44.54321],[58.44602,44.56676],[58.45508,44.57695],[58.47183,44.61259],[58.47954,44.63634],[58.48474,44.66519],[58.48193,44.7195],[58.47066,44.75005],[58.47994,44.78399],[58.47947,44.79247],[58.47276,44.80435],[58.48039,44.81453],[58.4764,44.8188],[58.4644,44.81886],[58.4524,44.82286],[58.44938,44.8332],[58.4452,44.83654],[58.4404,44.83709],[58.4308,44.83469],[58.42562,44.8366],[58.42047,44.84678],[58.42052,44.86036],[58.4308,44.87461],[58.4476,44.88641],[58.47755,44.90278],[58.49105,44.91636],[58.49632,44.92824],[58.49699,44.95709],[58.50161,44.97236],[58.51903,45.00461],[58.54225,45.03346],[58.54913,45.05043],[58.55315,45.07758],[58.58362,45.11152],[58.59194,45.14037],[58.6012,45.14692],[58.6228,45.15151],[58.6324,45.15546],[58.64208,45.16583],[58.64301,45.17431],[58.6396,45.18262],[58.63,45.19191],[58.6106,45.20486],[58.60017,45.21843],[58.59634,45.23031],[58.59807,45.24389],[58.60474,45.26595],[58.60474,45.30668],[58.6026,45.32026],[58.61102,45.34232],[58.61434,45.35929],[58.61325,45.36778],[58.60353,45.37965],[58.60054,45.39323],[58.60547,45.40511],[58.66824,45.48827],[58.69059,45.50015],[58.69807,45.51033],[58.70055,45.5239],[58.69613,45.53239],[58.69767,45.54766],[58.69292,45.55954],[58.70007,45.57651],[58.68976,45.59348],[58.70205,45.60876],[58.70418,45.62573],[58.71663,45.64779],[58.71832,45.65627],[58.71512,45.66306],[58.71606,45.66646],[58.73018,45.68003],[58.74361,45.68852],[58.75171,45.6987],[58.76457,45.70888],[58.76833,45.71567],[58.7668,45.71959],[58.7596,45.72033],[58.7284,45.71341],[58.7092,45.70552],[58.702,45.70593],[58.6985,45.70888],[58.6993,45.71228],[58.71176,45.72246],[58.71492,45.72925],[58.71365,45.73434],[58.70401,45.74282],[58.70309,45.74792],[58.7139,45.76828],[58.7308,45.77628],[58.7428,45.78456],[58.76395,45.80901],[58.786,45.81931],[58.798,45.82221],[58.7932,45.82924],[58.7836,45.8313]]]},"area":{"1977":{"km2":54403.4,"pct":80.0},"1989":{"km2":39859.8,"pct":58.6},"2000":{"km2":26879.3,"pct":39.5},"2009":{"km2":14366.3,"pct":21.1},"2014":{"km2":7060.7,"pct":10.4},"2025":{"km2":5079.1,"pct":7.5}},"north":{"2001":[[[60.2034,46.37766],[60.2094,46.37883],[60.2118,46.37892],[60.2138,46.37993],[60.2154,46.38031],[60.2262,46.38036],[60.2314,46.38069],[60.2386,46.3818],[60.2482,46.3837],[60.273,46.38699],[60.2774,46.38867],[60.2866,46.39297],[60.2902,46.39408],[60.2962,46.39682],[60.3026,46.39892],[60.3058,46.39955],[60.3094,46.40102],[60.3138,46.4033],[60.3198,46.40691],[60.3242,46.40875],[60.3266,46.41018],[60.331,46.41113],[60.3338,46.41219],[60.3358,46.41244],[60.3382,46.41311],[60.3398,46.41323],[60.3422,46.4139],[60.3446,46.4138],[60.3482,46.41429],[60.351,46.41414],[60.3534,46.41482],[60.355,46.41447],[60.3574,46.41323],[60.3606,46.41317],[60.36186,46.41331],[60.3646,46.41429],[60.3662,46.41451],[60.3694,46.41341],[60.37128,46.41161],[60.37415,46.40963],[60.3754,46.40924],[60.3762,46.40928],[60.37665,46.40963],[60.37679,46.4102],[60.37601,46.41529],[60.37647,46.42264],[60.3778,46.42601],[60.3786,46.42654],[60.3794,46.42654],[60.3802,46.42602],[60.38202,46.42321],[60.3878,46.42001],[60.39112,46.41868],[60.39264,46.41727],[60.39349,46.41585],[60.3958,46.41503],[60.3974,46.41399],[60.39806,46.41331],[60.39888,46.41161],[60.4022,46.40947],[60.40446,46.40737],[60.407,46.40284],[60.41008,46.39973],[60.41102,46.39719],[60.41269,46.39521],[60.41383,46.39294],[60.41544,46.39153],[60.41621,46.3904],[60.41899,46.38757],[60.4202,46.38503],[60.42312,46.38304],[60.42404,46.38135],[60.42406,46.38078],[60.42328,46.38022],[60.4178,46.37952],[60.41724,46.37908],[60.417,46.37821],[60.4174,46.37791],[60.4202,46.37727],[60.4242,46.37801],[60.42672,46.37682],[60.4278,46.37569],[60.42888,46.37371],[60.43433,46.36834],[60.43887,46.36296],[60.44024,46.36183],[60.44127,46.36042],[60.44299,46.359],[60.445,46.35641],[60.45325,46.34882],[60.4606,46.3436],[60.4694,46.33825],[60.4766,46.33435],[60.4802,46.33266],[60.493,46.32741],[60.4986,46.32528],[60.5198,46.31806],[60.5258,46.31566],[60.5442,46.30987],[60.549,46.30857],[60.553,46.30693],[60.5558,46.30644],[60.55696,46.30696],[60.55754,46.30809],[60.55841,46.30894],[60.56165,46.31092],[60.5626,46.31129],[60.5666,46.31197],[60.56884,46.31431],[60.5722,46.31586],[60.5778,46.31717],[60.581,46.31769],[60.58477,46.31912],[60.5902,46.32405],[60.59552,46.32704],[60.59925,46.33072],[60.6016,46.33242],[60.60334,46.33355],[60.6086,46.33599],[60.6134,46.33937],[60.62227,46.34825],[60.62561,46.35221],[60.62774,46.35363],[60.63021,46.35448],[60.6318,46.35571],[60.6358,46.35785],[60.637,46.35879],[60.6406,46.35978],[60.6438,46.36118],[60.64602,46.36325],[60.6474,46.36388],[60.6494,46.36356],[60.65391,46.36098],[60.6566,46.3603],[60.6598,46.36101],[60.66211,46.36127],[60.6658,46.36267],[60.66749,46.36438],[60.66715,46.36494],[60.66544,46.36607],[60.66546,46.36664],[60.6682,46.36803],[60.6702,46.36855],[60.6726,46.36965],[60.67883,46.37456],[60.6826,46.37657],[60.68429,46.3771],[60.68463,46.37739],[60.68491,46.37852],[60.6862,46.37965],[60.6862,46.38022],[60.68531,46.38135],[60.68569,46.38191],[60.687,46.38276],[60.68664,46.38418],[60.68775,46.38474],[60.6898,46.38509],[60.6926,46.38757],[60.69264,46.38814],[60.6918,46.38917],[60.6894,46.38985],[60.68812,46.39068],[60.68795,46.39125],[60.68872,46.39238],[60.68807,46.39408],[60.68809,46.39521],[60.68905,46.39634],[60.68968,46.39775],[60.69105,46.39888],[60.69224,46.402],[60.69434,46.40397],[60.69536,46.40567],[60.697,46.40689],[60.6998,46.40799],[60.7006,46.4081],[60.7026,46.40681],[60.7046,46.40622],[60.7066,46.40608],[60.7086,46.40531],[60.7146,46.40472],[60.7178,46.4027],[60.71871,46.40171],[60.71872,46.40002],[60.71642,46.39719],[60.71602,46.39606],[60.71607,46.39492],[60.71664,46.39238],[60.71859,46.39068],[60.7198,46.39031],[60.7218,46.39019],[60.7234,46.38978],[60.7242,46.38986],[60.729,46.39171],[60.7342,46.39479],[60.73688,46.39719],[60.739,46.39841],[60.7418,46.39891],[60.743,46.39885],[60.74646,46.39549],[60.74717,46.39294],[60.74523,46.38248],[60.7456,46.37993],[60.74528,46.37767],[60.74609,46.37371],[60.74487,46.36919],[60.74488,46.36749],[60.74623,46.36523],[60.74649,46.36268],[60.74745,46.36098],[60.74862,46.35731],[60.74842,46.35448],[60.74918,46.35108],[60.74962,46.34486],[60.75047,46.34147],[60.75423,46.33355],[60.755,46.33134],[60.7558,46.33039],[60.75697,46.32761],[60.7585,46.32506],[60.76385,46.31884],[60.76571,46.31573],[60.76848,46.31233],[60.76937,46.30979],[60.77192,46.3047],[60.77749,46.29706],[60.77851,46.29508],[60.7811,46.29197],[60.78305,46.28886],[60.7852,46.28377],[60.7881,46.27839],[60.79094,46.27443],[60.79648,46.26821],[60.79771,46.26566],[60.79976,46.26312],[60.80464,46.25831],[60.80854,46.25379],[60.81194,46.25096],[60.81295,46.24926],[60.81579,46.24643],[60.81691,46.24445],[60.81847,46.24275],[60.8217,46.23795],[60.82406,46.23512],[60.8298,46.22492],[60.8314,46.22127],[60.83606,46.21645],[60.83865,46.21051],[60.83917,46.20853],[60.83918,46.20287],[60.83882,46.20146],[60.83873,46.19807],[60.83754,46.19326],[60.83585,46.18845],[60.8336,46.18392],[60.83065,46.17827],[60.82472,46.16837],[60.8238,46.16586],[60.82281,46.16441],[60.82264,46.16356],[60.82296,46.16214],[60.8225,46.16073],[60.82274,46.15988],[60.82365,46.15903],[60.8274,46.15706],[60.8286,46.1568],[60.831,46.15674],[60.8334,46.15551],[60.8382,46.15448],[60.8398,46.15317],[60.8406,46.15302],[60.843,46.15326],[60.8446,46.15366],[60.8466,46.15364],[60.8502,46.15432],[60.855,46.15647],[60.8582,46.15945],[60.8614,46.16077],[60.8634,46.16114],[60.869,46.16109],[60.871,46.16027],[60.877,46.1566],[60.87936,46.15451],[60.88008,46.15281],[60.8818,46.15178],[60.883,46.15158],[60.8854,46.15213],[60.8878,46.15193],[60.8898,46.15231],[60.8934,46.1523],[60.8974,46.15031],[60.8998,46.15028],[60.9026,46.14944],[60.9078,46.1462],[60.9102,46.14517],[60.9174,46.14395],[60.9202,46.14401],[60.9238,46.14514],[60.931,46.1493],[60.9434,46.16097],[60.94734,46.16526],[60.953,46.17069],[60.9646,46.18021],[60.96925,46.1859],[60.9722,46.18763],[60.9758,46.18905],[60.991,46.19356],[60.993,46.19392],[60.9966,46.19401],[61.0046,46.1952],[61.0082,46.19596],[61.013,46.1978],[61.0154,46.19797],[61.0178,46.19844],[61.0202,46.19854],[61.0266,46.19962],[61.0294,46.20042],[61.0326,46.20173],[61.035,46.20233],[61.0398,46.2025],[61.043,46.203],[61.0466,46.20303],[61.0498,46.20349],[61.0522,46.2041],[61.0554,46.20573],[61.0614,46.20788],[61.069,46.20936],[61.0714,46.21024],[61.0758,46.20987],[61.0798,46.21032],[61.08712,46.21306],[61.09565,46.22182],[61.1002,46.22476],[61.105,46.22723],[61.1114,46.22941],[61.1154,46.22957],[61.1222,46.23146],[61.1254,46.2317],[61.1278,46.23164],[61.1326,46.23291],[61.1338,46.23237],[61.13411,46.23172],[61.13351,46.23088],[61.13168,46.22974],[61.13133,46.22918],[61.13145,46.22861],[61.133,46.22775],[61.1366,46.22739],[61.139,46.22779],[61.141,46.22924],[61.1418,46.22951],[61.1446,46.22917],[61.1454,46.22927],[61.1466,46.23065],[61.1474,46.23094],[61.1494,46.23101],[61.151,46.23219],[61.1518,46.23218],[61.1578,46.23078],[61.1598,46.23055],[61.1622,46.23078],[61.1738,46.23328],[61.1822,46.236],[61.1882,46.23719],[61.1922,46.23875],[61.1958,46.24095],[61.19646,46.24162],[61.19735,46.2436],[61.19805,46.24445],[61.201,46.24659],[61.21045,46.25463],[61.21479,46.25775],[61.21636,46.25916],[61.21702,46.26001],[61.2186,46.26374],[61.22207,46.26849],[61.22488,46.27302],[61.22775,46.27896],[61.22942,46.28122],[61.23136,46.28858],[61.23457,46.29649],[61.2376,46.30328],[61.23945,46.30611],[61.242,46.3112],[61.24335,46.31516],[61.24505,46.31856],[61.24667,46.3228],[61.2504,46.331],[61.25423,46.33807],[61.25507,46.3409],[61.25911,46.34939],[61.26105,46.35448],[61.26206,46.35957],[61.26432,46.36607],[61.26447,46.36919],[61.26545,46.37201],[61.26522,46.37484],[61.26599,46.37993],[61.26522,46.38616],[61.26518,46.39125],[61.26407,46.39577],[61.26353,46.40086],[61.26282,46.40313],[61.26273,46.40539],[61.26232,46.4068],[61.26146,46.40822],[61.26158,46.41048],[61.26007,46.41614],[61.25993,46.41812],[61.25723,46.42519],[61.25721,46.43],[61.25755,46.43169],[61.25677,46.43735],[61.25626,46.43876],[61.25678,46.44046],[61.25719,46.44725],[61.25681,46.44923],[61.25677,46.45489],[61.25608,46.45658],[61.25615,46.45969],[61.2557,46.46083],[61.25617,46.46394],[61.25604,46.46535],[61.25742,46.46733],[61.25776,46.46875],[61.25944,46.47016],[61.26025,46.47129],[61.26224,46.47582],[61.26237,46.48034],[61.26129,46.48289],[61.26176,46.4843],[61.26393,46.48798],[61.26466,46.48854],[61.2666,46.48877],[61.2698,46.49091],[61.2726,46.49226],[61.2758,46.49314],[61.2786,46.4931],[61.2798,46.49382],[61.2802,46.49448],[61.2798,46.49515],[61.2786,46.49579],[61.2766,46.49556],[61.2746,46.49602],[61.2726,46.49597],[61.27166,46.49562],[61.2702,46.49442],[61.26805,46.49364],[61.2642,46.49111],[61.26252,46.48939],[61.26207,46.4877],[61.26001,46.48459],[61.25808,46.47893],[61.25376,46.4744],[61.2526,46.47267],[61.25005,46.47073],[61.2478,46.46841],[61.23795,46.45969],[61.22992,46.45347],[61.2246,46.45104],[61.219,46.44779],[61.215,46.44639],[61.211,46.44621],[61.2082,46.44553],[61.2054,46.4452],[61.2018,46.44552],[61.19895,46.4464],[61.197,46.44666],[61.195,46.44644],[61.1926,46.44577],[61.1882,46.44707],[61.1862,46.44678],[61.1842,46.4461],[61.1818,46.44632],[61.1798,46.4468],[61.177,46.44681],[61.1738,46.44633],[61.1702,46.44621],[61.163,46.44509],[61.159,46.44418],[61.1554,46.44301],[61.15357,46.44159],[61.15008,46.43961],[61.1462,46.43582],[61.14397,46.43424],[61.1418,46.43308],[61.1378,46.43175],[61.1338,46.43127],[61.1278,46.43194],[61.12384,46.43282],[61.1154,46.43619],[61.11146,46.43848],[61.1098,46.43905],[61.10283,46.44244],[61.09965,46.4447],[61.09795,46.44668],[61.09479,46.44923],[61.0918,46.45083],[61.0882,46.45181],[61.0846,46.4523],[61.0726,46.45616],[61.057,46.45888],[61.0434,46.4601],[61.0378,46.46014],[61.029,46.46068],[61.0038,46.46068],[61.001,46.46041],[60.9858,46.4604],[60.9834,46.46014],[60.977,46.4601],[60.9746,46.45984],[60.9582,46.45962],[60.9526,46.45985],[60.9394,46.46102],[60.9298,46.46251],[60.9242,46.46436],[60.9166,46.46578],[60.9006,46.46984],[60.8946,46.47179],[60.8878,46.47436],[60.8778,46.47967],[60.87443,46.48176],[60.8666,46.48755],[60.85108,46.4976]],[[60.4177,46.4976],[60.41633,46.48968],[60.41447,46.48261],[60.41433,46.48091],[60.41223,46.47497],[60.40978,46.47044],[60.40422,46.4563],[60.39928,46.44895],[60.39797,46.44782],[60.397,46.44748],[60.39593,46.4481],[60.39546,46.44923],[60.39713,46.45545],[60.39798,46.46026],[60.39802,46.46252],[60.39918,46.46846],[60.39921,46.48063],[60.3996,46.4843],[60.39922,46.48628],[60.39919,46.49364],[60.39869,46.4976]]],"2009":[[[60.2034,46.37569],[60.215,46.37847],[60.2186,46.37893],[60.2218,46.37912],[60.2282,46.37895],[60.2306,46.37921],[60.2342,46.37924],[60.253,46.38091],[60.2586,46.38091],[60.2634,46.38037],[60.269,46.38036],[60.2782,46.38097],[60.2802,46.38132],[60.2818,46.38188],[60.287,46.38447],[60.289,46.3845],[60.29317,46.38616],[60.29664,46.38927],[60.29681,46.38983],[60.29618,46.39125],[60.29656,46.3921],[60.29774,46.39294],[60.2994,46.39358],[60.301,46.39389],[60.3038,46.39362],[60.3042,46.39325],[60.3038,46.39283],[60.3022,46.39261],[60.30066,46.39153],[60.30046,46.39096],[60.301,46.39064],[60.303,46.3906],[60.3046,46.39],[60.3058,46.38987],[60.309,46.39114],[60.31297,46.39436],[60.3144,46.39634],[60.31464,46.39747],[60.31805,46.40171],[60.32041,46.40369],[60.32563,46.40737],[60.3282,46.40862],[60.3294,46.40884],[60.32982,46.4085],[60.32977,46.40822],[60.32824,46.4068],[60.3286,46.40619],[60.3298,46.40611],[60.33149,46.4068],[60.333,46.40693],[60.3358,46.40616],[60.3394,46.40605],[60.3446,46.40495],[60.3462,46.4043],[60.3486,46.40287],[60.3514,46.40263],[60.35275,46.40171],[60.35444,46.40002],[60.359,46.39769],[60.3606,46.39735],[60.3626,46.3974],[60.3642,46.39836],[60.365,46.39849],[60.3714,46.39472],[60.377,46.39275],[60.3798,46.39216],[60.3842,46.3905],[60.3878,46.38775],[60.3944,46.38418],[60.40399,46.37739],[60.4058,46.37565],[60.4066,46.37552],[60.4082,46.37598],[60.4094,46.37564],[60.41563,46.37145],[60.4184,46.37003],[60.4222,46.36733],[60.4274,46.36294],[60.431,46.36056],[60.4346,46.35771],[60.43648,46.35533],[60.4398,46.35267],[60.4428,46.35108],[60.4498,46.34541],[60.461,46.33766],[60.47014,46.33242],[60.483,46.32614],[60.4918,46.32232],[60.507,46.31662],[60.5182,46.31157],[60.5326,46.30639],[60.545,46.30279],[60.555,46.29841],[60.5634,46.29589],[60.5698,46.2947],[60.5742,46.29438],[60.5774,46.29478],[60.581,46.29596],[60.58512,46.29932],[60.58783,46.303],[60.58833,46.30555],[60.58798,46.30724],[60.58627,46.30951],[60.58702,46.3112],[60.5878,46.31174],[60.5886,46.31186],[60.591,46.31113],[60.5926,46.31111],[60.595,46.31158],[60.59634,46.31233],[60.59967,46.31601],[60.60295,46.32223],[60.60541,46.32591],[60.6102,46.33096],[60.611,46.33091],[60.6126,46.32888],[60.6134,46.32854],[60.6146,46.32897],[60.61564,46.33044],[60.61715,46.33128],[60.6182,46.33125],[60.61944,46.33044],[60.6202,46.33022],[60.6234,46.33109],[60.6258,46.33103],[60.62836,46.32959],[60.63054,46.32789],[60.63042,46.32732],[60.62939,46.32704],[60.6289,46.32648],[60.6298,46.32544],[60.6306,46.32509],[60.63159,46.32563],[60.63214,46.32704],[60.6334,46.328],[60.6342,46.32832],[60.6378,46.32883],[60.6398,46.32876],[60.6458,46.32755],[60.6482,46.32684],[60.6502,46.32708],[60.6518,46.32698],[60.65247,46.32732],[60.65236,46.32761],[60.6502,46.32866],[60.64973,46.3293],[60.6502,46.32982],[60.65157,46.33044],[60.6513,46.33157],[60.65164,46.3327],[60.651,46.33328],[60.6494,46.33387],[60.64895,46.3344],[60.6494,46.33489],[60.65052,46.33524],[60.65076,46.33553],[60.65125,46.33722],[60.6502,46.33842],[60.65008,46.33949],[60.65056,46.34034],[60.65203,46.34175],[60.65204,46.34316],[60.6526,46.34368],[60.6538,46.34385],[60.6558,46.34367],[60.6574,46.34403],[60.6622,46.34335],[60.6631,46.34288],[60.66422,46.34147],[60.6642,46.3409],[60.66332,46.33977],[60.6642,46.33914],[60.6702,46.33962],[60.6738,46.33937],[60.6746,46.33951],[60.67618,46.34034],[60.67795,46.3426],[60.677,46.34368],[60.67507,46.3443],[60.67507,46.34486],[60.6758,46.34521],[60.6826,46.34591],[60.6862,46.34677],[60.68689,46.34712],[60.68707,46.34769],[60.68658,46.34854],[60.6866,46.3491],[60.68878,46.35052],[60.68819,46.35221],[60.6893,46.35391],[60.69136,46.35561],[60.69202,46.35759],[60.69376,46.36042],[60.69702,46.36353],[60.69722,46.36466],[60.6966,46.36527],[60.6934,46.36573],[60.6914,46.36561],[60.6906,46.36596],[60.68994,46.36664],[60.69032,46.36777],[60.691,46.36824],[60.6954,46.36867],[60.69601,46.3689],[60.69618,46.37032],[60.69731,46.37173],[60.70004,46.37258],[60.70015,46.37315],[60.6994,46.37399],[60.6994,46.37446],[60.7014,46.37551],[60.70184,46.37739],[60.703,46.37833],[60.7062,46.37912],[60.7106,46.37928],[60.71134,46.37965],[60.711,46.38013],[60.7094,46.38053],[60.70871,46.38106],[60.70787,46.3822],[60.7082,46.38309],[60.7122,46.38391],[60.7138,46.38343],[60.7162,46.38362],[60.7178,46.38308],[60.7194,46.38202],[60.7199,46.38135],[60.7197,46.37965],[60.72078,46.37682],[60.72064,46.37512],[60.72208,46.37315],[60.72387,46.37145],[60.72348,46.37003],[60.7239,46.3689],[60.72395,46.36692],[60.72328,46.36523],[60.72331,46.36438],[60.72584,46.3624],[60.72827,46.35929],[60.72879,46.35759],[60.7285,46.35391],[60.72935,46.35193],[60.73189,46.34882],[60.735,46.34345],[60.73846,46.33949],[60.74065,46.33496],[60.74232,46.33044],[60.7482,46.32017],[60.7529,46.3129],[60.763,46.3003],[60.7691,46.29169],[60.7741,46.28377],[60.78208,46.27217],[60.78568,46.26651],[60.78792,46.26227],[60.79179,46.25661],[60.7937,46.25322],[60.79774,46.24756],[60.801,46.24368],[60.8042,46.24049],[60.80659,46.23653],[60.81367,46.22635],[60.81417,46.22494],[60.81598,46.22211],[60.81785,46.21815],[60.81867,46.2156],[60.82063,46.21164],[60.82295,46.20457],[60.82517,46.19976],[60.82559,46.19354],[60.82442,46.18675],[60.82445,46.18392],[60.82265,46.17968],[60.82087,46.17685],[60.81912,46.17487],[60.81727,46.17148],[60.81552,46.16978],[60.81226,46.16526],[60.80454,46.15705],[60.79984,46.15111],[60.797,46.14861],[60.79376,46.14517],[60.79115,46.14178],[60.79097,46.14008],[60.78832,46.13669],[60.7834,46.13349],[60.781,46.13252],[60.78016,46.13103],[60.7794,46.13036],[60.77773,46.13018],[60.77726,46.1299],[60.7778,46.12961],[60.7814,46.12947],[60.7822,46.12917],[60.78415,46.12792],[60.78429,46.12735],[60.78383,46.12651],[60.7826,46.12578],[60.781,46.12553],[60.7794,46.12389],[60.7778,46.12335],[60.7758,46.12211],[60.775,46.12209],[60.77434,46.12255],[60.77392,46.12424],[60.7734,46.12466],[60.7726,46.12459],[60.7706,46.12373],[60.7698,46.12377],[60.76932,46.12424],[60.76973,46.12537],[60.769,46.12563],[60.7678,46.12545],[60.76715,46.12509],[60.76708,46.12453],[60.76751,46.12368],[60.76655,46.12283],[60.76515,46.12283],[60.76446,46.12396],[60.7638,46.12424],[60.7602,46.12371],[60.7582,46.12314],[60.7562,46.12206],[60.7546,46.12191],[60.753,46.12144],[60.75213,46.12085],[60.75201,46.12028],[60.75428,46.11915],[60.755,46.11746],[60.75574,46.11661],[60.76916,46.10444],[60.7703,46.10246],[60.7722,46.1017],[60.77315,46.10105],[60.77925,46.09511],[60.7814,46.09349],[60.7842,46.0935],[60.7858,46.09417],[60.7878,46.09403],[60.7914,46.09553],[60.7954,46.09581],[60.79811,46.09652],[60.80307,46.09879],[60.8046,46.10012],[60.8054,46.10024],[60.80872,46.09907],[60.809,46.09822],[60.80784,46.09681],[60.80826,46.09652],[60.8102,46.09629],[60.81102,46.09511],[60.8106,46.09448],[60.80715,46.09257],[60.80569,46.08945],[60.80571,46.08861],[60.8062,46.08811],[60.8074,46.0879],[60.8114,46.0879],[60.8186,46.08845],[60.8258,46.08852],[60.82757,46.08917],[60.82997,46.09115],[60.83002,46.09228],[60.82816,46.09341],[60.82796,46.09398],[60.829,46.09518],[60.82912,46.09681],[60.8299,46.09794],[60.82947,46.1002],[60.83087,46.1019],[60.83214,46.10275],[60.8342,46.10335],[60.8358,46.1035],[60.839,46.10244],[60.841,46.10223],[60.843,46.1014],[60.84388,46.09992],[60.845,46.09936],[60.84765,46.09964],[60.84864,46.10048],[60.84893,46.10133],[60.84866,46.1019],[60.84641,46.10331],[60.84568,46.10416],[60.8458,46.10648],[60.845,46.10647],[60.84356,46.10558],[60.84397,46.10388],[60.8434,46.10317],[60.8426,46.10328],[60.8414,46.10424],[60.8402,46.10479],[60.8378,46.105],[60.83691,46.10586],[60.83726,46.10642],[60.8382,46.10694],[60.839,46.10698],[60.841,46.10658],[60.8422,46.10676],[60.84313,46.10869],[60.84453,46.1101],[60.84415,46.11208],[60.845,46.11373],[60.84547,46.11406],[60.84682,46.11434],[60.847,46.11578],[60.8494,46.11678],[60.85085,46.11802],[60.85087,46.11887],[60.849,46.11997],[60.84817,46.12113],[60.84744,46.12368],[60.8482,46.12538],[60.847,46.12596],[60.845,46.12609],[60.8434,46.12658],[60.8426,46.12637],[60.8406,46.1253],[60.839,46.12476],[60.83716,46.12339],[60.83495,46.12226],[60.8333,46.12028],[60.8346,46.11887],[60.8346,46.11841],[60.8342,46.11807],[60.8326,46.11752],[60.8314,46.11654],[60.8302,46.1161],[60.829,46.11608],[60.827,46.11664],[60.82624,46.11632],[60.82711,46.11491],[60.82666,46.11378],[60.82712,46.11265],[60.8267,46.10954],[60.8258,46.1089],[60.82454,46.10925],[60.8237,46.1101],[60.82363,46.11208],[60.82461,46.1135],[60.82443,46.11378],[60.823,46.11464],[60.8214,46.11494],[60.82091,46.11548],[60.82098,46.11632],[60.82256,46.1183],[60.8234,46.11884],[60.825,46.11899],[60.827,46.11843],[60.82761,46.11859],[60.82864,46.12226],[60.82961,46.12311],[60.83205,46.12424],[60.8318,46.12497],[60.8298,46.12494],[60.8287,46.12453],[60.82726,46.1217],[60.8266,46.12107],[60.8258,46.12078],[60.823,46.1205],[60.8222,46.1206],[60.82144,46.12113],[60.82107,46.12226],[60.8206,46.12267],[60.8198,46.12261],[60.81746,46.1217],[60.81854,46.12085],[60.81855,46.12],[60.81574,46.11802],[60.81394,46.11548],[60.8142,46.11508],[60.8154,46.11529],[60.81623,46.11491],[60.81552,46.1135],[60.815,46.11324],[60.8138,46.11413],[60.8122,46.11413],[60.81156,46.11463],[60.81177,46.11689],[60.81091,46.1183],[60.81215,46.11972],[60.81217,46.12113],[60.813,46.12255],[60.81266,46.12311],[60.8118,46.12344],[60.8094,46.12275],[60.8086,46.12303],[60.80887,46.12424],[60.81002,46.12566],[60.8098,46.1261],[60.8074,46.12656],[60.8038,46.12556],[60.8002,46.12423],[60.799,46.12413],[60.797,46.12437],[60.7954,46.12386],[60.79436,46.12424],[60.79455,46.12537],[60.7962,46.12715],[60.7986,46.12794],[60.8002,46.12874],[60.807,46.12906],[60.8098,46.12993],[60.8138,46.12906],[60.81625,46.12735],[60.81649,46.12679],[60.8162,46.12633],[60.81429,46.12566],[60.81417,46.12537],[60.8146,46.12497],[60.8154,46.12506],[60.8166,46.12585],[60.8186,46.12644],[60.81989,46.12594],[60.82055,46.12453],[60.821,46.12416],[60.8226,46.12399],[60.823,46.12415],[60.82298,46.12566],[60.82011,46.1282],[60.81993,46.12877],[60.82097,46.13047],[60.82241,46.13131],[60.8226,46.13264],[60.82351,46.13386],[60.82366,46.13782],[60.8242,46.13877],[60.8254,46.13936],[60.8278,46.13985],[60.8298,46.14132],[60.8314,46.14207],[60.8342,46.14295],[60.8394,46.14414],[60.8422,46.14571],[60.8454,46.14609],[60.8486,46.14562],[60.8502,46.14599],[60.85195,46.14715],[60.85362,46.14885],[60.8558,46.15013],[60.8574,46.15151],[60.8594,46.15268],[60.863,46.15533],[60.8658,46.15601],[60.8674,46.15594],[60.86876,46.15536],[60.8702,46.15402],[60.871,46.15387],[60.87133,46.15422],[60.871,46.15536],[60.8714,46.15588],[60.875,46.15646],[60.8778,46.15878],[60.8818,46.15965],[60.8854,46.15939],[60.8878,46.15821],[60.8886,46.15836],[60.8894,46.15908],[60.8902,46.15931],[60.89189,46.15875],[60.8938,46.15844],[60.8946,46.1579],[60.89483,46.15734],[60.89394,46.15592],[60.89445,46.15451],[60.89372,46.15253],[60.894,46.15196],[60.895,46.15191],[60.899,46.15389],[60.8998,46.15389],[60.9014,46.1533],[60.9026,46.15344],[60.90327,46.15309],[60.90321,46.15168],[60.90365,46.1514],[60.9058,46.15203],[60.9066,46.15202],[60.90734,46.15168],[60.90739,46.15111],[60.90616,46.14998],[60.9074,46.1486],[60.9082,46.14838],[60.9102,46.1484],[60.91148,46.14772],[60.91156,46.14687],[60.91045,46.14517],[60.91106,46.14291],[60.91003,46.14037],[60.90998,46.13725],[60.9096,46.13527],[60.91009,46.13386],[60.9106,46.13352],[60.9114,46.1334],[60.9122,46.13376],[60.9138,46.13509],[60.91639,46.13641],[60.9218,46.14073],[60.927,46.14386],[60.9278,46.14406],[60.92838,46.14348],[60.92746,46.1415],[60.9251,46.13923],[60.9254,46.13858],[60.9262,46.13864],[60.92762,46.14008],[60.9294,46.14084],[60.93312,46.14319],[60.93603,46.14574],[60.9418,46.14843],[60.94353,46.1497],[60.9446,46.15116],[60.94832,46.15451],[60.94904,46.15677],[60.95141,46.15818],[60.9534,46.1608],[60.9554,46.16131],[60.9578,46.16056],[60.9594,46.16127],[60.9619,46.16186],[60.96262,46.16299],[60.96195,46.16441],[60.96506,46.16865],[60.9646,46.17035],[60.9666,46.17182],[60.9678,46.17179],[60.96867,46.17091],[60.9694,46.17056],[60.9714,46.17046],[60.97315,46.17176],[60.97482,46.17346],[60.9762,46.17402],[60.97707,46.17374],[60.9782,46.17247],[60.979,46.17246],[60.9802,46.17304],[60.9842,46.17583],[60.98774,46.1777],[60.991,46.17857],[60.9946,46.17818],[60.9986,46.17892],[61.003,46.17931],[61.0126,46.18099],[61.0194,46.18258],[61.0242,46.18238],[61.0274,46.18292],[61.031,46.18267],[61.0338,46.18317],[61.0366,46.18322],[61.0418,46.18242],[61.0442,46.18277],[61.0494,46.18446],[61.053,46.18707],[61.0574,46.18927],[61.0606,46.19012],[61.0615,46.19099],[61.0613,46.19354],[61.0582,46.19458],[61.057,46.19448],[61.0562,46.19467],[61.05513,46.19665],[61.05471,46.19948],[61.05406,46.20089],[61.05469,46.20259],[61.05418,46.20401],[61.0546,46.20467],[61.0558,46.20539],[61.05813,46.20542],[61.0594,46.20633],[61.0602,46.20655],[61.0618,46.20619],[61.0638,46.20613],[61.0726,46.20696],[61.0746,46.20697],[61.0763,46.20655],[61.07768,46.20457],[61.0794,46.20349],[61.0806,46.20354],[61.083,46.20458],[61.0846,46.20449],[61.0862,46.20473],[61.0866,46.20456],[61.08689,46.20401],[61.0861,46.20174],[61.08621,46.20005],[61.08571,46.19948],[61.08414,46.19863],[61.0854,46.19862],[61.0878,46.19956],[61.0918,46.20004],[61.09244,46.19948],[61.09186,46.19863],[61.0866,46.19694],[61.08628,46.19665],[61.0864,46.19637],[61.087,46.19618],[61.0902,46.19658],[61.093,46.19776],[61.0946,46.19872],[61.0966,46.19922],[61.0974,46.19965],[61.09889,46.20118],[61.101,46.20231],[61.10142,46.20287],[61.10184,46.20457],[61.10504,46.20712],[61.10553,46.20796],[61.10599,46.20994],[61.10551,46.21221],[61.10477,46.21362],[61.1062,46.21588],[61.10508,46.2173],[61.10508,46.21786],[61.1106,46.2218],[61.1138,46.22253],[61.1146,46.22251],[61.1238,46.21954],[61.1362,46.21698],[61.1394,46.21661],[61.1506,46.21692],[61.1602,46.21847],[61.1654,46.2189],[61.1706,46.21981],[61.1742,46.22079],[61.18198,46.22352],[61.1878,46.22632],[61.19134,46.22861],[61.19586,46.23059],[61.201,46.23332],[61.2034,46.23493],[61.2058,46.23586],[61.2082,46.23749],[61.21277,46.23993],[61.21675,46.24275],[61.22304,46.24841],[61.22986,46.25605],[61.23487,46.26227],[61.23625,46.26453],[61.23943,46.27019],[61.24073,46.27358],[61.24127,46.27754],[61.24209,46.28009],[61.24392,46.28264],[61.24397,46.2849],[61.24337,46.28631],[61.24323,46.28914],[61.24457,46.2948],[61.24447,46.29763],[61.245,46.29899],[61.24616,46.30017],[61.24636,46.30074],[61.2461,46.30328],[61.2486,46.3056],[61.25109,46.30668],[61.25131,46.30724],[61.25083,46.30866],[61.25098,46.30951],[61.25417,46.31233],[61.25457,46.31375],[61.25553,46.31545],[61.25586,46.31743],[61.25726,46.31884],[61.25784,46.32054],[61.26016,46.32252],[61.2606,46.32448],[61.2613,46.32478],[61.2634,46.32504],[61.26635,46.32704],[61.26888,46.32987],[61.2727,46.33524],[61.27457,46.34005],[61.27625,46.34288],[61.28073,46.35561],[61.28278,46.36749],[61.28281,46.37343],[61.28319,46.37541],[61.2829,46.3805],[61.28322,46.38559],[61.28456,46.39238],[61.28705,46.39634],[61.28663,46.3986],[61.28526,46.40086],[61.2846,46.4015],[61.2826,46.40246],[61.28213,46.40341],[61.2826,46.40405],[61.28584,46.40595],[61.28703,46.40793],[61.28853,46.40907],[61.28877,46.4102],[61.28705,46.41416],[61.2858,46.41558],[61.28464,46.41755],[61.28016,46.42208],[61.27826,46.42462],[61.27576,46.4266],[61.27424,46.42915],[61.2718,46.43102],[61.27137,46.43169],[61.27153,46.43339],[61.27045,46.43594],[61.27199,46.44329],[61.27111,46.44725],[61.27018,46.44866],[61.27072,46.45008],[61.2712,46.45404],[61.27063,46.45658],[61.27078,46.46054],[61.27005,46.46535],[61.27034,46.4662],[61.27184,46.46818],[61.27225,46.47073],[61.27132,46.47469],[61.26879,46.47836],[61.26977,46.48289],[61.27128,46.48543],[61.2722,46.48597],[61.273,46.48612],[61.2746,46.48602],[61.2826,46.484],[61.2862,46.48361],[61.2946,46.48414],[61.3026,46.48421],[61.3098,46.48496],[61.3114,46.48561],[61.31315,46.48685],[61.31526,46.48996],[61.31557,46.49109],[61.31522,46.4925],[61.31528,46.49448],[61.31713,46.4976]],[[61.26348,46.4976],[61.25864,46.49137],[61.25186,46.4843],[61.24435,46.47723],[61.24199,46.47525],[61.2338,46.46946],[61.229,46.46685],[61.2258,46.46587],[61.2222,46.46523],[61.217,46.46523],[61.2078,46.46624],[61.2026,46.46601],[61.197,46.4653],[61.1918,46.46369],[61.1742,46.45598],[61.165,46.45429],[61.1622,46.45407],[61.149,46.45068],[61.1442,46.44871],[61.1374,46.44503],[61.1298,46.44483],[61.127,46.44432],[61.125,46.44471],[61.1218,46.44647],[61.1182,46.44722],[61.11178,46.45121],[61.109,46.452],[61.1066,46.45232],[61.1042,46.45321],[61.1002,46.45378],[61.09559,46.45743],[61.0942,46.45826],[61.0834,46.45966],[61.0786,46.46044],[61.0758,46.46121],[61.0714,46.4618],[61.0682,46.46183],[61.0626,46.46236],[61.0546,46.46239],[61.0522,46.46265],[61.0462,46.46268],[61.0442,46.46293],[61.0298,46.46341],[61.0278,46.46323],[61.0122,46.46323],[61.0038,46.46268],[60.9866,46.46211],[60.983,46.46238],[60.9742,46.46192],[60.9722,46.46209],[60.9538,46.4621],[60.939,46.46296],[60.9358,46.46351],[60.935,46.46331],[60.93427,46.46252],[60.93542,46.45998],[60.935,46.45939],[60.9342,46.45925],[60.9334,46.45965],[60.93227,46.46083],[60.93222,46.46139],[60.93291,46.46281],[60.93194,46.46394],[60.931,46.46448],[60.929,46.46488],[60.9266,46.46487],[60.925,46.46543],[60.9202,46.46616],[60.9078,46.46899],[60.897,46.47207],[60.893,46.47351],[60.88671,46.47638],[60.87603,46.48261],[60.8686,46.48811],[60.85399,46.4976]],[[60.41571,46.4976],[60.41553,46.49533],[60.41393,46.48798],[60.41186,46.48147],[60.40816,46.47271],[60.40705,46.46818],[60.4052,46.46365],[60.4042,46.46196],[60.40345,46.45885],[60.4022,46.45647],[60.4018,46.45602],[60.401,46.45572],[60.40039,46.4563],[60.40087,46.45856],[60.40194,46.46083],[60.40295,46.46196],[60.40282,46.4645],[60.40358,46.46818],[60.40404,46.47582],[60.40439,46.47751],[60.40438,46.48063],[60.40361,46.486],[60.40358,46.49335],[60.40313,46.49675],[60.40276,46.4976]]],"2025":[[[60.2034,46.37565],[60.2058,46.37595],[60.2198,46.37939],[60.2318,46.37924],[60.2594,46.38199],[60.2682,46.38149],[60.2718,46.382],[60.2738,46.38193],[60.2754,46.38217],[60.281,46.38354],[60.2834,46.385],[60.2858,46.38559],[60.2894,46.38822],[60.29346,46.38955],[60.2998,46.39348],[60.3026,46.3937],[60.3058,46.39432],[60.3118,46.39658],[60.31559,46.39917],[60.31808,46.40143],[60.3206,46.40326],[60.327,46.4075],[60.3314,46.40932],[60.3374,46.41029],[60.3406,46.41046],[60.3466,46.40938],[60.3482,46.40887],[60.34924,46.40793],[60.349,46.40734],[60.34745,46.40652],[60.34766,46.40567],[60.3486,46.40513],[60.3514,46.40463],[60.3554,46.40157],[60.3574,46.40038],[60.3594,46.39995],[60.3618,46.40066],[60.3642,46.40067],[60.3654,46.40033],[60.3702,46.39801],[60.3726,46.39733],[60.3778,46.39739],[60.3814,46.39717],[60.383,46.39644],[60.3846,46.39514],[60.38636,46.39436],[60.3902,46.39179],[60.3918,46.39141],[60.395,46.39156],[60.3958,46.39142],[60.399,46.38917],[60.4006,46.38889],[60.40081,46.3887],[60.4006,46.38846],[60.39965,46.38814],[60.39963,46.38729],[60.40082,46.38587],[60.40347,46.38446],[60.40383,46.38389],[60.40387,46.38276],[60.40442,46.3822],[60.4058,46.38147],[60.409,46.38125],[60.4118,46.38004],[60.41565,46.37626],[60.4214,46.3715],[60.42685,46.36607],[60.4434,46.35153],[60.4466,46.34922],[60.45001,46.34627],[60.4592,46.33977],[60.471,46.33266],[60.4862,46.32559],[60.5034,46.3194],[60.5186,46.31298],[60.5282,46.30943],[60.53768,46.30639],[60.5446,46.30449],[60.5554,46.2999],[60.559,46.29934],[60.56249,46.29791],[60.5682,46.29639],[60.5702,46.29609],[60.5746,46.29607],[60.577,46.29647],[60.58076,46.29847],[60.58189,46.29961],[60.58313,46.30272],[60.58579,46.30611],[60.585,46.3068],[60.583,46.307],[60.58257,46.30724],[60.58236,46.30781],[60.5854,46.31126],[60.587,46.31274],[60.58862,46.31375],[60.5906,46.31414],[60.5938,46.31356],[60.5966,46.31533],[60.59858,46.31771],[60.59904,46.31884],[60.60206,46.32195],[60.60464,46.32648],[60.60624,46.32789],[60.60856,46.33072],[60.6102,46.33196],[60.61408,46.33411],[60.615,46.33433],[60.617,46.33383],[60.6194,46.33461],[60.6226,46.33327],[60.625,46.33338],[60.6274,46.333],[60.62955,46.33213],[60.6314,46.33013],[60.633,46.32975],[60.6346,46.32985],[60.63502,46.33015],[60.63483,46.33185],[60.63528,46.3327],[60.6366,46.33363],[60.6382,46.33405],[60.63852,46.3344],[60.6378,46.33553],[60.63787,46.33609],[60.6386,46.33639],[60.6402,46.33651],[60.64109,46.33722],[60.643,46.33754],[60.64423,46.33836],[60.64437,46.33892],[60.64341,46.3409],[60.64348,46.34147],[60.64582,46.34288],[60.64624,46.34486],[60.64846,46.34712],[60.6494,46.34766],[60.651,46.34783],[60.6534,46.34767],[60.6554,46.34851],[60.657,46.34868],[60.661,46.34863],[60.6686,46.34728],[60.677,46.34728],[60.6798,46.34767],[60.68018,46.34797],[60.67995,46.3491],[60.68043,46.34967],[60.6814,46.35014],[60.683,46.35021],[60.68368,46.3508],[60.683,46.35118],[60.67916,46.35165],[60.67866,46.35193],[60.6786,46.3525],[60.6798,46.35332],[60.68644,46.35533],[60.68691,46.35731],[60.68768,46.35815],[60.68979,46.35957],[60.69061,46.36127],[60.69043,46.36268],[60.69098,46.36381],[60.6902,46.36424],[60.6866,46.36496],[60.68576,46.36579],[60.68578,46.36664],[60.6878,46.36858],[60.691,46.36881],[60.693,46.36948],[60.69349,46.37003],[60.69346,46.37117],[60.69375,46.37173],[60.69596,46.37258],[60.69685,46.37399],[60.69934,46.37541],[60.7021,46.37852],[60.70432,46.37937],[60.7052,46.38106],[60.70544,46.3822],[60.70605,46.38276],[60.7098,46.38426],[60.7138,46.3843],[60.71731,46.38389],[60.72118,46.38163],[60.72176,46.38106],[60.72248,46.37937],[60.725,46.3781],[60.72588,46.37824],[60.72555,46.37937],[60.7258,46.37997],[60.727,46.38044],[60.7278,46.38028],[60.72869,46.37937],[60.72819,46.37852],[60.72819,46.37795],[60.72907,46.3771],[60.73077,46.37456],[60.73078,46.3706],[60.72965,46.36636],[60.73016,46.36523],[60.73229,46.36381],[60.73267,46.36325],[60.73201,46.359],[60.7323,46.35702],[60.73175,46.35533],[60.7324,46.35391],[60.73258,46.35221],[60.7341,46.34967],[60.73657,46.34656],[60.73722,46.34486],[60.7389,46.34203],[60.74207,46.33807],[60.74367,46.33553],[60.74575,46.3293],[60.75087,46.32195],[60.7522,46.31942],[60.75409,46.31771],[60.75435,46.31658],[60.75581,46.31375],[60.75966,46.30837],[60.76313,46.30272],[60.76558,46.30045],[60.76646,46.29876],[60.77306,46.29169],[60.7751,46.28886],[60.77577,46.28688],[60.7793,46.28009],[60.7823,46.27613],[60.78691,46.26906],[60.7891,46.26651],[60.7917,46.26255],[60.80687,46.24219],[60.81385,46.23144],[60.8164,46.22692],[60.81912,46.22069],[60.82181,46.21645],[60.8235,46.21532],[60.82423,46.21419],[60.8242,46.21343],[60.82337,46.21221],[60.82433,46.20881],[60.82447,46.20683],[60.82958,46.19184],[60.82942,46.19043],[60.82852,46.18901],[60.82893,46.18279],[60.8286,46.18226],[60.82675,46.18138],[60.82503,46.17883],[60.82359,46.17516],[60.82418,46.17318],[60.82112,46.16978],[60.8214,46.16904],[60.8222,46.16884],[60.8238,46.16895],[60.8242,46.16865],[60.82415,46.16837],[60.823,46.16749],[60.8206,46.16692],[60.8198,46.16642],[60.8174,46.16323],[60.811,46.157],[60.80657,46.15309],[60.80588,46.15168],[60.8062,46.15151],[60.807,46.15171],[60.8102,46.15365],[60.81165,46.15536],[60.81804,46.16073],[60.8222,46.16289],[60.82649,46.16554],[60.8274,46.16568],[60.82797,46.16526],[60.82825,46.16356],[60.82643,46.16016],[60.8266,46.15983],[60.82796,46.15903],[60.82837,46.15677],[60.82797,46.15479],[60.8286,46.15429],[60.8298,46.15386],[60.8338,46.15347],[60.8362,46.15279],[60.8386,46.1526],[60.8394,46.15231],[60.84105,46.15026],[60.84176,46.14772],[60.84117,46.14659],[60.8394,46.14533],[60.8354,46.14441],[60.8346,46.14466],[60.83426,46.14574],[60.8338,46.14619],[60.8326,46.14655],[60.8306,46.14772],[60.82991,46.14772],[60.8293,46.14715],[60.8294,46.14602],[60.8282,46.14509],[60.8274,46.14489],[60.82696,46.14517],[60.82708,46.14687],[60.82665,46.14744],[60.8246,46.14756],[60.8226,46.14705],[60.8218,46.14717],[60.82133,46.14772],[60.82164,46.14913],[60.8214,46.14947],[60.8206,46.14945],[60.8186,46.14863],[60.8166,46.14743],[60.8158,46.14744],[60.81497,46.148],[60.81492,46.14885],[60.8166,46.15178],[60.8174,46.15209],[60.8186,46.15167],[60.8194,46.1517],[60.8206,46.1526],[60.8225,46.15338],[60.82262,46.15451],[60.8214,46.15574],[60.8206,46.15599],[60.8198,46.15571],[60.8186,46.15402],[60.8174,46.15301],[60.815,46.153],[60.8134,46.15276],[60.81179,46.15111],[60.80958,46.14772],[60.80712,46.14517],[60.8062,46.14315],[60.8054,46.14223],[60.8026,46.14026],[60.7978,46.13783],[60.7959,46.13527],[60.7926,46.13304],[60.7918,46.13307],[60.79138,46.13358],[60.7913,46.13443],[60.7906,46.13466],[60.7886,46.13343],[60.7874,46.13236],[60.78656,46.13103],[60.78654,46.12905],[60.78527,46.12594],[60.78545,46.12396],[60.78511,46.12255],[60.7814,46.11818],[60.7798,46.11714],[60.7774,46.11636],[60.77669,46.11491],[60.7758,46.11429],[60.775,46.11417],[60.773,46.11518],[60.7718,46.11541],[60.77112,46.11519],[60.7694,46.1138],[60.76423,46.11321],[60.76389,46.11293],[60.76397,46.11236],[60.76582,46.1101],[60.76554,46.10897],[60.7657,46.1084],[60.76694,46.10727],[60.7678,46.10708],[60.76817,46.10727],[60.76834,46.10812],[60.76896,46.10869],[60.7722,46.10956],[60.7746,46.11155],[60.7802,46.11349],[60.78288,46.11576],[60.78461,46.11661],[60.78644,46.11802],[60.7894,46.11911],[60.79276,46.12085],[60.79451,46.12283],[60.79378,46.12424],[60.79394,46.12481],[60.79535,46.12651],[60.7962,46.12706],[60.799,46.12762],[60.801,46.1284],[60.805,46.12884],[60.807,46.12877],[60.8102,46.12947],[60.8122,46.12914],[60.8138,46.12923],[60.8174,46.12698],[60.8186,46.12665],[60.8195,46.12679],[60.8197,46.12735],[60.81881,46.12877],[60.81929,46.13018],[60.8198,46.1308],[60.8221,46.1316],[60.82337,46.13358],[60.82385,46.13556],[60.82346,46.13754],[60.82392,46.13839],[60.82486,46.13923],[60.8274,46.14006],[60.82982,46.1415],[60.835,46.14323],[60.839,46.14408],[60.8422,46.14573],[60.845,46.14613],[60.8482,46.14581],[60.84853,46.14631],[60.84772,46.14744],[60.84795,46.14885],[60.8477,46.14998],[60.84785,46.15055],[60.84846,46.15111],[60.8498,46.15146],[60.851,46.15113],[60.85168,46.15055],[60.85211,46.14913],[60.853,46.14887],[60.85634,46.15055],[60.85743,46.15168],[60.85787,46.15281],[60.86047,46.15394],[60.86063,46.15422],[60.8603,46.15479],[60.8582,46.15555],[60.85667,46.15677],[60.85682,46.15875],[60.8558,46.15853],[60.8542,46.15704],[60.8534,46.15673],[60.8526,46.15729],[60.85268,46.15818],[60.8534,46.15912],[60.8574,46.16167],[60.859,46.1622],[60.8606,46.1637],[60.8638,46.16573],[60.8646,46.1657],[60.8662,46.16507],[60.8678,46.16515],[60.8698,46.16399],[60.87006,46.16441],[60.86973,46.16582],[60.8702,46.16634],[60.871,46.16639],[60.8746,46.16432],[60.879,46.16318],[60.8799,46.16271],[60.881,46.16165],[60.8822,46.16146],[60.883,46.16157],[60.88338,46.16186],[60.88305,46.16328],[60.8858,46.16468],[60.88623,46.16441],[60.88644,46.16328],[60.887,46.16298],[60.88902,46.16384],[60.8902,46.16408],[60.8911,46.16384],[60.893,46.16246],[60.8938,46.16234],[60.89406,46.16271],[60.89243,46.16469],[60.89267,46.16526],[60.8938,46.16541],[60.8998,46.16365],[60.90426,46.16158],[60.9078,46.15957],[60.9118,46.15786],[60.917,46.15651],[60.91794,46.15592],[60.9212,46.15281],[60.9238,46.15102],[60.9262,46.14995],[60.9274,46.1496],[60.9306,46.14931],[60.9338,46.14962],[60.9358,46.15044],[60.9386,46.15255],[60.9406,46.15296],[60.9418,46.15353],[60.945,46.1566],[60.949,46.1587],[60.95096,46.16158],[60.9538,46.16424],[60.9602,46.16715],[60.9638,46.17073],[60.9682,46.17281],[60.9722,46.17349],[60.975,46.17541],[60.9774,46.17548],[60.9786,46.17581],[60.9834,46.17862],[60.98675,46.17911],[60.9902,46.18006],[60.993,46.18032],[60.9946,46.18089],[60.9962,46.18102],[60.999,46.18214],[61.0022,46.18276],[61.0038,46.18277],[61.0062,46.18331],[61.0082,46.18267],[61.0106,46.18305],[61.0122,46.18361],[61.0146,46.18516],[61.0158,46.18561],[61.0182,46.18515],[61.0206,46.18502],[61.0238,46.18574],[61.0278,46.1852],[61.033,46.1856],[61.0378,46.18678],[61.0418,46.18733],[61.0434,46.18806],[61.0458,46.18979],[61.0466,46.19],[61.0482,46.18994],[61.0498,46.19043],[61.0526,46.1923],[61.05321,46.19326],[61.0526,46.19513],[61.05082,46.19637],[61.051,46.19721],[61.05461,46.20316],[61.0554,46.20382],[61.0574,46.20476],[61.0602,46.20551],[61.0634,46.20561],[61.073,46.20667],[61.081,46.20641],[61.0854,46.20697],[61.0866,46.20682],[61.08906,46.2057],[61.08973,46.20514],[61.08998,46.20401],[61.0914,46.20336],[61.095,46.20363],[61.0966,46.20402],[61.0974,46.20457],[61.0982,46.20637],[61.10133,46.20796],[61.10182,46.20938],[61.1014,46.20994],[61.1006,46.21037],[61.0966,46.21189],[61.09638,46.21277],[61.09776,46.21475],[61.09986,46.21645],[61.10161,46.21843],[61.1038,46.21993],[61.107,46.22114],[61.1094,46.22129],[61.1118,46.22246],[61.1146,46.22258],[61.1174,46.22307],[61.1206,46.2227],[61.1254,46.22151],[61.1318,46.22032],[61.1358,46.21987],[61.1374,46.22007],[61.1394,46.21973],[61.1414,46.21988],[61.1442,46.21964],[61.1454,46.21986],[61.1478,46.22102],[61.149,46.22211],[61.151,46.22253],[61.1526,46.22232],[61.155,46.22246],[61.159,46.2217],[61.1626,46.22169],[61.1638,46.22185],[61.1654,46.22251],[61.1678,46.22227],[61.1698,46.22251],[61.1738,46.22255],[61.1766,46.22294],[61.179,46.22408],[61.18466,46.22607],[61.1886,46.22825],[61.19015,46.22946],[61.1986,46.23338],[61.2042,46.23692],[61.20746,46.23823],[61.2134,46.24151],[61.2174,46.24496],[61.22185,46.24954],[61.22878,46.25746],[61.23385,46.26425],[61.23665,46.27019],[61.23873,46.27556],[61.23958,46.27952],[61.24002,46.2866],[61.24102,46.28999],[61.241,46.2914],[61.24302,46.29451],[61.24329,46.29593],[61.24391,46.29706],[61.24402,46.29961],[61.2444,46.30074],[61.24541,46.30272],[61.24728,46.30526],[61.24783,46.30668],[61.24887,46.30781],[61.24981,46.30979],[61.25145,46.31205],[61.25497,46.3211],[61.25742,46.32506],[61.2582,46.32703],[61.259,46.32767],[61.261,46.3279],[61.2622,46.32845],[61.26325,46.32959],[61.2686,46.33379],[61.27048,46.33638],[61.27463,46.34684],[61.27565,46.35023],[61.27703,46.3525],[61.27727,46.35448],[61.27873,46.35985],[61.27927,46.36438],[61.27998,46.36721],[61.27999,46.37286],[61.27972,46.37456],[61.28031,46.37569],[61.28049,46.37682],[61.28038,46.38022],[61.27975,46.38361],[61.28039,46.387],[61.28039,46.39153],[61.28,46.39379],[61.28039,46.39606],[61.27871,46.40058],[61.27722,46.40284],[61.27683,46.40426],[61.27735,46.40567],[61.27917,46.4085],[61.28014,46.41189],[61.2799,46.41246],[61.2762,46.41552],[61.27473,46.41727],[61.2746,46.41925],[61.2738,46.42147],[61.27144,46.42377],[61.27121,46.42462],[61.27139,46.42632],[61.271,46.42692],[61.26915,46.4283],[61.26941,46.43],[61.2677,46.43198],[61.26829,46.43509],[61.2664,46.43678],[61.26642,46.4399],[61.26713,46.44216],[61.2675,46.44499],[61.26697,46.4464],[61.26719,46.4481],[61.26681,46.45008],[61.26718,46.45178],[61.26695,46.45432],[61.26719,46.45574],[61.26673,46.45743],[61.2675,46.46026],[61.26717,46.46479],[61.26643,46.46705],[61.26726,46.46846],[61.26952,46.46988],[61.26999,46.47101],[61.26993,46.47271],[61.26942,46.4744],[61.26849,46.47582],[61.26823,46.47723],[61.26648,46.48006],[61.26658,46.48147],[61.2678,46.48317],[61.26748,46.48459],[61.2682,46.48512],[61.2742,46.48693],[61.2818,46.48621],[61.2918,46.48689],[61.2954,46.48672],[61.3026,46.48778],[61.3042,46.48844],[61.3066,46.49028],[61.3069,46.49194],[61.30904,46.49392],[61.31065,46.4959],[61.31132,46.4976]],[[61.26455,46.4976],[61.26134,46.49448],[61.25914,46.49166],[61.25825,46.48996],[61.25419,46.48515],[61.2511,46.48006],[61.24784,46.47553],[61.24555,46.47327],[61.2402,46.46892],[61.2346,46.46589],[61.2318,46.46475],[61.227,46.46357],[61.2202,46.46352],[61.2154,46.46379],[61.2054,46.46312],[61.1902,46.45945],[61.183,46.4568],[61.1734,46.4539],[61.1698,46.45316],[61.1634,46.45238],[61.1518,46.44955],[61.1458,46.44711],[61.14321,46.44555],[61.14032,46.44244],[61.13909,46.44018],[61.1382,46.43926],[61.1374,46.43897],[61.1326,46.43835],[61.129,46.43904],[61.127,46.43897],[61.1254,46.43922],[61.1226,46.44014],[61.1178,46.44258],[61.1142,46.44404],[61.1094,46.44756],[61.1034,46.45039],[61.1002,46.45146],[61.0954,46.45407],[61.0922,46.45524],[61.0882,46.45634],[61.08469,46.45687],[61.083,46.45751],[61.073,46.45911],[61.0702,46.45979],[61.0666,46.4601],[61.063,46.45991],[61.0598,46.46017],[61.053,46.4612],[61.045,46.46158],[61.0394,46.46238],[61.0314,46.46226],[61.0242,46.46266],[61.0042,46.46266],[61.001,46.46239],[60.9974,46.46256],[60.9918,46.46239],[60.985,46.46295],[60.9794,46.46293],[60.9766,46.46267],[60.9506,46.46268],[60.945,46.46346],[60.9418,46.46356],[60.933,46.46488],[60.9306,46.46503],[60.925,46.46631],[60.9202,46.4671],[60.9018,46.47155],[60.8962,46.4732],[60.8926,46.47464],[60.88923,46.47638],[60.8842,46.47988],[60.881,46.48116],[60.8766,46.48335],[60.87143,46.48826],[60.867,46.49042],[60.86037,46.49477],[60.85723,46.49646],[60.85585,46.4976]],[[60.41571,46.4976],[60.41393,46.48883],[60.41195,46.48232],[60.40465,46.46281],[60.40323,46.46054],[60.4026,46.46025],[60.4022,46.46037],[60.40196,46.46083],[60.40231,46.46196],[60.40215,46.46337],[60.4031,46.47016],[60.40285,46.47157],[60.40319,46.47836],[60.40242,46.48515],[60.40239,46.49052],[60.40202,46.49222],[60.40176,46.4976]]]},"points":{"muynak":[59.03,43.785],"landing":[60.18,44.93],"edge_mu2025":[58.31932,44.46505],"dist_mu2025":94.5,"edge_r2025":[58.3228,44.46664],"dist_r2025":94.5,"edge":[58.3228,44.46664],"dist_km":94.5,"dist_txt":"95","dist_say":"ninety-five"},"historic":[[[60.9414,43.6428],[60.8941,43.6681],[60.864,43.6748],[60.8518,43.6631],[60.8523,43.6431],[60.8659,43.615],[60.861,43.5972],[60.8377,43.5897],[60.812,43.5887],[60.7838,43.5942],[60.7747,43.6097],[60.7844,43.6352],[60.7838,43.6519],[60.773,43.6596],[60.7574,43.6427],[60.7369,43.601],[60.7217,43.5899],[60.7116,43.6091],[60.6887,43.6107],[60.6531,43.5945],[60.6284,43.5906],[60.6143,43.5986],[60.5884,43.5908],[60.5508,43.5669],[60.5303,43.5685],[60.5269,43.5955],[60.5169,43.6141],[60.5005,43.6245],[60.491,43.6203],[60.488,43.6016],[60.4768,43.5977],[60.4573,43.6087],[60.4457,43.6031],[60.4419,43.5809],[60.4349,43.5766],[60.4246,43.5901],[60.4117,43.5948],[60.3965,43.5909],[60.3905,43.5998],[60.3937,43.6216],[60.388,43.6325],[60.3733,43.6325],[60.3578,43.6203],[60.3413,43.5959],[60.3301,43.589],[60.3237,43.5996],[60.2927,43.5942],[60.2371,43.5726],[60.1948,43.5687],[60.166,43.5825],[60.1516,43.5643],[60.1516,43.514],[60.1441,43.484],[60.1289,43.4742],[60.107,43.4712],[60.0786,43.475],[60.0638,43.4855],[60.0626,43.5027],[60.0346,43.5067],[59.9797,43.4975],[59.9466,43.4854],[59.9351,43.4705],[59.9155,43.4658],[59.8876,43.4712],[59.8621,43.4646],[59.8391,43.446],[59.8202,43.4387],[59.8052,43.4426],[59.7917,43.4328],[59.7801,43.4094],[59.7621,43.396],[59.738,43.3928],[59.7283,43.4028],[59.7328,43.4257],[59.7222,43.443],[59.6963,43.4549],[59.6743,43.4929],[59.6559,43.5572],[59.6504,43.5987],[59.658,43.6174],[59.6869,43.6289],[59.7374,43.6332],[59.7555,43.6412],[59.7412,43.6526],[59.5767,43.6859],[59.5061,43.7211],[59.4696,43.7731],[59.4286,43.7847],[59.383,43.756],[59.3373,43.7554],[59.2915,43.783],[59.2349,43.7977],[59.1675,43.7994],[59.1377,43.7862],[59.1458,43.758],[59.1372,43.731],[59.1118,43.7051],[59.0865,43.6987],[59.0606,43.7192],[58.9583,43.8426],[58.8872,43.8988],[58.7462,43.9411],[58.7124,43.9379],[58.7212,43.9349],[58.7852,43.918],[58.8281,43.9005],[58.8477,43.8843],[58.8109,43.8771],[58.7994,43.84],[58.8351,43.8161],[58.9139,43.8055],[58.9584,43.7799],[58.9802,43.7506],[58.9766,43.7233],[58.9554,43.7015],[58.9377,43.6918],[58.9236,43.6945],[58.9202,43.7091],[58.9274,43.7358],[58.897,43.747],[58.8294,43.7427],[58.7726,43.7282],[58.6946,43.691],[58.676,43.6907],[58.6767,43.696],[58.6964,43.7069],[58.6977,43.7151],[58.6804,43.7205],[58.5982,43.7104],[58.5649,43.6974],[58.5479,43.6802],[58.4345,43.6423],[58.4011,43.6388],[58.4043,43.6514],[58.3787,43.6826],[58.324,43.7323],[58.314,43.8578],[58.3485,44.0591],[58.3279,44.187],[58.2095,44.2817],[58.1992,44.308],[58.1724,44.4717],[58.1921,44.5446],[58.2424,44.5903],[58.2529,44.6296],[58.2124,44.6626],[58.1809,44.7225],[58.1585,44.8092],[58.1739,44.9068],[58.265,45.0783],[58.2877,45.0964],[58.3097,45.1429],[58.331,45.2178],[58.3767,45.2947],[58.447,45.3733],[58.492,45.4466],[58.5111,45.5144],[58.5327,45.5602],[58.5567,45.584],[58.5769,45.6377],[58.5935,45.7214],[58.625,45.7981],[58.6717,45.8682],[58.7589,45.929],[58.9807,46.0076],[59.0403,46.0142],[59.0655,46.0059],[59.0566,45.9902],[59.0737,45.9784],[59.1167,45.9744],[59.1565,45.9843],[59.1927,46.0043],[59.2454,46.0191],[59.3145,46.0323],[59.3654,46.0275],[59.3979,46.0048],[59.4094,45.9817],[59.4001,45.9582],[59.3845,45.9453],[59.3626,45.9434],[59.3284,45.9202],[59.2825,45.876],[59.2581,45.831],[59.2551,45.785],[59.2688,45.7738],[59.2991,45.7973],[59.3477,45.8091],[59.4146,45.8091],[59.4617,45.8549],[59.5,46.0043],[59.4948,46.0281],[59.4829,46.0362],[59.4641,46.0284],[59.4655,46.0502],[59.4867,46.1017],[59.5052,46.1256],[59.521,46.1221],[59.5315,46.1273],[59.5368,46.1411],[59.5277,46.1757],[59.5044,46.2311],[59.4683,46.2721],[59.4191,46.2985],[59.4257,46.3239],[59.4881,46.3483],[59.5652,46.3589],[59.6876,46.3518],[59.7587,46.3365],[59.8011,46.3091],[59.8189,46.2719],[59.8199,46.2323],[59.8285,46.1978],[59.8522,46.1759],[59.8413,46.1435],[59.8379,46.1078],[59.8589,46.101],[59.9009,46.1232],[59.9304,46.1522],[59.9473,46.188],[59.9871,46.212],[60.0496,46.2237],[60.0809,46.2409],[60.0809,46.2636],[60.0579,46.3004],[60.0116,46.3513],[59.9535,46.392],[59.8469,46.4446],[59.844,46.4575],[59.8555,46.4704],[59.8813,46.4833],[59.8917,46.4971],[59.8865,46.5118],[59.8535,46.5216],[59.7926,46.5269],[59.7803,46.537],[59.8164,46.5523],[59.8435,46.5549],[59.8612,46.5448],[59.876,46.5518],[59.8877,46.576],[59.9371,46.5977],[60.0235,46.6169],[60.2249,46.7134],[60.2916,46.7232],[60.3252,46.7094],[60.347,46.7049],[60.3665,46.7112],[60.3854,46.6847],[60.4038,46.6253],[60.4256,46.609],[60.4505,46.6361],[60.4822,46.6355],[60.5208,46.6037],[60.5549,46.5859],[60.5852,46.5859],[60.6222,46.5971],[60.6658,46.6347],[60.656,46.671],[60.5929,46.7061],[60.5239,46.7289],[60.4493,46.7396],[60.4225,46.7589],[60.4437,46.7871],[60.4601,46.7917],[60.4716,46.7728],[60.4946,46.7721],[60.5296,46.79],[60.5816,46.8061],[60.6779,46.7988],[60.7899,46.7756],[60.8722,46.7443],[60.8782,46.7179],[60.8667,46.6962],[60.8377,46.6793],[60.813,46.6469],[60.8083,46.6068],[60.8291,46.5613],[60.8753,46.5217],[60.9468,46.5003],[61.1172,46.4953],[61.1525,46.5061],[61.1658,46.5283],[61.1568,46.5616],[61.1616,46.5922],[61.1804,46.62],[61.1735,46.6347],[61.141,46.6362],[61.1235,46.6439],[61.1209,46.658],[61.1557,46.6673],[61.2278,46.6719],[61.2674,46.6934],[61.2742,46.7315],[61.3267,46.7631],[61.4248,46.7881],[61.4739,46.8112],[61.4736,46.8325],[61.4868,46.8507],[61.5134,46.8659],[61.5348,46.8615],[61.5505,46.8373],[61.5491,46.8135],[61.53,46.79],[61.5464,46.7796],[61.5981,46.7825],[61.6417,46.7656],[61.6769,46.7288],[61.6756,46.7066],[61.6372,46.6992],[61.5923,46.6514],[61.499,46.5049],[61.4678,46.4764],[61.4409,46.4596],[61.4185,46.4545],[61.397,46.4607],[61.376,46.4785],[61.3593,46.4438],[61.3469,46.3566],[61.3328,46.3083],[61.3167,46.2991],[61.3028,46.3035],[61.291,46.3178],[61.2763,46.3144],[61.2548,46.2894],[61.2495,46.2703],[61.2565,46.2609],[61.25,46.2493],[61.2292,46.2417],[61.22,46.2236],[61.2259,46.2075],[61.2246,46.1879],[61.2105,46.1667],[61.1797,46.1432],[61.132,46.1177],[61.0822,46.1122],[61.0302,46.1269],[60.9692,46.1273],[60.8994,46.1135],[60.8881,46.0984],[60.9352,46.0821],[60.9656,46.0605],[60.9795,46.0339],[60.9985,46.0214],[61.023,46.0231],[61.0278,46.0103],[61.0132,45.983],[61.0182,45.9606],[61.043,45.943],[61.042,45.9274],[61.0151,45.9136],[61.0276,45.9069],[61.0794,45.9072],[61.0938,45.8944],[61.0708,45.8686],[61.0358,45.858],[60.9887,45.8625],[60.9771,45.8473],[61.0008,45.8123],[60.9959,45.78],[60.9624,45.7503],[60.9345,45.7365],[60.9124,45.7386],[60.8958,45.7264],[60.885,45.6999],[60.8942,45.6693],[60.9235,45.6346],[60.952,45.6391],[60.9799,45.6827],[61.0054,45.706],[61.0284,45.7088],[61.0382,45.7168],[61.0351,45.7302],[61.0491,45.7327],[61.0803,45.7247],[61.102,45.7307],[61.1141,45.7508],[61.1263,45.744],[61.1387,45.71],[61.1687,45.6874],[61.2165,45.6762],[61.2488,45.6582],[61.2657,45.6336],[61.2681,45.6154],[61.2561,45.6036],[61.2539,45.5895],[61.2617,45.5732],[61.2495,45.5602],[61.2178,45.5507],[61.2044,45.5325],[61.2095,45.5055],[61.2253,45.4893],[61.2522,45.4838],[61.2851,45.4571],[61.3241,45.4092],[61.3782,45.364],[61.4476,45.3218],[61.4802,45.2715],[61.4764,45.2132],[61.48,45.1755],[61.4905,45.1582],[61.5191,45.1572],[61.5652,45.1725],[61.5941,45.1692],[61.6056,45.1473],[61.6243,45.1445],[61.6502,45.1606],[61.6682,45.1819],[61.679,45.2086],[61.6873,45.2053],[61.6934,45.1721],[61.7066,45.1629],[61.7268,45.1778],[61.7559,45.1785],[61.7935,45.165],[61.804,45.1538],[61.7874,45.1449],[61.7692,45.1458],[61.7493,45.1564],[61.7336,45.1459],[61.7222,45.1143],[61.7067,45.0972],[61.6871,45.0946],[61.6782,45.0827],[61.6799,45.0615],[61.6889,45.0461],[61.705,45.0366],[61.7095,45.0198],[61.7026,44.9957],[61.723,45.0157],[61.7707,45.0801],[61.7962,45.091],[61.7993,45.0485],[61.834,45.0316],[61.9004,45.0402],[61.9354,45.0389],[61.9392,45.0276],[61.9326,45.0202],[61.9155,45.0165],[61.9092,45.0012],[61.9131,44.9741],[61.9063,44.9682],[61.8886,44.9834],[61.8643,44.9912],[61.8335,44.9915],[61.8213,44.9831],[61.8277,44.9662],[61.8197,44.9576],[61.7976,44.9573],[61.7696,44.9437],[61.7358,44.9167],[61.722,44.8957],[61.7283,44.8808],[61.7161,44.8675],[61.6858,44.8556],[61.6619,44.8594],[61.6446,44.8786],[61.6294,44.8683],[61.6162,44.8284],[61.5923,44.8139],[61.5574,44.8247],[61.5206,44.807],[61.482,44.7604],[61.4571,44.7431],[61.4462,44.7548],[61.4263,44.7438],[61.3977,44.7099],[61.3556,44.6871],[61.3001,44.6752],[61.2661,44.6576],[61.2539,44.634],[61.2388,44.6359],[61.221,44.6633],[61.1804,44.6696],[61.1173,44.6549],[61.1111,44.6418],[61.1619,44.6303],[61.1746,44.6208],[61.1491,44.6134],[61.1346,44.599],[61.1311,44.5778],[61.1201,44.5756],[61.1018,44.5925],[61.0798,44.5897],[61.0547,44.5669],[61.0639,44.5381],[61.1076,44.5031],[61.1221,44.466],[61.1074,44.4269],[61.1258,44.4153],[61.1773,44.4311],[61.202,44.4253],[61.2003,44.3981],[61.1848,44.3863],[61.1555,44.3901],[61.1457,44.3666],[61.1551,44.3161],[61.1517,44.3033],[61.1353,44.3283],[61.1204,44.3387],[61.1072,44.3343],[61.1018,44.2933],[61.104,44.2154],[61.0858,44.2165],[61.0294,44.3462],[61.0329,44.3664],[61.0259,44.3716],[61.0083,44.3622],[61.0488,44.1664],[61.0459,44.1473],[61.0269,44.1623],[61.001,44.1661],[60.9906,44.1834],[60.9959,44.2144],[60.99,44.253],[60.9734,44.2993],[60.9558,44.3246],[60.937,44.3289],[60.9342,44.3031],[60.9472,44.2475],[60.949,44.2101],[60.9397,44.1911],[60.9187,44.1893],[60.8856,44.2045],[60.867,44.1745],[60.8626,44.0993],[60.8533,44.0627],[60.839,44.0646],[60.8279,44.0529],[60.8201,44.0273],[60.8101,44.0179],[60.7974,44.0245],[60.7838,44.0195],[60.7696,44.0027],[60.7478,44.0047],[60.7188,44.0254],[60.7002,44.0257],[60.6923,44.0056],[60.6963,43.9822],[60.7124,43.9555],[60.7188,43.9278],[60.7156,43.899],[60.7302,43.8813],[60.7627,43.8743],[60.7881,43.8874],[60.8066,43.9205],[60.8182,43.9247],[60.8235,43.9003],[60.8374,43.8891],[60.8601,43.8912],[60.863,43.8818],[60.8459,43.8611],[60.8448,43.8402],[60.859,43.8189],[60.8766,43.8184],[60.8973,43.8389],[60.9112,43.842],[60.918,43.8279],[60.9344,43.8252],[60.9602,43.8338],[60.9727,43.8265],[60.9719,43.8033],[60.9817,43.7952],[61.002,43.8024],[61.0005,43.7884],[60.9768,43.7534],[60.9646,43.717],[60.9639,43.679],[60.9717,43.6565],[60.9883,43.6493],[60.9888,43.6418],[60.9731,43.6341],[60.9414,43.6428]]],"historic_km2":67501.0,"transect":[[61.55,45.05],[58.2,45.05]],"cross":{"1977":[61.2591,45.05],"1989":[60.8685,45.05],"2000":[60.3187,45.05],"2009":[60.0058,45.05],"2014":[58.6008,45.05],"2025":[58.549,45.05]},"rivers":{"Syr Darya":[[[61.7602,46.0211],[61.7514,46.0316],[61.7332,46.0476],[61.7004,46.0561],[61.6651,46.0637],[61.5624,46.1096]],[[61.562,46.1097],[61.5455,46.1168],[61.539,46.1207],[61.5338,46.1248],[61.5129,46.131],[61.4867,46.1234],[61.4417,46.1016],[61.3872,46.0935],[61.3582,46.085],[61.3455,46.0702],[61.333,46.0639],[61.2566,46.0388],[61.165,46.0314],[61.1187,46.0355],[61.0774,46.0463],[61.0557,46.0618],[61.026,46.1002],[61.0066,46.1078],[60.9548,46.1036],[60.9293,46.1052],[60.9019,46.118],[60.8832,46.1346],[60.8779,46.1373]],[[65.9459,44.4818],[65.9163,44.4971],[65.9273,44.4978],[65.9378,44.4974],[65.9478,44.4952],[65.9571,44.4909],[65.9566,44.5006],[65.9513,44.5169],[65.9503,44.525],[65.9491,44.5242],[65.9468,44.5267],[65.9446,44.531],[65.9435,44.5353],[65.9457,44.5411],[65.955,44.5501],[65.9571,44.556],[65.9533,44.5638],[65.9448,44.566],[65.9347,44.5666],[65.9268,44.5697],[65.9234,44.5759],[65.9257,44.5801],[65.9295,44.5834],[65.9304,44.5865],[65.9163,44.607],[65.9155,44.6105],[65.9163,44.624],[65.9146,44.6278],[65.9108,44.6275],[65.9063,44.6264],[65.9026,44.6275],[65.9014,44.6254],[65.8967,44.6231],[65.8906,44.622],[65.8853,44.624],[65.8809,44.6297],[65.8827,44.6325],[65.8867,44.6346],[65.8889,44.638],[65.8828,44.6493],[65.8682,44.661],[65.85,44.6704],[65.8336,44.6752],[65.825,44.673],[65.8082,44.6622],[65.7996,44.6622],[65.7922,44.6684],[65.7879,44.6773],[65.7885,44.6854],[65.7962,44.6889],[65.8075,44.6962],[65.8125,44.7132],[65.8102,44.7318],[65.7996,44.7441],[65.7963,44.7429],[65.7866,44.733],[65.7791,44.7298],[65.7667,44.7299],[65.7461,44.7358],[65.6982,44.7401],[65.6796,44.7444],[65.6624,44.7516],[65.6432,44.7397],[65.6222,44.7383],[65.6008,44.7435],[65.5549,44.7604],[65.5121,44.7851],[65.5084,44.7946],[65.5132,44.8113],[65.5121,44.8205],[65.5068,44.8277],[65.478,44.8546],[65.4133,44.8821],[65.4023,44.8847],[65.3916,44.8965],[65.3447,44.9228],[65.334,44.9328],[65.3317,44.9378],[65.3269,44.9455],[65.3219,44.9554],[65.3165,44.9796],[65.3087,44.9824],[65.2988,44.9826],[65.289,44.9874],[65.2743,44.9883],[65.2,44.97],[65.1923,44.9733],[65.1891,44.9806],[65.1847,44.9879],[65.1725,44.9912],[65.138,44.9871],[65.1279,44.9912],[65.131,45.0029],[65.1079,45.0015],[65.0596,44.9912],[65.0351,44.9986],[65.0151,45.0135],[64.9933,45.024],[64.9634,45.0184],[64.9573,45.0126],[64.9405,44.9918],[64.9299,44.9837],[64.9172,44.9793],[64.9033,44.9772],[64.8748,44.9775],[64.7998,44.9952],[64.7724,44.998],[64.7781,45.0289],[64.7602,45.0364],[64.7027,45.0322],[64.6928,45.0363],[64.6625,45.0594],[64.6394,45.0682],[64.6248,45.0717],[64.6106,45.0731],[64.5935,45.0668],[64.5841,45.065],[64.5798,45.0694],[64.5785,45.0768],[64.5746,45.0824],[64.569,45.086],[64.5625,45.0873],[64.5283,45.0784],[64.5115,45.0763],[64.5042,45.0836],[64.4936,45.1053],[64.469,45.1246],[64.4415,45.1362],[64.4223,45.1345],[64.4092,45.142],[64.4132,45.1468],[64.4223,45.1618],[64.3976,45.1645],[64.3784,45.1776],[64.3692,45.1964],[64.3744,45.2165],[64.364,45.2209],[64.3535,45.2231],[64.3301,45.2239],[64.3267,45.2297],[64.3326,45.2427],[64.3472,45.2649],[64.3384,45.2613],[64.3335,45.2581],[64.3167,45.2652],[64.2651,45.2717],[64.2486,45.2769],[64.232,45.2861],[64.2251,45.2967],[64.2373,45.3065],[64.2324,45.3193],[64.2271,45.3414],[64.2122,45.3614],[64.2092,45.3714],[64.2075,45.3821],[64.2031,45.3952],[64.2065,45.3948],[64.2101,45.3998],[64.2109,45.4059],[64.2066,45.4089],[64.1987,45.4086],[64.1934,45.409],[64.1904,45.4119],[64.1895,45.4191],[64.186,45.4293],[64.1786,45.4287],[64.1716,45.4207],[64.169,45.4089],[64.1611,45.4134],[64.1563,45.4184],[64.1547,45.4255],[64.1553,45.4362],[64.1333,45.4294],[64.1256,45.4383],[64.1225,45.4548],[64.1144,45.4709],[64.0999,45.477],[64.0814,45.4757],[64.0454,45.4634],[64.0192,45.4843],[63.9876,45.4894],[63.9185,45.484],[63.8901,45.4969],[63.8677,45.5253],[63.8621,45.5537],[63.884,45.5665],[63.8999,45.5698],[63.9151,45.5786],[63.9239,45.5918],[63.9219,45.6081],[63.9102,45.6205],[63.8599,45.6491],[63.7568,45.6825],[63.7377,45.7037],[63.7522,45.7027],[63.7675,45.704],[63.7815,45.7087],[63.7922,45.7174],[63.7958,45.7246],[63.7973,45.7337],[63.7935,45.7414],[63.7817,45.7447],[63.6891,45.7515],[63.6655,45.7462],[63.624,45.7227],[63.6031,45.7174],[63.5766,45.7144],[63.4973,45.6907],[63.4837,45.6881],[63.4561,45.686],[63.4421,45.6832],[63.4028,45.6654],[63.3803,45.6595],[63.3549,45.6455],[63.3314,45.6387],[63.322,45.6304],[63.3137,45.621],[63.3043,45.6143],[63.2817,45.6112],[63.2244,45.6114],[63.1967,45.6],[63.1836,45.5992],[63.1451,45.6025],[63.1401,45.6078],[63.123,45.6563],[63.1137,45.6655],[63.0964,45.669],[63.0831,45.6744],[63.0566,45.6983],[63.0415,45.7037],[62.9767,45.7037],[62.9671,45.713],[62.9579,45.7265],[62.9461,45.7337],[62.9282,45.7242],[62.9086,45.7333],[62.8967,45.7369],[62.8872,45.7372],[62.8735,45.7297],[62.8668,45.7188],[62.8617,45.7071],[62.8526,45.6968],[62.8272,45.69],[62.8049,45.6962],[62.7858,45.7045],[62.7705,45.7037],[62.7753,45.6953],[62.7769,45.6858],[62.7735,45.6784],[62.7631,45.6764],[62.7548,45.6824],[62.7432,45.7049],[62.733,45.7099],[62.6972,45.7145],[62.6614,45.7242],[62.6432,45.7341],[62.6415,45.7442],[62.6419,45.757],[62.6226,45.7896],[62.6176,45.8201],[62.6066,45.8341],[62.5976,45.827],[62.5872,45.8134],[62.5794,45.8061],[62.5683,45.7997],[62.5444,45.7893],[62.5344,45.7823],[62.5264,45.7794],[62.4742,45.77],[62.4629,45.7649],[62.4417,45.7515],[62.4321,45.7579],[62.4153,45.7737],[62.4075,45.7788],[62.3945,45.7812],[62.3855,45.7784],[62.3779,45.7742],[62.3696,45.772],[62.3357,45.7483],[62.3091,45.7356],[62.2907,45.7372],[62.2975,45.7463],[62.3033,45.7692],[62.2984,45.784],[62.2737,45.7686],[62.2544,45.7631],[62.2017,45.777],[62.1809,45.7788],[62.1846,45.7567],[62.1682,45.7433],[62.1439,45.7399],[62.1235,45.7481],[62.1051,45.751],[62.0239,45.7316],[62.0278,45.7261],[62.0333,45.7154],[62.0375,45.7099],[62.0136,45.7053],[62.0042,45.7015],[61.9966,45.6968],[61.9893,45.6876],[61.9854,45.6785],[61.9795,45.6717],[61.9656,45.669],[61.9553,45.6733],[61.9348,45.6926],[61.9127,45.7005],[61.9073,45.7088],[61.9044,45.7179],[61.9004,45.7242],[61.8823,45.731],[61.8362,45.7368],[61.7729,45.7378],[61.7517,45.7419],[61.7358,45.7515],[61.7302,45.7602],[61.7209,45.782],[61.7149,45.7924],[61.6993,45.8038],[61.6914,45.812],[61.688,45.8232],[61.6926,45.8413],[61.7045,45.8618],[61.7201,45.8811],[61.7358,45.8955],[61.7571,45.9076],[61.7783,45.9136],[61.8283,45.916],[61.8438,45.9254],[61.8467,45.9467],[61.8414,45.9699],[61.8321,45.9849],[61.8223,45.9867],[61.8084,45.9863],[61.7959,45.9876],[61.7905,45.9948],[61.7871,46.0028],[61.7791,46.0094],[61.7602,46.0211]]],"Amu Darya":[[[59.0986,43.2917],[59.0979,43.3253],[59.0938,43.3354],[59.0836,43.3464],[59.052,43.3679],[59.0405,43.3799],[59.0317,43.4197],[59.0209,43.431],[58.9887,43.4488],[58.9732,43.467],[58.9722,43.4829],[58.9776,43.4999],[58.9812,43.5211],[58.9793,43.5319],[58.9763,43.5366],[58.9767,43.5404],[58.9893,43.5528],[58.9996,43.5694],[59.0017,43.576],[59.0051,43.5981],[59.0144,43.6097],[59.0427,43.6275],[59.0571,43.6438],[59.0606,43.6565],[59.0564,43.6856],[59.0522,43.7019],[59.042,43.711],[59.0307,43.7183],[58.9921,43.7691],[58.9592,43.7999],[58.919,43.8222],[58.8134,43.846],[58.7636,43.8729],[58.7294,43.8789],[58.5942,43.8787],[58.5676,43.8885],[58.5504,43.9182],[58.5442,43.9422],[58.5442,43.9645],[58.5491,43.9832],[58.5566,44.0006],[58.5503,44.0254],[58.543,44.0415],[58.543,44.0601],[58.5491,44.0762],[58.5603,44.0949],[58.5752,44.1097],[58.5776,44.1271],[58.564,44.142],[58.5528,44.1545],[58.5416,44.1694],[58.523,44.1893],[58.4944,44.2091],[58.4758,44.2401],[58.4708,44.2613],[58.4573,44.2736],[58.4324,44.2984],[58.4014,44.3208],[58.3777,44.3357],[58.3579,44.3581],[58.3355,44.3742],[58.3194,44.3928],[58.3145,44.4102],[58.3157,44.4263]],[[60.7383,41.6394],[60.7057,41.6671],[60.6801,41.7015],[60.6631,41.7403],[60.6518,41.7568],[60.6359,41.7635],[60.588,41.7647],[60.5671,41.7687],[60.5497,41.7772],[60.5357,41.7906],[60.5077,41.8283],[60.4967,41.8539],[60.4697,41.885],[60.4615,41.9007],[60.4622,41.9459],[60.4588,41.9665],[60.4444,41.9752],[60.3951,41.9793],[60.3448,41.9888],[60.3342,41.9932],[60.304,42.0106],[60.2866,42.0275],[60.2761,42.0444],[60.2711,42.0638],[60.2698,42.0888],[60.2649,42.1114],[60.2529,42.1292],[60.052,42.2663],[60.0048,42.2872],[59.9685,42.2961],[59.9291,42.3188],[59.9067,42.3253],[59.8832,42.3243],[59.8417,42.3137],[59.8211,42.311],[59.7947,42.3123],[59.7719,42.3164],[59.6423,42.3665],[59.6065,42.3853],[59.5122,42.4796],[59.4933,42.493],[59.4495,42.5129],[59.4331,42.5245],[59.4282,42.534],[59.4194,42.5655],[59.4107,42.5674],[59.397,42.567],[59.3834,42.5649],[59.365,42.5583],[59.3525,42.5635],[59.3418,42.5729],[59.3375,42.5823],[59.3307,42.5893],[59.2996,42.5957],[59.2898,42.5996],[59.2864,42.6181],[59.2991,42.6335],[59.3157,42.6481],[59.3238,42.6645],[59.3301,42.7081],[59.3291,42.73],[59.3176,42.7498],[59.2751,42.7683],[59.231,42.7713],[59.2045,42.786],[59.214,42.8392],[59.2226,42.8522],[59.2263,42.861],[59.2276,42.8734],[59.2242,42.8851],[59.2109,42.9045],[59.2078,42.9112],[59.1663,42.9764],[59.1577,42.9817],[59.1389,42.9888],[59.1321,42.9963],[59.1287,43.0062],[59.1279,43.0176],[59.1318,43.027],[59.1421,43.031],[59.1577,43.0416],[59.1635,43.066],[59.1629,43.0936],[59.1594,43.1136],[59.1402,43.1686],[59.1383,43.1921],[59.1331,43.2147],[59.1205,43.2244],[59.1047,43.2308],[59.0904,43.2433],[59.0841,43.2687],[59.0973,43.2838],[59.1158,43.2951],[59.1253,43.3088],[59.1245,43.3303],[59.1213,43.3448],[59.066,43.4357],[59.0575,43.4449],[59.0462,43.4488],[59.0409,43.4521],[59.0352,43.4603],[59.031,43.4706],[59.0291,43.48],[59.0318,43.4946],[59.0387,43.5014],[59.0475,43.5069],[59.0564,43.5176],[59.0574,43.5259],[59.0541,43.5447],[59.0564,43.5511],[59.0658,43.5533],[59.0957,43.5505],[59.1333,43.5391],[59.1548,43.5413],[59.1734,43.5512],[59.1935,43.5655],[59.253,43.5914],[59.2625,43.603],[59.2692,43.6446],[59.2675,43.657],[59.2588,43.6776],[59.2556,43.689],[59.2568,43.7042],[59.2647,43.739],[59.2625,43.7579],[59.2543,43.7704],[59.2214,43.8056],[59.1538,43.8437],[59.1465,43.843],[59.1306,43.8441],[59.1152,43.8521],[59.1094,43.8724],[59.0698,43.9234],[59.0556,43.9483],[59.0641,43.9658],[59.0829,43.9844],[59.1028,44.003],[59.1264,44.0092],[59.1314,44.0167],[59.1475,44.0328],[59.1598,44.039],[59.1784,44.0428],[59.2083,44.0502],[59.2319,44.0638],[59.2579,44.0775],[59.2877,44.0825],[59.3139,44.08],[59.3437,44.0812],[59.3759,44.0825],[59.4031,44.0862],[59.4342,44.0911],[59.4653,44.1011],[59.4863,44.1135],[59.5136,44.1234],[59.5261,44.1321],[59.541,44.1483]]]}}
\ No newline at end of file
diff --git a/styles/satellite-briefing/demo/build.sh b/styles/satellite-briefing/demo/build.sh
new file mode 100644
index 0000000..321107b
--- /dev/null
+++ b/styles/satellite-briefing/demo/build.sh
@@ -0,0 +1,58 @@
+#!/bin/sh
+# One command: 《地图上还写着海》 The Map Still Says Sea (Satellite Briefing demo)
+# sh demo/build.sh voice, events, picture, score + mix, master, subtitles, checks, poster
+# FETCH=1 sh demo/build.sh first re-download and rebuild the imagery (Landsat via Planetary Computer,
+# Blue Marble via NASA GIBS, Natural Earth, font subsets): ~25 min, ~3 GB in assets/raw
+set -e
+HERE=$(cd "$(dirname "$0")" && pwd) # .../<slug>/demo
+FILM=$(cd "$HERE/.." && pwd) # .../<slug>
+LIB=${LIB:-$(cd "$HERE/../../.." && pwd)} # films/<slug>/demo or styles/<slug>/demo -> library root
+export LIB
+[ -f "$LIB/core/render/video.mjs" ] || { echo "set LIB to the library folder"; exit 1; }
+PY="$LIB/.venv/bin/python"
+NAME=satellite-briefing
+cd "$LIB"
+
+if [ "${FETCH:-0}" = "1" ] || [ ! -f "$HERE/assets/vectors.json" ]; then
+ mkdir -p "$HERE/assets/raw/ne"
+ for f in ne_10m_lakes_historic ne_10m_rivers_lake_centerlines; do
+ curl -sL -o "$HERE/assets/raw/ne/$f.geojson" "https://raw.githubusercontent.com/nvkelso/natural-earth-vector/master/geojson/$f.geojson"
+ done
+ "$PY" -I "$HERE/tools/fetch_gibs.py" "$HERE"
+ for p in r2025 r1977 r1989 r2000 r2009 r2014 la2025 mu2025 ko2001 ko2009 ko2025; do
+ "$PY" -I "$HERE/tools/fetch_landsat.py" "$HERE" $p
+ done
+ "$PY" -I "$HERE/tools/plates.py" "$HERE"
+ "$PY" -I "$HERE/tools/bmng.py" "$HERE"
+ "$PY" -I "$HERE/tools/vectors.py" "$HERE"
+ "$PY" -I "$HERE/tools/mapfield.py" "$HERE" # the printed map (distance field, relief) + rivers
+ "$PY" -I "$HERE/tools/growth.py" "$HERE" # North Aral: 2001 -> 2009 growth order
+ "$PY" -I "$HERE/tools/fonts.py" "$HERE"
+fi
+
+# voice: Kokoro (bf_emma), trim one over-aspirated stop, speech-to-text check with the small English model
+node "$HERE/tools/export.mjs" "$HERE" > /dev/null || true
+"$PY" core/tts/tts.py "$HERE/voice/lines.json" "$HERE/voice/out"
+"$PY" -I "$HERE/tools/voicefix.py" "$HERE"
+WHISPER_MODEL=small.en "$PY" core/tts/asr_check.py "$HERE/voice/lines.json" "$HERE/voice/out" --lang en
+node "$HERE/tools/export.mjs" "$HERE" # cues.json from the real durations; fails on overlap
+
+# picture, events, score + mix, master
+node core/render/events.mjs "$HERE"
+node core/render/video.mjs "$HERE" --fps 24 --workers 3 --out "$HERE/out/video.mp4"
+"$PY" "$HERE/mix.py"
+sh core/render/mux.sh "$HERE/out/video.mp4" "$HERE/out/mix.wav" "$FILM/$NAME.mp4" 24 1
+"$PY" core/render/srt.py "$HERE/out/cues_srt.json" "$FILM/$NAME.srt"
+
+# checks
+"$PY" -I "$HERE/tools/cuecheck.py" "$HERE"
+node "$HERE/tools/subcheck.mjs" "$HERE"
+node core/render/readcheck.mjs "$HERE" > "$HERE/out/readcheck.txt" && echo "readcheck ok"
+"$PY" -I "$HERE/tools/motioncheck.py" "$FILM/$NAME.mp4" | tail -2
+"$PY" -I "$HERE/tools/impactcheck.py" "$HERE" | head -4
+
+# poster (the signature shot) and the gallery style frame
+ffmpeg -v error -y -ss 13.61 -i "$FILM/$NAME.mp4" -frames:v 1 -q:v 2 "$FILM/poster.jpg"
+mkdir -p "$HERE/stills"
+ffmpeg -v error -y -ss 13.61 -i "$FILM/$NAME.mp4" -frames:v 1 -q:v 2 "$HERE/stills/styleframe.jpg"
+echo "done: $FILM/$NAME.mp4"
diff --git a/styles/satellite-briefing/demo/cues.json b/styles/satellite-briefing/demo/cues.json
new file mode 100644
index 0000000..4e035a5
--- /dev/null
+++ b/styles/satellite-briefing/demo/cues.json
@@ -0,0 +1,72 @@
+[
+ {
+ "id": "l1",
+ "t0": 2,
+ "t1": 4.666,
+ "zh": "地图上,这里还是一片海。",
+ "en": "On the map, this is still a sea."
+ },
+ {
+ "id": "l2",
+ "t0": 7.8,
+ "t1": 10.69,
+ "zh": "1977 年,它确实是。",
+ "en": "In 1977, it was."
+ },
+ {
+ "id": "l3",
+ "t0": 10.73,
+ "t1": 13.59,
+ "zh": "后来,河水被引去种棉花。",
+ "en": "Then its rivers went to the cotton fields."
+ },
+ {
+ "id": "l4",
+ "t0": 13.63,
+ "t1": 16.86,
+ "zh": "到 2014 年,东边的湖盆干涸了。",
+ "en": "By 2014, the eastern basin had dried."
+ },
+ {
+ "id": "l5",
+ "t0": 16.9,
+ "t1": 19.03,
+ "zh": "这里曾是渔港。",
+ "en": "This was a fishing port."
+ },
+ {
+ "id": "l6",
+ "t0": 19.07,
+ "t1": 22.586,
+ "zh": "如今,海在 95 公里之外。",
+ "en": "Today, the sea is 95 km away."
+ },
+ {
+ "id": "l7",
+ "t0": 23.67,
+ "t1": 26.279,
+ "zh": "可在北边,修起了一道坝。",
+ "en": "But up north, a dam went in."
+ },
+ {
+ "id": "l8",
+ "t0": 26.65,
+ "t1": 28.995,
+ "zh": "水回来了。",
+ "en": "And the water came back."
+ },
+ {
+ "id": "l9",
+ "t0": 29.35,
+ "t1": 32.21,
+ "zh": "海不是自己回来的。",
+ "en": "The sea did not come back on its own."
+ },
+ {
+ "id": "l10",
+ "t0": 32.25,
+ "t1": 34.15,
+ "zh": "是有人把它留住了。",
+ "en": "Someone kept it."
+ }
+]
\ No newline at end of file
diff --git a/styles/satellite-briefing/demo/engine.js b/styles/satellite-briefing/demo/engine.js
new file mode 100644
index 0000000..787ecad
--- /dev/null
+++ b/styles/satellite-briefing/demo/engine.js
@@ -0,0 +1,314 @@
+// Satellite Briefing engine: one perspective camera around a spherical Earth, imagery plates sampled
+// by lon/lat in a WebGL2 shader, and the same camera math in JS for the 2D annotation layer.
+// One world -> screen function (project) serves every annotation, so lines stay glued to the ground.
+
+export const R = 6371.0088; // Earth radius, km
+const D2R = Math.PI / 180;
+
+// ------------------------------------------------------------------ vectors (double precision, JS)
+const v = (x, y, z) => [x, y, z];
+const add = (a, b) => [a[0] + b[0], a[1] + b[1], a[2] + b[2]];
+const sub = (a, b) => [a[0] - b[0], a[1] - b[1], a[2] - b[2]];
+const mul = (a, s) => [a[0] * s, a[1] * s, a[2] * s];
+const dot = (a, b) => a[0] * b[0] + a[1] * b[1] + a[2] * b[2];
+const cross = (a, b) => [a[1] * b[2] - a[2] * b[1], a[2] * b[0] - a[0] * b[2], a[0] * b[1] - a[1] * b[0]];
+const norm = a => mul(a, 1 / Math.hypot(a[0], a[1], a[2]));
+
+export function ecef(lat, lon, h = 0) {
+ const p = lat * D2R, l = lon * D2R, r = R + h;
+ return v(r * Math.cos(p) * Math.cos(l), r * Math.cos(p) * Math.sin(l), r * Math.sin(p));
+}
+function enu(lat, lon) {
+ const p = lat * D2R, l = lon * D2R;
+ const up = v(Math.cos(p) * Math.cos(l), Math.cos(p) * Math.sin(l), Math.sin(p));
+ const east = v(-Math.sin(l), Math.cos(l), 0);
+ const north = cross(up, east);
+ return { up, east, north };
+}
+
+// camera: look at ground point (lat, lon) from distance d (km), tilt (deg from straight down),
+// heading (deg, direction the camera faces, clockwise from north), roll (deg), vertical fov (deg),
+// and a lens shift so the target can sit off-centre: (sx, sy) in pixels from the frame centre.
+export function makeCamera({ lat, lon, d, tilt = 0, heading = 0, roll = 0, fov = 30, sx = 0, sy = 0 }, W = 1920, H = 1080) {
+ const T = ecef(lat, lon, 0);
+ const { up, east, north } = enu(lat, lon);
+ const hd = heading * D2R, tl = tilt * D2R;
+ const Hdir = add(mul(north, Math.cos(hd)), mul(east, Math.sin(hd)));
+ const C = add(T, mul(add(mul(up, Math.cos(tl)), mul(Hdir, -Math.sin(tl))), d));
+ const f = norm(sub(T, C));
+ let u = norm(sub(add(mul(Hdir, Math.cos(tl)), mul(up, Math.sin(tl))), mul(f, 0))); // screen-up before roll
+ u = norm(sub(u, mul(f, dot(u, f))));
+ let r = norm(cross(f, u));
+ if (roll) { const rr = roll * D2R; const r2 = add(mul(r, Math.cos(rr)), mul(u, Math.sin(rr))); u = norm(cross(r2, f)); r = r2; }
+ const F = (H / 2) / Math.tan(fov * D2R / 2);
+ const Cc = mul(C, -1); // camera -> Earth centre
+ const h = Math.hypot(C[0], C[1], C[2]) - R; // altitude above the sphere
+ return { C, f, u, r, F, W, H, sx, sy, Cc, c2: h * (2 * R + h), alt: h, tgt: { lat, lon } };
+}
+
+// world -> screen. Returns [x, y, visible] (visible = in front and on the camera's side of the globe)
+export function project(cam, lat, lon, hgt = 0) {
+ const P = ecef(lat, lon, hgt);
+ const q = sub(P, cam.C);
+ const z = dot(q, cam.f);
+ const x = cam.W / 2 + cam.sx + cam.F * dot(q, cam.r) / z;
+ const y = cam.H / 2 + cam.sy - cam.F * dot(q, cam.u) / z;
+ const facing = dot(P, mul(q, -1)) > 0; // surface normal points towards the camera
+ return [x, y, z > 0 && facing];
+}
+// screen -> ground (lat, lon) or null
+export function unproject(cam, x, y) {
+ const nx = (x - cam.W / 2 - cam.sx) / cam.F, ny = -(y - cam.H / 2 - cam.sy) / cam.F;
+ const d = norm(add(cam.f, add(mul(cam.r, nx), mul(cam.u, ny))));
+ const b = dot(d, cam.Cc), disc = b * b - cam.c2;
+ if (disc < 0) return null;
+ const t = b - Math.sqrt(disc);
+ const Q = sub(mul(d, t), cam.Cc);
+ return [Math.asin(Q[2] / R) / D2R, Math.atan2(Q[1], Q[0]) / D2R];
+}
+// km per pixel at the target (for scale bars)
+export function kmPerPx(cam) { return (cam.alt / Math.max(1e-6, Math.cos(0))) / cam.F; }
+
+// ------------------------------------------------------------------ WebGL
+const VS = `#version 300 es
+in vec2 p; void main(){ gl_Position = vec4(p, 0., 1.); }`;
+
+const FS = `#version 300 es
+precision highp float; precision highp sampler2D;
+out vec4 o;
+uniform vec2 uRes; uniform vec2 uShift; uniform float uF;
+uniform vec3 uR, uU, uFw, uCc; uniform float uC2;
+// slots: 0 world, 1 ca, 2 regA, 3 regB, 4 detA, 5 detB, 6 maskA, 7 maskB
+uniform sampler2D t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10;
+uniform vec4 b0, b1, b2, b3, b4, b5; // plate bboxes (w, s, e, n) in degrees
+uniform float a1, a2, a4; // plate opacities (world is always 1)
+uniform float uScan2, uScanDir2, uScan4, uScanDir4; // scan line latitude (A below / B above for dir +1)
+uniform float uGlow2, uGlow4;
+uniform float uGrey; // 0 true colour .. 1 analyst grey
+uniform float uWaterCol; // north: water keeps its true colour
+uniform vec3 uWaterAt; // ...only within this circle (lon, lat, radius in degrees)
+uniform float uShade; // globe limb shading
+uniform float uExpo;
+uniform float uDetail;
+uniform float uClarity;
+uniform vec2 uBlurVec; uniform float uBlur; // whip-pan motion blur (screen-space direction)
+uniform float uDim; // overall dim for the end card
+uniform float uContrast; // analysis-layer contrast around mid grey
+uniform float uGrow; // north: water grows from the 2001 shore (-1 = off, 0..1 progress)
+uniform vec4 b9; // map field bbox
+uniform float uMap, uMapSea, uMapWipe; // printed map: whole page / sea only / reveal scan latitude
+const float RE = 6371.0088;
+
+float lum(vec3 c){ return dot(c, vec3(.299, .587, .114)); }
+vec2 uvOf(vec4 b, vec2 ll){ return vec2((ll.y - b.x) / (b.z - b.x), (b.w - ll.x) / (b.w - b.y)); }
+float inside(vec2 uv, float f){ vec2 e = smoothstep(vec2(0.), vec2(f), uv) * smoothstep(vec2(0.), vec2(f), 1. - uv); return e.x * e.y; }
+// true colour + a detail luminance (unsharp mask from a blurrier mip level)
+vec4 samp(sampler2D t, vec2 uv){
+ vec3 c = texture(t, uv).rgb;
+ float l = lum(c);
+ float m1 = lum(texture(t, uv, 1.6).rgb), m2 = lum(texture(t, uv, 4.0).rgb), m3 = lum(texture(t, uv, 6.5).rgb);
+ float d = l + uDetail * (0.7 * (l - m1) + 0.45 * (m1 - m2));
+ d = m3 + (d - m3) * (1. + uClarity); // clarity: local contrast around a wide mean
+ return vec4(c, d);
+}
+vec4 ground(vec2 ll, out float wmask, out float scanGlow){
+ wmask = 0.; scanGlow = 0.;
+ vec2 u0 = vec2((ll.y + 180.) / 360., (90. - ll.x) / 180.);
+ vec4 col = samp(t0, u0);
+ vec2 u1 = uvOf(b1, ll); float w1 = inside(u1, .06) * a1;
+ if (w1 > 0.) col = mix(col, samp(t1, u1), w1);
+ vec2 u2 = uvOf(b2, ll); float w2 = inside(u2, .025) * a2;
+ if (w2 > 0.) {
+ vec4 A = samp(t2, u2);
+ vec4 B = samp(t3, uvOf(b3, ll));
+ float s = uScanDir2 * (ll.x - uScan2);
+ float k = smoothstep(-fwidth(ll.x) * 36., fwidth(ll.x) * 36., s); // a soft scan front, no hard edge
+ col = mix(col, mix(A, B, k), w2);
+ wmask = texture(t8, u2).r * w2;
+ scanGlow += uGlow2 * w2 * .10 * exp(-max(s, 0.) / max(fwidth(ll.x) * 70., 1e-6)) * smoothstep(0., fwidth(ll.x) * 30., s); // a soft swath, no hard line
+ }
+ vec2 u4 = uvOf(b4, ll); float w4 = inside(u4, .10) * a4;
+ if (w4 > 0.) {
+ vec4 A = samp(t4, u4);
+ vec2 u5 = uvOf(b5, ll);
+ vec4 B = samp(t5, u5);
+ float s = uScanDir4 * (ll.x - uScan4);
+ float k = smoothstep(-0.0015, 0.0015, s);
+ if (uGrow >= 0.) { float g = texture(t10, u4).r; k = g < .002 ? smoothstep(.55, 1., uGrow) : 1. - smoothstep(uGrow - .03, uGrow, g); } // land crossfades late, new water grows outward
+ col = mix(col, mix(A, B, k), w4);
+ float m = mix(texture(t6, u4).r, texture(t7, u5).r, k);
+ wmask = mix(wmask, m, w4);
+ scanGlow += uGlow4 * w4 * .10 * exp(-max(s, 0.) / max(fwidth(ll.x) * 70., 1e-6)) * smoothstep(0., fwidth(ll.x) * 30., s);
+ }
+ return col;
+}
+float LAT, LON;
+vec3 grade(vec4 c, float wmask){
+ // analyst grey: luminance with local contrast, toned blue-black -> cool silver, a little chroma kept
+ float d = clamp((c.a - 0.05) / 0.85, 0., 1.);
+ d = (1. - exp(-1.9 * d)) / (1. - exp(-1.9)); // shoulder: salt and cloud stay below white
+ d = d * d * (3. - 2. * d) * .30 + d * .70;
+ d = pow(d, 1.12);
+ d = clamp((d - .5) * uContrast + .5, 0., 1.);
+ vec3 grey = mix(vec3(.026, .036, .044), vec3(.63, .655, .665), d); // the ground stays mid-grey: white is kept for the analyst's marks
+ grey += (c.rgb - lum(c.rgb)) * 0.22;
+ wmask *= 1. - smoothstep(uWaterAt.z * .85, uWaterAt.z, length(vec2((LON - uWaterAt.x) * .7, LAT - uWaterAt.y)));
+ float g = uGrey * (1. - uWaterCol * smoothstep(.15, .7, wmask));
+ vec3 tc = c.rgb;
+ // water that came back: true colour, slightly lifted so it reads against the grey
+ tc = mix(tc, tc * vec3(.85, 1.15, 1.25) + vec3(0., .02, .03), uWaterCol * smoothstep(.15, .7, wmask) * .6);
+ return mix(tc, grey, g);
+}
+// ---- the printed map (the claim): paper, sea, waterlines, coast, graticule; exact at any zoom
+float hsh(vec2 p){ return fract(sin(dot(p, vec2(127.1, 311.7))) * 43758.5453); }
+float vn(vec2 p){ vec2 i = floor(p), f = fract(p); f = f * f * (3. - 2. * f);
+ return mix(mix(hsh(i), hsh(i + vec2(1, 0)), f.x), mix(hsh(i + vec2(0, 1)), hsh(i + vec2(1, 1)), f.x), f.y); }
+float paper(vec2 q, float px){ // grain that stays a few pixels wide at every zoom (two octaves cross-faded)
+ float L = log2(1. / (px * 2.6)), f0 = floor(L), t = L - f0;
+ float a = vn(q * exp2(f0)), b = vn(q * exp2(f0 + 1.));
+ float c = vn(q * exp2(f0 - 2.) * vec2(1., 4.)); // long fibres
+ return mix(a, b, t) * .75 + c * .25;
+}
+vec3 mapLayer(vec2 ll, out float a){
+ vec2 u = uvOf(b9, ll);
+ float inb = inside(u, .02);
+ vec3 f = texture(t9, u).rgb;
+ float din = f.r * 60., dout = f.g * 60.;
+ float sd = din - dout; // + inside the 1960 sea, km
+ float fw = max(fwidth(sd), 1e-4);
+ float sea = smoothstep(-fw, fw, sd);
+ vec2 q = (ll - vec2(45., 60.)).yx; // degrees from a local origin (keeps float precision)
+ float px = max(fwidth(ll.y), 1e-7);
+ float g = paper(q, px);
+ vec3 land = vec3(.925, .885, .795) * (.88 + .15 * g);
+ land *= mix(1., .80 + .32 * f.b, .40); // faint relief from Blue Marble
+ vec3 water = vec3(.55, .71, .86) * (.92 + .10 * g);
+ vec3 c = mix(land, water, sea);
+ float wl = 0.; // waterlines: the atlas convention along the shore
+ for (int k = 1; k <= 9; k++) { float fk = float(k); float dk = 1.6 * fk * fk * .62 + 1.6 * fk;
+ wl = max(wl, (1. - smoothstep(fw * .4, fw * 1.9, abs(din - dk))) * (1. - fk / 11.) * sea); }
+ c = mix(c, vec3(.27, .46, .70), wl * .8);
+ // printing: a fine halftone screen in the blue ink (screen space, 45 degrees) and a paper fold
+ vec2 sc = gl_FragCoord.xy * .7071; vec2 hp = fract(vec2(sc.x + sc.y, sc.x - sc.y) / 4.2) - .5;
+ float dotm = smoothstep(.36, .30, length(hp));
+ c *= mix(1., .955 + .07 * dotm, sea);
+ float fold = exp(-pow((ll.y - 60.82) / max(fwidth(ll.y) * 9., 1e-6), 2.));
+ c *= 1. - .07 * fold; c += .035 * exp(-pow((ll.y - 60.82 - fwidth(ll.y) * 7.) / max(fwidth(ll.y) * 5., 1e-6), 2.));
+ float coast = 1. - smoothstep(fw * 1.1, fw * 3.2, abs(sd));
+ c = mix(c, vec3(.10, .23, .42), coast * .95);
+ float m = max(uMap, uMapSea * sea) * inb;
+ float wipe = 1. - smoothstep(-fwidth(ll.x) * 2., fwidth(ll.x) * 2., ll.x - uMapWipe); // the map stays south of the scan
+ a = m * wipe;
+ // the scanner's light bar on the revealed side
+ float bar = exp(-max(ll.x - uMapWipe, 0.) / (fwidth(ll.x) * 26.)) * step(uMapWipe, ll.x) * step(uMapWipe, 89.);
+ c += bar * .0;
+ return c;
+}
+vec3 shade(vec2 frag){
+ vec2 n = (frag - uRes * .5 - uShift * vec2(1., -1.)) / uF;
+ vec3 dir = normalize(uFw + n.x * uR + n.y * uU);
+ float b = dot(dir, uCc);
+ float disc = b * b - uC2;
+ vec3 space = vec3(.012, .018, .024);
+ if (disc < 0.) {
+ float dmin = sqrt(max(dot(uCc, uCc) - b * b, 0.));
+ float x = (dmin - RE) / 90.;
+ float glow = exp(-x) * step(0., b);
+ return space + glow * mix(vec3(.30, .55, .95), vec3(.75, .80, .85), uGrey) * .55;
+ }
+ float t = b - sqrt(disc);
+ vec3 Q = t * dir - uCc;
+ vec2 ll = vec2(degrees(asin(clamp(Q.z / RE, -1., 1.))), degrees(atan(Q.y, Q.x)));
+ float wm, sg; LAT = ll.x; LON = ll.y;
+ vec4 c = ground(ll, wm, sg);
+ vec3 col = grade(c, wm);
+ // limb: darken and add a thin atmosphere towards the edge of the disc
+ float mu = clamp(dot(normalize(Q), -dir), 0., 1.);
+ col *= mix(1., mix(.55, 1., pow(mu, .35)), uShade);
+ col += uShade * pow(1. - mu, 3.) * mix(vec3(.25, .45, .85), vec3(.6, .65, .7), uGrey) * .55;
+ col += sg * vec3(.85, .92, 1.);
+ if (uMap + uMapSea > 0.001) {
+ float ma; vec3 mc = mapLayer(ll, ma);
+ col = mix(col, mc, ma);
+ float dl = ll.x - uMapWipe;
+ col += vec3(.95, .97, 1.) * .55 * exp(-max(dl, 0.) / (fwidth(ll.x) * 22.)) * step(0., dl) * step(uMapWipe, 89.) * uMap;
+ }
+ return col;
+}
+void main(){
+ vec2 frag = gl_FragCoord.xy;
+ vec3 col;
+ if (uBlur > .5) { // motion blur for the whip pan: average along the pan direction
+ col = vec3(0.);
+ for (int i = 0; i < 12; i++) { float k = (float(i) / 11. - .5) * uBlur; col += shade(frag + k * uBlurVec * vec2(1., -1.)); }
+ col /= 12.;
+ } else col = shade(frag);
+ col *= uExpo;
+ // vignette
+ vec2 q = frag / uRes - .5; col *= 1. - .35 * dot(q, q) * 1.2;
+ col *= (1. - uDim);
+ o = vec4(pow(max(col, 0.), vec3(1.)), 1.);
+}`;
+
+export class Engine {
+ constructor(canvas) {
+ const gl = canvas.getContext('webgl2', { antialias: false, preserveDrawingBuffer: true, premultipliedAlpha: false });
+ if (!gl) throw new Error('WebGL2 not available');
+ this.gl = gl;
+ this.aniso = gl.getExtension('EXT_texture_filter_anisotropic');
+ const sh = (type, src) => { const s = gl.createShader(type); gl.shaderSource(s, src); gl.compileShader(s); if (!gl.getShaderParameter(s, gl.COMPILE_STATUS)) throw new Error(gl.getShaderInfoLog(s)); return s; };
+ const p = gl.createProgram(); gl.attachShader(p, sh(gl.VERTEX_SHADER, VS)); gl.attachShader(p, sh(gl.FRAGMENT_SHADER, FS)); gl.linkProgram(p);
+ if (!gl.getProgramParameter(p, gl.LINK_STATUS)) throw new Error(gl.getProgramInfoLog(p));
+ this.p = p; gl.useProgram(p);
+ const buf = gl.createBuffer(); gl.bindBuffer(gl.ARRAY_BUFFER, buf);
+ gl.bufferData(gl.ARRAY_BUFFER, new Float32Array([-1, -1, 1, -1, -1, 1, 1, 1]), gl.STATIC_DRAW);
+ const loc = gl.getAttribLocation(p, 'p'); gl.enableVertexAttribArray(loc); gl.vertexAttribPointer(loc, 2, gl.FLOAT, false, 0, 0);
+ this.U = {};
+ for (let i = 0; i < 11; i++) gl.uniform1i(gl.getUniformLocation(p, 't' + i), i);
+ this.tex = {};
+ this.blank = this.upload('blank', (() => { const c = document.createElement('canvas'); c.width = c.height = 4; return c; })(), { mip: false });
+ }
+ u(name) { return this.U[name] ?? (this.U[name] = this.gl.getUniformLocation(this.p, name)); }
+ upload(name, img, { mip = true } = {}) {
+ const gl = this.gl, t = gl.createTexture();
+ gl.bindTexture(gl.TEXTURE_2D, t);
+ gl.pixelStorei(gl.UNPACK_FLIP_Y_WEBGL, false);
+ gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGBA8, gl.RGBA, gl.UNSIGNED_BYTE, img);
+ gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_WRAP_S, gl.CLAMP_TO_EDGE);
+ gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_WRAP_T, gl.CLAMP_TO_EDGE);
+ gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MAG_FILTER, gl.LINEAR);
+ gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MIN_FILTER, mip ? gl.LINEAR_MIPMAP_LINEAR : gl.LINEAR);
+ if (mip) gl.generateMipmap(gl.TEXTURE_2D);
+ if (mip && this.aniso) gl.texParameterf(gl.TEXTURE_2D, this.aniso.TEXTURE_MAX_ANISOTROPY_EXT, 8);
+ this.tex[name] = t;
+ return t;
+ }
+ // state: { cam, slots: {1:{tex,bbox,a}, 2:..., ...}, scan2, scanDir2, glow2, scan4, scanDir4, glow4, grey, waterCol, shade, expo, blur, blurDir, dim }
+ draw(S) {
+ const gl = this.gl, c = S.cam;
+ gl.viewport(0, 0, c.W, c.H);
+ gl.uniform2f(this.u('uRes'), c.W, c.H);
+ gl.uniform2f(this.u('uShift'), c.sx, c.sy);
+ gl.uniform1f(this.u('uF'), c.F);
+ gl.uniform3f(this.u('uR'), ...c.r); gl.uniform3f(this.u('uU'), ...c.u); gl.uniform3f(this.u('uFw'), ...c.f);
+ gl.uniform3f(this.u('uCc'), ...c.Cc); gl.uniform1f(this.u('uC2'), c.c2);
+ const bind = (i, name) => { gl.activeTexture(gl.TEXTURE0 + i); gl.bindTexture(gl.TEXTURE_2D, (name && this.tex[name]) || this.blank); };
+ const sl = S.slots;
+ bind(0, 'world');
+ bind(1, sl.ca?.tex); bind(2, sl.regA?.tex); bind(3, sl.regB?.tex || sl.regA?.tex);
+ bind(4, sl.detA?.tex); bind(5, sl.detB?.tex || sl.detA?.tex); bind(6, sl.detA?.mask); bind(7, sl.detB?.mask || sl.detA?.mask); bind(8, sl.regA?.mask); bind(9, 'mapfield'); bind(10, sl.detA?.grow || 'blank');
+ const bb = (k, b) => gl.uniform4f(this.u(k), ...(b || [0, 0, 1, 1]));
+ bb('b1', sl.ca?.bbox); bb('b2', sl.regA?.bbox); bb('b3', (sl.regB || sl.regA)?.bbox); bb('b4', sl.detA?.bbox); bb('b5', (sl.detB || sl.detA)?.bbox);
+ gl.uniform1f(this.u('a1'), sl.ca ? sl.ca.a : 0);
+ gl.uniform1f(this.u('a2'), sl.regA ? sl.regA.a : 0);
+ gl.uniform1f(this.u('a4'), sl.detA ? sl.detA.a : 0);
+ gl.uniform1f(this.u('uScan2'), S.scan2 ?? -90); gl.uniform1f(this.u('uScanDir2'), S.scanDir2 ?? 1); gl.uniform1f(this.u('uGlow2'), S.glow2 ?? 0);
+ gl.uniform1f(this.u('uScan4'), S.scan4 ?? -90); gl.uniform1f(this.u('uScanDir4'), S.scanDir4 ?? 1); gl.uniform1f(this.u('uGlow4'), S.glow4 ?? 0);
+ gl.uniform1f(this.u('uGrey'), S.grey ?? 1); gl.uniform1f(this.u('uWaterCol'), S.waterCol ?? 0); gl.uniform3f(this.u('uWaterAt'), ...(S.waterAt || [60.75, 46.5, 0.75]));
+ gl.uniform1f(this.u('uShade'), S.shade ?? 0); gl.uniform1f(this.u('uExpo'), S.expo ?? 1); gl.uniform1f(this.u('uDetail'), S.detail ?? 0.8); gl.uniform1f(this.u('uClarity'), S.clarity ?? 0.4);
+ gl.uniform1f(this.u('uContrast'), S.contrast ?? 1); gl.uniform1f(this.u('uGrow'), S.grow ?? -1);
+ gl.uniform4f(this.u('b9'), ...(S.mapBox || [54, 41.5, 66, 48.5])); gl.uniform1f(this.u('uMap'), S.map ?? 0); gl.uniform1f(this.u('uMapSea'), S.mapSea ?? 0); gl.uniform1f(this.u('uMapWipe'), S.mapWipe ?? 90);
+ gl.uniform1f(this.u('uBlur'), S.blur ?? 0); gl.uniform2f(this.u('uBlurVec'), ...(S.blurVec || [1, 0])); gl.uniform1f(this.u('uDim'), S.dim ?? 0);
+ gl.drawArrays(gl.TRIANGLE_STRIP, 0, 4);
+ }
+}
diff --git a/styles/satellite-briefing/demo/events.json b/styles/satellite-briefing/demo/events.json
new file mode 100644
index 0000000..1283f03
--- /dev/null
+++ b/styles/satellite-briefing/demo/events.json
@@ -0,0 +1 @@
+{"dur":37.8,"ev":[{"t":0,"type":"orbit_bed"},{"t":0.12,"type":"servo"},{"t":0.6,"type":"lock"},{"t":0.75,"type":"coords"},{"t":1.2,"type":"map_on"},{"t":1.8,"type":"dive","to":5.4},{"t":3.6,"type":"drain_colour"},{"t":5.4,"type":"touch"},{"t":5.42,"type":"map_drain"},{"t":5.4,"type":"silence","to":6.6},{"t":6.6,"type":"rewind","to":7.8},{"t":6.6,"type":"scan_up","dur":0.21999999999999975},{"t":6.82,"type":"scan_up","dur":0.20000000000000018},{"t":7.02,"type":"scan_up","dur":0.20000000000000018},{"t":7.22,"type":"scan_up","dur":0.21999999999999975},{"t":7.44,"type":"scan_up","dur":0.2599999999999998},{"t":7.8,"type":"ring","year":1977,"i":0},{"t":9.05,"type":"scan_down","dur":0.55},{"t":9.6,"type":"ring","year":1989,"i":1},{"t":10.32,"type":"scan_down","dur":0.48},{"t":10.8,"type":"ring","year":2000,"i":2},{"t":11.3,"type":"scan_down","dur":0.4},{"t":11.7,"type":"ring","year":2009,"i":3},{"t":11.96,"type":"scan_down","dur":0.34},{"t":12.3,"type":"ring","year":2014,"i":4},{"t":12.72,"type":"scan_down","dur":0.48},{"t":13.2,"type":"ring","year":2025,"i":5},{"t":13.2,"type":"stop"},{"t":14.1,"type":"servo"},{"t":14.7,"type":"lock2"},{"t":15.3,"type":"push","to":17.4},{"t":16.2,"type":"horn"},{"t":16.2,"type":"label"},{"t":16.5,"type":"shore","dur":0.6},{"t":18.6,"type":"range","to":20.4,"km":94.5},{"t":19.2,"type":"mark"},{"t":20.4,"type":"range_end"},{"t":21.9,"type":"silence","to":22.8},{"t":22.8,"type":"water_in"},{"t":23.4,"type":"whip","to":24},{"t":24,"type":"dam_draw","to":24.6},{"t":24.6,"type":"dam"},{"t":25.2,"type":"nring","year":2001},{"t":25.85,"type":"scan_down","dur":0.55},{"t":26.4,"type":"nring","year":2009},{"t":28.8,"type":"pull","to":34.2},{"t":30.4,"type":"slide"},{"t":31.2,"type":"pin"},{"t":34.2,"type":"end"},{"t":34.8,"type":"lock_echo"},{"t":35.1,"type":"pass","to":37.599999999999994},{"t":2.05,"type":"vo","id":"l1"},{"t":7.85,"type":"vo","id":"l2"},{"t":10.78,"type":"vo","id":"l3"},{"t":13.68,"type":"vo","id":"l4"},{"t":16.95,"type":"vo","id":"l5"},{"t":19.12,"type":"vo","id":"l6"},{"t":23.72,"type":"vo","id":"l7"},{"t":26.7,"type":"vo","id":"l8"},{"t":29.4,"type":"vo","id":"l9"},{"t":32.3,"type":"vo","id":"l10"}]}
\ No newline at end of file
diff --git a/styles/satellite-briefing/demo/film.js b/styles/satellite-briefing/demo/film.js
new file mode 100644
index 0000000..bd35534
--- /dev/null
+++ b/styles/satellite-briefing/demo/film.js
@@ -0,0 +1,658 @@
+// 《地图上还写着海》 The Map Still Says Sea — Satellite Briefing demo.
+// render(t) is a pure function of t: camera from keyframes, plates and scans from the timeline,
+// annotations through the one camera (engine.project).
+import { clamp, lerp, seg, ss, eio, eo, ei } from '/core/lib.js';
+import { Engine, makeCamera, project, unproject } from './engine.js';
+import { C, text, measure, hair, pathLL, brackets, tick, readout, subtitle, SUB, beginTexts, endTexts } from './overlay.js';
+import { T, RINGS, REWIND, VO, BEAT } from './timeline.js';
+
+const W = 1920, H = 1080;
+const gl = new Engine(document.getElementById('gl'));
+const cv = document.getElementById('ov'), ctx = cv.getContext('2d');
+const Q = new URLSearchParams(location.search);
+
+const load = src => new Promise((ok, no) => { const i = new Image(); i.onload = () => ok(i); i.onerror = () => no(new Error('image ' + src)); i.src = src; });
+const json = src => fetch(src).then(r => { if (!r.ok) throw new Error(src); return r.json(); });
+let P, V, DURS = {};
+const BB = {}; // plate name -> bbox
+
+// ------------------------------------------------------------------ places (lon/lat); measured ones come from vectors.json
+const G = {
+ aral: [59.75, 45.15],
+ north: [60.72, 46.48],
+ landing: [60.27, 44.94], // wind-streaked salt crust of the dry eastern basin (2025)
+ // Kok-Aral dike traced on the 2025 Landsat plate: NW arm, corner, east arm
+ dam: [[60.750, 46.120], [60.788, 46.087], [60.865, 46.088]],
+};
+const DAM_MID = () => [60.805, 46.118];
+
+// ------------------------------------------------------------------ camera
+// keyframes: t, target lon/lat, distance d (km, log-interpolated), tilt, heading, lens shift sx, sy
+function camKeys() {
+ const mu = V.points.muynak, ed = V.points.edge, land = G.landing, dm = DAM_MID();
+ const mid = [(mu[0] + ed[0]) / 2, (mu[1] + ed[1]) / 2];
+ return [
+ { t: 0.0, ll: [58.6, 41.9], d: 4300, tilt: 57, hd: 12, sx: 0, sy: 10 },
+ { t: T.dive0, ll: [59.3, 42.8], d: 3800, tilt: 55, hd: 21, sx: 0, sy: 0, e: 'lin' },
+ { t: T.dive0 + 1.6, ll: [60.1, 44.55], d: 1000, tilt: 22, hd: 8, sx: 0, sy: 20, e: 'i' },
+ { t: T.touch, ll: [60.92, 45.05], d: 160, tilt: 0, hd: 0, sx: 0, sy: 0, e: 'o' }, // inside the printed map, its east coast in frame
+ { t: T.rewind, ll: land, d: 46, tilt: 0, hd: 0, sx: 0, sy: 0, e: 'o' }, // settling onto the salt
+ { t: T.y1977 - 0.05, ll: G.aral, d: 980, tilt: 0, hd: 0, sx: -190, sy: 10, e: 'o' },
+ { t: T.y2025, ll: [59.68, 44.98], d: 600, tilt: 0, hd: -15, sx: -190, sy: 10, e: 'acc' }, // a slow orbit that speeds up with the rings...
+ { t: T.y2025 + 0.3, ll: [59.67, 44.975], d: 588, tilt: 0, hd: -15.7, sx: -190, sy: 10, e: 'o' }, // ...and brakes with the stop
+ { t: T.push0, ll: mu, d: 520, tilt: 0, hd: -12, sx: 0, sy: 0, e: 'io' }, // the hold pans the old port to the centre while the reticle locks on it
+ { t: T.arrive, ll: mu, d: 92, tilt: 0, hd: 0, sx: 0, sy: 0, e: 'ioE' }, // a pure push on the port: it stays at the centre
+ { t: T.range0, ll: [mu[0] + .02, mu[1] + .01], d: 80, tilt: 0, hd: -2, sx: -640, sy: 60, e: 'io' }, // then slides left to give the line room
+ { t: T.rangeEnd, ll: ed, d: 104, tilt: 0, hd: 0, sx: 60, sy: -110, e: 'track' }, // the camera chases the tip to the sea
+ { t: T.sil2, ll: mid, d: 245, tilt: 0, hd: 0, sx: 40, sy: -40, e: 'io' }, // then shows the whole distance
+ { t: T.whip, ll: [mid[0] * .75 + ed[0] * .25, mid[1] * .75 + ed[1] * .25], d: 205, tilt: 0, hd: 1.5, sx: 40, sy: -40, e: 'lin' },
+ { t: T.north, ll: dm, d: 44, tilt: 0, hd: 0, sx: -120, sy: 30, e: 'whip' },
+ { t: T.n2009, ll: [dm[0] + .012, dm[1] + .02], d: 31, tilt: 0, hd: 4, sx: -120, sy: 30, e: 'o2' }, // push in while the water grows
+ { t: T.pull, ll: [dm[0] + .03, dm[1] + .035], d: 24, tilt: 0, hd: 7, sx: -120, sy: 30, e: 'lin' },
+ { t: T.pull + 2.2, ll: G.north, d: 700, tilt: 8, hd: 4, sx: 0, sy: 0, e: 'i' },
+ { t: T.end, ll: [61.2, 44.6], d: 8800, tilt: 50, hd: 22, sx: 0, sy: 60, e: 'oL' },
+ { t: T.dur, ll: [50.5, 42.6], d: 11500, tilt: 56, hd: 33, sx: 0, sy: 60, e: 'lin' },
+ ];
+}
+const EASE = { io: eio, i: t => t * t * (2.2 - 1.2 * t), o: eo, lin: t => t, whip: t => ss(ss(t)), acc: t => 0.45 * t + 0.55 * Math.pow(t, 2.8), oL: t => 0.6 * eo(t) + 0.4 * t, track: eio, ss, ioE: t => eio(Math.pow(t, 0.7)), o2: t => 1 - (1 - t) * (1 - t) };
+let KEYS;
+function camAt(t) {
+ let i = 0; while (i < KEYS.length - 2 && t > KEYS[i + 1].t) i++;
+ const a = KEYS[i], b = KEYS[i + 1];
+ const u = (EASE[b.e] || eio)(seg(t, a.t, b.t));
+ const lg = Math.exp(lerp(Math.log(a.d), Math.log(b.d), u));
+ // during big zooms, move the target in step with the log-scale so the ground does not skate
+ const k = Math.abs(Math.log(b.d / a.d)) > 1.2 ? zoomFollow(a.d, b.d, lg) : u;
+ return {
+ lon: lerp(a.ll[0], b.ll[0], k), lat: lerp(a.ll[1], b.ll[1], k), d: lg,
+ tilt: lerp(a.tilt, b.tilt, u), heading: lerp(a.hd, b.hd, u), sx: lerp(a.sx, b.sx, u), sy: lerp(a.sy, b.sy, u), fov: 30,
+ };
+}
+function zoomFollow(d0, d1, d) { // fraction of the pan done, proportional to the inverse scale change
+ const s0 = 1 / d0, s1 = 1 / d1, s = 1 / d;
+ return clamp((s - s0) / (s1 - s0));
+}
+
+// ------------------------------------------------------------------ time on the ground: which year each plate shows
+const YEARS = [1977, 1989, 2000, 2009, 2014, 2025];
+function regionState(t) {
+ // returns { A, B, scan (lat), dir, glow, printYear, printScan }
+ const N = 47.4, S = 42.9;
+ if (t < T.rewind) return { A: 2025, B: 2025, scan: -90, dir: 1, glow: 0 };
+ for (const r of REWIND) {
+ if (t >= r.t0 && t < r.t1) { // upward scan: the older year is painted from the south
+ const u = ss(seg(t, r.t0, r.t1));
+ return { A: r.from, B: r.to, scan: lerp(S, N, u), dir: -1, glow: 0.9 };
+ }
+ }
+ if (t < RINGS[0].t - RINGS[0].sweep) return { A: 1977, B: 1977, scan: -90, dir: 1, glow: 0 };
+ for (let i = 1; i < RINGS.length; i++) {
+ const r = RINGS[i], t0 = r.t - r.sweep;
+ if (t >= t0 && t < r.t) {
+ const u = seg(t, t0, r.t);
+ return { A: RINGS[i - 1].year, B: r.year, scan: lerp(47.25, 43.25, u), dir: 1, glow: 1, print: r.year };
+ }
+ if (t < t0) return { A: RINGS[i - 1].year, B: RINGS[i - 1].year, scan: -90, dir: 1, glow: 0 };
+ }
+ return { A: 2025, B: 2025, scan: -90, dir: 1, glow: 0 };
+}
+// ring printing: lat of the scan for year y at time t (rings appear north of it), or null if not printed yet
+function ringScan(y, t) {
+ if (y === 1977) { // the first ring is traced once the rewind lands
+ if (t < T.y1977) return null;
+ return lerp(47.25, 43.25, eo(seg(t, T.y1977, T.y1977 + 0.5)));
+ }
+ const r = RINGS.find(r => r.year === y); if (!r) return null;
+ if (t < r.t - r.sweep) return null;
+ return lerp(47.25, 43.25, seg(t, r.t - r.sweep, r.t));
+}
+
+// ------------------------------------------------------------------ loading
+async function init() {
+ [P, V] = await Promise.all([json('assets/plates/plates.json'), json('assets/vectors.json')]);
+ CUES = await json('cues.json');
+ V.points.edge = V.points.edge_mu2025 || V.points.edge_r2025;
+ const names = ['world', 'ca', ...YEARS.map(y => 'r' + y), 'la2025', 'mu2025', 'ko2001', 'ko2009', 'ko2025'];
+ const DRAFT = Q.has('draft'); // look tests before every plate exists: stand-ins instead of failing
+ const sub = n => DRAFT && !P[n] ? (n.startsWith('ko') ? 'r2025' : n.startsWith('r') ? 'r2025' : 'la2025') : n;
+ const imgs = await Promise.all(names.map(n => load(`assets/plates/${sub(n)}.jpg`)));
+ names.forEach((n, i) => { gl.upload(n, imgs[i]); BB[n] = P[sub(n)].plate; });
+ const masks = ['ko2001', 'ko2009', 'ko2025', 'r2025'];
+ const mimgs = await Promise.all(masks.map(n => load(`assets/plates/${sub(n)}_w.png`)));
+ masks.forEach((n, i) => gl.upload(n + '_w', mimgs[i], { mip: true }));
+ const [mf, gr] = await Promise.all([load('assets/plates/mapfield.png'), load('assets/plates/ko_grow.png')]);
+ gl.upload('mapfield', mf, { mip: true }); gl.upload('ko_grow', gr, { mip: false });
+ if (DRAFT) for (const y of YEARS) if (!V.area[y]) { V.area[y] = V.area[2025]; V.rings[y] = V.rings[2025]; }
+ KEYS = camKeys();
+ await Promise.all(['300 112px BC', '400 33px BC', '500 30px BC', '400 16px PM', '500 16px PM', '500 38px SC', '400 20px SC', '600 60px SS'].map(f => document.fonts.load(f, '咸海地图上还写着1977')));
+ subCheck();
+ window.EV = events();
+ window.READY = true;
+}
+
+// ------------------------------------------------------------------ subtitles: every line must fit on ONE line
+let CUES = []; // from cues.json (tools/export.mjs): the same intervals as the .srt
+function subCheck() {
+ const rep = CUES.map(c => {
+ const wz = measure(ctx, c.zh, SUB.fontZh, SUB.trackZh), we = measure(ctx, c.en, SUB.fontEn, SUB.trackEn);
+ return { id: c.id, zh: c.zh, en: c.en, wz: Math.round(wz), we: Math.round(we), ok: wz <= SUB.safe && we <= SUB.safe && !/\n/.test(c.zh + c.en) };
+ });
+ window.SUBCHECK = { safe: SUB.safe, cues: rep, ok: rep.every(r => r.ok) };
+ if (!window.SUBCHECK.ok) throw new Error('subtitle line too wide: ' + JSON.stringify(rep.filter(r => !r.ok)));
+}
+
+// ------------------------------------------------------------------ the frame
+const fmt = n => Math.round(n).toLocaleString('en-US');
+function areaPct(y) { return 100 * V.area[String(y)].km2 / V.base_km2; } // measured water / 68,000 km² (USGS)
+
+function render(t) {
+ t = clamp(t, 0, T.dur - 1e-4);
+ beginTexts();
+ const cp = camAt(t);
+ // whip pan: blur along the screen motion
+ let blur = 0, bdir = [1, 0];
+ if (t > T.whip - 0.05 && t < T.north + 0.1) {
+ const a = camAt(t - 1 / 48), b = camAt(t + 1 / 48);
+ const ca = makeCamera(cp, W, H);
+ const pa = project(ca, a.lat, a.lon), pb = project(ca, b.lat, b.lon);
+ const dx = pa[0] - pb[0], dy = pa[1] - pb[1], m = Math.hypot(dx, dy);
+ blur = Math.min(260, m * 0.9); bdir = m > 0 ? [dx / m, dy / m] : [1, 0];
+ }
+ const cam = makeCamera(cp, W, H);
+ const rs = regionState(t);
+ // detail plate per section
+ let det = null, scan4 = -90, dir4 = 1, glow4 = 0, grow = -1;
+ const alt = cam.alt;
+ const dA = k => clamp(1 - (Math.log(alt) - Math.log(k)) / Math.log(2.2)); // fade detail in below altitude k
+ if (t < T.rewind + 0.6) det = { A: 'la2025', a: dA(160) };
+ else if (t > T.y2025 && t < T.whip + 0.3) det = { A: 'mu2025', a: dA(300) };
+ else if (t >= T.whip + 0.3 && t < T.pull + 3) {
+ // the 2009 water grows outward from the 2001 shore, reaching the dam on the beat of the 2009 ring
+ det = { A: 'ko2001', B: 'ko2009', a: dA(260), grow: 'ko_grow' };
+ grow = t < T.n2001 + 0.1 ? 0 : 0.003 + 0.997 * ss(seg(t, T.n2001 + 0.1, T.n2009));
+ if (t >= T.n2009) { det.A = 'ko2009'; det.grow = null; grow = -1; }
+ // before the pull-back reveals the region plate (2025), the north plate quietly becomes 2025 too
+ if (t >= T.pull - 0.6) { det.A = 'ko2009'; det.B = 'ko2025'; scan4 = lerp(46.6, 45.7, ss(seg(t, T.pull - 0.6, T.pull + 0.4))); }
+ if (t >= T.pull + 0.4) { det.A = 'ko2025'; det.B = 'ko2025'; scan4 = -90; }
+ }
+ const grey = t < T.grey0 ? 0 : t < T.pull + 1.2 ? ss(seg(t, T.grey0, T.touch - 0.3)) : 1 - ss(seg(t, T.pull + 1.2, T.end - 0.4));
+ const waterCol = ss(seg(t, T.n2009 - 0.2, T.n2009 + 0.9));
+ const shade = 1 - ss(seg(alt, 600, 2500)) * 0 - ss(seg(Math.log(alt), Math.log(2500), Math.log(500)));
+ gl.draw({
+ cam,
+ slots: {
+ ca: { tex: 'ca', bbox: BB.ca, a: 1 },
+ regA: { tex: 'r' + rs.A, bbox: BB['r' + rs.A], a: 1, mask: 'r2025_w' },
+ regB: { tex: 'r' + rs.B, bbox: BB['r' + rs.B], a: 1, mask: 'r2025_w' },
+ detA: det ? { tex: det.A, bbox: BB[det.A], a: det.a, mask: det.A.startsWith('ko') ? det.A + '_w' : null, grow: det.grow || null } : null,
+ detB: det && det.B ? { tex: det.B, bbox: BB[det.B], a: det.a, mask: det.B + '_w' } : null,
+ },
+ scan2: rs.scan, scanDir2: rs.dir, glow2: rs.glow, scan4, scanDir4: 1, glow4, grow,
+ ...mapState(t, cam), mapBox: P.mapfield.plate,
+ contrast: 1 + 0.12 * ss(seg(t, T.rewind, T.y1977)) + 0.2 * ss(seg(t, T.push0, T.arrive)) * (1 - ss(seg(t, T.whip, T.north))),
+ grey, waterCol, shade: clamp(shade), expo: 1, blur, blurVec: bdir,
+ clarity: 0.35 + 0.6 * ss(seg(Math.log(alt), Math.log(400), Math.log(60))) + 0.25 * ss(seg(t, T.push0, T.arrive)) * (1 - ss(seg(t, T.whip, T.north))), detail: 0.8 + 0.6 * ss(seg(Math.log(alt), Math.log(400), Math.log(60))),
+ dim: 0.38 * ss(seg(t, T.end, T.end + 0.8)),
+ });
+
+ ctx.clearRect(0, 0, W, H);
+ drawMap(t, cam);
+ drawRings(t, cam);
+ drawMuynak(t, cam);
+ drawNorth(t, cam);
+ drawRelabel(t, cam);
+ drawHud(t, cam);
+ drawReadouts(t, cam);
+ drawSubs(t);
+ drawEnd(t, cam);
+ return endTexts();
+}
+
+// ------------------------------------------------------------------ map layer (the claim)
+// A printed atlas page lies over the imagery: at orbit only its blue sea; as we fall, the whole page
+// (paper, waterlines, coast, graticule, rivers, serif names). At touchdown a scan bar sweeps it off.
+const MAP_LABEL = [60.42, 45.17];
+const WIPE = { t0: T.touch - 0.04, t1: T.touch + 0.30 };
+function wipeLat(t, cam) {
+ if (t < WIPE.t0) return 90;
+ const top = unproject(cam, W / 2, -40), bot = unproject(cam, W / 2, H + 40);
+ const n = top ? top[0] : 47, s_ = bot ? bot[0] : 43;
+ return t >= WIPE.t1 ? -90 : lerp(n, s_, ei(seg(t, WIPE.t0, WIPE.t1)) * .35 + seg(t, WIPE.t0, WIPE.t1) * .65);
+}
+function mapState(t, cam) {
+ const on = ss(seg(t, T.mapOn, T.mapOn + 0.25));
+ const page = ss(seg(Math.log(cam.alt), Math.log(1500), Math.log(520)));
+ const alive = t < WIPE.t1 ? 1 : 0;
+ return { map: page * alive * on, mapSea: on * alive * (0.62 + 0.3 * page), mapWipe: wipeLat(t, cam) };
+}
+function drawMap(t, cam) {
+ const on = ss(seg(t, T.mapOn, T.mapOn + 0.25));
+ if (on <= 0 || t > T.y1977 + 1) return;
+ const ms = mapState(t, cam);
+ const page = ms.map;
+ // everything printed on the page goes with the scan; the sea's name stays behind over the sand
+ const wl = ms.mapWipe;
+ let clipY = -1e4;
+ if (wl < 89) { const p = project(cam, Math.max(-89, wl), cam.tgt.lon); clipY = wl < -89 ? H + 1e4 : p[1]; }
+ ctx.save();
+ ctx.beginPath(); ctx.rect(0, clipY, W, H + 2e4); ctx.clip();
+ // rivers (ink blue) and their names, towns
+ const ink = 'rgba(46,92,150,1)';
+ if (page > 0.01 && V.rivers) {
+ hair(ctx, () => { for (const k in V.rivers) for (const l of V.rivers[k]) pathLL(ctx, cam, l); }, { w: 1.6, col: ink, alpha: page * 0.85, halo: 0 });
+ }
+ // town dots (no names: the only lettering on this page is the sea's own name)
+ for (const [lo, la] of [[61.67, 46.79], [59.03, 43.77]]) {
+ const [x, y, vis] = project(cam, la, lo);
+ if (!vis) continue;
+ ctx.save(); ctx.globalAlpha = page; ctx.fillStyle = '#3A2E26'; ctx.beginPath(); ctx.arc(x, y, 5, 0, 6.2832); ctx.fill();
+ ctx.lineWidth = 1.5; ctx.strokeStyle = '#3A2E26'; ctx.beginPath(); ctx.arc(x, y, 9, 0, 6.2832); ctx.stroke(); ctx.restore();
+ }
+ ctx.restore();
+ // the sea's name, in the map's serif: it outlives the page and floats over the sand until the rewind
+ const la = on * (1 - ss(seg(t, T.rewind, T.rewind + 0.4)));
+ let [x, y, vis] = project(cam, MAP_LABEL[1], MAP_LABEL[0]);
+ const pinU = ss(seg(t, T.touch - 0.4, T.touch + 0.45)); // the name drifts to the centre and outlives the page
+ x = lerp(x, W / 2, pinU); y = lerp(y, H / 2 - 40, pinU); vis = vis || pinU > 0.5;
+ if (vis && la > 0) {
+ const sz = lerp(46, 150, ss(seg(Math.log(4500 / cam.alt), 0, Math.log(4500 / 150))));
+ const over = t >= WIPE.t0 + 0.12; // over the sand: pale ink with a dark halo; on the page: map ink
+ const col = over ? C.mapInk : '#1F3F6B';
+ text(ctx, '咸 海', x, y, { font: `600 ${Math.round(sz)}px SS`, col, align: 'center', track: Math.round(sz * 0.12), alpha: la, halo: over || page < 0.5 ? 10 : 0, id: 'map-name' });
+ text(ctx, '地图 · 约 68,000 km²', x, y + sz * 0.42 + 28, { font: `500 ${Math.round(lerp(22, 30, sz / 150))}px SC`, col, align: 'center', track: 1, alpha: la * ss(seg(t, T.mapOn + 0.3, T.mapOn + 0.6)), halo: over || page < 0.5 ? 6 : 0, id: 'map-claim' });
+ }
+}
+
+// ------------------------------------------------------------------ the rings (signature shot)
+const lc = document.createElement('canvas'); lc.width = W; lc.height = H; const lx = lc.getContext('2d');
+function lostBand(cam, yPrev, yNew) { // the water lost between two rings, as a filled band (offscreen)
+ lx.clearRect(0, 0, W, H);
+ lx.globalCompositeOperation = 'source-over'; lx.fillStyle = '#fff';
+ lx.beginPath(); for (const l of V.rings[yPrev]) pathLL(lx, cam, l, { close: true }); lx.fill('evenodd');
+ lx.globalCompositeOperation = 'destination-out';
+ lx.beginPath(); for (const l of V.rings[yNew]) pathLL(lx, cam, l, { close: true }); lx.fill('evenodd');
+ lx.globalCompositeOperation = 'source-over';
+ return lc;
+}
+function focusMask(t, cam) { // the analyst dims everything outside the old sea while the rings are read
+ const a = 0.42 * ss(seg(t, T.y1977 - 0.3, T.y1977 + 0.4)) * (1 - ss(seg(t, T.push0, T.push0 + 1.0)));
+ if (a <= 0.003) return;
+ ctx.save(); ctx.beginPath(); ctx.rect(0, 0, W, H);
+ for (const r of V.historic) pathLL(ctx, cam, r, { close: true });
+ ctx.fillStyle = `rgba(3,6,9,${a})`; ctx.fill('evenodd');
+ hair(ctx, () => { for (const r of V.historic) pathLL(ctx, cam, r, { close: true }); }, { w: 1.2, col: C.mapLine, alpha: a * 1.6, dash: [6, 7], halo: 0 });
+ ctx.restore();
+}
+const LONG = {};
+function longest(y) { if (!(y in LONG)) LONG[y] = (V.rings[y] || []).reduce((m, l) => (l.length > (m ? m.length : 0) ? l : m), null); return LONG[y]; }
+function drawRings(t, cam) {
+ if (t < T.y1977 - 0.3) return;
+ focusMask(t, cam);
+ // the band each step takes away flashes, then stays as a faint layer
+ for (let i = 1; i < RINGS.length; i++) {
+ const r = RINGS[i], ag = t - r.t;
+ if (ag < 0 || t > T.whip) continue;
+ const fa = (0.30 * Math.exp(-ag * 3.2) + 0.05) * (1 - ss(seg(t, T.push0 + 0.4, T.push0 + 1.4)));
+ if (fa < 0.004) continue;
+ ctx.save(); ctx.globalAlpha = fa; ctx.drawImage(lostBand(cam, RINGS[i - 1].year, r.year), 0, 0); ctx.restore();
+ }
+ const fadeNorth = 1 - 0.85 * ss(seg(t, T.whip - 0.2, T.north));
+ const back = ss(seg(t, T.pull + 0.8, T.pull + 2.4));
+ const mDim = 1 - 0.72 * ss(seg(t, T.push0 + 0.3, T.push0 + 1.3)) * (1 - ss(seg(t, T.whip - 0.2, T.north))); // at Muynak only the 1977 shore speaks
+ const global = clamp(fadeNorth + back * 0.85) * mDim * (1 - ss(seg(t, T.end - 0.2, T.end + 0.6))) * (1 - ss(seg(Math.log(cam.alt), Math.log(900), Math.log(2200))));
+ const printed = YEARS.filter(y => ringScan(y, t) !== null);
+ const newest = printed[printed.length - 1];
+ for (const y of printed) {
+ const sl = ringScan(y, t);
+ const age = t - (RINGS.find(r => r.year === y).t);
+ const isNew = y === newest && t < T.y2025 + 0.9;
+ const a = (isNew ? 1 : 0.78) * global;
+ const flash = (age >= 0 ? Math.exp(-age * 5) : 0) + (y === 2025 && t > T.y2025 + 0.5 && t < T.push0 + 0.5 ? 0.35 * (0.5 + 0.5 * Math.sin((t - T.y2025) * Math.PI * 2 / (BEAT * 2))) : 0);
+ hair(ctx, () => { for (const l of V.rings[y]) pathLL(ctx, cam, l, { keep: (lo, la) => la > sl }); },
+ { w: isNew ? 2.6 + 2.0 * flash : 1.7, alpha: a, col: C.ink, halo: 3.4, haloCol: 'rgba(3,6,8,.62)' });
+ }
+ // the analyst traces the newest shore: a bright comet runs along its longest outline after it lands
+ if (newest && t < T.push0 + 0.6) {
+ const r = RINGS.find(r => r.year === newest), ag = t - r.t;
+ const L = longest(newest);
+ if (ag > 0.1 && L) {
+ const u = ((ag - 0.1) / 1.6) % 1, n = L.length, i0 = Math.floor(u * n), len = Math.max(6, Math.floor(n * 0.07));
+ const seg2 = []; for (let k = 0; k < len; k++) seg2.push(L[(i0 + k) % n]);
+ const ca = 0.95 * Math.min(1, ag * 3) * (1 - ss(seg(t, T.push0, T.push0 + 0.6)));
+ hair(ctx, () => pathLL(ctx, cam, seg2), { w: 4.2, alpha: ca * global, col: '#FFFFFF', halo: 6, haloCol: 'rgba(200,225,255,.25)', cap: 'round' });
+ }
+ }
+ // transect across the eastern basin: ticks where each ring crosses it, year labels along it
+ const ta = global * ss(seg(t, T.y1977 + 0.2, T.y1977 + 0.7)) * (1 - ss(seg(t, T.push0 + 0.3, T.push0 + 1.2)) * 0.9);
+ if (ta > 0.01) {
+ printed.forEach((y, i) => {
+ const c = V.cross[y]; if (!c) return;
+ const [x, yy] = project(cam, c[1], c[0]);
+ const ag = t - (RINGS.find(r => r.year === y).t);
+ const la = ta * ss(seg(ag, 0, 0.18));
+ const up = i % 2 === 0, L = 30 + (i % 4 >= 2 ? 26 : 0);
+ hair(ctx, () => { ctx.moveTo(x, yy); ctx.lineTo(x, yy + (up ? -L : L)); }, { w: 1.2, alpha: la * 0.85, halo: 2 });
+ text(ctx, String(y), x, yy + (up ? -L - 8 : L + 24), { font: '500 24px PM', align: 'center', alpha: la * (y === newest ? 1 : 0.85), halo: 7, id: 'ring-' + y });
+ });
+ }
+}
+
+// ------------------------------------------------------------------ Muynak and the range line
+let SHORE77 = null;
+function shore77() { // the 1977 shoreline within 40 km of the old port, as measured on the Landsat mosaic
+ if (SHORE77) return SHORE77;
+ const mu = V.points.muynak, k = 111.32 * Math.cos(45 * Math.PI / 180);
+ const d = p => Math.hypot((p[0] - mu[0]) * k, (p[1] - mu[1]) * 110.57);
+ let best = null;
+ V.rings['1977'].forEach((L, i) => L.forEach((p, j) => { const v = d(p); if (!best || v < best.v) best = { v, i, j }; }));
+ const L = V.rings['1977'][best.i];
+ let a = best.j, b = best.j;
+ while (a > 0 && d(L[a - 1]) < 40) a--;
+ while (b < L.length - 1 && d(L[b + 1]) < 40) b++;
+ const dense = []; // resample so the line can be drawn on from the port outwards
+ for (let q = a; q < b; q++) for (let s = 0; s < 6; s++) dense.push([lerp(L[q][0], L[q + 1][0], s / 6), lerp(L[q][1], L[q + 1][1], s / 6)]);
+ dense.push(L[b]);
+ const c = (best.j - a) * 6;
+ let lab = dense[Math.min(dense.length - 1, c + 30)]; // the label sits on the shore north-east of the port
+ for (let q = c; q < dense.length; q++) if (d(dense[q]) > 12) { lab = dense[q]; break; }
+ SHORE77 = { pts: dense, c, lab };
+ return SHORE77;
+}
+function drawPortLock(t, cam) {
+ if (t < T.portLock - BEAT || t > T.arrive + 0.8) return;
+ const mu = V.points.muynak;
+ const [px, py] = project(cam, mu[1], mu[0]);
+ const lockU = eo(seg(t, T.portLock - 0.5, T.portLock));
+ const wander = [px + 150 * Math.cos(t * 4.1) * (1 - lockU), py - 90 * Math.sin(t * 3.3) * (1 - lockU)];
+ const r = lerp(140, 62, lockU) + 10 * Math.exp(-Math.max(0, t - T.portLock) * 9) - 26 * ss(seg(t, T.arrive - 0.4, T.arrive + 0.2));
+ const a = ss(seg(t, T.portLock - BEAT, T.portLock - BEAT + 0.2)) * (1 - ss(seg(t, T.arrive + 0.2, T.arrive + 0.8)));
+ brackets(ctx, wander[0] - r, wander[1] - r, wander[0] + r, wander[1] + r, { len: 20, alpha: a, w: 2.2 });
+ tick(ctx, wander[0], wander[1], 6, { alpha: a * lockU, w: 2 });
+}
+function drawShore77(t, cam) {
+ if (t < T.shore77 - 0.1 || t > T.north + 0.4) return;
+ const S = shore77();
+ // the water of 1977 that is gone today, as a faint wash: the port sat at its edge
+ const wa = 0.13 * ss(seg(t, T.shore77 + 0.2, T.shore77 + 0.8)) * (1 - ss(seg(t, T.whip, T.whip + 0.3)));
+ if (wa > 0.003) { ctx.save(); ctx.globalAlpha = wa; ctx.drawImage(lostBand(cam, 1977, 2025), 0, 0); ctx.restore(); }
+ const g = eo(seg(t, T.shore77, T.shore77 + 0.6));
+ const a = 1 - ss(seg(t, T.whip, T.whip + 0.3));
+ const n = S.pts.length, lo = Math.max(0, Math.floor(S.c - S.c * g)), hi = Math.min(n, Math.ceil(S.c + (n - S.c) * g));
+ if (hi - lo >= 2) hair(ctx, () => pathLL(ctx, cam, S.pts.slice(lo, hi)), { w: 2.4, alpha: a, halo: 4, haloCol: 'rgba(3,6,8,.6)', dash: [10, 6] });
+ const la = ss(seg(t, T.shore77 + 0.3, T.shore77 + 0.55)) * a;
+ if (la > 0) {
+ const [x, y] = project(cam, S.lab[1], S.lab[0]);
+ hair(ctx, () => { ctx.moveTo(x, y); ctx.lineTo(x + 26, y - 30); ctx.lineTo(x + 46, y - 30); }, { w: 1.3, alpha: la });
+ text(ctx, '1977 年岸线', x + 52, y - 21, { font: '500 28px SC', alpha: la, track: 1, id: 'shore77' });
+ }
+}
+function drawMuynak(t, cam) {
+ drawPortLock(t, cam);
+ if (t < T.push0 || t > T.north + 0.4) return;
+ const mu = V.points.muynak, ed = V.points.edge;
+ const [mx, my] = project(cam, mu[1], mu[0]);
+ // the analyst's focus while we push in and land: everything away from the port is dimmed
+ const fa = 0.5 * ss(seg(t, T.push0, T.push0 + 0.6)) * (1 - ss(seg(t, T.range0, T.range0 + 0.6)));
+ if (fa > 0.005) {
+ const g = ctx.createRadialGradient(mx, my, 160, mx, my, 760);
+ g.addColorStop(0, 'rgba(3,6,9,0)'); g.addColorStop(1, `rgba(3,6,9,${fa})`);
+ ctx.fillStyle = g; ctx.fillRect(0, 0, W, H);
+ }
+ drawShore77(t, cam);
+ const [ex, ey] = project(cam, ed[1], ed[0]);
+ // the analyst's focus: a corridor around the measurement stays lit, the rest of the sea floor is dimmed
+ const va = 0.34 * ss(seg(t, T.range0, T.range0 + 0.5)) * (1 - ss(seg(t, T.whip - 0.1, T.whip + 0.3)));
+ if (va > 0.005) { // the corridor opens with the line: from the port to the tip
+ const gg = eio(seg(t, T.range0, T.rangeEnd));
+ const [ex, ey] = project(cam, lerp(mu[1], ed[1], gg), lerp(mu[0], ed[0], gg));
+ const kmpx = cam.alt / cam.F, r = 26 / kmpx; // 26 km either side of the line
+ const dx = ex - mx, dy = ey - my, L = Math.hypot(dx, dy) || 1, nx = -dy / L * r, ny = dx / L * r;
+ const ang = Math.atan2(dy, dx);
+ ctx.save(); ctx.beginPath(); ctx.rect(-50, -50, W + 100, H + 100);
+ ctx.moveTo(mx + nx, my + ny); ctx.lineTo(ex + nx, ey + ny);
+ ctx.arc(ex, ey, r, ang + Math.PI / 2, ang - Math.PI / 2, true);
+ ctx.lineTo(mx - nx, my - ny);
+ ctx.arc(mx, my, r, ang - Math.PI / 2, ang + Math.PI / 2, true);
+ ctx.closePath();
+ ctx.filter = 'blur(40px)'; ctx.fillStyle = `rgba(3,6,9,${va})`; ctx.fill('evenodd'); ctx.restore();
+ }
+ const a = ss(seg(t, T.muynak - 0.05, T.muynak + 0.25)) * (1 - ss(seg(t, T.whip, T.whip + 0.3)));
+ if (a <= 0) return;
+ // port marker + label
+ hair(ctx, () => { ctx.arc(mx, my, 11, 0, 6.2832); }, { w: 2, alpha: a, halo: 4 });
+ tick(ctx, mx, my, 4, { alpha: a, w: 2 });
+ hair(ctx, () => { ctx.moveTo(mx + 12, my + 9); ctx.lineTo(mx + 46, my + 40); ctx.lineTo(mx + 70, my + 40); }, { w: 1.4, alpha: a * 0.9 });
+ text(ctx, '莫伊纳克', mx + 76, my + 52, { font: '500 42px SC', alpha: a, track: 2, id: 'muynak' });
+ text(ctx, '旧渔港', mx + 79, my + 90, { font: '400 26px SC', alpha: a * 0.9, track: 2, id: 'muynak-port' });
+ if (t < T.range0) return;
+ // the range line grows from the old port; the camera chases its tip
+ const g = eio(seg(t, T.range0, T.rangeEnd));
+ const lon = lerp(mu[0], ed[0], g), lat = lerp(mu[1], ed[1], g);
+ const [tx, ty] = project(cam, lat, lon);
+ const la = ss(seg(t, T.range0, T.range0 + 0.15)) * (1 - ss(seg(t, T.whip, T.whip + 0.25)));
+ hair(ctx, () => { ctx.moveTo(mx, my); ctx.lineTo(tx, ty); }, { w: 4, alpha: la, halo: 6, haloCol: 'rgba(3,6,8,.7)', cap: 'round' });
+ // ticks every 10 km (long every 50 km), each with a small number
+ const D = V.points.dist_km, n = Math.floor(D * g / 10);
+ const dx = tx - mx, dy = ty - my, L = Math.hypot(dx, dy) || 1, nx = -dy / L, ny = dx / L;
+ for (let i = 1; i <= n; i++) {
+ const f = (i * 10) / D;
+ const [x, y] = project(cam, lerp(mu[1], ed[1], f), lerp(mu[0], ed[0], f));
+ const k = i % 5 === 0 ? 16 : 9;
+ hair(ctx, () => { ctx.moveTo(x - nx * k, y - ny * k); ctx.lineTo(x + nx * k, y + ny * k); }, { w: 2, alpha: la, halo: 3 });
+ if (i % 5 === 0) text(ctx, String(i * 10), x + nx * 30, y + ny * 30 + 8, { font: '500 22px PM', align: 'center', alpha: la * 0.9, halo: 6 });
+ }
+ // after the reading lands, a glint travels the line from the port to the sea, again and again
+ if (t > T.rangeEnd) {
+ for (let k = 0; k < 3; k++) {
+ const u = ((t - T.rangeEnd) / 0.9 + k / 3) % 1;
+ const [gx, gy] = project(cam, lerp(mu[1], ed[1], u), lerp(mu[0], ed[0], u));
+ ctx.save(); ctx.globalAlpha = la * 0.9 * Math.sin(Math.PI * u);
+ const gr = ctx.createRadialGradient(gx, gy, 0, gx, gy, 20); gr.addColorStop(0, 'rgba(255,255,255,.95)'); gr.addColorStop(1, 'rgba(255,255,255,0)');
+ ctx.fillStyle = gr; ctx.fillRect(gx - 20, gy - 20, 40, 40); ctx.restore();
+ }
+ }
+ // tip reticle with the distance rolling beside it
+ const pop = 1 + 0.25 * Math.exp(-Math.max(0, t - T.rangeEnd) * 8) * (t >= T.rangeEnd ? 1 : 0);
+ const rr = 18 * pop;
+ brackets(ctx, tx - rr, ty - rr, tx + rr, ty + rr, { len: 8, w: 2, alpha: la });
+ const km = Math.round(D * g), tipA = la * (1 - ss(seg(t, T.rangeEnd + 0.6, T.rangeEnd + 1.2)));
+ text(ctx, km + ' km', tx - 28, ty + 54, { font: '500 44px BC', align: 'right', alpha: tipA, halo: 10, col: C.ink, id: 'tip-km', rep: V.points.dist_txt + ' km' });
+ // the destination is marked first, then the line reaches it
+ const ea = ss(seg(t, T.rangeEnd - 2 * BEAT, T.rangeEnd - 2 * BEAT + 0.25)) * (1 - ss(seg(t, T.whip, T.whip + 0.25)));
+ if (ea > 0) {
+ const land = ss(seg(t, T.rangeEnd - 0.1, T.rangeEnd + 0.25));
+ hair(ctx, () => { ctx.arc(ex, ey, 10 + 28 * (1 - land), 0, 6.2832); }, { w: 2, alpha: ea, halo: 4 });
+ text(ctx, '今天的海边', ex - 24, ey - 34, { font: '500 34px SC', alpha: ea, align: 'right', track: 2, id: 'edge' });
+ }
+}
+
+// ------------------------------------------------------------------ north: the dam and the rings that grow back
+function drawNorth(t, cam) {
+ if (t < T.north - 0.1) return;
+ const out = 1 - ss(seg(t, T.end - 0.3, T.end + 0.4));
+ const g = ss(seg(t, T.north + 0.05, T.dam));
+ // dense polyline along the dike so it can be drawn on progressively
+ const pts = []; for (let i = 0; i < G.dam.length - 1; i++) for (let k = 0; k < 20; k++) { const u = k / 20; pts.push([lerp(G.dam[i][0], G.dam[i + 1][0], u), lerp(G.dam[i][1], G.dam[i + 1][1], u)]); }
+ pts.push(G.dam[G.dam.length - 1]);
+ const da = out * (1 - 0.4 * ss(seg(t, T.pull + 0.5, T.pull + 2)));
+ hair(ctx, () => pathLL(ctx, cam, pts, { frac: g }), { w: 3.0, alpha: da, cap: 'round' });
+ const la = ss(seg(t, T.dam - 0.1, T.dam + 0.3)) * out * (1 - ss(seg(t, T.pull + 0.6, T.pull + 1.4)));
+ if (la > 0) {
+ let [x, y] = project(cam, G.dam[2][1], (G.dam[1][0] + G.dam[2][0]) / 2);
+ x = clamp(x, 80, W - 640); y = clamp(y, 140, H - 300); // the label stays in frame while the camera pushes in
+ hair(ctx, () => { ctx.moveTo(x, y + 6); ctx.lineTo(x + 30, y + 64); ctx.lineTo(x + 60, y + 64); }, { w: 1.1, alpha: la });
+ text(ctx, '科卡拉尔大坝', x + 66, y + 78, { font: '500 42px SC', alpha: la, track: 2, id: 'dam' });
+ text(ctx, '2005 年建成 · 长 13 km', x + 68, y + 118, { font: '400 26px SC', alpha: la * 0.9, track: 1, id: 'dam-note' });
+ }
+ // rings 2001 (inner) -> 2009 (outer)
+ const ra = out * (1 - 0.5 * ss(seg(t, T.pull + 0.6, T.pull + 2)));
+ const s01 = ss(seg(t, T.n2001 - 0.3, T.n2001 + 0.2));
+ if (s01 > 0 && V.north['2001']) hair(ctx, () => { for (const l of V.north['2001']) pathLL(ctx, cam, l); }, { w: t < T.n2009 ? 1.8 : 1.15, alpha: ra * s01 * (t < T.n2009 ? 1 : 0.62), halo: 2.6 });
+ if (t >= T.n2009 && V.north['2009']) { // the new shore is stamped when the water reaches it
+ const fl = Math.exp(-Math.max(0, t - T.n2009) * 5);
+ hair(ctx, () => { for (const l of V.north['2009']) pathLL(ctx, cam, l); }, { w: 1.8 + 1.6 * fl, alpha: ra * ss(seg(t, T.n2009, T.n2009 + 0.08)), halo: 2.6 });
+ // and a light runs along it while the narrator speaks
+ const L = (V.north['2009'] || []).reduce((m, l) => (l.length > (m ? m.length : 0) ? l : m), null);
+ const ag = t - T.n2009;
+ if (L && ag > 0.15 && t < T.pull + 0.6) {
+ const u = ((ag - 0.15) / 1.8) % 1, n = L.length, i0 = Math.floor(u * n), len = Math.max(6, Math.floor(n * 0.06));
+ const seg2 = []; for (let k = 0; k < len; k++) seg2.push(L[(i0 + k) % n]);
+ hair(ctx, () => pathLL(ctx, cam, seg2), { w: 4.2, alpha: ra * 0.9 * Math.min(1, ag * 3) * (1 - ss(seg(t, T.pull, T.pull + 0.6))), col: '#FFFFFF', halo: 6, haloCol: 'rgba(200,225,255,.25)', cap: 'round' });
+ }
+ }
+ for (const [y, k] of [[2001, 'n01'], [2009, 'n09']]) {
+ const c = V.ncross && V.ncross[y]; if (!c) continue;
+ const at = y === 2001 ? T.n2001 : T.n2009;
+ const a2 = ss(seg(t, at, at + 0.2)) * out * (1 - ss(seg(t, T.pull + 0.4, T.pull + 1.2)));
+ const [x, yy] = project(cam, c[1], c[0]);
+ tick(ctx, x, yy, 5, { alpha: a2 });
+ text(ctx, String(y), x + 9, yy - 12, { font: '500 24px PM', alpha: a2, halo: 7, id: 'nring-' + y });
+ }
+}
+
+// ------------------------------------------------------------------ the label moves to the only sea left
+function drawRelabel(t, cam) {
+ const a = ss(seg(t, T.relabel - 0.5, T.relabel - 0.2)) * (1 - ss(seg(t, T.end - 0.3, T.end + 0.1)));
+ if (a <= 0) return;
+ const u = eio(seg(t, T.relabel - 0.2, T.relabel + BEAT));
+ const from = [59.75, 45.15], to = G.north;
+ const [x, y, vis] = project(cam, lerp(from[1], to[1], u), lerp(from[0], to[0], u));
+ if (!vis) return;
+ const pin = Math.exp(-Math.max(0, t - T.relabel - BEAT) * 6) * (t > T.relabel + BEAT ? 1 : 0);
+ text(ctx, '咸 海', x, y, { font: `600 ${Math.round(54 + 10 * pin)}px SS`, col: C.mapInk, align: 'center', track: 6, alpha: a, halo: 10, id: 'map-name-2' });
+}
+
+// ------------------------------------------------------------------ instruments: lock, altitude, scale, credit
+function drawHud(t, cam) {
+ const hudA = 1 - ss(seg(t, T.end - 0.2, T.end + 0.3));
+ // lock brackets (opening): search, then lock on the sea
+ if (t < T.dive0 + 2.3) {
+ const [ax, ay, vis] = project(cam, 45.15, 59.75);
+ const lockU = eo(seg(t, T.lock - 0.25, T.lock));
+ const wander = [ax + 210 * Math.cos(t * 3.1) * (1 - lockU), ay - 120 * Math.sin(t * 2.3) * (1 - lockU)];
+ const r = lerp(150, 84, lockU) + 10 * Math.exp(-Math.max(0, t - T.lock) * 9);
+ const a = ss(seg(t, 0, 0.15)) * (1 - ss(seg(t, T.dive0 + 1.95, T.dive0 + 2.3)));
+ if (vis) {
+ brackets(ctx, wander[0] - r, wander[1] - r, wander[0] + r, wander[1] + r, { len: 24, alpha: a, w: 2 });
+ tick(ctx, wander[0], wander[1], 7, { alpha: a * lockU });
+ const ca = a * ss(seg(t, T.lock, T.lock + 0.2));
+ text(ctx, '北纬 45° 东经 60°', wander[0] - r, wander[1] - r - 14, { font: '400 24px SC', alpha: ca * 0.92, halo: 6, id: 'coords' });
+ }
+ }
+ // altitude
+ const altTxt = cam.alt > 100 ? fmt(Math.round(cam.alt / 10) * 10) : fmt(cam.alt);
+ const aa = hudA * ss(seg(t, 0.1, 0.4));
+ text(ctx, '高度', W - 236, 60, { font: '400 22px SC', alpha: aa * 0.8, halo: 5, id: 'alt-label' });
+ text(ctx, altTxt + ' km', W - 56, 60, { font: '400 22px PM', alpha: aa * 0.88, align: 'right', halo: 5 });
+ // scale bar (bottom right), when looking straight down
+ const sa = hudA * ss(seg(t, T.dive0 + 2.4, T.touch)) * (1 - ss(seg(t, T.pull + 2.4, T.pull + 3.2)));
+ if (sa > 0) {
+ const kmpx = cam.alt / cam.F;
+ const nice = [1, 2, 5, 10, 20, 25, 50, 100, 200, 250, 500];
+ let km = nice[0]; for (const n of nice) if (n / kmpx <= 240) km = n;
+ const L = km / kmpx, x1 = W - 56, x0 = x1 - L, y = 1000;
+ hair(ctx, () => { ctx.moveTo(x0, y - 6); ctx.lineTo(x0, y); ctx.lineTo(x1, y); ctx.lineTo(x1, y - 6); }, { w: 1.2, alpha: sa * 0.8, halo: 2 });
+ text(ctx, km + ' km', x1, y - 12, { font: '400 20px PM', align: 'right', alpha: sa * 0.8, halo: 5 });
+ }
+ // imagery credit (always legible: 17 px)
+ text(ctx, '影像 Landsat · USGS/NASA Blue Marble · NASA', W - 56, 1048, { font: '400 20px PM', align: 'right', alpha: 0.78 * ss(seg(t, 0, 0.3)), halo: 5, track: 0.2, id: 'credit' });
+}
+
+// ------------------------------------------------------------------ readouts: one per screen
+function drawReadouts(t, cam) {
+ // rewind: the year runs backwards
+ if (t >= T.rewind - 0.05 && t < T.y1977) {
+ let y = 2025;
+ for (const r of REWIND) if (t >= (r.t0 + r.t1) / 2) y = r.to;
+ const a = ss(seg(t, T.rewind - 0.05, T.rewind + 0.1));
+ text(ctx, String(y), 1380, 520, { font: '300 112px BC', alpha: a, halo: 12, col: C.ink });
+ }
+ // rings: share of the 1960 sea still under water, measured on each Landsat mosaic
+ if (t >= T.y1977 - 0.05 && t < T.push0 + 1.0) {
+ const a = ss(seg(t, T.y1977 - 0.05, T.y1977 + 0.15)) * (1 - ss(seg(t, T.push0 + 0.2, T.push0 + 1.0)));
+ // while a year is being scanned in, its year shows and the value rolls dimmed; it lands bright with the stamp
+ let pct = areaPct(1977), yr = 1977, rolling = false;
+ for (let i = 1; i < RINGS.length; i++) {
+ const r = RINGS[i];
+ if (t >= r.t - r.sweep) { const u = eo(seg(t, r.t - r.sweep, r.t)); pct = lerp(areaPct(RINGS[i - 1].year), areaPct(r.year), u); yr = r.year; rolling = t < r.t; }
+ }
+ const val = Math.round(pct) + '%';
+ text(ctx, String(yr), 1382, 398, { font: '400 34px PM', alpha: a * (rolling ? 0.55 : 0.92), halo: 6 });
+ readout(ctx, 1380, 540, { label: '还在水下的部分', value: val, alpha: a, id: 'rings', note: '地图上的海 = 100% · Landsat 测算', rep: Math.round(areaPct(2025)) + '%', dim: rolling ? 0.38 : 1 });
+ }
+ // Muynak distance
+ if (t >= T.range0 - 0.1 && t < T.whip + 0.2) { // the reading counts up with the line and lands with it
+ const a = ss(seg(t, T.range0 - 0.1, T.range0 + 0.15)) * (1 - ss(seg(t, T.whip - 0.05, T.whip + 0.2)));
+ const g = eio(seg(t, T.range0, T.rangeEnd));
+ const val = t >= T.rangeEnd ? V.points.dist_txt : String(Math.round(V.points.dist_km * g));
+ const pop = Math.exp(-Math.max(0, t - T.rangeEnd) * 7) * (t >= T.rangeEnd ? 1 : 0);
+ readout(ctx, 1380, 330, { label: '旧港口到今天的海边', value: val, unit: 'km', alpha: a, id: 'dist', note: '2025 年 Landsat 影像实测', rep: V.points.dist_txt, size: Math.round(112 * (1 + 0.08 * pop)) });
+ }
+ // north: area back
+ if (t >= T.n2009 - 0.02 && t < T.pull + 1.6) {
+ const a = ss(seg(t, T.n2009 - 0.02, T.n2009 + 0.2)) * (1 - ss(seg(t, T.pull + 1.0, T.pull + 1.6)));
+ readout(ctx, 1380, 560, { label: '北咸海水面', value: '+37%', alpha: a, id: 'north', note: '2001→2009 · 世界银行' });
+ }
+}
+
+function drawSubs(t) {
+ for (const c of CUES) {
+ if (t < c.t0 || t > c.t1) continue;
+ const a = ss(seg(t, c.t0, c.t0 + 0.12)) * (1 - ss(seg(t, c.t1 - 0.12, c.t1)));
+ subtitle(ctx, c.zh, c.en, a, c.id);
+ }
+}
+
+// ------------------------------------------------------------------ end card: the lock brackets open into the frame
+function drawEnd(t, cam) {
+ if (t < T.end - 0.1) return;
+ const u = eo(seg(t, T.end, T.end + 0.7));
+ const [ax, ay] = project(cam, 46.48, 60.72);
+ const br = 14 * seg(t, T.end + 0.7, T.dur);
+ const X0 = lerp(ax - 40, 150, u) - br, Y0 = lerp(ay - 40, 330, u) - br, X1 = lerp(ax + 40, 1010, u) + br, Y1 = lerp(ay + 40, 760, u) + br;
+ brackets(ctx, X0, Y0, X1, Y1, { len: 30, alpha: ss(seg(t, T.end - 0.1, T.end + 0.1)) });
+ // one last satellite pass: a soft band of light sweeps down the frame behind the card
+ const pu = seg(t, T.end + 0.9, T.dur - 0.2);
+ if (pu > 0 && pu < 1) {
+ const yb = lerp(-120, H + 120, ss(pu));
+ const g = ctx.createLinearGradient(0, yb - 120, 0, yb + 6);
+ g.addColorStop(0, 'rgba(220,235,255,0)'); g.addColorStop(0.92, 'rgba(220,235,255,.10)'); g.addColorStop(1, 'rgba(240,248,255,.32)');
+ ctx.save(); ctx.globalCompositeOperation = 'screen'; ctx.fillStyle = g; ctx.fillRect(0, yb - 120, W, 126); ctx.restore();
+ }
+ const a1 = ss(seg(t, T.end + 0.12, T.end + 0.32)), a2 = ss(seg(t, T.end + 0.2, T.end + 0.4)), a3 = ss(seg(t, T.end + 0.28, T.end + 0.48));
+ text(ctx, '地图上还写着海', 210, 470, { font: '600 84px SS', col: C.mapInk, track: 8, alpha: a1, halo: 14, id: 'title' });
+ text(ctx, 'The Map Still Says Sea', 214, 532, { font: '400 36px BC', track: 2, alpha: a2, halo: 8, id: 'title-en' });
+ hair(ctx, () => { ctx.moveTo(214, 572); ctx.lineTo(214 + 600 * a2, 572); }, { w: 1, alpha: a2 * 0.6, halo: 0 });
+ const sw = text(ctx, 'SATELLITE BRIEFING', 214, 628, { font: '500 24px PM', track: 3, alpha: a3, halo: 6, id: 'style' });
+ text(ctx, '· 卫星简报', 214 + sw + 14, 628, { font: '500 24px SC', track: 3, alpha: a3, halo: 6, id: 'style-cn' });
+ text(ctx, 'LemoLab × Claude Opus 5.5', 214, 676, { font: '400 22px PM', track: 2, alpha: a3 * 0.85, halo: 6, id: 'sign' });
+}
+
+// ------------------------------------------------------------------ sound and cue events (exported by events.mjs)
+function events() {
+ const E = [];
+ const ev = (t, type, o = {}) => E.push({ t: +t.toFixed(4), type, ...o });
+ ev(0, 'orbit_bed'); ev(0.12, 'servo'); ev(T.lock, 'lock'); ev(T.lock + 0.15, 'coords');
+ ev(T.mapOn, 'map_on'); ev(T.dive0, 'dive', { to: T.touch }); ev(T.grey0, 'drain_colour');
+ ev(T.touch, 'touch'); ev(T.touch + 0.02, 'map_drain'); ev(T.touch, 'silence', { to: T.rewind });
+ ev(T.rewind, 'rewind', { to: T.y1977 });
+ for (const r of REWIND) ev(r.t0, 'scan_up', { dur: r.t1 - r.t0 });
+ ev(T.y1977, 'ring', { year: 1977, i: 0 });
+ RINGS.slice(1).forEach((r, i) => { ev(r.t - r.sweep, 'scan_down', { dur: r.sweep }); ev(r.t, 'ring', { year: r.year, i: i + 1 }); });
+ ev(T.y2025, 'stop');
+ ev(T.portLock - BEAT, 'servo'); ev(T.portLock, 'lock2');
+ ev(T.push0, 'push', { to: T.arrive }); ev(T.horn, 'horn'); ev(T.muynak, 'label'); ev(T.shore77, 'shore', { dur: 0.6 });
+ ev(T.range0, 'range', { to: T.rangeEnd, km: V.points.dist_km }); ev(T.rangeEnd - 2 * BEAT, 'mark'); ev(T.rangeEnd, 'range_end');
+ ev(T.sil2, 'silence', { to: T.water }); ev(T.water, 'water_in');
+ ev(T.whip, 'whip', { to: T.north }); ev(T.north, 'dam_draw', { to: T.dam }); ev(T.dam, 'dam');
+ ev(T.n2001, 'nring', { year: 2001 }); ev(T.n2009 - 0.55, 'scan_down', { dur: 0.55 }); ev(T.n2009, 'nring', { year: 2009 });
+ ev(T.pull, 'pull', { to: T.end }); ev(T.relabel - 0.2, 'slide'); ev(T.relabel + BEAT, 'pin');
+ ev(T.end, 'end'); ev(T.end + 0.6, 'lock_echo'); ev(T.end + 0.9, 'pass', { to: T.dur - 0.2 });
+ for (const L of VO) ev(L.t, 'vo', { id: L.id });
+ return E;
+}
+
+window.DUR = T.dur;
+window.render = t => { render(t); };
+window.TEXTS = t => render(t);
+init().catch(e => { console.error(e); throw e; });
diff --git a/styles/satellite-briefing/demo/fonts/OFL-barlow.txt b/styles/satellite-briefing/demo/fonts/OFL-barlow.txt
new file mode 100644
index 0000000..2f22ba6
--- /dev/null
+++ b/styles/satellite-briefing/demo/fonts/OFL-barlow.txt
@@ -0,0 +1,93 @@
+Copyright 2017 The Barlow Project Authors (https://github.com/jpt/barlow)
+
+This Font Software is licensed under the SIL Open Font License, Version 1.1.
+This license is copied below, and is also available with a FAQ at:
+http://scripts.sil.org/OFL
+
+
+-----------------------------------------------------------
+SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
+-----------------------------------------------------------
+
+PREAMBLE
+The goals of the Open Font License (OFL) are to stimulate worldwide
+development of collaborative font projects, to support the font creation
+efforts of academic and linguistic communities, and to provide a free and
+open framework in which fonts may be shared and improved in partnership
+with others.
+
+The OFL allows the licensed fonts to be used, studied, modified and
+redistributed freely as long as they are not sold by themselves. The
+fonts, including any derivative works, can be bundled, embedded,
+redistributed and/or sold with any software provided that any reserved
+names are not used by derivative works. The fonts and derivatives,
+however, cannot be released under any other type of license. The
+requirement for fonts to remain under this license does not apply
+to any document created using the fonts or their derivatives.
+
+DEFINITIONS
+"Font Software" refers to the set of files released by the Copyright
+Holder(s) under this license and clearly marked as such. This may
+include source files, build scripts and documentation.
+
+"Reserved Font Name" refers to any names specified as such after the
+copyright statement(s).
+
+"Original Version" refers to the collection of Font Software components as
+distributed by the Copyright Holder(s).
+
+"Modified Version" refers to any derivative made by adding to, deleting,
+or substituting -- in part or in whole -- any of the components of the
+Original Version, by changing formats or by porting the Font Software to a
+new environment.
+
+"Author" refers to any designer, engineer, programmer, technical
+writer or other person who contributed to the Font Software.
+
+PERMISSION & CONDITIONS
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of the Font Software, to use, study, copy, merge, embed, modify,
+redistribute, and sell modified and unmodified copies of the Font
+Software, subject to the following conditions:
+
+1) Neither the Font Software nor any of its individual components,
+in Original or Modified Versions, may be sold by itself.
+
+2) Original or Modified Versions of the Font Software may be bundled,
+redistributed and/or sold with any software, provided that each copy
+contains the above copyright notice and this license. These can be
+included either as stand-alone text files, human-readable headers or
+in the appropriate machine-readable metadata fields within text or
+binary files as long as those fields can be easily viewed by the user.
+
+3) No Modified Version of the Font Software may use the Reserved Font
+Name(s) unless explicit written permission is granted by the corresponding
+Copyright Holder. This restriction only applies to the primary font name as
+presented to the users.
+
+4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
+Software shall not be used to promote, endorse or advertise any
+Modified Version, except to acknowledge the contribution(s) of the
+Copyright Holder(s) and the Author(s) or with their explicit written
+permission.
+
+5) The Font Software, modified or unmodified, in part or in whole,
+must be distributed entirely under this license, and must not be
+distributed under any other license. The requirement for fonts to
+remain under this license does not apply to any document created
+using the Font Software.
+
+TERMINATION
+This license becomes null and void if any of the above conditions are
+not met.
+
+DISCLAIMER
+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
+COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
+DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
+OTHER DEALINGS IN THE FONT SOFTWARE.
diff --git a/styles/satellite-briefing/demo/fonts/OFL-ibmplexmono.txt b/styles/satellite-briefing/demo/fonts/OFL-ibmplexmono.txt
new file mode 100644
index 0000000..c35c4c6
--- /dev/null
+++ b/styles/satellite-briefing/demo/fonts/OFL-ibmplexmono.txt
@@ -0,0 +1,93 @@
+Copyright © 2017 IBM Corp. with Reserved Font Name "Plex"
+
+This Font Software is licensed under the SIL Open Font License, Version 1.1.
+
+This license is copied below, and is also available with a FAQ at: http://scripts.sil.org/OFL
+
+
+-----------------------------------------------------------
+SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
+-----------------------------------------------------------
+
+PREAMBLE
+The goals of the Open Font License (OFL) are to stimulate worldwide
+development of collaborative font projects, to support the font creation
+efforts of academic and linguistic communities, and to provide a free and
+open framework in which fonts may be shared and improved in partnership
+with others.
+
+The OFL allows the licensed fonts to be used, studied, modified and
+redistributed freely as long as they are not sold by themselves. The
+fonts, including any derivative works, can be bundled, embedded,
+redistributed and/or sold with any software provided that any reserved
+names are not used by derivative works. The fonts and derivatives,
+however, cannot be released under any other type of license. The
+requirement for fonts to remain under this license does not apply
+to any document created using the fonts or their derivatives.
+
+DEFINITIONS
+"Font Software" refers to the set of files released by the Copyright
+Holder(s) under this license and clearly marked as such. This may
+include source files, build scripts and documentation.
+
+"Reserved Font Name" refers to any names specified as such after the
+copyright statement(s).
+
+"Original Version" refers to the collection of Font Software components as
+distributed by the Copyright Holder(s).
+
+"Modified Version" refers to any derivative made by adding to, deleting,
+or substituting -- in part or in whole -- any of the components of the
+Original Version, by changing formats or by porting the Font Software to a
+new environment.
+
+"Author" refers to any designer, engineer, programmer, technical
+writer or other person who contributed to the Font Software.
+
+PERMISSION & CONDITIONS
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of the Font Software, to use, study, copy, merge, embed, modify,
+redistribute, and sell modified and unmodified copies of the Font
+Software, subject to the following conditions:
+
+1) Neither the Font Software nor any of its individual components,
+in Original or Modified Versions, may be sold by itself.
+
+2) Original or Modified Versions of the Font Software may be bundled,
+redistributed and/or sold with any software, provided that each copy
+contains the above copyright notice and this license. These can be
+included either as stand-alone text files, human-readable headers or
+in the appropriate machine-readable metadata fields within text or
+binary files as long as those fields can be easily viewed by the user.
+
+3) No Modified Version of the Font Software may use the Reserved Font
+Name(s) unless explicit written permission is granted by the corresponding
+Copyright Holder. This restriction only applies to the primary font name as
+presented to the users.
+
+4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
+Software shall not be used to promote, endorse or advertise any
+Modified Version, except to acknowledge the contribution(s) of the
+Copyright Holder(s) and the Author(s) or with their explicit written
+permission.
+
+5) The Font Software, modified or unmodified, in part or in whole,
+must be distributed entirely under this license, and must not be
+distributed under any other license. The requirement for fonts to
+remain under this license does not apply to any document created
+using the Font Software.
+
+TERMINATION
+This license becomes null and void if any of the above conditions are
+not met.
+
+DISCLAIMER
+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
+COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
+DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
+OTHER DEALINGS IN THE FONT SOFTWARE.
diff --git a/styles/satellite-briefing/demo/fonts/OFL-notosanssc.txt b/styles/satellite-briefing/demo/fonts/OFL-notosanssc.txt
new file mode 100644
index 0000000..1c9f432
--- /dev/null
+++ b/styles/satellite-briefing/demo/fonts/OFL-notosanssc.txt
@@ -0,0 +1,93 @@
+Copyright 2014-2021 Adobe (http://www.adobe.com/), with Reserved Font Name 'Source'
+
+This Font Software is licensed under the SIL Open Font License, Version 1.1.
+This license is copied below, and is also available with a FAQ at:
+https://scripts.sil.org/OFL
+
+
+-----------------------------------------------------------
+SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
+-----------------------------------------------------------
+
+PREAMBLE
+The goals of the Open Font License (OFL) are to stimulate worldwide
+development of collaborative font projects, to support the font creation
+efforts of academic and linguistic communities, and to provide a free and
+open framework in which fonts may be shared and improved in partnership
+with others.
+
+The OFL allows the licensed fonts to be used, studied, modified and
+redistributed freely as long as they are not sold by themselves. The
+fonts, including any derivative works, can be bundled, embedded,
+redistributed and/or sold with any software provided that any reserved
+names are not used by derivative works. The fonts and derivatives,
+however, cannot be released under any other type of license. The
+requirement for fonts to remain under this license does not apply
+to any document created using the fonts or their derivatives.
+
+DEFINITIONS
+"Font Software" refers to the set of files released by the Copyright
+Holder(s) under this license and clearly marked as such. This may
+include source files, build scripts and documentation.
+
+"Reserved Font Name" refers to any names specified as such after the
+copyright statement(s).
+
+"Original Version" refers to the collection of Font Software components as
+distributed by the Copyright Holder(s).
+
+"Modified Version" refers to any derivative made by adding to, deleting,
+or substituting -- in part or in whole -- any of the components of the
+Original Version, by changing formats or by porting the Font Software to a
+new environment.
+
+"Author" refers to any designer, engineer, programmer, technical
+writer or other person who contributed to the Font Software.
+
+PERMISSION & CONDITIONS
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of the Font Software, to use, study, copy, merge, embed, modify,
+redistribute, and sell modified and unmodified copies of the Font
+Software, subject to the following conditions:
+
+1) Neither the Font Software nor any of its individual components,
+in Original or Modified Versions, may be sold by itself.
+
+2) Original or Modified Versions of the Font Software may be bundled,
+redistributed and/or sold with any software, provided that each copy
+contains the above copyright notice and this license. These can be
+included either as stand-alone text files, human-readable headers or
+in the appropriate machine-readable metadata fields within text or
+binary files as long as those fields can be easily viewed by the user.
+
+3) No Modified Version of the Font Software may use the Reserved Font
+Name(s) unless explicit written permission is granted by the corresponding
+Copyright Holder. This restriction only applies to the primary font name as
+presented to the users.
+
+4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
+Software shall not be used to promote, endorse or advertise any
+Modified Version, except to acknowledge the contribution(s) of the
+Copyright Holder(s) and the Author(s) or with their explicit written
+permission.
+
+5) The Font Software, modified or unmodified, in part or in whole,
+must be distributed entirely under this license, and must not be
+distributed under any other license. The requirement for fonts to
+remain under this license does not apply to any document created
+using the Font Software.
+
+TERMINATION
+This license becomes null and void if any of the above conditions are
+not met.
+
+DISCLAIMER
+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
+COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
+DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
+OTHER DEALINGS IN THE FONT SOFTWARE.
diff --git a/styles/satellite-briefing/demo/fonts/OFL-notoserifsc.txt b/styles/satellite-briefing/demo/fonts/OFL-notoserifsc.txt
new file mode 100644
index 0000000..94d1bf7
--- /dev/null
+++ b/styles/satellite-briefing/demo/fonts/OFL-notoserifsc.txt
@@ -0,0 +1,94 @@
+Copyright 2012 Google Inc. All Rights Reserved.
+
+This Font Software is licensed under the SIL Open Font License,
+Version 1.1.
+
+This license is copied below, and is also available with a FAQ at:
+http://scripts.sil.org/OFL
+
+-----------------------------------------------------------
+SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
+-----------------------------------------------------------
+
+PREAMBLE
+The goals of the Open Font License (OFL) are to stimulate worldwide
+development of collaborative font projects, to support the font
+creation efforts of academic and linguistic communities, and to
+provide a free and open framework in which fonts may be shared and
+improved in partnership with others.
+
+The OFL allows the licensed fonts to be used, studied, modified and
+redistributed freely as long as they are not sold by themselves. The
+fonts, including any derivative works, can be bundled, embedded,
+redistributed and/or sold with any software provided that any reserved
+names are not used by derivative works. The fonts and derivatives,
+however, cannot be released under any other type of license. The
+requirement for fonts to remain under this license does not apply to
+any document created using the fonts or their derivatives.
+
+DEFINITIONS
+"Font Software" refers to the set of files released by the Copyright
+Holder(s) under this license and clearly marked as such. This may
+include source files, build scripts and documentation.
+
+"Reserved Font Name" refers to any names specified as such after the
+copyright statement(s).
+
+"Original Version" refers to the collection of Font Software
+components as distributed by the Copyright Holder(s).
+
+"Modified Version" refers to any derivative made by adding to,
+deleting, or substituting -- in part or in whole -- any of the
+components of the Original Version, by changing formats or by porting
+the Font Software to a new environment.
+
+"Author" refers to any designer, engineer, programmer, technical
+writer or other person who contributed to the Font Software.
+
+PERMISSION & CONDITIONS
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of the Font Software, to use, study, copy, merge, embed,
+modify, redistribute, and sell modified and unmodified copies of the
+Font Software, subject to the following conditions:
+
+1) Neither the Font Software nor any of its individual components, in
+Original or Modified Versions, may be sold by itself.
+
+2) Original or Modified Versions of the Font Software may be bundled,
+redistributed and/or sold with any software, provided that each copy
+contains the above copyright notice and this license. These can be
+included either as stand-alone text files, human-readable headers or
+in the appropriate machine-readable metadata fields within text or
+binary files as long as those fields can be easily viewed by the user.
+
+3) No Modified Version of the Font Software may use the Reserved Font
+Name(s) unless explicit written permission is granted by the
+corresponding Copyright Holder. This restriction only applies to the
+primary font name as presented to the users.
+
+4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
+Software shall not be used to promote, endorse or advertise any
+Modified Version, except to acknowledge the contribution(s) of the
+Copyright Holder(s) and the Author(s) or with their explicit written
+permission.
+
+5) The Font Software, modified or unmodified, in part or in whole,
+must be distributed entirely under this license, and must not be
+distributed under any other license. The requirement for fonts to
+remain under this license does not apply to any document created using
+the Font Software.
+
+TERMINATION
+This license becomes null and void if any of the above conditions are
+not met.
+
+DISCLAIMER
+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
+COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
+DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
+OTHER DEALINGS IN THE FONT SOFTWARE.
diff --git a/styles/satellite-briefing/demo/index.html b/styles/satellite-briefing/demo/index.html
new file mode 100644
index 0000000..74ce9a2
--- /dev/null
+++ b/styles/satellite-briefing/demo/index.html
@@ -0,0 +1,20 @@
+<!doctype html>
+<html><head><meta charset="utf-8"><title>The Map Still Says Sea · Satellite Briefing</title>
+<style>
+@font-face{font-family:'BC';src:url(fonts/BarlowCondensed-Light.ttf);font-weight:300}
+@font-face{font-family:'BC';src:url(fonts/BarlowCondensed-Regular.ttf);font-weight:400}
+@font-face{font-family:'BC';src:url(fonts/BarlowCondensed-Medium.ttf);font-weight:500}
+@font-face{font-family:'BC';src:url(fonts/BarlowCondensed-SemiBold.ttf);font-weight:600}
+@font-face{font-family:'PM';src:url(fonts/IBMPlexMono-Regular.ttf);font-weight:400}
+@font-face{font-family:'PM';src:url(fonts/IBMPlexMono-Medium.ttf);font-weight:500}
+@font-face{font-family:'SC';src:url(fonts/NotoSansSC-400.woff2);font-weight:400}
+@font-face{font-family:'SC';src:url(fonts/NotoSansSC-500.woff2);font-weight:500}
+@font-face{font-family:'SS';src:url(fonts/NotoSerifSC-600.woff2);font-weight:600}
+html,body{margin:0;background:#030507;overflow:hidden}
+canvas{position:absolute;left:0;top:0;display:block}
+</style></head>
+<body>
+<canvas id="gl" width="1920" height="1080"></canvas>
+<canvas id="ov" width="1920" height="1080"></canvas>
+<script type="module" src="film.js"></script>
+</body></html>
diff --git a/styles/satellite-briefing/demo/mix.py b/styles/satellite-briefing/demo/mix.py
new file mode 100644
index 0000000..5025756
--- /dev/null
+++ b/styles/satellite-briefing/demo/mix.py
@@ -0,0 +1,646 @@
+"""Score, sound design and mix for 《地图上还写着海》 -> out/mix.wav (48 kHz stereo) + out/stems/.
+
+Everything sits on the timeline (timeline.json, from timeline.js) and on the page's events (events.json),
+so every hit lands on its frame.
+
+ palette dry first half: FM telemetry plucks, analog pulse bass, FM pings (the lock "key"), sampled
+ timpani / bass drum / gran cassa / bowed cymbal / gong (reversed for the rewind)
+ wet second half: glass harp (water-filled glasses), bowed vibraphone, horn, tuba; real water
+ beds orbit hum + radio hiss + data chatter; desert wind; water lapping (only after silence 2)
+ voice Kokoro (bf_emma), compressed, music ducked underneath
+
+usage: $LIB/.venv/bin/python mix.py
+"""
+import json, os, sys
+import numpy as np
+import soundfile as sf
+import soxr
+from scipy.signal import butter, sosfilt
+
+HERE = os.path.dirname(os.path.abspath(__file__))
+LIB = os.environ.get('LIB') or os.path.abspath(os.path.join(HERE, '../../..'))
+sys.path.insert(0, LIB)
+from core.audio import sampler as S
+from core.audio import sfx as X
+
+SR = X.SR
+TL = json.load(open(os.path.join(HERE, 'timeline.json')))
+EVJ = json.load(open(os.path.join(HERE, 'events.json')))
+EV = EVJ['ev']
+T = TL['T']
+DUR = TL['T']['dur']
+N = int((DUR + 0.6) * SR)
+BEAT = 60 / TL['bpm']
+rng = np.random.default_rng(23)
+S.seed(5)
+
+MUS = np.zeros((N, 2)); PUL = np.zeros((N, 2)); HIT = np.zeros((N, 2)); FX = np.zeros((N, 2)); BED = np.zeros((N, 2)); VOX = np.zeros((N, 2))
+tt_all = np.arange(N) / SR
+
+
+# ------------------------------------------------------------------ dsp helpers
+def sos(kind, f, o=2): return butter(o, f, kind, fs=SR, output='sos')
+def lpf(x, f, o=2): return sosfilt(sos('low', min(f, SR * .45), o), x, axis=0)
+def hpf(x, f, o=2): return sosfilt(sos('high', f, o), x, axis=0)
+def bpf(x, a, b, o=2): return sosfilt(sos('band', [a, min(b, SR * .45)], o), x, axis=0)
+def tv(d): return np.arange(int(d * SR)) / SR
+def hz(m): return 440.0 * 2 ** ((m - 69) / 12)
+NOTE = {'C': 0, 'C#': 1, 'Db': 1, 'D': 2, 'D#': 3, 'Eb': 3, 'E': 4, 'F': 5, 'F#': 6, 'Gb': 6, 'G': 7, 'G#': 8, 'Ab': 8, 'A': 9, 'A#': 10, 'Bb': 10, 'B': 11}
+def mi(n): return 12 * (int(n[-1]) + 1) + NOTE[n[:-1]]
+def put(buf, x, at, g=1.0, pan=0.0):
+ x = np.asarray(x, np.float64)
+ if x.ndim == 2:
+ s = int(at * SR)
+ if s >= len(buf): return
+ if s < 0: x = x[-s:]; s = 0
+ e = min(len(buf), s + len(x)); buf[s:e] += x[:e - s] * g
+ else:
+ X.add(buf, x, at, g, pan)
+def adsr(d, a=.005, r=.1, curve=1.0):
+ n = int(d * SR); e = np.ones(n)
+ na = max(1, int(a * SR)); e[:na] = np.linspace(0, 1, na) ** curve
+ nr = min(n, int(r * SR)); e[n - nr:] *= np.linspace(1, 0, nr) ** 1.5
+ return e
+def saw(f, d, det=0.0, nh=40):
+ t = tv(d); x = np.zeros_like(t)
+ for k in range(1, nh):
+ if f * k > 15000: break
+ x += np.sin(2 * np.pi * f * (1 + det) * k * t) / k
+ return x * .55
+def fm(fc, ratio, index, d, tau_i=.15):
+ t = tv(d); I = index * np.exp(-t / tau_i)
+ return np.sin(2 * np.pi * fc * t + I * np.sin(2 * np.pi * fc * ratio * t))
+def stereo(x, w=.0006):
+ d = int(w * SR); return np.stack([x, np.concatenate([np.zeros(d), x[:-d]]) if d else x], 1)
+def delay(x, at, fb, n, gain=1.0, pan_alt=.5):
+ """stereo ping-pong echoes of mono x"""
+ L = len(x) + int(at * n * SR) + 10; out = np.zeros((L, 2))
+ for k in range(n + 1):
+ s = int(at * k * SR); g = gain * fb ** k; p = 0 if k == 0 else (pan_alt if k % 2 else -pan_alt)
+ l, r = np.cos((p + 1) * np.pi / 4) * 1.414, np.sin((p + 1) * np.pi / 4) * 1.414
+ xx = lpf(x, 6000 - 900 * k) if k else x
+ out[s:s + len(x), 0] += xx * g * l; out[s:s + len(x), 1] += xx * g * r
+ return out
+
+
+# ------------------------------------------------------------------ instruments (synth)
+def bass(m, d, vel=.8, cut=380):
+ f = hz(m); x = saw(f, d, nh=18) * .8 + np.sin(2 * np.pi * f * tv(d)) * .9 + saw(f, d, .004, nh=10) * .4
+ x = lpf(x, cut, 2) + .12 * np.tanh(3 * lpf(x, 900)) # 2nd/3rd harmonics speak on small speakers
+ return x * adsr(d, .012, min(.25, d * .4)) * vel * .8 # -2 dB: the low end lives in the impacts
+def pluck(m, vel=.6, d=.22, bright=1.0):
+ x = fm(hz(m), 2.0, 2.4 * bright, d, .035) * np.exp(-tv(d) / .07)
+ return lpf(x, 3800 * bright) * vel
+def ping(m, vel=.6, d=1.6):
+ t = tv(d); f = hz(m)
+ x = fm(f, 3.5, 3.0, d, .05) * np.exp(-t / .55) + .35 * np.sin(2 * np.pi * f * 2.01 * t) * np.exp(-t / .3)
+ return x * vel
+def pad(ms, d, vel=.25, cut=1400, a=.6, r=.9):
+ x = np.zeros(int(d * SR))
+ for m in ms:
+ for det in (-.0035, .0, .0041):
+ x += saw(hz(m), d, det, nh=24)
+ t = tv(d); c = cut * (0.75 + .25 * np.sin(2 * np.pi * .21 * t))
+ y = lpf(x, cut) * .7 + lpf(x, cut * .5) * .3
+ return y * adsr(d, a, r) * vel / max(1, len(ms))
+def metal_ring(m, vel=.5, d=2.2):
+ t = tv(d); f = hz(m)
+ parts = [(1.0, 1, 1.1), (2.76, .5, .7), (5.40, .3, .45), (8.93, .16, .3)]
+ x = sum(a * np.sin(2 * np.pi * f * r * t + rng.random() * 6) * np.exp(-t / tau) for r, a, tau in parts)
+ return x * vel * .5
+def hiss(d, lo=2000, hi=9000):
+ return bpf(rng.standard_normal(int(d * SR)), lo, hi)
+def sweep(d, f0, f1, q=.35, vel=.5):
+ """band-passed noise whose centre glides f0 -> f1 (log)"""
+ n = rng.standard_normal(int(d * SR)); out = np.zeros_like(n); blk = 256
+ for i in range(0, len(n), blk):
+ u = i / max(1, len(n)); f = f0 * (f1 / f0) ** u
+ lo, hi = f * (1 - q), min(f * (1 + q), SR * .45)
+ s = max(0, i - 3000); y = sosfilt(sos('band', [lo, hi]), n[s:i + blk]); out[i:i + blk] = y[-(min(blk, len(n) - i)):]
+ return out * np.sin(np.pi * np.clip(tv(d) / d, 0, 1)) ** 1.2 * vel
+def thud(vel=1.0, f=48, d=1.2):
+ t = tv(d); ph = 2 * np.pi * np.cumsum(f * (1 + 1.6 * np.exp(-t / .03))) / SR
+ x = np.sin(ph) * np.exp(-t / .35) + lpf(rng.standard_normal(len(t)), 300) * np.exp(-t / .05) * .6
+ return x * vel
+
+
+def punch(vel=1.0, d=.9):
+ """an impact's body in the 60-120 Hz band (two pitched-down sines + a short low-mid knock); speaks on small speakers"""
+ t = tv(d)
+ b1 = np.sin(2 * np.pi * np.cumsum(72 * (1 + 1.2 * np.exp(-t / .025))) / SR) * np.exp(-t / .22)
+ b2 = np.sin(2 * np.pi * np.cumsum(108 * (1 + .8 * np.exp(-t / .02))) / SR) * np.exp(-t / .14) * .6
+ kn = bpf(rng.standard_normal(len(t)), 90, 400) * np.exp(-t / .045) * .7
+ y = b1 + b2 + kn
+ return (y + .25 * np.tanh(2.5 * y)) * vel
+
+
+# ------------------------------------------------------------------ beds
+def wind(d, base=380, amt=1.0):
+ n = len(tv(d)); w = lpf(np.cumsum(rng.standard_normal(n)) * .02, base, 2); w = hpf(w, 40)
+ w /= np.abs(w).max() + 1e-9
+ mod = .55 + .45 * np.interp(tv(d), np.linspace(0, d, 12), rng.random(12))
+ whistle = bpf(rng.standard_normal(n), 700, 1300) * .15 * (.5 + .5 * np.sin(2 * np.pi * .23 * tv(d)))
+ return (w * mod + whistle) * amt
+def orbit(d):
+ t = tv(d)
+ hum = sum(a * np.sin(2 * np.pi * f * t) for f, a in [(55, .5), (110, .35), (165, .15), (220, .08)]) * (.8 + .2 * np.sin(2 * np.pi * .3 * t))
+ radio = bpf(rng.standard_normal(len(t)), 1800, 7000) * .22
+ return hum * .4 + radio
+def chatter(t0, t1, density=5, vel=.12):
+ k = 0
+ t = t0
+ while t < t1:
+ f = rng.choice([1800, 2200, 2600, 3100, 1500]) * (1 + rng.random() * .05)
+ d = rng.choice([.025, .04, .06]); x = np.sin(2 * np.pi * f * tv(d)) * adsr(d, .002, .01)
+ put(BED, x, t, vel * (.5 + rng.random() * .5), rng.uniform(-.7, .7))
+ t += rng.exponential(1 / density); k += 1
+def water(d, amt=1.0):
+ n = len(tv(d)); out = np.zeros(n)
+ t = 0.0
+ while t < d: # lapping: slow swells of low-passed noise
+ ld = rng.uniform(.9, 1.6); s = int(t * SR); e = min(n, s + int(ld * SR))
+ w = lpf(rng.standard_normal(e - s), rng.uniform(500, 900)) * np.sin(np.pi * np.linspace(0, 1, e - s)) ** 2.2
+ out[s:e] += w * rng.uniform(.6, 1.0); t += rng.uniform(.55, 1.0)
+ for _ in range(int(d * 7)): # small bubbles / drips
+ s = rng.uniform(0, d); bd = .05; f0 = rng.uniform(900, 2200)
+ ph = 2 * np.pi * np.cumsum(f0 * (1 + 1.2 * tv(bd) / bd)) / SR
+ b = np.sin(ph) * np.exp(-tv(bd) / .012) * .25
+ i = int(s * SR); out[i:i + len(b)] += b[:max(0, min(len(b), n - i))]
+ fizz = hpf(rng.standard_normal(n), 3000) * .03
+ return (out / (np.abs(out).max() + 1e-9) + fizz) * amt
+
+
+# ------------------------------------------------------------------ the score
+D2, A2, D3 = mi('D2'), mi('A2'), mi('D3')
+chords = {'Dm': ['D3', 'F3', 'A3'], 'C': ['C3', 'E3', 'G3'], 'Bb': ['Bb2', 'D3', 'F3'], 'A': ['A2', 'C#3', 'E3'], 'Gm': ['G2', 'Bb2', 'D3'],
+ 'D': ['D3', 'F#3', 'A3'], 'G': ['G2', 'B2', 'D3'], 'Bm': ['B2', 'D3', 'F#3'], 'Asus': ['A2', 'D3', 'E3']}
+def cm(name, up=0): return [mi(n) + up for n in chords[name]]
+
+
+def score():
+ # ---- ORBIT + DIVE (0 .. touch): drone, telemetry pulse, ping fragment, riser
+ d = T['touch']
+ put(MUS, bass(D2, d + .05, .55, 260), 0.0, 1.0, 0)
+ put(MUS, pad(cm('Dm', 12), d, .16, 900, a=1.2, r=.05), 0.0, 1.0, 0)
+ # pulse: 8ths, 16ths once the dive starts; the filter opens with the fall
+ t = 0.0; i = 0
+ seq = [mi('D4'), mi('A4'), mi('F4'), mi('A4')]
+ while t < d - 0.02:
+ div = .5 if t < T['dive0'] else .25
+ bright = .5 + .9 * np.clip((t - T['dive0']) / (d - T['dive0']), 0, 1)
+ put(PUL, pluck(seq[i % 4] + (12 if (i % 8 == 7) else 0), .30 + .1 * (i % 2 == 0), .2, bright), t, 1.0, -.35 if i % 2 else .35)
+ t += div * BEAT; i += 1
+ # riser into touchdown
+ rd = d - T['dive0']
+ put(MUS, sweep(rd, 250, 5200, .3, .55), T['dive0'], 1.0, 0)
+ gc = S.hit('gran_cassa', 'cresc', .85)
+ put(HIT, gc[:int(rd * SR)] * np.linspace(.2, 1, min(len(gc), int(rd * SR))), d - min(len(gc) / SR, rd), .9, 0)
+ rs = saw(hz(mi('D3')), rd) * 0; tt = tv(rd); fr = hz(mi('D3')) * 2 ** (tt / rd * 1.0)
+ rise = np.sin(2 * np.pi * np.cumsum(fr) / SR) * (tt / rd) ** 2 * .25
+ put(MUS, lpf(rise + .5 * np.tanh(2 * rise), 3000), T['dive0'], 1.0, 0)
+
+ # ---- telemetry ticks (a dry metal tick on the grid; it divides as things speed up)
+ def ticks(t0, t1, div, vel, accent_every=4):
+ k = 0; tp = t0
+ while tp < t1 - .01:
+ v = vel * (1.0 if k % accent_every == 0 else .62)
+ hh = S.hit('hihat', 'closed', min(.95, .45 + v), dur=.12)
+ put(PUL, hh * v * .9, tp, 1.0, .25 if k % 2 else -.25)
+ c = np.sin(2 * np.pi * 5200 * tv(.012)) * np.exp(-tv(.012) / .002)
+ put(PUL, c * v * .35, tp, 1.0, -.2 if k % 2 else .2)
+ tp += div * BEAT; k += 1
+ ticks(T['dive0'], T['touch'] - .05, .5, .35)
+ ticks(T['y1977'], T['y2000'], .5, .45)
+ ticks(T['y2000'], T['y2025'] - .02, .25, .5)
+ ticks(T['n2009'], T['pull'], .5, .25)
+ ticks(T['pull'] + 2 * BEAT, T['end'] - .05, .5, .3)
+
+ # ---- REWIND (rewind .. y1977): reversed gong swell
+ g = S.hit('gong', None, .9); g = g[:int(2.2 * SR)][::-1]
+ gl = int((T['y1977'] - T['rewind']) * SR); g = g[-gl:] * np.linspace(.3, 1, gl) ** 2
+ put(HIT, stereo(g * .5), T['rewind'])
+
+ # ---- RINGS (y1977 .. y2025): descending bass, accelerating pulse, chord pad, stamps
+ plan = [('Dm', 'D2', T['y1977']), ('C', 'C2', T['y1989']), ('Bb', 'Bb1', T['y2000']), ('A', 'A1', T['y2009']), ('Gm', 'G1', T['y2014']), ('Dm', 'D2', T['y2025'])]
+ for k, (ch, root, t0) in enumerate(plan[:-1]):
+ t1 = plan[k + 1][2]
+ put(MUS, bass(mi(root), t1 - t0 + .03, .55, 420), t0, 1.0, 0)
+ put(MUS, pad(cm(ch, 12), t1 - t0 + .25, .26, 2600, a=.05, r=.25), t0, 1.0, 0)
+ put(MUS, pad([n + 12 for n in cm(ch, 12)], t1 - t0 + .25, .12, 4200, a=.2, r=.3), t0, 1.0, 0)
+ # pulse: 8ths first, then 16ths as the rings speed up
+ div = .5 if k < 2 else .25
+ tp = t0; j = 0; tones = cm(ch, 24)
+ while tp < t1 - .02:
+ put(PUL, pluck(tones[j % 3] + (12 if j % 4 == 3 else 0), .33, .2, 1.1), tp, 1.0, -.3 if j % 2 else .3)
+ tp += div * BEAT; j += 1
+ # low brass on every chord change (tuba root, trombone fifth): the floor drops with each ring
+ for k, (ch, root, t0) in enumerate(plan[:-1]):
+ t1 = plan[k + 1][2]; dd = t1 - t0 + .2
+ put(MUS, stereo(S.note('tuba', mi(root) + (12 if mi(root) < mi('F1') else 0), dd, vel=.5 + .06 * k, attack=.25)), t0, .6)
+ put(MUS, stereo(S.note('trombone', mi(root) + 7 + (12 if mi(root) + 7 < mi('A#1') else 0), dd, vel=.42 + .05 * k, attack=.3)), t0 + .05, .45)
+ # a sub pulse that drives the collapse: every beat, then every half beat from 2000
+ tp = T['y1977']; j = 0
+ while tp < T['y2025'] - .26:
+ div = 1.0 if tp < T['y2000'] else .5
+ sub = np.sin(2 * np.pi * np.cumsum(58 + 70 * np.exp(-tv(.35) / .03)) / SR) * np.exp(-tv(.35) / .12)
+ put(PUL, sub * (.55 + .25 * (tp > T['y2009'])), tp, 1.0, 0)
+ tp += div * BEAT; j += 1
+ # a reversed cymbal swells into the suck-out before the stop
+ rc = S.hit('sus_cymbal', 'hit', .8)[:int(1.6 * SR)][::-1]
+ put(HIT, stereo(rc * np.linspace(.2, 1, len(rc)) ** 1.5), T['y2025'] - .25 - len(rc) / SR, .55)
+ # ---- hard stop on today: one low D, then only the bowed cymbal and a thin drone
+ put(MUS, bass(D2, 2.6, .9, 300), T['y2025'], 1.0, 0)
+ bow = S.hit('sus_cymbal', 'bow', .7)
+ put(HIT, stereo(bow[:int(3.4 * SR)] * np.linspace(1, 0, min(len(bow), int(3.4 * SR))) ** .7), T['y2025'] + .02, .7)
+ put(MUS, pad(cm('Dm', 0)[:1] + [mi('A2')], T['muynak'] - T['y2025'] + 1.0, .18, 500, a=1.4, r=1.2), T['y2025'] + .2, 1.0, 0)
+
+ # ---- MUYNAK: soft timpani heartbeat, sparse; ratchet carries the rhythm
+ for k, tb in enumerate(np.arange(T['push0'] + BEAT * .5, T['sil2'] - .1, 2 * BEAT)):
+ put(HIT, S.note('timpani', 'D3', .9, vel=.38), tb, .8, -.1)
+ put(HIT, S.note('timpani', 'A2', .6, vel=.25), tb + BEAT * .5, .5, .1)
+ put(MUS, pad([mi('D3'), mi('A3'), mi('E4')], T['sil2'] - T['muynak'] + .1, .14, 700, a=1.0, r=.15), T['muynak'], 1.0, 0)
+ # a low drone whose filter breathes with the line, and dry grains of sand
+ dd = T['sil2'] - T['push0']; tt = tv(dd)
+ dr = (saw(hz(mi('D2')), dd, nh=30) + saw(hz(mi('A1')) * 1.002, dd, nh=30) * .7)
+ cut = 180 + 420 * np.clip((tt - (T['range0'] - T['push0'])) / (T['rangeEnd'] - T['range0']), 0, 1) ** 1.5
+ y = np.zeros_like(dr)
+ for i0 in range(0, len(dr), 2400):
+ seg_ = slice(max(0, i0 - 4000), i0 + 2400); f = float(cut[min(i0, len(cut) - 1)])
+ y[i0:i0 + 2400] = lpf(dr[seg_], f, 2)[-(min(2400, len(dr) - i0)):]
+ y = y * adsr(dd, .8, .25) * .5 + .12 * np.tanh(2 * y)
+ put(MUS, stereo(y), T['push0'], .8)
+ for k in range(int(dd * 9)):
+ tg = T['push0'] + rng.uniform(0, dd); gd = rng.uniform(.01, .03)
+ gr_ = bpf(rng.standard_normal(int(gd * SR) + 8), 2500, 9000)[:int(gd * SR)] * np.hanning(int(gd * SR))
+ put(PUL, gr_ * rng.uniform(.05, .14), tg, 1.0, rng.uniform(-.8, .8))
+
+ # ---- NORTH: D major, glass harp motif, bowed vibraphone, horn
+ tn = T['dam']
+ put(MUS, bass(D2, T['pull'] - tn + .3, .5, 240), tn, 1.0, 0)
+ for n, tt0, dd in [('A3', tn, 4.6), ('D4', tn + .3, 4.3), ('F#4', tn + .6, 4.0)]:
+ put(MUS, stereo(S.note('vibraphone_bowed', n, dd, vel=.5)), tt0, .5)
+ put(MUS, stereo(S.note('horn', 'D3', 4.2, vel=.42, attack=.8)), tn + .2, .55)
+ put(MUS, stereo(S.note('horn', 'A3', 3.8, vel=.36, attack=.8)), tn + .6, .45)
+ put(MUS, stereo(S.note('tuba', 'D2', T['pull'] - tn, vel=.45, attack=.6)), tn, .55)
+ put(MUS, stereo(S.note('trombone', 'A2', T['pull'] - tn, vel=.38, attack=.9)), tn + .3, .45)
+ put(MUS, pad(cm('D', 0) + [mi('A3')], T['pull'] - tn + .4, .2, 1800, a=1.4, r=.6), tn, 1.0, 0)
+ cr = S.hit('sus_cymbal', 'cresc', .75) # the water grows: a cymbal swell lands on the 2009 ring
+ cl = min(len(cr), int((T['n2009'] - T['n2001']) * SR))
+ put(HIT, stereo(cr[:cl] * np.linspace(.1, 1, cl) ** 2), T['n2009'] - cl / SR, .6)
+ motif = [('D5', T['n2001']), ('A4', T['n2001'] + BEAT), ('C#5', T['n2009']), ('F#5', T['n2009'] + BEAT), ('E5', T['n2009'] + 2 * BEAT), ('D5', T['n2009'] + 3.5 * BEAT)]
+ for n, t0 in motif:
+ x = S.note('glass', n, 1.6, vel=.75)
+ put(MUS, delay(x, BEAT * .75, .32, 3, .9), t0)
+ tp = T['dam']; j = 0
+ while tp < T['n2009'] - .05: # a held breath of pulse before the water comes back
+ put(PUL, S.note('vibraphone', [mi('D4'), mi('A4')][j % 2], .4, vel=.22), tp, .45, -.3 if j % 2 else .3)
+ tp += BEAT; j += 1
+ # soft 8th arpeggio (vibraphone) from the 2009 ring on
+ tp = T['n2009']; j = 0; arp = [mi('D4'), mi('F#4'), mi('A4'), mi('D5')]
+ while tp < T['pull'] - .05:
+ put(PUL, S.note('vibraphone', arp[j % 4], .5, vel=.32), tp, .5, -.4 if j % 2 else .4)
+ tp += .5 * BEAT; j += 1
+
+ # ---- PULL BACK: the chord opens; dry ping and wet glass play the motif together
+ tp0 = T['pull']; dpb = T['end'] - tp0
+ put(MUS, bass(D2, dpb + .4, .6, 260), tp0, 1.0, 0)
+ for n, v, pan in [('D3', .5, -.2), ('A3', .45, .2), ('F#4', .35, 0)]:
+ put(MUS, stereo(S.note('horn', n, dpb, vel=v, attack=1.2)), tp0, .55, )
+ put(MUS, stereo(S.note('tuba', 'D2', dpb, vel=.35, attack=1.0)), tp0 + .3, .45)
+ for n in ('A3', 'D4', 'F#4'):
+ put(MUS, stereo(S.note('vibraphone_bowed', n, dpb, vel=.45)), tp0 + .2, .45)
+ put(MUS, pad(cm('D', 12), dpb, .2, 2200, a=1.6, r=1.2), tp0, 1.0, 0)
+ mot2 = [('D5', T['relabel']), ('A4', T['relabel'] + BEAT), ('C#5', T['relabel'] + 2 * BEAT), ('F#5', T['relabel'] + 3 * BEAT), ('E5', T['relabel'] + 5 * BEAT), ('D5', T['relabel'] + 7 * BEAT)]
+ for n, t0 in mot2:
+ put(MUS, delay(S.note('glass', n, 1.6, vel=.7), BEAT * .75, .3, 3, .85), t0)
+ put(MUS, delay(ping(mi(n) + 12, .22, 1.2), BEAT * .75, .3, 2, .8), t0)
+ # pulse comes back, light
+ tp = tp0 + 2 * BEAT; j = 0; tones = [mi('D5'), mi('A4'), mi('F#4'), mi('A4')]
+ while tp < T['end'] - .05:
+ put(PUL, pluck(tones[j % 4], .22, .2, .9), tp, 1.0, -.3 if j % 2 else .3)
+ tp += .5 * BEAT; j += 1
+
+ # ---- END: low D, the lock ping echoes, long tail
+ te = T['end']
+ put(MUS, bass(D2, 3.4, .55, 220), te, 1.0, 0)
+ put(MUS, pad(cm('D', 12), DUR - te, .16, 1300, a=.05, r=2.6), te, 1.0, 0)
+ put(MUS, stereo(S.note('vibraphone_bowed', 'D4', DUR - te, vel=.4)), te + .1, .45)
+
+
+def foley():
+ for e in EV:
+ t, ty = e['t'], e['type']
+ if ty == 'orbit_bed':
+ o = orbit(T['touch'] + .2); o *= np.minimum(1, tv(len(o) / SR) / .15); o[-int(.12 * SR):] *= np.linspace(1, 0, int(.12 * SR))
+ put(BED, stereo(o * .22), 0)
+ chatter(0.1, T['touch'] - .2, 6, .05)
+ # orbit returns with the pull-back
+ o2 = orbit(DUR - T['pull'] - 1.0); o2 *= np.minimum(1, tv(len(o2) / SR) / 2.0)
+ put(BED, stereo(o2 * .18), T['pull'] + 1.0)
+ chatter(T['pull'] + 2.4, DUR - .4, 3, .035)
+ elif ty == 'servo':
+ dd = .5; tt = tv(dd); f = 900 + 500 * np.sin(np.pi * tt / dd)
+ x = np.sin(2 * np.pi * np.cumsum(f) / SR) * np.sin(np.pi * tt / dd) ** 2 * .12 + bpf(rng.standard_normal(len(tt)), 2000, 5000) * .05 * np.sin(np.pi * tt / dd)
+ put(FX, x, t, .7, .3)
+ elif ty == 'lock':
+ put(FX, delay(ping(mi('D6'), .55, 1.6), BEAT * .5, .35, 3, .7), t)
+ put(FX, X.click(1.3, .5), t, .7, 0)
+ elif ty == 'lock2': # the opening's lock ping, answered: the old port is locked
+ put(FX, delay(ping(mi('A5'), .45, 1.4), BEAT * .5, .35, 3, .8), t)
+ put(FX, X.click(1.3, .45), t, .65, 0)
+ elif ty == 'shore': # a pen drawing the 1977 shore
+ dd = e['dur']; x = hpf(rng.standard_normal(int(dd * SR)), 3500) * np.linspace(1, .3, int(dd * SR)) * .13
+ put(FX, stereo(x), t, .8)
+ elif ty == 'coords':
+ for k in range(9): put(FX, X.click(1.8 + .1 * k, .18), t + k * .028, .5, .4)
+ elif ty == 'map_on':
+ put(FX, X.click(.6, .5), t, .8, 0); put(FX, X.whoosh(.3, .25), t - .05, .6, 0)
+ put(FX, delay(ping(mi('A5'), .3, 1.2), BEAT * .5, .3, 2, .8), t)
+ elif ty == 'dive':
+ dd = e['to'] - t
+ air = sweep(dd, 180, 2600, .45, .9) * np.linspace(.3, 1, len(tv(dd)))
+ put(FX, stereo(air), t, .55)
+ # altitude counter: ticks whose rate follows the fall
+ tk = t; k = 0
+ while tk < e['to'] - .05:
+ put(FX, X.click(2.2, .12), tk, .35, .6)
+ u = (tk - t) / dd; tk += .11 - .07 * np.sin(np.pi * u); k += 1
+ elif ty == 'drain_colour':
+ put(FX, thud(.25, 62, 1.6), t, .6, 0)
+ elif ty == 'touch':
+ # the map is torn away: one of the three heaviest sounds in the film (after a suck-out, see main)
+ HIT0 = HIT.copy()
+ put(HIT, stereo(thud(1.0, 58, 1.6)), t, .55)
+ put(HIT, stereo(punch(1.0)), t, 1.0)
+ put(HIT, stereo(S.hit('bass_drum', None, 1.0)), t, 1.6)
+ put(HIT, stereo(S.hit('gran_cassa', 'hit', 1.0)), t, 1.3)
+ put(HIT, stereo(S.hit('clash', 'crash', 1.0)[:int(1.6 * SR)] * np.linspace(1, 0, int(1.6 * SR)) ** 1.5), t, 1.3)
+ put(HIT, S.note('timpani', 'D3', 2.0, vel=1.0), t, 1.4, 0)
+ # a low brass stab under the slam (D minor, fortissimo, short)
+ for n_, v_ in (('D2', 1.0), ('A2', .95), ('D3', .9), ('F3', .85)):
+ inst = 'trombone_stac' if mi(n_) >= mi('A#1') else 'tuba_stac'
+ put(HIT, stereo(S.note(inst, n_, .5, vel=v_)), t, .9)
+ for n_ in ('D3', 'A3', 'F4'):
+ put(HIT, stereo(S.note('horn_stac', n_, .5, vel=1.0)), t, .7)
+ # the paper rip, swept with the scan bar (0.34 s), crackling
+ rd = .42; n = rng.standard_normal(int(rd * SR))
+ crackle = (rng.random(len(n)) > .985) * rng.standard_normal(len(n)) * 4
+ rip = bpf(n + crackle, 700, 7000) * np.exp(-tv(rd) / .16) * np.minimum(1, tv(rd) / .004)
+ put(HIT, np.stack([rip, np.concatenate([np.zeros(240), rip[:-240]])], 1) * 1.6, t - .03, 1.0)
+ sand = lpf(rng.standard_normal(int(.7 * SR)), 2500) * np.exp(-tv(.7) / .12)
+ put(FX, sand, t + .05, .45, 0)
+ HIT[:] = HIT0 + (HIT - HIT0) * 1.25
+ elif ty == 'map_drain':
+ dd = .8; x = hpf(rng.standard_normal(int(dd * SR)), 2500) * np.exp(-tv(dd) / .25) * np.minimum(1, tv(dd) / .03)
+ put(FX, stereo(x * .4), t)
+ elif ty == 'silence':
+ dd = e['to'] - t
+ w = wind(dd + 1.2, 420, 1.0); w *= np.minimum(1, tv(len(w) / SR) / .25); w[-int(.9 * SR):] *= np.linspace(1, 0, int(.9 * SR))
+ put(BED, stereo(w * .10), t - .05)
+ elif ty == 'rewind':
+ # the rewind is built from the film's own last seconds, played backwards and speeding up
+ a0 = int((T['touch'] - 1.8) * SR); a1 = int((T['touch'] + .05) * SR)
+ src = (MUS[a0:a1] + FX[a0:a1] * .6)[::-1]
+ dd = e['to'] - t; nout = int(dd * SR)
+ sp = np.linspace(1.0, 3.2, nout) ** 1.0 # playback speed ramps up (tape spin)
+ pos = np.cumsum(sp); pos = pos / pos[-1] * (len(src) - 2)
+ out = np.stack([np.interp(pos, np.arange(len(src)), src[:, c]) for c in (0, 1)], 1)
+ wob = 1 + .15 * np.sin(2 * np.pi * 7 * tv(dd))[:, None]
+ out = out * wob * np.linspace(.55, 1.0, nout)[:, None] ** 1.5
+ put(FX, out * .45, t)
+ # counter spinning back
+ tk = t
+ while tk < e['to'] - .03:
+ put(FX, X.click(2.6, .14), tk, .35, -.5); tk += .045
+ elif ty == 'scan_up':
+ put(FX, stereo(sweep(e['dur'], 5200, 900, .3, .5)), t, .45)
+ elif ty == 'scan_down':
+ put(FX, stereo(sweep(e['dur'], 700, 4200, .3, .5)), t, .5)
+ elif ty == 'ring':
+ i = e['i']; tones = ['D3', 'C3', 'Bb2', 'A2', 'G2', 'D3']
+ v = .62 + .06 * i
+ put(HIT, S.note('timpani', tones[i], 1.6, vel=v), t, .8, 0)
+ put(HIT, stereo(S.hit('bass_drum', None, .5 + .06 * i)), t, .45 + .05 * i)
+ put(HIT, delay(metal_ring(mi(tones[i]) + 24, .55, 2.4), BEAT, .25, 2, 1.0), t)
+ pen = hpf(rng.standard_normal(int(.4 * SR)), 4000) * np.exp(-tv(.4) / .12) * .12
+ put(FX, pen, t - .02, .6, .2)
+ if e['year'] == 1977:
+ put(HIT, stereo(thud(.7, 40, 2.2)), t, .45)
+ elif ty == 'stop':
+ put(HIT, stereo(S.hit('bass_drum', None, 1.0)), t, 1.5)
+ put(HIT, S.note('timpani', 'D3', 2.2, vel=1.0), t, 1.5, 0)
+ put(HIT, stereo(thud(1.0, 58, 1.8)), t, .55)
+ put(HIT, stereo(punch(1.0)), t, 1.05)
+ put(HIT, stereo(S.hit('gran_cassa', 'hit', 1.0)), t, 1.0)
+ put(HIT, stereo(S.hit('gong2', 'big', .9)[:int(2.5 * SR)] * np.linspace(1, 0, int(2.5 * SR)) ** 1.5), t, .5)
+ clang = metal_ring(mi('D3'), .9, 2.0) + bpf(rng.standard_normal(int(2.0 * SR)), 1500, 6000) * np.exp(-tv(2.0) / .04) * .5
+ put(HIT, stereo(clang), t, .7)
+ elif ty == 'push':
+ dd = e['to'] - t; put(FX, stereo(sweep(dd, 300, 1600, .5, .6) * np.linspace(1, .4, len(tv(dd)))), t, .4)
+ w = wind(DUR - t, 380, 1.0); w *= np.minimum(1, tv(len(w) / SR) / 1.0)
+ ws = int((T['sil2'] + 0.3 - t) * SR); w[ws:] *= 0; fade = int(.5 * SR); w[ws - fade:ws] *= np.linspace(1, 0, fade)
+ put(BED, stereo(w * .22), t)
+ elif ty == 'horn':
+ dd = 2.6; x = saw(hz(mi('A2')), dd, nh=20) + saw(hz(mi('C3')) * 1.003, dd, nh=20) * .8
+ x = lpf(x, 700, 2) * adsr(dd, .25, 1.2)
+ x = lpf(x, 500) * .5
+ put(FX, S.room(stereo(x), .9, .55), t, .32)
+ creak = X.creak(.25); put(FX, lpf(creak, 2500), t + 1.4, .25, -.5)
+ elif ty == 'label':
+ put(FX, X.click(1.0, .45), t, .7, .2); put(FX, delay(ping(mi('A5'), .22, 1.0), BEAT * .5, .3, 2, .7), t)
+ elif ty == 'range':
+ dd = e['to'] - t; km = e['km']
+ # one tick per 2 km of line; the line eases in and out, so do the ticks
+ u = np.linspace(0, 1, 4000); g = np.where(u < .5, 4 * u ** 3, 1 - (-2 * u + 2) ** 3 / 2)
+ for k in range(1, int(km // 2) + 1):
+ f = 2 * k / km; tk = t + np.interp(f, g, u) * dd
+ acc = (2 * k) % 10 == 0
+ put(FX, X.click(2.0 if acc else 2.6, .42 if acc else .18), tk, .6, -.2)
+ whir = bpf(rng.standard_normal(int(dd * SR)), 3000, 7000) * np.sin(np.pi * tv(dd) / dd) * .05
+ put(FX, stereo(whir), t)
+ elif ty == 'range_end':
+ tock = np.sin(2 * np.pi * 330 * tv(.4)) * np.exp(-tv(.4) / .06) + np.sin(2 * np.pi * 660 * tv(.4)) * np.exp(-tv(.4) / .03) * .4
+ put(HIT, stereo(tock * .7), t, .9)
+ put(HIT, S.note('timpani', 'D3', 1.4, vel=.55), t, .8, 0)
+ put(FX, delay(ping(mi('D6'), .3, 1.4), BEAT * .5, .35, 3, .8), t + .02)
+ elif ty == 'water_in':
+ # the first sound after silence 2: one clear lap of water against a shore, then the bed
+ lap = lpf(rng.standard_normal(int(1.1 * SR)), 1400) * np.sin(np.pi * np.clip(tv(1.1) / 1.1, 0, 1)) ** 3
+ slap = bpf(rng.standard_normal(int(.25 * SR)), 600, 5000) * np.exp(-tv(.25) / .05) * np.minimum(1, tv(.25) / .01)
+ put(FX, stereo(lap * .5), t - .35, 1.0); put(FX, stereo(slap * .45), t, 1.0)
+ dd = DUR - t; w = water(dd, 1.0)
+ env = np.interp(tv(dd) + t, [t, T['whip'], T['north'], T['dam'], T['pull'], T['pull'] + 3.5, T['end'] + .5],
+ [0, .25, .55, 1.0, 1.0, .35, 0])
+ put(BED, stereo(w * env * .42), t)
+ elif ty == 'whip':
+ dd = e['to'] - t + .15
+ put(FX, stereo(sweep(dd, 400, 6000, .5, 1.0) * np.sin(np.pi * tv(dd) / dd)), t - .05, .9)
+ put(FX, X.whoosh(dd, .7), t - .05, .5, -.3)
+ crack = hpf(rng.standard_normal(int(.09 * SR)), 1800) * np.exp(-tv(.09) / .018)
+ put(HIT, stereo(crack * .9), t, 1.0)
+ elif ty == 'dam_draw':
+ dd = e['to'] - t; x = hpf(rng.standard_normal(int(dd * SR)), 3500) * np.linspace(.2, 1, int(dd * SR)) * .14
+ put(FX, x, t, .7, .1)
+ elif ty == 'dam':
+ put(HIT, stereo(thud(1.0, 58, 1.6)), t, .55)
+ put(HIT, stereo(punch(.95)), t, 1.0)
+ put(HIT, stereo(S.hit('bass_drum', None, 1.0)), t, 1.4)
+ put(HIT, stereo(S.hit('clash', 'short', .8)), t, .6)
+ gate = metal_ring(mi('A2'), .8, 1.8)
+ put(HIT, stereo(gate), t + .01, .55)
+ conc = bpf(rng.standard_normal(int(.35 * SR)), 180, 900) * np.exp(-tv(.35) / .06)
+ put(HIT, stereo(conc * .8), t, .9)
+ put(HIT, stereo(S.hit('gran_cassa', 'hit', .8)), t, .7)
+ knock = bpf(rng.standard_normal(int(.06 * SR)), 700, 4200) * np.exp(-tv(.06) / .01)
+ put(HIT, stereo(knock * 1.1), t, 1.0)
+ put(HIT, S.note('timpani', 'D3', 1.6, vel=.95), t, 1.3, 0)
+ elif ty == 'nring':
+ put(HIT, delay(metal_ring(mi('D5'), .3, 2.0), BEAT, .25, 2, .8), t)
+ put(HIT, stereo(X.click(1.2, .8)), t, .8)
+ put(HIT, S.note('timpani', 'A2', 1.2, vel=.45), t, .7, 0)
+ if e['year'] == 2009:
+ put(HIT, S.note('timpani', 'D3', 1.6, vel=.5), t, .7, 0)
+ put(MUS, stereo(S.note('vibraphone_bowed', 'F#4', 2.4, vel=.5)), t, .5)
+ elif ty == 'pull':
+ dd = 3.2; put(FX, stereo(sweep(dd, 200, 3000, .5, .8) * np.linspace(.2, 1, int(dd * SR)) ** 1.5 * np.linspace(1, 0, int(dd * SR)) ** .5), t + .3, .4)
+ elif ty == 'slide':
+ put(FX, X.whoosh(.6, .3), t, .5, .2)
+ elif ty == 'pin':
+ put(FX, X.click(1.1, .5), t, .8, 0); put(FX, delay(ping(mi('D6'), .4, 1.6), BEAT * .5, .35, 3, .9), t)
+ elif ty == 'end':
+ put(HIT, stereo(S.hit('bass_drum', None, .8)), t, .55)
+ put(HIT, stereo(thud(.8, 40, 2.6)), t, .5)
+ put(HIT, stereo(X.click(1.5, .9)), t, .6)
+ put(HIT, stereo(S.hit('sus_cymbal', 'stick', .55)), t, .4)
+ dd = .7; x = np.sin(2 * np.pi * np.cumsum(700 + 300 * tv(dd) / dd) / SR) * np.sin(np.pi * tv(dd) / dd) ** 2 * .08
+ put(FX, x, t, .6, -.2)
+ elif ty == 'mark':
+ put(FX, X.click(1.6, .35), t, .6, -.3); put(FX, delay(ping(mi('A5'), .16, .8), BEAT * .5, .3, 2, .6), t)
+ elif ty == 'pass':
+ dd = e['to'] - t; put(FX, stereo(sweep(dd, 3200, 900, .4, .35)), t, .5)
+ elif ty == 'lock_echo':
+ put(FX, delay(ping(mi('D6'), .45, 2.0), BEAT * .5, .4, 4, 1.0), t)
+
+
+def voice():
+ lines = {L['id']: L for L in TL['VO']}
+ for e in EV:
+ if e['type'] != 'vo': continue
+ p = os.path.join(HERE, 'voice/out', e['id'] + '.wav')
+ x, sr = sf.read(p)
+ if x.ndim > 1: x = x.mean(1)
+ x = soxr.resample(x, sr, SR)
+ x = hpf(x, 90)
+ x = X.compress(x / (np.abs(x).max() + 1e-9) * .9, thr=.22, ratio=3.2, att=.003, rel=.09)
+ x = x + .04 * lpf(x, 3000) # a little body
+ put(VOX, stereo(x, .0002), e['t'])
+
+
+def rms(x): return float(np.sqrt(np.mean(x ** 2) + 1e-12))
+
+
+def lufs(x):
+ """integrated loudness (EBU R128) measured by ffmpeg"""
+ import subprocess, tempfile, re
+ f = os.path.join(tempfile.mkdtemp(), 'm.wav'); sf.write(f, x.astype(np.float32), SR)
+ out = subprocess.run(['ffmpeg', '-hide_banner', '-nostats', '-i', f, '-af', 'ebur128', '-f', 'null', '-'], capture_output=True, text=True).stderr
+ return float(re.findall(r'I:\s+(-?[\d.]+) LUFS', out)[-1])
+
+
+def true_peak(x):
+ return float(np.abs(soxr.resample(x, SR, 4 * SR)).max())
+
+
+def tp_limit(x, ceil):
+ """look-ahead limiter driven by 4x-oversampled peaks"""
+ from scipy.ndimage import maximum_filter1d, uniform_filter1d
+ up = np.abs(soxr.resample(x, SR, 4 * SR)).max(1)
+ n = len(x); pk = up[:n * 4].reshape(-1, 4).max(1) if len(up) >= n * 4 else np.pad(up, (0, n * 4 - len(up))).reshape(-1, 4).max(1)
+ g = np.minimum(1.0, ceil / np.maximum(pk, 1e-9))
+ look = int(.004 * SR)
+ g = maximum_filter1d(g[::-1], 1)[::-1]
+ g = -maximum_filter1d(-g, 2 * look + 1) # reach the peak early (look-ahead)
+ g = uniform_filter1d(g, look) # smooth the gain
+ g = np.minimum(g, -maximum_filter1d(-np.minimum(1.0, ceil / np.maximum(pk, 1e-9)), 3))
+ return x * g[:, None]
+
+
+def act_rms(x, thr_db=-50):
+ """RMS over the parts of a stem that are actually sounding (50 ms windows above thr)"""
+ m = x.mean(1) if x.ndim == 2 else x
+ w = int(.05 * SR); n = len(m) // w
+ r = np.sqrt((m[:n * w].reshape(n, w) ** 2).mean(1))
+ on = r > 10 ** (thr_db / 20) * max(r.max(), 1e-9)
+ return float(np.sqrt((r[on] ** 2).mean())) if on.any() else 1e-9
+
+
+def main():
+ score(); foley(); voice()
+ from scipy.ndimage import uniform_filter1d, maximum_filter1d
+ mus = S.room(MUS, .55, .22)
+ pul = S.room(PUL, .35, .16)
+ hit = S.room(HIT, .7, .25)
+ fx = FX.copy(); bed = BED.copy()
+ v = np.abs(VOX).mean(1)
+ env = uniform_filter1d(maximum_filter1d(v, int(.12 * SR)), int(.15 * SR)); env = np.clip(env / (env.max() + 1e-9) * 3, 0, 1)
+ # silences: nothing but the beds inside them (the J-cut water may enter)
+ for e in EV:
+ if e['type'] == 'silence':
+ b = int(e['to'] * SR)
+ # music and pulse stop at once; foley and the impact ring on and decay into the silence
+ for buf, st, fd in ((mus, .03, .08), (pul, .03, .05), (fx, .25, .3), (hit, .35, .6)):
+ a = int((e['t'] + st) * SR); fade = int(fd * SR)
+ buf[a:a + fade] *= (np.linspace(1, 0, fade) ** 2)[:, None]; buf[a + fade:b] *= 0
+ # suck-outs: music, pulse and foley drop away just before the three heaviest hits (impacts land at b)
+ for a_, b_ in ((T['touch'] - .45, T['touch'] - .01), (T['y2025'] - .24, T['y2025'] - .01), (T['dam'] - .22, T['dam'] - .01)):
+ i0, i1 = int(a_ * SR), int(b_ * SR); f = int(.06 * SR)
+ g = np.ones(N); g[i0:i0 + f] = np.linspace(1, .04, f); g[i0 + f:i1] = .04
+ for buf in (mus, pul, fx):
+ buf *= g[:, None]
+ h = np.ones(N); h[i0:i0 + f] = np.linspace(1, .25, f); h[i0 + f:i1] = .25
+ hit *= h[:, None]
+ speaking = env > .5
+ vr = rms(VOX[speaking])
+ # targets relative to the voice (RMS while it speaks / while each stem sounds)
+ # stem gains: set once by ear-free targets (music -10 dB under the voice while it speaks, pulse -8, hits about
+ # voice level, foley -6, beds -17 against active RMS), then frozen so that individual hits can be shaped by hand
+ g_mus, g_pul, g_hit, g_fx, g_bed = 0.15, 0.50, 0.70, 0.42, 0.44
+ duck_m = (1 - .45 * env)[:, None]; duck_p = (1 - .3 * env)[:, None]; duck_h = (1 - .25 * env)[:, None]; duck_b = (1 - .3 * env)[:, None]
+ stems = {'music': mus * g_mus * duck_m, 'pulse': pul * g_pul * duck_p, 'hits': hit * g_hit * duck_h,
+ 'fx': fx * g_fx, 'beds': bed * g_bed * duck_b, 'voice': VOX}
+ # sub-bass: phones and laptops cannot play below ~60 Hz, and it eats loudness headroom. High-pass at 38 Hz
+ # and a -4 dB low shelf below ~55 Hz on everything but the voice; the impacts carry their weight at 60-120 Hz
+ shelf = 10 ** (-5 / 20)
+ for k in ('music', 'pulse', 'hits', 'beds', 'fx'):
+ x = hpf(stems[k], 46 if k == 'hits' else 38, 4 if k == 'hits' else 2) # drums carry most of the sub: steeper on hits
+ stems[k] = x - (1 - shelf) * lpf(x, 62, 2)
+ # glue: gentle bus compression on the bed of the mix (music, pulse, foley, beds); voice and hits pass
+ # uncompressed so the designed impacts keep their weight; then the master stage below
+ from scipy.ndimage import maximum_filter1d as mxf
+ bus = stems['music'] + stems['pulse'] + stems['fx'] + stems['beds']
+ lvl = np.sqrt(uniform_filter1d((bus ** 2).max(1), int(.012 * SR)))
+ thr = 10 ** (-12 / 20) * np.percentile(lvl, 99.9)
+ g = np.where(lvl > thr, (thr + (lvl - thr) / 2.5) / np.maximum(lvl, 1e-9), 1.0)
+ g = uniform_filter1d(-mxf(-g, int(.008 * SR)), int(.03 * SR)) # fast attack, smooth release
+ mix = bus * g[:, None] + stems['hits'] + stems['voice']
+ mix = mix[:int(DUR * SR)]
+ fade = int(.5 * SR); mix[-fade:] *= np.linspace(1, 0, fade)[:, None]
+ # master: bring the mix to about -14.4 LUFS here and hold true peaks under -4.6 dBTP (4x oversampled
+ # detection), so mux.sh's loudnorm stays in linear mode and the film lands at -14 LUFS / <= -1.2 dBTP
+ for _ in range(3):
+ I = lufs(mix)
+ mix = mix * 10 ** ((-14.4 - I) / 20)
+ mix = tp_limit(mix, 10 ** (-4.6 / 20))
+ print(f'master: {lufs(mix):.2f} LUFS, true peak {20 * np.log10(true_peak(mix)):.2f} dBTP')
+ os.makedirs(os.path.join(HERE, 'out/stems'), exist_ok=True)
+ sf.write(os.path.join(HERE, 'out/mix.wav'), mix.astype(np.float32), SR)
+ for name, b in stems.items():
+ sf.write(os.path.join(HERE, 'out/stems', name + '.wav'), b[:int(DUR * SR)].astype(np.float32), SR)
+ from numpy.fft import rfft, rfftfreq
+ m = mix.mean(1); Fq = rfftfreq(len(m), 1 / SR); P = np.abs(rfft(m)) ** 2
+ lo = P[(Fq > 20) & (Fq < 120)].sum(); rest = P[(Fq >= 120) & (Fq < 16000)].sum()
+ print(f'gains mus {g_mus:.2f} pul {g_pul:.2f} hit {g_hit:.2f} fx {g_fx:.2f} bed {g_bed:.2f} low/rest {10*np.log10(lo/rest):.1f} dB peak {np.abs(mix).max():.2f}')
+
+
+if __name__ == '__main__':
+ main()
diff --git a/styles/satellite-briefing/demo/overlay.js b/styles/satellite-briefing/demo/overlay.js
new file mode 100644
index 0000000..c81fbbb
--- /dev/null
+++ b/styles/satellite-briefing/demo/overlay.js
@@ -0,0 +1,94 @@
+// The analyst layer: hairlines, brackets, labels, readouts, the map layer and the transcript strip.
+// Everything that sits on the ground goes through project() from engine.js.
+import { project } from './engine.js';
+
+export const C = {
+ ink: '#F2F5F6', inkDim: 'rgba(242,245,246,.55)', amber: '#FFBE55', halo: 'rgba(3,6,8,.82)',
+ map: 'rgb(46,112,206)', mapLine: '#A9D2FF', mapInk: '#D6EAFF', plate: 'rgba(6,9,12,.62)',
+};
+export const F = {
+ bc: w => `${w} BC`, pm: w => `${w} PM`,
+};
+
+let TX = null; // text registry for window.TEXTS
+export function beginTexts() { TX = []; }
+export function endTexts() { const r = TX; TX = null; return r; }
+
+// rep: what readcheck should read for a counter that is still rolling (its landing value, per core/README: full text from the first frame)
+export function text(ctx, s, x, y, { font = '500 30px BC', col = C.ink, align = 'left', track = 0, halo = 7, alpha = 1, id = null, base = 'alphabetic', rep = null, seen = null } = {}) {
+ if (alpha <= 0.003 || !s) return 0;
+ ctx.save();
+ ctx.globalAlpha *= Math.min(1, alpha);
+ ctx.font = font; ctx.textAlign = align; ctx.textBaseline = base; ctx.letterSpacing = track + 'px';
+ const m = ctx.measureText(s), w = m.width;
+ if (halo) { ctx.shadowColor = C.halo; ctx.shadowBlur = halo; }
+ ctx.fillStyle = col; ctx.fillText(s, x, y);
+ if (halo) { ctx.shadowBlur = halo * 0.35; ctx.fillText(s, x, y); }
+ ctx.restore();
+ if (id && TX && (seen ?? alpha) > 0.5) {
+ const x0 = align === 'center' ? x - w / 2 : align === 'right' ? x - w : x;
+ const asc = m.actualBoundingBoxAscent || 20, des = m.actualBoundingBoxDescent || 6;
+ TX.push({ id, text: rep ?? s, x0, y0: y - asc, x1: x0 + w, y1: y + des });
+ }
+ return w;
+}
+export function measure(ctx, s, font, track = 0) {
+ ctx.save(); ctx.font = font; ctx.letterSpacing = track + 'px'; const w = ctx.measureText(s).width; ctx.restore(); return w;
+}
+export function hair(ctx, path, { w = 1.4, col = C.ink, alpha = 1, halo = 3.2, haloCol = 'rgba(3,6,8,.45)', dash = null, off = 0, cap = 'butt' } = {}) {
+ if (alpha <= 0.003) return;
+ ctx.save(); ctx.globalAlpha *= Math.min(1, alpha); ctx.lineJoin = 'round'; ctx.lineCap = cap;
+ if (dash) { ctx.setLineDash(dash); ctx.lineDashOffset = off; }
+ if (halo) { ctx.beginPath(); path(); ctx.strokeStyle = haloCol; ctx.lineWidth = w + halo; ctx.stroke(); }
+ ctx.beginPath(); path(); ctx.strokeStyle = col; ctx.lineWidth = w; ctx.stroke();
+ ctx.restore();
+}
+// lon/lat polyline -> screen path. keep(lon, lat) can hide parts (scan printing). Returns screen pts.
+export function pathLL(ctx, cam, line, { keep = null, frac = 1, close = false } = {}) {
+ if (!line || line.length === 0) return;
+ let pen = false; const n = line.length, lim = Math.max(1, Math.floor(n * frac));
+ for (let i = 0; i < lim; i++) {
+ const [lo, la] = line[i];
+ if (keep && !keep(lo, la)) { pen = false; continue; }
+ const [x, y, vis] = project(cam, la, lo);
+ if (!vis) { pen = false; continue; }
+ if (!pen) { ctx.moveTo(x, y); pen = true; } else ctx.lineTo(x, y);
+ }
+ if (close && frac >= 1 && !keep) ctx.closePath();
+}
+export function brackets(ctx, x0, y0, x1, y1, { len = 26, w = 1.6, alpha = 1, col = C.ink } = {}) {
+ hair(ctx, () => {
+ const L = Math.min(len, (x1 - x0) / 2, (y1 - y0) / 2);
+ ctx.moveTo(x0, y0 + L); ctx.lineTo(x0, y0); ctx.lineTo(x0 + L, y0);
+ ctx.moveTo(x1 - L, y0); ctx.lineTo(x1, y0); ctx.lineTo(x1, y0 + L);
+ ctx.moveTo(x1, y1 - L); ctx.lineTo(x1, y1); ctx.lineTo(x1 - L, y1);
+ ctx.moveTo(x0 + L, y1); ctx.lineTo(x0, y1); ctx.lineTo(x0, y1 - L);
+ }, { w, alpha, col, halo: 2.4 });
+}
+export function tick(ctx, x, y, r, { alpha = 1, w = 1.4 } = {}) {
+ hair(ctx, () => { ctx.moveTo(x - r, y); ctx.lineTo(x + r, y); ctx.moveTo(x, y - r); ctx.lineTo(x, y + r); }, { w, alpha });
+}
+// one reading: small label line, the big amber value, an optional unit, all left aligned at (x, y)
+export function readout(ctx, x, y, { label = '', value = '', unit = '', note = '', alpha = 1, id = 'readout', size = 112, col = C.amber, rep = null, dim = 1 } = {}) {
+ if (alpha <= 0.003) return;
+ text(ctx, label, x + 2, y - size * 0.86, { font: '500 28px SC', track: 1, alpha: alpha * 0.94, id: id + '-label' });
+ const w = text(ctx, value, x, y, { font: `300 ${size}px BC`, col, track: -1, alpha: alpha * dim, halo: 12, id: id + '-value', rep, seen: alpha });
+ if (unit) text(ctx, unit, x + w + 10, y, { font: `400 ${Math.round(size * 0.36)}px BC`, col, alpha, halo: 8, id: id + '-unit' });
+ hair(ctx, () => { ctx.moveTo(x + 2, y + 22); ctx.lineTo(x + 2 + Math.max(220, w + 60), y + 22); }, { w: 1, alpha: alpha * 0.55, halo: 0 });
+ if (note) text(ctx, note, x + 2, y + 56, { font: '400 23px SC', col: 'rgba(242,245,246,.82)', alpha, track: 0.5, id: id + '-note' });
+}
+// transcript strip: zh above, en below, each a single line, left aligned
+export const SUB = { x: 96, yZh: 962, yEn: 1007, fontZh: '500 38px SC', fontEn: '400 33px BC', trackZh: 1, trackEn: 0.3, safe: 1100 };
+export function subtitle(ctx, zh, en, alpha, id) {
+ if (alpha <= 0.003) return;
+ const wz = measure(ctx, zh, SUB.fontZh, SUB.trackZh), we = measure(ctx, en, SUB.fontEn, SUB.trackEn);
+ const w = Math.max(wz, we);
+ ctx.save(); ctx.globalAlpha = alpha;
+ const g = ctx.createLinearGradient(SUB.x - 30, 0, SUB.x + w + 80, 0);
+ g.addColorStop(0, 'rgba(5,8,11,.62)'); g.addColorStop(0.85, 'rgba(5,8,11,.50)'); g.addColorStop(1, 'rgba(5,8,11,0)');
+ ctx.fillStyle = g; ctx.fillRect(SUB.x - 30, SUB.yZh - 46, w + 110, 108);
+ ctx.fillStyle = C.ink; ctx.fillRect(SUB.x - 30, SUB.yZh - 46, 2, 108);
+ ctx.restore();
+ text(ctx, zh, SUB.x, SUB.yZh, { font: SUB.fontZh, track: SUB.trackZh, alpha, halo: 4 });
+ text(ctx, en, SUB.x, SUB.yEn, { font: SUB.fontEn, track: SUB.trackEn, alpha: alpha * 0.94, halo: 4 });
+}
diff --git a/styles/satellite-briefing/demo/stills/styleframe.jpg b/styles/satellite-briefing/demo/stills/styleframe.jpg
new file mode 100644
index 0000000..ba5b2a5
Binary files /dev/null and b/styles/satellite-briefing/demo/stills/styleframe.jpg differ
diff --git a/styles/satellite-briefing/demo/timeline.js b/styles/satellite-briefing/demo/timeline.js
new file mode 100644
index 0000000..6c88791
--- /dev/null
+++ b/styles/satellite-briefing/demo/timeline.js
@@ -0,0 +1,72 @@
+// The one timeline: picture, score, foley, voice and subtitles all read these numbers.
+// 100 BPM, 4/4: one beat = 0.6 s, one bar = 2.4 s. Key actions sit on beats (tools/cuecheck.py checks).
+export const BPM = 100;
+export const BEAT = 60 / BPM;
+export const b = n => +(n * BEAT).toFixed(4); // beat number -> seconds
+
+export const T = {
+ lock: b(1), // 0.6 reticle locks on the Aral
+ mapOn: b(2), // 1.2 map layer on: blue fill + 咸海
+ dive0: b(3), // 1.8 the dive starts
+ grey0: b(6), // 3.6 colour starts to drain
+ touch: b(9), // 5.4 touchdown, map blue drains away; silence 1
+ rewind: b(11), // 6.6 first sound after silence: the rewind
+ y1977: b(13), // 7.8 the sea in 1977, first ring
+ y1989: b(16), // 9.6
+ y2000: b(18), // 10.8
+ y2009: b(19.5), // 11.7
+ y2014: b(20.5), // 12.3
+ y2025: b(22), // 13.2 hard stop on today
+ portLock: b(24.5), // 14.7 the reticle locks on Muynak's old port before the push
+ push0: b(25.5), // 15.3 after a held breath, push towards the south shore
+ shore77: b(27.5), // 16.5 the 1977 shoreline is drawn past the port
+ horn: b(27), // 16.2 ship horn (J-cut)
+ muynak: b(27), // 16.2 label: old fishing port (with the horn)
+ arrive: b(29), // 17.4 the camera settles on the port
+ range0: b(31), // 18.6 the range line starts
+ rangeEnd: b(34), // 20.4 reading lands at today's sea, on the spoken number
+ sil2: b(36.5), // 21.9 silence 2
+ water: b(38), // 22.8 first sound after silence 2: water, before we see it (J-cut)
+ whip: b(39), // 23.4 whip pan north
+ north: b(40), // 24.0 arrive over the dam
+ dam: b(41), // 24.6 dam line complete
+ n2001: b(42), // 25.2 ring 2001
+ n2009: b(44), // 26.4 ring 2009, water regains colour
+ pull: b(48), // 28.8 pull back to orbit
+ relabel: b(51), // 30.6 咸海 label moves to the north sea (pins one beat later)
+ end: b(57), // 34.2 end card
+ dur: 37.8,
+};
+
+// ring sequence (south basin), time each ring is stamped; the scan sweep ends on that beat
+export const RINGS = [
+ { year: 1977, t: T.y1977, sweep: 0.50 },
+ { year: 1989, t: T.y1989, sweep: 0.55 },
+ { year: 2000, t: T.y2000, sweep: 0.48 },
+ { year: 2009, t: T.y2009, sweep: 0.40 },
+ { year: 2014, t: T.y2014, sweep: 0.34 },
+ { year: 2025, t: T.y2025, sweep: 0.48 },
+];
+// the rewind: today back to 1977, upward scans (time running backwards)
+export const REWIND = [
+ { from: 2025, to: 2014, t0: T.rewind + 0.00, t1: T.rewind + 0.22 },
+ { from: 2014, to: 2009, t0: T.rewind + 0.22, t1: T.rewind + 0.42 },
+ { from: 2009, to: 2000, t0: T.rewind + 0.42, t1: T.rewind + 0.62 },
+ { from: 2000, to: 1989, t0: T.rewind + 0.62, t1: T.rewind + 0.84 },
+ { from: 1989, to: 1977, t0: T.rewind + 0.84, t1: T.rewind + 1.10 },
+];
+
+// narration: id, start time, text (spoken), subtitle zh / en. Start times are refined against the
+// real TTS durations in voice/dur.json (tools/export.mjs checks that nothing overlaps).
+export const VO = [
+ { id: 'l1', t: 2.05, speed: 0.9, say: 'On the map, this is still a sea.', zh: '地图上,这里还是一片海。', en: 'On the map, this is still a sea.' },
+ { id: 'l2', t: 7.85, speed: 1.0, say: 'In nineteen seventy-seven, it was.', zh: '1977 年,它确实是。', en: 'In 1977, it was.', asr: 'In 1977, it was.' },
+ { id: 'l3', t: 10.78, speed: 1.0, say: 'Then its rivers went to the cotton fields.', zh: '后来,河水被引去种棉花。', en: 'Then its rivers went to the cotton fields.' },
+ { id: 'l4', t: 13.68, speed: 1.0, say: 'By twenty fourteen, the eastern basin had dried.', zh: '到 2014 年,东边的湖盆干涸了。', en: 'By 2014, the eastern basin had dried.', asr: 'By 2014, the eastern basin had dried.' },
+ { id: 'l5', t: 16.95, speed: 1.0, say: 'This was a fishing port.', zh: '这里曾是渔港。', en: 'This was a fishing port.' },
+ { id: 'l6', t: 19.12, speed: 1.0, say: 'Today, the sea is DIST kilometres away.', zh: '如今,海在 DIST 公里之外。', en: 'Today, the sea is DIST km away.', asr: 'Today, the sea is DIST kilometers away.' },
+ { id: 'l7', t: 23.72, speed: 0.9, say: 'But up north, a dam went in.', zh: '可在北边,修起了一道坝。', en: 'But up north, a dam went in.' },
+ { id: 'l8', t: 26.7, speed: 0.9, say: 'And the water came back.', zh: '水回来了。', en: 'And the water came back.' },
+ { id: 'l9', t: 29.4, speed: 0.9, say: 'The sea did not come back on its own.', zh: '海不是自己回来的。', en: 'The sea did not come back on its own.' },
+ { id: 'l10', t: 32.3, speed: 0.9, say: 'Someone kept it.', zh: '是有人把它留住了。', en: 'Someone kept it.' },
+];
diff --git a/styles/satellite-briefing/demo/timeline.json b/styles/satellite-briefing/demo/timeline.json
new file mode 100644
index 0000000..6784043
--- /dev/null
+++ b/styles/satellite-briefing/demo/timeline.json
@@ -0,0 +1,142 @@
+{
+ "bpm": 100,
+ "T": {
+ "lock": 0.6,
+ "mapOn": 1.2,
+ "dive0": 1.8,
+ "grey0": 3.6,
+ "touch": 5.4,
+ "rewind": 6.6,
+ "y1977": 7.8,
+ "y1989": 9.6,
+ "y2000": 10.8,
+ "y2009": 11.7,
+ "y2014": 12.3,
+ "y2025": 13.2,
+ "portLock": 14.7,
+ "push0": 15.3,
+ "shore77": 16.5,
+ "horn": 16.2,
+ "muynak": 16.2,
+ "arrive": 17.4,
+ "range0": 18.6,
+ "rangeEnd": 20.4,
+ "sil2": 21.9,
+ "water": 22.8,
+ "whip": 23.4,
+ "north": 24,
+ "dam": 24.6,
+ "n2001": 25.2,
+ "n2009": 26.4,
+ "pull": 28.8,
+ "relabel": 30.6,
+ "end": 34.2,
+ "dur": 37.8
+ },
+ "RINGS": [
+ {
+ "year": 1977,
+ "t": 7.8,
+ "sweep": 0.5
+ },
+ {
+ "year": 1989,
+ "t": 9.6,
+ "sweep": 0.55
+ },
+ {
+ "year": 2000,
+ "t": 10.8,
+ "sweep": 0.48
+ },
+ {
+ "year": 2009,
+ "t": 11.7,
+ "sweep": 0.4
+ },
+ {
+ "year": 2014,
+ "t": 12.3,
+ "sweep": 0.34
+ },
+ {
+ "year": 2025,
+ "t": 13.2,
+ "sweep": 0.48
+ }
+ ],
+ "REWIND": [
+ {
+ "from": 2025,
+ "to": 2014,
+ "t0": 6.6,
+ "t1": 6.819999999999999
+ },
+ {
+ "from": 2014,
+ "to": 2009,
+ "t0": 6.819999999999999,
+ "t1": 7.02
+ },
+ {
+ "from": 2009,
+ "to": 2000,
+ "t0": 7.02,
+ "t1": 7.22
+ },
+ {
+ "from": 2000,
+ "to": 1989,
+ "t0": 7.22,
+ "t1": 7.4399999999999995
+ },
+ {
+ "from": 1989,
+ "to": 1977,
+ "t0": 7.4399999999999995,
+ "t1": 7.699999999999999
+ }
+ ],
+ "VO": [
+ {
+ "id": "l1",
+ "t": 2.05
+ },
+ {
+ "id": "l2",
+ "t": 7.85
+ },
+ {
+ "id": "l3",
+ "t": 10.78
+ },
+ {
+ "id": "l4",
+ "t": 13.68
+ },
+ {
+ "id": "l5",
+ "t": 16.95
+ },
+ {
+ "id": "l6",
+ "t": 19.12
+ },
+ {
+ "id": "l7",
+ "t": 23.72
+ },
+ {
+ "id": "l8",
+ "t": 26.7
+ },
+ {
+ "id": "l9",
+ "t": 29.4
+ },
+ {
+ "id": "l10",
+ "t": 32.3
+ }
+ ]
+}
\ No newline at end of file
diff --git a/styles/satellite-briefing/demo/tools/audiocheck.py b/styles/satellite-briefing/demo/tools/audiocheck.py
new file mode 100644
index 0000000..1a055c0
--- /dev/null
+++ b/styles/satellite-briefing/demo/tools/audiocheck.py
@@ -0,0 +1,41 @@
+"""Objective look at the mix: per-stem RMS per second, onsets per second, silences.
+usage: python -I tools/audiocheck.py <demo_dir>"""
+import sys, os, json
+import numpy as np, soundfile as sf
+D = sys.argv[1]
+NAMES = ('voice', 'music', 'pulse', 'hits', 'fx', 'beds')
+st = {n: sf.read(os.path.join(D, 'out/stems', n + '.wav'))[0].mean(1) for n in NAMES}
+mix, sr = sf.read(os.path.join(D, 'out/mix.wav')); mix = mix.mean(1)
+db = lambda x: 20 * np.log10(np.sqrt(np.mean(x ** 2)) + 1e-9)
+n = len(mix) // sr
+print('sec mix voice music pulse hits fx beds onsets')
+# onsets: spectral flux peaks
+hop = 512; win = 1024
+frames = np.lib.stride_tricks.sliding_window_view(mix, win)[::hop] * np.hanning(win)
+S = np.abs(np.fft.rfft(frames, axis=1))
+flux = np.maximum(0, np.diff(np.log1p(S * 50), axis=0)).sum(1)
+# librosa-style peak picking: a local maximum (+-3 frames) that clears the local mean (+-0.5 s) by a margin
+from scipy.ndimage import maximum_filter1d, uniform_filter1d
+fl = flux / (np.percentile(flux, 99) + 1e-9)
+loc_max = maximum_filter1d(fl, 7); loc_mean = uniform_filter1d(fl, int(1.0 * sr / hop))
+cand = np.where((fl == loc_max) & (fl > loc_mean + 0.12))[0]
+peaks = []
+for i in cand:
+ if not peaks or i - peaks[-1] > int(.05 * sr / hop): peaks.append(int(i))
+pt = (np.array(peaks) * hop + win) / sr # flux at frame i reflects the window ending at i*hop+win
+for s in range(n):
+ a, b = s * sr, (s + 1) * sr
+ row = [db(mix[a:b])] + [db(st[k][a:b]) for k in NAMES]
+ print(f'{s:3d} ' + ' '.join(f'{v:5.1f}' for v in row) + f' {int(((pt >= s) & (pt < s + 1)).sum())}')
+print('total onsets', len(pt), 'per s', round(len(pt) / n, 2))
+# picture action -> nearest audio onset (every key event should have a transient within ~60 ms)
+EVJ = json.load(open(os.path.join(D, 'events.json')))['ev']
+keys = [e for e in EVJ if e['type'] in ('lock', 'map_on', 'touch', 'rewind', 'ring', 'stop', 'label', 'mark', 'range_end', 'whip', 'dam', 'nring', 'pin', 'end')]
+print('event t nearest onset (ms)')
+far = 0
+for e in keys:
+ dd = (pt - e['t']) * 1000; k = int(np.argmin(np.abs(dd))) if len(dd) else 0
+ m = dd[k] if len(dd) else 1e9
+ far += abs(m) > 60
+ print(f"{e['type']:10s} {e['t']:6.2f} {m:+7.0f}{' <-- no transient' if abs(m) > 60 else ''}")
+print(f'{len(keys) - far}/{len(keys)} key actions have an audio onset within 60 ms')
diff --git a/styles/satellite-briefing/demo/tools/bmng.py b/styles/satellite-briefing/demo/tools/bmng.py
new file mode 100644
index 0000000..97bbcf3
--- /dev/null
+++ b/styles/satellite-briefing/demo/tools/bmng.py
@@ -0,0 +1,42 @@
+"""Blue Marble plates for the globe: world (4096x2048) and Central Asia, the latter colour-matched to the
+2025 Landsat mosaic around the Aral so the inset dissolves into it without a visible patch.
+usage: python -I tools/bmng.py <demo_dir> (after tools/plates.py r2025)"""
+import sys, os, json
+import numpy as np
+from PIL import Image
+D = sys.argv[1]
+RAW = os.path.join(D, 'assets/raw/gibs'); PL = os.path.join(D, 'assets/plates')
+Image.MAX_IMAGE_PIXELS = None
+info = json.load(open(os.path.join(PL, 'plates.json')))
+
+w = Image.open(os.path.join(RAW, 'world.jpg')).convert('RGB').resize((4096, 2048), Image.LANCZOS)
+ca = np.asarray(Image.open(os.path.join(RAW, 'ca.jpg')).convert('RGB'), np.float32) / 255
+CW, CS, CE, CN = 40, 30, 80, 60
+H, W = ca.shape[:2]
+lon = CW + (np.arange(W) + .5) * (CE - CW) / W; lat = CN - (np.arange(H) + .5) * (CN - CS) / H
+
+# Landsat 2025 resampled onto the ca grid where they overlap
+r = info['r2025']; rw, rs, re, rn = r['plate']
+ls = np.asarray(Image.open(os.path.join(PL, 'r2025.jpg')).convert('RGB'), np.float32) / 255
+lw = np.asarray(Image.open(os.path.join(PL, 'r2025_w.png')), np.float32) / 255
+xi = ((lon - rw) / (re - rw) * r['W']).astype(int); yi = ((rn - lat) / (rn - rs) * r['H']).astype(int)
+ix = (xi >= 0) & (xi < r['W']); iy = (yi >= 0) & (yi < r['H'])
+X, Y = np.meshgrid(np.where(ix)[0], np.where(iy)[0])
+sub_ls = ls[yi[Y], xi[X]]; sub_w = lw[yi[Y], xi[X]]; sub_ca = ca[Y, X]
+ok = (sub_w < .1) & (sub_ls.sum(-1) > .15) & (sub_ls.max(-1) < .97) & (sub_ca.sum(-1) > .1)
+gain = np.ones(3); off = np.zeros(3)
+for c in range(3):
+ a = sub_ca[..., c][ok]; b = sub_ls[..., c][ok]
+ A = np.stack([a, np.ones_like(a)], 1); g, o = np.linalg.lstsq(A, b, rcond=None)[0]
+ gain[c], off[c] = g, o
+print('ca -> landsat fit gain', gain.round(3), 'offset', off.round(3))
+LO, LA = np.meshgrid(lon, lat)
+wgt = np.exp(-(((LO - 60) / 9) ** 2 + ((LA - 45) / 7) ** 2))[..., None]
+fixed = np.clip(ca * gain + off, 0, 1)
+out = ca if '--fit' not in sys.argv else ca * (1 - wgt) + fixed * wgt # the Landsat scenes are normalised to Blue Marble instead (tools/plates.py)
+Image.fromarray((out * 255 + .5).astype(np.uint8)).save(os.path.join(PL, 'ca.jpg'), quality=92)
+w.save(os.path.join(PL, 'world.jpg'), quality=92)
+info['ca'] = {'plate': [CW, CS, CE, CN], 'W': W, 'H': H, 'source': 'NASA Blue Marble: Next Generation via NASA GIBS', 'colour_fit': [gain.tolist(), off.tolist()]}
+info['world'] = {'plate': [-180, -90, 180, 90], 'W': 4096, 'H': 2048, 'source': 'NASA Blue Marble: Next Generation via NASA GIBS'}
+json.dump(info, open(os.path.join(PL, 'plates.json'), 'w'), indent=1)
+print('wrote world.jpg, ca.jpg')
diff --git a/styles/satellite-briefing/demo/tools/cuecheck.py b/styles/satellite-briefing/demo/tools/cuecheck.py
new file mode 100644
index 0000000..124b451
--- /dev/null
+++ b/styles/satellite-briefing/demo/tools/cuecheck.py
@@ -0,0 +1,26 @@
+"""Every key action sits on the music grid and has its sound: compares timeline.json (picture) with the
+beat grid (100 BPM, half-beats allowed) and with events.json (what mix.py places).
+usage: python -I tools/cuecheck.py <demo_dir> exit 1 on any miss"""
+import sys, os, json
+D = sys.argv[1]
+TL = json.load(open(os.path.join(D, 'timeline.json'))); EV = json.load(open(os.path.join(D, 'events.json')))['ev']
+T = TL['T']; beat = 60 / TL['bpm']
+SOUND = {'lock': 'lock', 'mapOn': 'map_on', 'dive0': 'dive', 'touch': 'touch', 'rewind': 'rewind', 'y1977': 'ring',
+ 'y1989': 'ring', 'y2000': 'ring', 'y2009': 'ring', 'y2014': 'ring', 'y2025': 'stop', 'push0': 'push', 'horn': 'horn',
+ 'muynak': 'label', 'range0': 'range', 'rangeEnd': 'range_end', 'sil2': 'silence', 'water': 'water_in', 'whip': 'whip',
+ 'north': 'dam_draw', 'dam': 'dam', 'n2001': 'nring', 'n2009': 'nring', 'pull': 'pull', 'end': 'end'}
+bad = 0
+print(f'{"cue":10s} {"time":>7s} {"beat":>6s} {"grid ms":>8s} sound')
+for k, snd in SOUND.items():
+ t = T[k]; b = t / beat; off = (b * 2 - round(b * 2)) * beat / 2 * 1000
+ hit = [e for e in EV if e['type'] == snd and abs(e['t'] - t) < 0.002]
+ ok = abs(off) < 1 and hit
+ bad += not ok
+ print(f'{k:10s} {t:7.3f} {b:6.2f} {off:8.1f} {snd if hit else "MISSING " + snd} {"" if ok else "<--"}')
+# relabel pin lands 0.5 s after relabel; check it is on a beat too
+pin = [e for e in EV if e['type'] == 'pin']
+for e in pin:
+ b = e['t'] / beat; off = (b * 2 - round(b * 2)) * beat / 2 * 1000
+ print(f'{"pin":10s} {e["t"]:7.3f} {b:6.2f} {off:8.1f} pin')
+print('all cues on the grid with their sounds' if not bad else f'{bad} cue(s) off')
+sys.exit(1 if bad else 0)
diff --git a/styles/satellite-briefing/demo/tools/export.mjs b/styles/satellite-briefing/demo/tools/export.mjs
new file mode 100644
index 0000000..7538529
--- /dev/null
+++ b/styles/satellite-briefing/demo/tools/export.mjs
@@ -0,0 +1,34 @@
+// timeline.js -> voice/lines.json (TTS input), timeline.json (for mix.py and cuecheck)
+// usage: node tools/export.mjs <demo_dir> [DIST]
+import fs from 'fs'; import path from 'path'; import { pathToFileURL } from 'url';
+const D = path.resolve(process.argv[2] || '.');
+const { T, VO, RINGS, REWIND, BPM } = await import(pathToFileURL(path.join(D, 'timeline.js')).href);
+const V = JSON.parse(fs.readFileSync(path.join(D, 'assets/vectors.json'), 'utf8'));
+const dist = V.points.dist_say || 'DIST';
+const lines = VO.map(L => ({ id: L.id, text: L.say.replace('DIST', dist), voice: 'bf_emma', speed: L.speed || 0.9, lang: 'en-gb', ...(L.asr ? { asr: L.asr.replace('DIST', V.points.dist_txt) } : {}) }));
+for (const L of lines) if (/DIST/.test(L.text)) throw new Error('distance not measured yet: run tools/vectors.py');
+fs.mkdirSync(path.join(D, 'voice'), { recursive: true }); fs.mkdirSync(path.join(D, 'out'), { recursive: true });
+fs.writeFileSync(path.join(D, 'voice/lines.json'), JSON.stringify(lines, null, 1));
+fs.writeFileSync(path.join(D, 'timeline.json'), JSON.stringify({ bpm: BPM, T, RINGS, REWIND, VO: VO.map(({ id, t }) => ({ id, t })) }, null, 1));
+console.log('wrote voice/lines.json and timeline.json');
+// subtitles from the real voice durations: each holds >= max(1.8, speech + 0.6) and never overlaps the next.
+// cues.json is the single source for the burned-in strip (film.js) and the .srt (zh line above, en line below)
+try {
+ const dur = JSON.parse(fs.readFileSync(path.join(D, 'voice/out/dur.json'), 'utf8'));
+ const DIST = V.points.dist_txt;
+ const cues = VO.map((L, i) => {
+ const t0 = +(L.t - 0.05).toFixed(3), hold = Math.max(1.8, dur[L.id] + 0.6);
+ const next = VO[i + 1] ? VO[i + 1].t - 0.05 - 0.04 : T.end - 0.05;
+ return { id: L.id, t0, t1: +Math.min(t0 + hold + 0.15, next).toFixed(3), zh: L.zh.replace('DIST', DIST), en: L.en.replace('DIST', DIST) };
+ });
+ fs.writeFileSync(path.join(D, 'cues.json'), JSON.stringify(cues, null, 1));
+ fs.writeFileSync(path.join(D, 'out/cues_srt.json'), JSON.stringify(cues.map(c => ({ t0: c.t0, t1: c.t1, text: c.zh + '\n' + c.en })), null, 1));
+ let bad = 0;
+ VO.forEach((L, i) => {
+ const d = dur[L.id], hold = Math.max(1.8, d + 0.6), end = L.t - 0.05 + hold, next = VO[i + 1] ? VO[i + 1].t - 0.05 : T.end;
+ const ok = end <= next - 0.04;
+ if (!ok) bad++;
+ console.log(`${L.id} ${L.t.toFixed(2)} speech ${d.toFixed(2)} -> ${(L.t + d).toFixed(2)} cue to ${end.toFixed(2)} next ${next.toFixed(2)} ${ok ? 'ok' : 'OVERLAP'}`);
+ });
+ if (bad) { console.error(bad + ' cue(s) overlap'); process.exitCode = 1; }
+} catch (e) { if (e.code !== 'ENOENT') throw e; }
diff --git a/styles/satellite-briefing/demo/tools/fetch_gibs.py b/styles/satellite-briefing/demo/tools/fetch_gibs.py
new file mode 100644
index 0000000..1860c7c
--- /dev/null
+++ b/styles/satellite-briefing/demo/tools/fetch_gibs.py
@@ -0,0 +1,62 @@
+"""Fetch NASA Blue Marble: Next Generation (public domain) from NASA GIBS WMS,
+tiled, and stitch it into one lon/lat (EPSG:4326) image.
+
+usage: python -I tools/fetch_gibs.py <demo_dir>
+Writes assets/raw/gibs/world.jpg (whole Earth) and assets/raw/gibs/ca.jpg
+(Central Asia). Every request URL goes to assets/raw/manifest.jsonl.
+"""
+import sys, os, io, json, time, datetime, urllib.request
+from concurrent.futures import ThreadPoolExecutor
+from PIL import Image
+
+WMS = 'https://gibs.earthdata.nasa.gov/wms/epsg4326/best/wms.cgi'
+LAYER = 'BlueMarble_NextGeneration'
+JOBS = {
+ # name: (west, south, east, north, width, height)
+ 'world': (-180, -90, 180, 90, 8192, 4096),
+ 'ca': (40, 30, 80, 60, 4800, 3600),
+}
+T = 1024
+
+
+def get(url):
+ for k in range(5):
+ try:
+ with urllib.request.urlopen(urllib.request.Request(url, headers={'User-Agent': 'lemo-opuscar-film/1.0'}), timeout=120) as r:
+ return r.read()
+ except Exception:
+ if k == 4:
+ raise
+ time.sleep(3 + 3 * k)
+
+
+def main():
+ demo = sys.argv[1]
+ out = os.path.join(demo, 'assets/raw/gibs'); os.makedirs(out, exist_ok=True)
+ log = open(os.path.join(demo, 'assets/raw/manifest.jsonl'), 'a')
+ for name, (w, s, e, n, W, H) in JOBS.items():
+ dst = os.path.join(out, name + '.jpg')
+ if os.path.exists(dst):
+ continue
+ img = Image.new('RGB', (W, H))
+ dx = (e - w) / W; dy = (n - s) / H
+ tiles = [(x, y) for y in range(0, H, T) for x in range(0, W, T)]
+
+ def one(xy):
+ x, y = xy
+ tw = min(T, W - x); th = min(T, H - y)
+ bb = (n - (y + th) * dy, w + x * dx, n - y * dy, w + (x + tw) * dx) # WMS 1.3.0 EPSG:4326 = lat,lon order
+ url = (f'{WMS}?SERVICE=WMS&REQUEST=GetMap&VERSION=1.3.0&LAYERS={LAYER}&STYLES=&CRS=EPSG:4326'
+ f'&BBOX={bb[0]:.6f},{bb[1]:.6f},{bb[2]:.6f},{bb[3]:.6f}&WIDTH={tw}&HEIGHT={th}&FORMAT=image/jpeg')
+ return xy, url, Image.open(io.BytesIO(get(url))).convert('RGB')
+
+ with ThreadPoolExecutor(6) as ex:
+ for (x, y), url, im in ex.map(one, tiles):
+ img.paste(im, (x, y))
+ log.write(json.dumps({'plate': 'gibs_' + name, 'url': url, 'accessed': datetime.date.today().isoformat()}) + '\n')
+ img.save(dst, quality=93)
+ print('wrote', dst, W, H)
+
+
+if __name__ == '__main__':
+ main()
diff --git a/styles/satellite-briefing/demo/tools/fetch_landsat.py b/styles/satellite-briefing/demo/tools/fetch_landsat.py
new file mode 100644
index 0000000..8f75122
--- /dev/null
+++ b/styles/satellite-briefing/demo/tools/fetch_landsat.py
@@ -0,0 +1,294 @@
+"""Fetch co-registered Landsat plates (public domain, USGS) through the Microsoft
+Planetary Computer STAC + data API. The server reprojects each scene to a
+lon/lat bbox; we composite the scenes of one year onto one plate grid.
+
+usage: python -I tools/fetch_landsat.py <demo_dir> <plate_name> [--list]
+Plates are defined in tools/plates_spec.json. Raw arrays are cached in
+assets/raw/landsat/<plate>/<item>.npz; the composite goes to
+assets/raw/landsat/<plate>.npz (bands float32 0..1 reflectance-ish + valid mask).
+Every request URL is appended to assets/raw/manifest.jsonl.
+"""
+import json, sys, os, io, math, time, urllib.request, urllib.parse, datetime
+from concurrent.futures import ThreadPoolExecutor
+import numpy as np
+
+STAC = 'https://planetarycomputer.microsoft.com/api/stac/v1/search'
+DATA = 'https://planetarycomputer.microsoft.com/api/data/v1/item/bbox'
+CHUNK = 1400
+
+
+def http(url, data=None, tries=5, timeout=180):
+ for k in range(tries):
+ try:
+ req = urllib.request.Request(url, data=data, headers={'Content-Type': 'application/json', 'User-Agent': 'lemo-opuscar-film/1.0'})
+ with urllib.request.urlopen(req, timeout=timeout) as r:
+ return r.read()
+ except Exception as e:
+ if k == tries - 1:
+ raise
+ time.sleep(2 + 3 * k)
+
+
+def search(spec):
+ body = {'collections': [spec['collection']], 'bbox': spec['bbox'], 'datetime': spec['datetime'], 'limit': 250}
+ q = {}
+ if spec.get('platforms'):
+ q['platform'] = {'in': spec['platforms']}
+ if q:
+ body['query'] = q
+ feats = json.loads(http(STAC, json.dumps(body).encode()))['features']
+ return feats
+
+
+def choose(spec, feats):
+ """One acquisition date per WRS path (adjacent rows then match), central paths first;
+ rows the chosen date misses are filled from the best other date."""
+ if spec.get('items'):
+ byid = {f['id']: f for f in feats}
+ return [byid[i] for i in spec['items'] if i in byid]
+ target = datetime.datetime.fromisoformat(spec['target'])
+ w, s_, e, n = spec['plate']; cx = (w + e) / 2; cy = (s_ + n) / 2
+ ok = []
+ for f in feats:
+ p = f['properties']
+ if any(x in f['id'] for x in spec.get('exclude', [])): # e.g. a scene with a dust plume over the sea
+ continue
+ if p.get('eo:cloud_cover', 100) > spec.get('max_cloud', 20):
+ continue
+ if 'L1GS' in f['id'] or 'L1GT' in f['id']:
+ continue
+ bw, bs, be, bn = f['bbox']
+ if be < w or bw > e or bn < s_ or bs > n:
+ continue
+ ok.append(f)
+ def date(f): return f['properties']['datetime'][:10]
+ def dd(f): return abs((datetime.datetime.fromisoformat(date(f)) - target).days)
+ paths = {}
+ for f in ok:
+ paths.setdefault(f['properties']['landsat:wrs_path'], []).append(f)
+ prim, rest = [], []
+ for path, fs in paths.items():
+ bydate = {}
+ for f in fs:
+ bydate.setdefault(date(f), []).append(f)
+ best = max(bydate.values(), key=lambda g: (len({x['properties']['landsat:wrs_row'] for x in g}), -sum(x['properties'].get('eo:cloud_cover', 0) for x in g) / len(g) * .5 - dd(g[0]) * spec.get('date_w', 1.0)))
+ prim += best
+ rows = {x['properties']['landsat:wrs_row'] for x in best}
+ for f in sorted(fs, key=lambda f: f['properties'].get('eo:cloud_cover', 0) * 3 + dd(f) * .25):
+ r = f['properties']['landsat:wrs_row']
+ if r not in rows:
+ rows.add(r); rest.append(f)
+ def central(f):
+ bw, bs, be, bn = f['bbox']
+ return abs((bw + be) / 2 - cx) + .3 * abs((bs + bn) / 2 - cy)
+ return sorted(prim, key=central) + sorted(rest, key=central)
+
+
+def grid(spec):
+ w, s, e, n = spec['plate']
+ dlon = spec['dlon']
+ dlat = dlon * math.cos(math.radians(spec.get('lat0', 45.0)))
+ W = int(round((e - w) / dlon)); H = int(round((n - s) / dlat))
+ return w, n, dlon, dlat, W, H
+
+
+def fetch_scene(demo, name, spec, f, log):
+ rs = spec.get('resampling', 'bilinear')
+ cache = os.path.join(demo, 'assets/raw/landsat', name + ('' if rs == 'bilinear' else '_' + rs), f['id'] + '.npz')
+ if os.path.exists(cache):
+ return cache
+ w0, n0, dlon, dlat, W, H = grid(spec)
+ bw, bs, be, bn = f['bbox']
+ x0 = max(0, int(math.floor((bw - w0) / dlon))); x1 = min(W, int(math.ceil((be - w0) / dlon)))
+ y0 = max(0, int(math.floor((n0 - bn) / dlat))); y1 = min(H, int(math.ceil((n0 - bs) / dlat)))
+ if x1 <= x0 or y1 <= y0:
+ return None
+ bands = spec['bands']
+ nb = len(bands)
+ arr = np.zeros((nb, y1 - y0, x1 - x0), np.uint16)
+ msk = np.zeros((y1 - y0, x1 - x0), np.uint8)
+ jobs = []
+ for cy in range(y0, y1, CHUNK):
+ for cx in range(x0, x1, CHUNK):
+ cw = min(CHUNK, x1 - cx); ch = min(CHUNK, y1 - cy)
+ bb = (w0 + cx * dlon, n0 - (cy + ch) * dlat, w0 + (cx + cw) * dlon, n0 - cy * dlat)
+ qs = [('collection', spec['collection']), ('item', f['id'])] + [('assets', b) for b in bands] + [('resampling', rs), ('reproject', rs)]
+ url = f"{DATA}/{bb[0]:.6f},{bb[1]:.6f},{bb[2]:.6f},{bb[3]:.6f}/{cw}x{ch}.npy?" + urllib.parse.urlencode(qs)
+ jobs.append((cx, cy, cw, ch, url))
+
+ def get(j):
+ cx, cy, cw, ch, url = j
+ raw = http(url)
+ a = np.load(io.BytesIO(raw), allow_pickle=False)
+ return j, a
+
+ with ThreadPoolExecutor(4) as ex:
+ for (cx, cy, cw, ch, url), a in ex.map(get, jobs):
+ arr[:, cy - y0:cy - y0 + ch, cx - x0:cx - x0 + cw] = a[:nb]
+ msk[cy - y0:cy - y0 + ch, cx - x0:cx - x0 + cw] = (a[nb] > 0)
+ log.write(json.dumps({'plate': name, 'item': f['id'], 'url': url, 'accessed': datetime.date.today().isoformat()}) + '\n')
+ os.makedirs(os.path.dirname(cache), exist_ok=True)
+ np.savez_compressed(cache, arr=arr, msk=msk, x0=x0, y0=y0)
+ return cache
+
+
+def dropouts(arr):
+ """thin structures where every MSS band is near zero (scan-line dropouts); wide dark areas (water) are kept"""
+ from scipy import ndimage
+ low = arr.max(0) < 15
+ wide = ndimage.binary_opening(low, structure=np.ones((5, 5)))
+ return ndimage.binary_dilation(low & ~wide, iterations=1)
+
+
+SCAN_DEG = 12.1 # MSS scan lines run at this angle (down-right) on the lon/lat plate grid around the Aral
+
+
+def destripe(a, off=12, grow=11, thr=0.025):
+ """MSS scan-line dropouts: long, thin, straight streaks along the scan direction. Rotate so the scan
+ lines are horizontal; a pixel belongs to a streak when it differs from the land 12 px above and below
+ it, consistently along 61 px of scan line. Streak pixels are replaced by the average of the land above
+ and below; water and coasts are left alone (the shoreline is the measurement)."""
+ from scipy import ndimage
+ nir = a[-1]
+ wet = ndimage.binary_dilation(nir < 0.09, iterations=14)
+ for b in range(a.shape[0]):
+ x = a[b]
+ r = ndimage.rotate(x, SCAN_DEG, reshape=True, order=1, mode='nearest')
+ w = ndimage.rotate(wet.astype(np.float32), SCAN_DEG, reshape=True, order=0) > .5
+ nb = 0.5 * (np.roll(r, off, 0) + np.roll(r, -off, 0))
+ d = r - nb
+ dl = ndimage.uniform_filter1d(d, 61, axis=1)
+ core = (np.abs(dl) > thr) & ~w
+ m = ndimage.binary_dilation(core, structure=np.ones((grow, 1))) & ~w
+ fix = np.where(m, nb, r)
+ H, W = x.shape
+ mb = ndimage.rotate(m.astype(np.float32), -SCAN_DEG, reshape=True, order=1)
+ fb = ndimage.rotate(fix, -SCAN_DEG, reshape=True, order=1)
+ oy = (mb.shape[0] - H) // 2; ox = (mb.shape[1] - W) // 2
+ mb = mb[oy:oy + H, ox:ox + W]; fb = fb[oy:oy + H, ox:ox + W]
+ sel = mb > 0.5
+ x[sel] = fb[sel]
+ return a
+
+
+def to_refl(spec, arr):
+ a = arr.astype(np.float32)
+ if spec['collection'] == 'landsat-c2-l2':
+ return np.clip(a * 2.75e-5 - 0.2, 0, 1) # USGS C2 L2 surface reflectance scale/offset
+ return a / 255.0 # MSS L1 DN (8-bit) as-is
+
+
+def main():
+ demo, name = sys.argv[1], sys.argv[2]
+ specs = json.load(open(os.path.join(demo, 'tools/plates_spec.json')))
+ spec = specs[name]
+ feats = search(spec)
+ sel = choose(spec, feats)
+ print(f'{name}: {len(feats)} found, {len(sel)} chosen')
+ for f in sel:
+ p = f['properties']; print(' ', f['id'], p['datetime'][:10], 'cc', p.get('eo:cloud_cover'))
+ if '--list' in sys.argv:
+ return
+ os.makedirs(os.path.join(demo, 'assets/raw'), exist_ok=True)
+ w0, n0, dlon, dlat, W, H = grid(spec)
+ nb = len(spec['bands'])
+ comp = np.zeros((nb, H, W), np.float32)
+ have = np.zeros((H, W), bool)
+ src = np.full((H, W), 255, np.uint8) # which scene (index into meta.scenes) each pixel came from
+ used = []
+ from scipy import ndimage
+ with open(os.path.join(demo, 'assets/raw/manifest.jsonl'), 'a') as log:
+ for f in sel:
+ c = fetch_scene(demo, name, spec, f, log)
+ if not c:
+ continue
+ z = np.load(c, allow_pickle=False)
+ x0, y0 = int(z['x0']), int(z['y0'])
+ a = to_refl(spec, z['arr']); m = z['msk'].astype(bool)
+ m &= (z['arr'][:2] > 0).all(0) # dropped lines / fill are DN 0 (not low reflectance: water SWIR is ~0)
+ if spec['collection'] == 'landsat-c2-l1': m &= ~dropouts(z['arr']) # MSS dropout lines: thin rows with every band near zero
+ m = ndimage.binary_erosion(m, iterations=3 if spec.get('resampling') == 'nearest' else 6) # scene rims: resampling against nodata
+ if spec['collection'] == 'landsat-c2-l1':
+ a = destripe(a, 3, 3, .02) if spec.get('resampling') == 'nearest' else destripe(a)
+ h, w = m.shape
+ sub = have[y0:y0 + h, x0:x0 + w]
+ ov = m & sub
+ if ov.sum() > 4000:
+ for b in range(nb):
+ r = np.median(comp[b, y0:y0 + h, x0:x0 + w][ov]) / max(1e-4, np.median(a[b][ov]))
+ a[b] *= float(np.clip(r, .75, 1.33))
+ put = m & ~sub
+ # feather: inside the overlap, blend the new scene in over 40 px from the old coverage's edge
+ if ov.any():
+ d = ndimage.distance_transform_edt(sub)
+ wgt = np.clip(1 - d / 40.0, 0, 1) * ov
+ for b in range(nb):
+ cb = comp[b, y0:y0 + h, x0:x0 + w]
+ cb[ov] = cb[ov] * (1 - wgt[ov]) + a[b][ov] * wgt[ov]
+ for b in range(nb):
+ comp[b, y0:y0 + h, x0:x0 + w][put] = a[b][put]
+ src[y0:y0 + h, x0:x0 + w][put] = len(used)
+ sub |= put
+ used.append({'id': f['id'], 'date': f['properties']['datetime'][:10], 'cloud': f['properties'].get('eo:cloud_cover'), 'pixels': int(put.sum())})
+ # gap fill: holes left by missing / cloudy rows are filled from a wider window with a looser cloud limit
+ if (~have).mean() > 0.002 and spec.get('fill_datetime'):
+ fs = dict(spec); fs['datetime'] = spec['fill_datetime']; fs['max_cloud'] = spec.get('fill_cloud', 40)
+ cand = [f for f in search(fs) if f['id'] not in {u['id'] for u in used} and 5 <= int(f['properties']['datetime'][5:7]) <= 10 and f['properties'].get('eo:cloud_cover', 100) <= fs['max_cloud']] # summer only; fill may use L1GS (systematic) scenes
+ cand.sort(key=lambda f: (('L1GS' in f['id']) * 50 + f['properties'].get('eo:cloud_cover', 100)))
+ # holes worth filling: inside the plate, away from its rim (the rim may simply lie outside every path)
+ rim = 40
+ hole = ~have; hole[:rim] = hole[-rim:] = False; hole[:, :rim] = hole[:, -rim:] = False
+ tried = 0
+ with open(os.path.join(demo, 'assets/raw/manifest.jsonl'), 'a') as log:
+ for f in cand:
+ if hole.sum() < 2000 or tried >= spec.get('fill_max', 8):
+ break
+ bw, bs, be, bn = f['bbox']
+ # the footprint is a rotated square: test only its central 60 %
+ cxm, cym = (bw + be) / 2, (bs + bn) / 2; hw, hh = (be - bw) * .3, (bn - bs) * .3
+ x0 = max(0, int((cxm - hw - w0) / dlon)); x1 = min(W, int((cxm + hw - w0) / dlon) + 1)
+ y0 = max(0, int((n0 - cym - hh) / dlat)); y1 = min(H, int((n0 - cym + hh) / dlat) + 1)
+ if x1 <= x0 or y1 <= y0 or hole[y0:y1, x0:x1].sum() < 2000:
+ continue
+ tried += 1
+ c = fetch_scene(demo, name, spec, f, log)
+ if not c:
+ continue
+ z = np.load(c, allow_pickle=False)
+ x0, y0 = int(z['x0']), int(z['y0'])
+ a = to_refl(spec, z['arr']); m = z['msk'].astype(bool) & (z['arr'][:2] > 0).all(0)
+ if spec['collection'] == 'landsat-c2-l1': m &= ~dropouts(z['arr'])
+ m = ndimage.binary_erosion(m, iterations=14 if spec['collection'] == 'landsat-c2-l1' else 6)
+ if spec['collection'] == 'landsat-c2-l1':
+ a = destripe(a, 3, 3, .02) if spec.get('resampling') == 'nearest' else destripe(a)
+ h, w = m.shape
+ sub = have[y0:y0 + h, x0:x0 + w]
+ ov = m & sub
+ if ov.sum() > 4000:
+ for b in range(nb):
+ r = np.median(comp[b, y0:y0 + h, x0:x0 + w][ov]) / max(1e-4, np.median(a[b][ov]))
+ a[b] *= float(np.clip(r, .75, 1.33))
+ put = m & ~sub
+ for b in range(nb):
+ comp[b, y0:y0 + h, x0:x0 + w][put] = a[b][put]
+ src[y0:y0 + h, x0:x0 + w][put] = len(used)
+ sub |= put
+ hole[y0:y0 + h, x0:x0 + w] &= ~put
+ used.append({'id': f['id'], 'date': f['properties']['datetime'][:10], 'cloud': f['properties'].get('eo:cloud_cover'), 'pixels': int(put.sum()), 'fill': True})
+ # thin holes (scan-line dropouts the overlapping scenes did not cover): fill from the neighbours
+ gap = ~have & (ndimage.distance_transform_edt(~have) <= 5)
+ if gap.any():
+ wv = ndimage.gaussian_filter(have.astype(np.float32), 2.5)
+ for b in range(nb):
+ fv = ndimage.gaussian_filter(comp[b] * have, 2.5)
+ comp[b][gap] = (fv / np.maximum(wv, 1e-6))[gap]
+ have |= gap & (wv > 0.05)
+ out = os.path.join(demo, 'assets/raw/landsat', name + '.npz')
+ np.savez_compressed(out, bands=comp.astype(np.float16), valid=have, src=src, meta=json.dumps({'name': name, 'bands': spec['bands'], 'plate': spec['plate'], 'dlon': dlon, 'dlat': dlat, 'W': W, 'H': H, 'scenes': used}))
+ print(f'wrote {out} {W}x{H} coverage {have.mean():.3f}')
+ for u in used:
+ print(' used', u)
+
+
+if __name__ == '__main__':
+ main()
diff --git a/styles/satellite-briefing/demo/tools/finalasr.py b/styles/satellite-briefing/demo/tools/finalasr.py
new file mode 100644
index 0000000..e9cce3f
--- /dev/null
+++ b/styles/satellite-briefing/demo/tools/finalasr.py
@@ -0,0 +1,21 @@
+"""Speech-to-text on the final mix (music, foley and all): every narration line must come back.
+usage: python -I tools/finalasr.py <film.mp4> <demo_dir> [model=small.en]"""
+import sys, os, json, re, subprocess, tempfile
+from faster_whisper import WhisperModel
+mp4, D = sys.argv[1], sys.argv[2]; model = sys.argv[3] if len(sys.argv) > 3 else 'small.en'
+wav = os.path.join(tempfile.mkdtemp(), 'mix16k.wav')
+subprocess.run(['ffmpeg', '-v', 'error', '-y', '-i', mp4, '-ac', '1', '-ar', '16000', wav], check=True)
+segs, _ = WhisperModel(model, device='cpu', compute_type='int8').transcribe(wav, language='en', word_timestamps=True, vad_filter=False)
+words = [(w.start, w.end, w.word) for s in segs for w in s.words]
+heard = ' '.join(w for _, _, w in words)
+print('heard:', heard.strip())
+norm = lambda s: re.sub(r'[^a-z0-9 ]', ' ', s.lower().replace('kilometres', 'kilometers')).split()
+lines = json.load(open(os.path.join(D, 'voice/lines.json')))
+H = norm(heard); bad = 0
+for L in lines:
+ exp = norm(L.get('asr') or L['text'])
+ # find the expected words as a contiguous run in what was heard
+ ok = any(H[i:i + len(exp)] == exp for i in range(len(H) - len(exp) + 1))
+ bad += not ok
+ print(('OK ' if ok else 'MISS ') + ' '.join(exp))
+print('all lines heard in the final mix' if not bad else f'{bad} line(s) not heard verbatim')
diff --git a/styles/satellite-briefing/demo/tools/fonts.py b/styles/satellite-briefing/demo/tools/fonts.py
new file mode 100644
index 0000000..c31f39c
--- /dev/null
+++ b/styles/satellite-briefing/demo/tools/fonts.py
@@ -0,0 +1,21 @@
+"""Subset the Chinese fonts to the characters the film uses (Google Fonts CSS2 API, &text=).
+usage: python -I tools/fonts.py <demo_dir> -> fonts/NotoSansSC-400.woff2, -500.woff2, NotoSerifSC-600.woff2
+Characters are collected from film.js, overlay.js and timeline.js (every CJK char + full-width punctuation),
+plus the Latin digits and signs so mixed strings render in one face."""
+import sys, os, re, urllib.request, urllib.parse
+D = sys.argv[1]
+src = ''.join(open(os.path.join(D, f), encoding='utf-8').read() for f in ('film.js', 'overlay.js', 'timeline.js'))
+cjk = sorted(set(re.findall(r'[ -〿一-鿿＀-￯·×→]', src)))
+extra = '0123456789%.,:;-+()/°²=→· ' + ''.join(chr(c) for c in range(65, 91)) + ''.join(chr(c) for c in range(97, 123)) # Latin inside Chinese labels (Landsat, km)
+text = ''.join(cjk) + extra
+print(len(cjk), 'CJK chars:', ''.join(cjk))
+UA = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120 Safari/537.36'
+def get(url):
+ return urllib.request.urlopen(urllib.request.Request(url, headers={'User-Agent': UA}), timeout=60).read()
+for fam, w, out in (('Noto Sans SC', 400, 'NotoSansSC-400.woff2'), ('Noto Sans SC', 500, 'NotoSansSC-500.woff2'), ('Noto Serif SC', 600, 'NotoSerifSC-600.woff2')):
+ css = get('https://fonts.googleapis.com/css2?family=' + urllib.parse.quote(fam) + f':wght@{w}&text=' + urllib.parse.quote(text)).decode()
+ urls = re.findall(r'url\((https://[^)]+)\)', css)
+ assert len(urls) == 1, css[:400]
+ data = get(urls[0])
+ open(os.path.join(D, 'fonts', out), 'wb').write(data)
+ print(out, len(data), 'bytes', urls[0][:80])
diff --git a/styles/satellite-briefing/demo/tools/growth.py b/styles/satellite-briefing/demo/tools/growth.py
new file mode 100644
index 0000000..c0ce66d
--- /dev/null
+++ b/styles/satellite-briefing/demo/tools/growth.py
@@ -0,0 +1,24 @@
+"""North Aral: where the water came back between 2001 and 2009, ordered by distance from the 2001 shore,
+so the shader can grow the 2009 water outward from the old edge (assets/plates/ko_grow.png).
+R = 0 where nothing changes, else 1..255 = how far (normalised) the new water lies from the 2001 water.
+usage: python -I tools/growth.py <demo_dir>"""
+import sys, os, json
+import numpy as np
+from PIL import Image
+from scipy import ndimage
+
+D = sys.argv[1]
+PL = os.path.join(D, 'assets/plates')
+m01 = np.asarray(Image.open(os.path.join(PL, 'ko2001_w.png')), np.float32) / 255 > .5
+m09 = np.asarray(Image.open(os.path.join(PL, 'ko2009_w.png')), np.float32) / 255 > .5
+new = m09 & ~m01
+new = ndimage.binary_opening(new, iterations=1)
+dist = ndimage.distance_transform_edt(~m01) # pixels from the 2001 water
+g = np.zeros(m01.shape, np.float32)
+if new.any():
+ d = dist[new]; top = np.percentile(d, 97)
+ g[new] = np.clip(d / max(top, 1), 0.004, 1)
+g = ndimage.gaussian_filter(g, 1.0) * ndimage.gaussian_filter(new.astype(np.float32), 1.0) / np.maximum(ndimage.gaussian_filter(new.astype(np.float32), 1.0), 1e-3)
+out = np.where(new | (g > 0.01), np.clip(g * 254 + 1, 1, 255), 0).astype(np.uint8)
+Image.fromarray(out).save(os.path.join(PL, 'ko_grow.png'))
+print('new water px', int(new.sum()), 'max distance px', float(dist[new].max()) if new.any() else 0)
diff --git a/styles/satellite-briefing/demo/tools/impactcheck.py b/styles/satellite-briefing/demo/tools/impactcheck.py
new file mode 100644
index 0000000..28008ad
--- /dev/null
+++ b/styles/satellite-briefing/demo/tools/impactcheck.py
@@ -0,0 +1,34 @@
+"""Where are the loudest moments? Momentary loudness (400 ms, K-weighted approximation) of the mix, the top peaks,
+and the level of the three designed impacts against the program. Also the music stem's spectral fullness per section.
+usage: python -I tools/impactcheck.py <demo_dir>"""
+import sys, os, json
+import numpy as np, soundfile as sf
+from scipy.signal import butter, sosfilt
+D = sys.argv[1]
+x, sr = sf.read(os.path.join(D, 'out/mix.wav')); x = x.mean(1)
+T = json.load(open(os.path.join(D, 'timeline.json')))['T']
+# K-weighting approximation: high shelf + high pass
+k = sosfilt(butter(2, 60, 'high', fs=sr, output='sos'), x)
+k = k + 0.6 * sosfilt(butter(2, 2000, 'high', fs=sr, output='sos'), k)
+hop = int(.05 * sr); win = int(.4 * sr)
+m = np.array([10 * np.log10(np.mean(k[i:i + win] ** 2) + 1e-12) for i in range(0, len(k) - win, hop)])
+tt = np.arange(len(m)) * .05 + .2
+order = np.argsort(-m); picks = []
+for i in order:
+ if all(abs(tt[i] - p) > .6 for p in picks): picks.append(tt[i])
+ if len(picks) == 8: break
+print('loudest moments (momentary, dB rel. max):', ', '.join(f'{p:.2f}s {m[int((p - .2) / .05)] - m.max():+.1f}' for p in sorted(picks)))
+for name, t0 in (('map torn away', T['touch']), ('hard stop', T['y2025']), ('dam closes', T['dam'])):
+ i = int((t0 + .05 - .2) / .05); j = int((t0 - .3 - .2) / .05)
+ print(f'{name:14s} {t0:6.2f}s momentary {m[i:i + 4].max() - m.max():+5.1f} dB rel. max, rank {int((m > m[i:i + 4].max()).sum() * .05 * 10) / 10:.1f} s louder, just before {m[j] - m[i:i + 4].max():+5.1f} dB')
+mu = sf.read(os.path.join(D, 'out/stems/music.wav'))[0].mean(1) + sf.read(os.path.join(D, 'out/stems/pulse.wav'))[0].mean(1)
+def bands(seg_):
+ F = np.fft.rfftfreq(len(seg_), 1 / sr); P = np.abs(np.fft.rfft(seg_ * np.hanning(len(seg_)))) ** 2
+ edges = [30, 80, 160, 320, 640, 1280, 2560, 5120, 10240]
+ e = [P[(F >= a) & (F < b)].sum() for a, b in zip(edges[:-1], edges[1:])]
+ e = 10 * np.log10(np.array(e) / max(e) + 1e-12)
+ return ' '.join(f'{v:5.0f}' for v in e), int((e > -24).sum())
+print('music + pulse stems: band energy (dB rel. strongest) 30-80-160-320-640-1k3-2k6-5k-10k, octaves within 24 dB')
+for name, a, b in (('orbit/dive', 0, T['touch']), ('rings', T['y1977'], T['y2025']), ('muynak', T['push0'], T['sil2']), ('north', T['dam'], T['pull']), ('climb', T['pull'], T['end'])):
+ s_, n = bands(mu[int(a * sr):int(b * sr)])
+ print(f' {name:11s} {s_} {n}/8')
diff --git a/styles/satellite-briefing/demo/tools/lowcheck.py b/styles/satellite-briefing/demo/tools/lowcheck.py
new file mode 100644
index 0000000..3b7b096
--- /dev/null
+++ b/styles/satellite-briefing/demo/tools/lowcheck.py
@@ -0,0 +1,11 @@
+"""Sub-bass share of a film's soundtrack: energy in 20-60 Hz (and 60-120 Hz) relative to the whole band, in dB.
+usage: python -I tools/lowcheck.py film.mp4 [film2.mp4 ...]"""
+import sys, subprocess
+import numpy as np
+for f in sys.argv[1:]:
+ raw = subprocess.run(['ffmpeg', '-v', 'error', '-i', f, '-ac', '1', '-ar', '48000', '-f', 'f32le', '-'], capture_output=True).stdout
+ x = np.frombuffer(raw, np.float32).astype(np.float64)
+ F = np.fft.rfftfreq(len(x), 1 / 48000); P = np.abs(np.fft.rfft(x)) ** 2
+ tot = P[(F >= 20) & (F < 20000)].sum()
+ b = lambda a, c: 10 * np.log10(P[(F >= a) & (F < c)].sum() / tot)
+ print(f'{f.split("/")[-1]:32s} 20-60 Hz {b(20, 60):6.1f} dB 60-120 Hz {b(60, 120):6.1f} dB 120-500 Hz {b(120, 500):6.1f} dB')
diff --git a/styles/satellite-briefing/demo/tools/mapfield.py b/styles/satellite-briefing/demo/tools/mapfield.py
new file mode 100644
index 0000000..8092c91
--- /dev/null
+++ b/styles/satellite-briefing/demo/tools/mapfield.py
@@ -0,0 +1,58 @@
+"""The map layer (the claim): a printed-atlas Aral Sea built from public-domain Natural Earth data.
+
+ assets/plates/mapfield.png R = distance inside the 1960 shore (0..60 km), G = distance outside it (0..60 km),
+ B = relief (Blue Marble luminance, for a faint hill-shade on the paper)
+ assets/vectors.json adds "rivers" (Amu Darya, Syr Darya near the sea) for the map's blue river lines
+
+The shader draws paper, sea fill, waterlines and the coast from the distance field (exact at any zoom),
+the overlay draws rivers and the map's serif place names.
+usage: python -I tools/mapfield.py <demo_dir>"""
+import sys, os, json
+import numpy as np
+from PIL import Image, ImageDraw
+from scipy import ndimage
+
+D = sys.argv[1]
+W0, S0, E0, N0, STEP = 54.0, 41.5, 66.0, 48.5, 0.01
+W, H = int(round((E0 - W0) / STEP)), int(round((N0 - S0) / STEP))
+lat0 = 45.0
+kx = 111.32 * np.cos(np.radians(lat0)) * STEP; ky = 110.57 * STEP # km per pixel
+
+ne = json.load(open(os.path.join(D, 'assets/raw/ne/ne_10m_lakes_historic.geojson')))
+im = Image.new('L', (W, H), 0); dr = ImageDraw.Draw(im)
+for f in ne['features']:
+ if f['properties'].get('name') != 'Aral Sea': continue
+ g = f['geometry']; polys = g['coordinates'] if g['type'] == 'MultiPolygon' else [g['coordinates']]
+ for poly in polys:
+ for k, ring in enumerate(poly):
+ dr.polygon([((x - W0) / STEP, (N0 - y) / STEP) for x, y in ring], fill=255 if k == 0 else 0)
+sea = np.asarray(im) > 0
+din = ndimage.distance_transform_edt(sea, sampling=(ky, kx))
+dout = ndimage.distance_transform_edt(~sea, sampling=(ky, kx))
+# relief from Blue Marble (Central Asia plate covers 40-80E, 30-60N)
+ca = np.asarray(Image.open(os.path.join(D, 'assets/raw/gibs/ca.jpg')).convert('L'), np.float32) / 255
+lon = W0 + (np.arange(W) + .5) * STEP; lat = N0 - (np.arange(H) + .5) * STEP
+xi = ((lon - 40) / 40 * ca.shape[1]).astype(int); yi = ((60 - lat) / 30 * ca.shape[0]).astype(int)
+rel = ca[yi[:, None], xi[None, :]]
+rel = ndimage.gaussian_filter(rel, 1.5)
+rel = np.clip((rel - np.percentile(rel, 2)) / (np.percentile(rel, 98) - np.percentile(rel, 2)), 0, 1)
+rgb = np.stack([np.clip(din / 60, 0, 1), np.clip(dout / 60, 0, 1), rel], -1)
+Image.fromarray((rgb * 255 + .5).astype(np.uint8)).save(os.path.join(D, 'assets/plates/mapfield.png'))
+info = json.load(open(os.path.join(D, 'assets/plates/plates.json')))
+info['mapfield'] = {'plate': [W0, S0, E0, N0], 'W': W, 'H': H, 'km': 60, 'source': 'Natural Earth ne_10m_lakes_historic; Blue Marble relief'}
+json.dump(info, open(os.path.join(D, 'assets/plates/plates.json'), 'w'), indent=1)
+
+# rivers near the sea
+rv = json.load(open(os.path.join(D, 'assets/raw/ne/ne_10m_rivers_lake_centerlines.geojson')))
+out = {}
+for f in rv['features']:
+ n = (f['properties'].get('name') or '').replace(' ', ' ')
+ if n not in ('Amu Darya', 'Syr Darya'): continue
+ g = f['geometry']; lines = g['coordinates'] if g['type'] == 'MultiLineString' else [g['coordinates']]
+ for L in lines:
+ L = [[round(x, 4), round(y, 4)] for x, y in L if 56 <= x <= 66 and 41.5 <= y <= 48]
+ if len(L) > 1: out.setdefault(n, []).append(L)
+V = json.load(open(os.path.join(D, 'assets/vectors.json')))
+V['rivers'] = out
+json.dump(V, open(os.path.join(D, 'assets/vectors.json'), 'w'), separators=(',', ':'))
+print('mapfield', W, H, 'sea px', int(sea.sum()), 'rivers', {k: sum(len(l) for l in v) for k, v in out.items()})
diff --git a/styles/satellite-briefing/demo/tools/motioncheck.py b/styles/satellite-briefing/demo/tools/motioncheck.py
new file mode 100644
index 0000000..5cde566
--- /dev/null
+++ b/styles/satellite-briefing/demo/tools/motioncheck.py
@@ -0,0 +1,33 @@
+"""Motion per frame (mean absolute difference of consecutive frames, 0-255 on a 240x135 grey copy).
+Flags any stretch longer than 1 s where the picture barely changes, and lists scene-change-like jumps.
+usage: python -I tools/motioncheck.py <video.mp4> [flat_threshold=0.6]"""
+import sys, subprocess
+import numpy as np
+v = sys.argv[1]; thr = float(sys.argv[2]) if len(sys.argv) > 2 else 0.6
+W, H = 240, 135
+raw = subprocess.run(['ffmpeg', '-v', 'error', '-i', v, '-vf', f'scale={W}:{H},format=gray', '-f', 'rawvideo', '-'], capture_output=True).stdout
+f = np.frombuffer(raw, np.uint8).reshape(-1, H, W).astype(np.float32)
+d = np.abs(np.diff(f, axis=0)).mean((1, 2))
+fps = 24
+print(f'frames {len(f)} mean motion {d.mean():.2f} median {np.median(d):.2f}')
+sec = len(d) // fps
+print('per second (mean / min of 0.25 s windows):')
+line = []
+for s in range(sec + 1):
+ seg_ = d[s * fps:(s + 1) * fps]
+ if len(seg_) == 0: continue
+ q = [seg_[i:i + 6].mean() for i in range(0, len(seg_), 6)]
+ line.append(f'{s:2d}:{seg_.mean():5.2f}/{min(q):4.2f}')
+for i in range(0, len(line), 6): print(' '.join(line[i:i + 6]))
+flat = d < thr
+run = 0; start = 0; bad = []
+for i, x in enumerate(np.append(flat, False)):
+ if x:
+ if run == 0: start = i
+ run += 1
+ else:
+ if run > fps: bad.append((start / fps, (start + run) / fps))
+ run = 0
+print('flat stretches > 1 s (motion <', thr, '):', [(round(a, 2), round(b, 2)) for a, b in bad] or 'none')
+jumps = [(round((i + 1) / fps, 2), round(float(x), 1)) for i, x in enumerate(d) if x > max(12, 6 * np.median(d))]
+print('big jumps (cut-like):', jumps[:40])
diff --git a/styles/satellite-briefing/demo/tools/plates.py b/styles/satellite-briefing/demo/tools/plates.py
new file mode 100644
index 0000000..a647aa2
--- /dev/null
+++ b/styles/satellite-briefing/demo/tools/plates.py
@@ -0,0 +1,276 @@
+"""Turn raw Landsat composites (assets/raw/landsat/<plate>.npz) into film plates:
+
+ assets/plates/<plate>.jpg true colour, one shared stretch for every year (so years compare)
+ assets/plates/<plate>_w.png soft water mask (MNDWI / MSS NIR), cleaned to the sea basins
+ assets/plates/plates.json bbox, size, scene list, measured water area per plate
+
+usage: python -I tools/plates.py <demo_dir> [plate ...]
+"""
+import sys, os, json, math
+import numpy as np
+from PIL import Image
+from scipy import ndimage
+
+DEMO = sys.argv[1]
+RAW = os.path.join(DEMO, 'assets/raw/landsat')
+OUT = os.path.join(DEMO, 'assets/plates'); os.makedirs(OUT, exist_ok=True)
+REF = 'r2025' # every plate is matched to this one's land
+# one stretch for all plates (surface reflectance → display), chosen on the 2025 desert
+LO, HI, GAMMA = 0.02, 0.42, 1 / 1.55
+
+
+def load(name):
+ z = np.load(os.path.join(RAW, name + '.npz'), allow_pickle=False)
+ meta = json.loads(str(z['meta']))
+ b = {n: z['bands'][i].astype(np.float32) for i, n in enumerate(meta['bands'])}
+ return b, z['valid'], meta
+
+
+def lonlat(meta):
+ w, s, e, n = meta['plate']
+ lon = w + (np.arange(meta['W']) + .5) * meta['dlon']
+ lat = n - (np.arange(meta['H']) + .5) * meta['dlat']
+ return lon, lat
+
+
+def pix_area_km2(meta):
+ lon, lat = lonlat(meta)
+ return (meta['dlon'] * 111.32 * np.cos(np.radians(lat)) * meta['dlat'] * 110.57)[:, None]
+
+
+def quantile_match(x, src_mask, ref_vals):
+ """map x so that its distribution over src_mask matches ref_vals"""
+ q = np.linspace(0.5, 99.5, 120)
+ a = np.percentile(x[src_mask], q); r = np.percentile(ref_vals, q)
+ a = np.maximum.accumulate(a + np.arange(len(a)) * 1e-6)
+ return np.interp(x, a, r)
+
+
+def clean_lines(b, valid, angle, win=21, along=61, thr=0.012):
+ """Remove long straight streaks running at `angle` degrees on the plate (MSS scan-line dropouts at ~12 deg,
+ request-chunk seams at 0 deg): rotate so they are horizontal, compare each pixel with the median of a
+ tall across-line window, keep only residuals that persist along the line, replace them with that median.
+ Water and coasts are left untouched (the shoreline is the measurement)."""
+ nir = b.get('nir09', b.get('nir08'))
+ wet = ndimage.binary_dilation((ndimage.median_filter(nir, 9) < 0.09) & valid, iterations=10) # thin dark streaks are not water
+ out = {}
+ for k, x in b.items():
+ r = ndimage.rotate(x, angle, reshape=True, order=1, mode='nearest') if angle else x
+ w = (ndimage.rotate(wet.astype(np.float32), angle, reshape=True, order=0) > .5) if angle else wet
+ med = ndimage.median_filter(r, size=(win, 1))
+ res = r - med
+ lr = ndimage.uniform_filter1d(res, along, axis=1)
+ m = (np.abs(lr) > thr) & (np.abs(res) > thr * 1.2) & ~w
+ m = ndimage.binary_dilation(m, structure=np.ones((3, 1)))
+ if angle:
+ H, W = x.shape
+ mb = ndimage.rotate(m.astype(np.float32), -angle, reshape=True, order=1)
+ fb = ndimage.rotate(med, -angle, reshape=True, order=1)
+ oy = (mb.shape[0] - H) // 2; ox = (mb.shape[1] - W) // 2
+ mb = mb[oy:oy + H, ox:ox + W] > .4; fb = fb[oy:oy + H, ox:ox + W]
+ else:
+ mb, fb = m, med
+ y = x.copy(); y[mb] = fb[mb]; out[k] = y
+ return out
+
+
+def clean_rows(b, valid):
+ """1-px horizontal seams where server request chunks meet: a row that differs from the rows above and
+ below consistently along 61 px (water included: the sea is smooth there)"""
+ out = {}
+ for k, x in b.items():
+ up = np.roll(x, 1, 0); dn = np.roll(x, -1, 0)
+ d = x - 0.5 * (up + dn)
+ dl = ndimage.uniform_filter1d(d, 61, axis=1)
+ bad = (np.abs(dl) > 0.003) & (np.abs(d) > 0.003)
+ y = x.copy(); y[bad] = 0.5 * (up[bad] + dn[bad]); out[k] = y
+ return out
+
+
+def destreak_rgb(img, wet, angles=(11.2, 11.8, 12.4, 13.0), win=25, along=81, thr=0.012):
+ """Last pass on the finished colour plate: long straight streaks (darker or brighter than the land
+ around them) at the MSS scan angles are replaced by the across-streak median. Water is left alone."""
+ for ang in angles:
+ lum = img.mean(-1)
+ r = ndimage.rotate(lum, ang, reshape=True, order=1, mode='nearest')
+ w = ndimage.rotate(wet.astype(np.float32), ang, reshape=True, order=0) > .5
+ med = ndimage.median_filter(r, size=(win, 1))
+ res = r - med
+ lr = ndimage.uniform_filter1d(res, along, axis=1)
+ m = (np.abs(lr) > thr) & (np.abs(res) > thr) & ~w
+ m = ndimage.binary_dilation(m, structure=np.ones((5, 1)))
+ H, W = lum.shape
+ mb = ndimage.rotate(m.astype(np.float32), -ang, reshape=True, order=1)
+ oy = (mb.shape[0] - H) // 2; ox = (mb.shape[1] - W) // 2
+ mb = mb[oy:oy + H, ox:ox + W] > .3
+ if not mb.any(): continue
+ for c in range(3):
+ ch = ndimage.rotate(img[..., c], ang, reshape=True, order=1, mode='nearest')
+ mc = ndimage.median_filter(ch, size=(win, 1))
+ fb = ndimage.rotate(mc, -ang, reshape=True, order=1)[oy:oy + H, ox:ox + W]
+ img[..., c][mb] = fb[mb]
+ return img
+
+
+def water(b, valid, meta):
+ if 'swir16' in b:
+ mndwi = (b['green'] - b['swir16']) / (b['green'] + b['swir16'] + 1e-6)
+ ndwi = (b['green'] - b['nir08']) / (b['green'] + b['nir08'] + 1e-6)
+ w = np.clip((mndwi - 0.0) / 0.25, 0, 1) * np.clip((ndwi + 0.15) / 0.2, 0, 1)
+ else: # MSS: water is black in the 0.8-1.1 um band
+ nir = b['nir09']
+ ndwi = (b['green'] - nir) / (b['green'] + nir + 1e-6)
+ w = np.clip((ndwi - 0.15) / 0.2, 0, 1) * np.clip((0.085 - nir) / 0.04, 0, 1)
+ w = ndimage.gaussian_filter(w, 1.0) * valid
+ return w
+
+
+def historic_mask(meta):
+ """the Natural Earth historic Aral Sea polygon, rasterised on this plate (slightly grown)"""
+ from PIL import ImageDraw
+ ne = json.load(open(os.path.join(DEMO, 'assets/raw/ne/ne_10m_lakes_historic.geojson')))
+ w0, s, e, n0 = meta['plate']
+ im = Image.new('L', (meta['W'], meta['H']), 0); d = ImageDraw.Draw(im)
+ for f in ne['features']:
+ if f['properties'].get('name') != 'Aral Sea': continue
+ g = f['geometry']; polys = g['coordinates'] if g['type'] == 'MultiPolygon' else [g['coordinates']]
+ for poly in polys:
+ for k, ring in enumerate(poly):
+ pts = [((x - w0) / meta['dlon'], (n0 - y) / meta['dlat']) for x, y in ring]
+ d.polygon(pts, fill=255 if k == 0 else 0)
+ m = np.asarray(im) > 0
+ return ndimage.binary_dilation(m, iterations=max(1, int(0.03 / meta['dlon'])))
+
+
+def clean(w, meta, min_km2=25.0):
+ """keep water bodies inside the historic sea that are larger than min_km2; close small gaps"""
+ m = w > 0.5
+ m = ndimage.binary_opening(m, iterations=1)
+ m = ndimage.binary_closing(m, iterations=2)
+ lab, n = ndimage.label(m)
+ if n == 0: return m
+ pa = float(pix_area_km2(meta).mean())
+ sizes = ndimage.sum(m, lab, range(1, n + 1)) * pa
+ hist = historic_mask(meta)
+ inside = ndimage.sum(hist, lab, range(1, n + 1)) > 0
+ keep = np.zeros(n + 1, bool); keep[1:] = (sizes >= min_km2) & inside
+ sea = keep[lab]
+ # fill islands smaller than ~3 km2 so contours stay readable
+ holes = ndimage.binary_fill_holes(sea) & ~sea
+ hl, hn = ndimage.label(holes)
+ if hn:
+ hs = ndimage.sum(holes, hl, range(1, hn + 1)) * pa
+ sea |= np.isin(hl, 1 + np.where(hs < 3.0)[0])
+ return sea
+
+
+# water seed points (lon, lat): open water somewhere in each basin in each year it existed
+SEEDS = [(59.2, 45.3), (58.5, 44.9), (58.35, 44.3), (60.6, 45.4), (59.9, 44.5), (61.05, 46.35), (60.3, 46.45), (61.3, 46.6), (59.6, 46.0), (58.6, 45.9), (61.4, 46.25), (60.75, 46.15), (60.2, 46.0), (59.35, 45.65)]
+
+
+def bmng_on(meta):
+ """NASA Blue Marble (Central Asia, 2004 composite) resampled onto this plate, display units 0..1"""
+ ca = np.asarray(Image.open(os.path.join(DEMO, 'assets/raw/gibs/ca.jpg')).convert('RGB'), np.float32) / 255
+ lon, lat = lonlat(meta)
+ xi = np.clip(((lon - 40) / 40 * ca.shape[1]).astype(int), 0, ca.shape[1] - 1)
+ yi = np.clip(((60 - lat) / 30 * ca.shape[0]).astype(int), 0, ca.shape[0] - 1)
+ return ca[yi[:, None], xi[None, :]]
+
+
+def normalise_scenes(img, src, valid, wsoft, meta, scenes):
+ """one gain per scene and channel so every scene agrees with Blue Marble on stable land
+ (outside the historic sea, not water, not salt-white); gains are smoothed across seams"""
+ bm = bmng_on(meta)
+ hist = historic_mask(meta)
+ hist = ndimage.binary_dilation(hist, iterations=max(1, int(0.25 / meta['dlon'])))
+ land = valid & ~hist & (wsoft < .05) & (img.max(-1) < .92) & (img.min(-1) > .04)
+ G = np.ones((len(scenes) + 1, 3), np.float32)
+ for k in range(len(scenes)):
+ sel = land & (src == k)
+ if sel.sum() < 3000: continue
+ for c in range(3):
+ G[k, c] = np.clip(np.median(bm[..., c][sel]) / max(1e-3, np.median(img[..., c][sel])), .6, 1.6)
+ # scenes without enough stable land: borrow the median gain
+ good = [k for k in range(len(scenes)) if (land & (src == k)).sum() >= 3000]
+ if good:
+ med = np.median(G[good], 0)
+ for k in range(len(scenes)):
+ if k not in good: G[k] = med
+ G[-1] = np.median(G[:-1], 0)
+ idx = np.where(src == 255, len(scenes), np.minimum(src, len(scenes)))
+ gf = G[idx]
+ sig = max(2.0, 8.0 / (meta['dlon'] * 111.32 * .7)) # ~8 km
+ for c in range(3):
+ gf[..., c] = ndimage.gaussian_filter(gf[..., c], sig)
+ return np.clip(img * gf, 0, 1), G
+
+
+def main():
+ names = sys.argv[2:] or sorted(f[:-4] for f in os.listdir(RAW) if f.endswith('.npz'))
+ rb, rv, rm = load(REF)
+ ref_lum = {}
+ # reference land: valid, not water, not cloud-bright
+ rw = water(rb, rv, rm) > 0.2
+ for k in ('red', 'green', 'blue'):
+ v = rb[k][rv & ~rw]
+ ref_lum[k] = v[np.random.default_rng(1).integers(0, v.size, 400000)]
+ info = json.load(open(os.path.join(OUT, 'plates.json'))) if os.path.exists(os.path.join(OUT, 'plates.json')) else {}
+ for name in names:
+ b, valid, meta = load(name)
+ if name == 'r1977': # Landsat 2 MSS: scan-line dropouts and chunk seams
+ b = clean_rows(b, valid)
+ for _ in range(3):
+ b = clean_lines(b, valid, 12.1, thr=0.009)
+ wsoft = water(b, valid, meta)
+ if 'blue' not in b: # MSS false → natural-looking colour by matching each channel to the reference land
+ land = valid & (wsoft < 0.2)
+ rgb = {'red': quantile_match(b['red'], land, ref_lum['red']), 'green': quantile_match(b['green'], land, ref_lum['green'])}
+ rgb['blue'] = quantile_match(b['green'] * .6 + b['red'] * .4, land, ref_lum['blue'])
+ # water in MSS visible bands is too bright after matching: darken by the nir water signal
+ for k in rgb:
+ rgb[k] = rgb[k] * (1 - .45 * wsoft)
+ else:
+ rgb = {k: b[k] for k in ('red', 'green', 'blue')}
+ if name != REF and name.startswith('r'):
+ land = valid & (wsoft < 0.2)
+ for k in rgb: # gentle match (half way) so sensors agree without erasing real change
+ m = quantile_match(rgb[k], land, ref_lum[k])
+ rgb[k] = rgb[k] * .5 + m * .5
+ img = np.stack([rgb['red'], rgb['green'], rgb['blue']], -1)
+ img = np.clip((img - LO) / (HI - LO), 0, 1) ** GAMMA
+ z = np.load(os.path.join(RAW, name + '.npz'), allow_pickle=False)
+ if 'src' in z.files:
+ img, G = normalise_scenes(img, z['src'], valid, wsoft, meta, meta['scenes'])
+ # gap-fill scenes come from other dates or systematic processing: match their water to the main scenes'
+ src = z['src']; fills = [k for k, sc in enumerate(meta['scenes']) if sc.get('fill')]
+ wet = (wsoft > 0.5) & valid
+ main = wet & ~np.isin(src, fills)
+ for k in fills:
+ sel = wet & (src == k)
+ if sel.sum() > 500 and main.sum() > 5000:
+ g = np.median(img[main], 0) / np.maximum(np.median(img[sel], 0), 1e-3)
+ w = ndimage.gaussian_filter(sel.astype(np.float32), 3)[..., None]
+ img = img * (1 - w) + np.clip(img * g, 0, 1) * w
+ img[~valid] = bmng_on(meta)[~valid] # holes at the rims: Blue Marble underneath
+ if name == 'r1977':
+ wet = ndimage.binary_dilation(ndimage.median_filter(wsoft, 9) > .3, iterations=8)
+ img = destreak_rgb(img, wet)
+ # inside the sea: faint horizontal seams and scan streaks on near-black water
+ core = ndimage.binary_erosion(ndimage.median_filter(wsoft, 9) > .5, iterations=6)
+ img = destreak_rgb(img, ~core, angles=(0.0, 12.1), win=15, along=61, thr=0.004)
+ if name == 'r1989': # a thin bright streak (contrail / scan glitch) across the open water
+ core = ndimage.binary_erosion(ndimage.median_filter(wsoft, 9) > .5, iterations=4)
+ img = destreak_rgb(img, ~core, angles=(-21.0, -18.0, -15.5, -13.0, -10.0), win=17, along=41, thr=0.01)
+ Image.fromarray((img * 255 + .5).astype(np.uint8)).save(os.path.join(OUT, name + '.jpg'), quality=92)
+ sea = clean(wsoft, meta)
+ soft = ndimage.gaussian_filter(sea.astype(np.float32), 1.2)
+ Image.fromarray((soft * 255 + .5).astype(np.uint8)).save(os.path.join(OUT, name + '_w.png'), optimize=True)
+ area = float((sea * pix_area_km2(meta)).sum())
+ info[name] = {'plate': meta['plate'], 'W': meta['W'], 'H': meta['H'], 'dlon': meta['dlon'], 'dlat': meta['dlat'],
+ 'scenes': meta['scenes'], 'water_km2': round(area, 1), 'coverage': round(float(valid.mean()), 4)}
+ print(f"{name}: {meta['W']}x{meta['H']} water {area:,.0f} km2 coverage {valid.mean():.3f}")
+ json.dump(info, open(os.path.join(OUT, 'plates.json'), 'w'), indent=1)
+
+
+if __name__ == '__main__':
+ main()
diff --git a/styles/satellite-briefing/demo/tools/plates_spec.json b/styles/satellite-briefing/demo/tools/plates_spec.json
new file mode 100644
index 0000000..ac92c70
--- /dev/null
+++ b/styles/satellite-briefing/demo/tools/plates_spec.json
@@ -0,0 +1,350 @@
+{
+ "r1977": {
+ "collection": "landsat-c2-l1",
+ "platforms": [
+ "landsat-2"
+ ],
+ "bbox": [
+ 55.3,
+ 42.9,
+ 64.7,
+ 47.4
+ ],
+ "plate": [
+ 55.3,
+ 42.9,
+ 64.7,
+ 47.4
+ ],
+ "dlon": 0.0024,
+ "datetime": "1977-07-05/1977-10-10",
+ "target": "1977-09-01",
+ "bands": [
+ "green",
+ "red",
+ "nir08",
+ "nir09"
+ ],
+ "max_cloud": 15,
+ "fill_datetime": "1977-05-01/1977-10-31",
+ "fill_cloud": 30,
+ "resampling": "nearest"
+ },
+ "r1989": {
+ "collection": "landsat-c2-l2",
+ "platforms": [
+ "landsat-5",
+ "landsat-4"
+ ],
+ "bbox": [
+ 55.3,
+ 42.9,
+ 64.7,
+ 47.4
+ ],
+ "plate": [
+ 55.3,
+ 42.9,
+ 64.7,
+ 47.4
+ ],
+ "dlon": 0.0024,
+ "datetime": "1989-06-01/1989-10-15",
+ "target": "1989-09-01",
+ "bands": [
+ "blue",
+ "green",
+ "red",
+ "nir08",
+ "swir16"
+ ],
+ "max_cloud": 12,
+ "fill_datetime": "1989-05-01/1989-10-31",
+ "fill_cloud": 30,
+ "exclude": [
+ "_161027_19890816",
+ "_161028_19890816",
+ "_161029_19890816",
+ "_161030_19890816"
+ ]
+ },
+ "r2000": {
+ "collection": "landsat-c2-l2",
+ "platforms": [
+ "landsat-7"
+ ],
+ "bbox": [
+ 55.3,
+ 42.9,
+ 64.7,
+ 47.4
+ ],
+ "plate": [
+ 55.3,
+ 42.9,
+ 64.7,
+ 47.4
+ ],
+ "dlon": 0.0024,
+ "datetime": "2000-07-05/2000-10-10",
+ "target": "2000-09-01",
+ "bands": [
+ "blue",
+ "green",
+ "red",
+ "nir08",
+ "swir16"
+ ],
+ "max_cloud": 12,
+ "fill_datetime": "2000-05-01/2000-10-31",
+ "fill_cloud": 30
+ },
+ "r2009": {
+ "collection": "landsat-c2-l2",
+ "platforms": [
+ "landsat-5"
+ ],
+ "bbox": [
+ 55.3,
+ 42.9,
+ 64.7,
+ 47.4
+ ],
+ "plate": [
+ 55.3,
+ 42.9,
+ 64.7,
+ 47.4
+ ],
+ "dlon": 0.0024,
+ "datetime": "2009-07-05/2009-10-10",
+ "target": "2009-09-01",
+ "bands": [
+ "blue",
+ "green",
+ "red",
+ "nir08",
+ "swir16"
+ ],
+ "max_cloud": 12,
+ "fill_datetime": "2009-05-01/2009-10-31",
+ "fill_cloud": 30
+ },
+ "r2014": {
+ "collection": "landsat-c2-l2",
+ "platforms": [
+ "landsat-8"
+ ],
+ "bbox": [
+ 55.3,
+ 42.9,
+ 64.7,
+ 47.4
+ ],
+ "plate": [
+ 55.3,
+ 42.9,
+ 64.7,
+ 47.4
+ ],
+ "dlon": 0.0024,
+ "datetime": "2014-07-05/2014-10-10",
+ "target": "2014-09-01",
+ "bands": [
+ "blue",
+ "green",
+ "red",
+ "nir08",
+ "swir16"
+ ],
+ "max_cloud": 12,
+ "fill_datetime": "2014-05-01/2014-10-31",
+ "fill_cloud": 30
+ },
+ "r2025": {
+ "collection": "landsat-c2-l2",
+ "platforms": [
+ "landsat-8",
+ "landsat-9"
+ ],
+ "bbox": [
+ 55.3,
+ 42.9,
+ 64.7,
+ 47.4
+ ],
+ "plate": [
+ 55.3,
+ 42.9,
+ 64.7,
+ 47.4
+ ],
+ "dlon": 0.0024,
+ "datetime": "2025-07-05/2025-10-10",
+ "target": "2025-08-19",
+ "bands": [
+ "blue",
+ "green",
+ "red",
+ "nir08",
+ "swir16"
+ ],
+ "max_cloud": 12,
+ "fill_datetime": "2025-05-01/2025-10-31",
+ "fill_cloud": 30
+ },
+ "mu2025": {
+ "collection": "landsat-c2-l2",
+ "platforms": [
+ "landsat-8",
+ "landsat-9"
+ ],
+ "bbox": [
+ 58.05,
+ 43.55,
+ 59.45,
+ 44.75
+ ],
+ "plate": [
+ 58.05,
+ 43.55,
+ 59.45,
+ 44.75
+ ],
+ "dlon": 0.00045,
+ "datetime": "2025-07-05/2025-10-10",
+ "target": "2025-08-19",
+ "bands": [
+ "blue",
+ "green",
+ "red",
+ "nir08",
+ "swir16"
+ ],
+ "max_cloud": 12
+ },
+ "ko2025": {
+ "collection": "landsat-c2-l2",
+ "platforms": [
+ "landsat-8",
+ "landsat-9"
+ ],
+ "bbox": [
+ 60.2,
+ 45.8,
+ 61.6,
+ 46.5
+ ],
+ "plate": [
+ 60.2,
+ 45.8,
+ 61.6,
+ 46.5
+ ],
+ "dlon": 0.0004,
+ "datetime": "2025-07-05/2025-10-10",
+ "target": "2025-08-19",
+ "bands": [
+ "blue",
+ "green",
+ "red",
+ "nir08",
+ "swir16"
+ ],
+ "max_cloud": 12
+ },
+ "la2025": {
+ "collection": "landsat-c2-l2",
+ "platforms": [
+ "landsat-8",
+ "landsat-9"
+ ],
+ "bbox": [
+ 59.55,
+ 44.6,
+ 60.65,
+ 45.2
+ ],
+ "plate": [
+ 59.55,
+ 44.6,
+ 60.65,
+ 45.2
+ ],
+ "dlon": 0.00035,
+ "datetime": "2025-07-05/2025-10-10",
+ "target": "2025-08-19",
+ "bands": [
+ "blue",
+ "green",
+ "red",
+ "nir08",
+ "swir16"
+ ],
+ "max_cloud": 12
+ },
+ "ko2001": {
+ "collection": "landsat-c2-l2",
+ "platforms": [
+ "landsat-5",
+ "landsat-7"
+ ],
+ "bbox": [
+ 60.2,
+ 45.8,
+ 61.6,
+ 46.5
+ ],
+ "plate": [
+ 60.2,
+ 45.8,
+ 61.6,
+ 46.5
+ ],
+ "dlon": 0.0004,
+ "datetime": "2001-06-15/2001-09-30",
+ "target": "2001-08-15",
+ "bands": [
+ "blue",
+ "green",
+ "red",
+ "nir08",
+ "swir16"
+ ],
+ "max_cloud": 12
+ },
+ "ko2009": {
+ "collection": "landsat-c2-l2",
+ "platforms": [
+ "landsat-5"
+ ],
+ "bbox": [
+ 60.2,
+ 45.8,
+ 61.6,
+ 46.5
+ ],
+ "plate": [
+ 60.2,
+ 45.8,
+ 61.6,
+ 46.5
+ ],
+ "dlon": 0.0004,
+ "datetime": "2009-07-01/2009-09-30",
+ "target": "2009-08-20",
+ "bands": [
+ "blue",
+ "green",
+ "red",
+ "nir08",
+ "swir16"
+ ],
+ "max_cloud": 12,
+ "items": [
+ "LT05_L2SP_160028_20090909_02_T1",
+ "LT05_L2SP_161028_20090916_02_T1",
+ "LT05_L2SP_160028_20090723_02_T1"
+ ]
+ }
+}
\ No newline at end of file
diff --git a/styles/satellite-briefing/demo/tools/preview.py b/styles/satellite-briefing/demo/tools/preview.py
new file mode 100644
index 0000000..992621f
--- /dev/null
+++ b/styles/satellite-briefing/demo/tools/preview.py
@@ -0,0 +1,12 @@
+"""Quick look at a composite plate: true colour (or MSS false colour) + NDWI water mask."""
+import sys, json, numpy as np
+from PIL import Image
+z = np.load(sys.argv[1], allow_pickle=False); meta = json.loads(str(z['meta']))
+b = {n: z['bands'][i].astype(np.float32) for i, n in enumerate(meta['bands'])}
+if 'blue' in b: rgb = np.stack([b['red'], b['green'], b['blue']], -1)
+else: rgb = np.stack([b['red'], b['green'], b['green'] * .8 + b['red'] * .1], -1)
+lo, hi = np.percentile(rgb[z['valid']], [1, 99.5]); rgb = np.clip((rgb - lo) / (hi - lo), 0, 1) ** (1 / 1.4)
+nir = b.get('nir09', b['nir08']); ndwi = (b['green'] - nir) / (b['green'] + nir + 1e-6)
+im = Image.fromarray((rgb * 255).astype(np.uint8)); im.thumbnail((1100, 1100)); im.save(sys.argv[2])
+w = Image.fromarray(((ndwi > float(sys.argv[3]) if len(sys.argv) > 3 else ndwi > 0) * 255).astype(np.uint8)); w.thumbnail((1100, 1100)); w.save(sys.argv[2].replace('.jpg', '_w.png'))
+print(meta['W'], meta['H'], 'ndwi pct', np.percentile(ndwi[z['valid']], [5, 25, 50, 75, 95]))
diff --git a/styles/satellite-briefing/demo/tools/subcheck.mjs b/styles/satellite-briefing/demo/tools/subcheck.mjs
new file mode 100644
index 0000000..658cb4f
--- /dev/null
+++ b/styles/satellite-briefing/demo/tools/subcheck.mjs
@@ -0,0 +1,14 @@
+// Subtitle single-line check, measured in the page with the real fonts (Noto Sans SC 38 px for the Chinese line,
+// Barlow Condensed 33 px for the English line, nowrap): every line must be narrower than the safe width.
+// usage (from the library root): node <demo>/tools/subcheck.mjs <demo> exit 1 if any line is too wide
+import path from 'path';
+const LIB = process.env.LIB || path.resolve(path.dirname(new URL(import.meta.url).pathname), '../../../..');
+const { openDemo, closeServer } = await import(path.join(LIB, 'core/render/page.mjs'));
+const dir = path.resolve(process.argv[2] || '.');
+const { browser, page } = await openDemo(dir);
+const r = await page.evaluate(() => window.SUBCHECK);
+await browser.close(); closeServer();
+console.log(`safe width ${r.safe}px (Chinese line: Noto Sans SC 500 38px, English line: Barlow Condensed 400 33px, both nowrap)`);
+for (const c of r.cues) console.log(`${c.ok ? 'OK ' : 'WIDE'} ${c.id.padEnd(4)} zh ${String(c.wz).padStart(4)}px en ${String(c.we).padStart(4)}px ${c.zh} | ${c.en}`);
+console.log(r.ok ? 'all subtitle lines fit on one line' : 'some lines are too wide');
+process.exit(r.ok ? 0 : 1);
diff --git a/styles/satellite-briefing/demo/tools/vectors.py b/styles/satellite-briefing/demo/tools/vectors.py
new file mode 100644
index 0000000..428b0ba
--- /dev/null
+++ b/styles/satellite-briefing/demo/tools/vectors.py
@@ -0,0 +1,236 @@
+"""Vectors for the film, all in lon/lat: shoreline rings per year (marching squares on the water
+masks from tools/plates.py), the Natural Earth historic sea for the map layer, measured areas and
+the measured distance from Muynak's old port to today's water.
+
+usage: python -I tools/vectors.py <demo_dir> -> assets/vectors.json
+"""
+import sys, os, json, math
+import numpy as np
+from PIL import Image
+from scipy import ndimage
+
+DEMO = sys.argv[1]
+PL = os.path.join(DEMO, 'assets/plates')
+INFO = json.load(open(os.path.join(PL, 'plates.json')))
+BASE_KM2 = 68000.0 # USGS Earthshots: "The Aral Sea once covered about 68,000 square kilometers"
+
+# hand-checked points (lon, lat) on the 2025 / 2009 Landsat plates
+MUYNAK_PORT = (59.030, 43.785) # Muynak ship cemetery at the old harbour front
+LANDING = (60.18, 44.93) # dry floor of the eastern basin (salt crust), 2025
+
+
+def mask(name):
+ return np.asarray(Image.open(os.path.join(PL, name + '_w.png')), np.float32) / 255.0
+
+
+def marching(F, L=0.5):
+ """iso-lines of F at level L -> list of polylines in (x, y) pixel coords (pixel centres)."""
+ H, W = F.shape
+ a = F[:-1, :-1] > L; b = F[:-1, 1:] > L; c = F[1:, 1:] > L; d = F[1:, :-1] > L
+ idx = a * 1 + b * 2 + c * 4 + d * 8
+ ii, jj = np.nonzero((idx > 0) & (idx < 15))
+ def ep(e, i, j): # edge point
+ if e == 0: # top a-b
+ fa, fb = F[i, j], F[i, j + 1]; t = (L - fa) / (fb - fa + 1e-12); return (j + t, i), ('h', i, j)
+ if e == 1: # right b-c
+ fa, fb = F[i, j + 1], F[i + 1, j + 1]; t = (L - fa) / (fb - fa + 1e-12); return (j + 1, i + t), ('v', i, j + 1)
+ if e == 2: # bottom d-c
+ fa, fb = F[i + 1, j], F[i + 1, j + 1]; t = (L - fa) / (fb - fa + 1e-12); return (j + t, i + 1), ('h', i + 1, j)
+ fa, fb = F[i, j], F[i + 1, j]; t = (L - fa) / (fb - fa + 1e-12); return (j, i + t), ('v', i, j)
+ TAB = {1: [(3, 0)], 2: [(0, 1)], 3: [(3, 1)], 4: [(1, 2)], 6: [(0, 2)], 7: [(3, 2)], 8: [(2, 3)],
+ 9: [(2, 0)], 11: [(2, 1)], 12: [(1, 3)], 13: [(1, 0)], 14: [(0, 3)]}
+ pts = {}; adj = {}
+ for i, j in zip(ii.tolist(), jj.tolist()):
+ k = int(idx[i, j])
+ if k in (5, 10):
+ cen = (F[i, j] + F[i, j + 1] + F[i + 1, j] + F[i + 1, j + 1]) / 4 > L
+ segs = [(3, 0), (1, 2)] if (k == 5) != cen else [(3, 2), (1, 0)]
+ if k == 10: segs = [(0, 3), (2, 1)] if cen else [(0, 1), (2, 3)]
+ else:
+ segs = TAB[k]
+ for e0, e1 in segs:
+ p0, k0 = ep(e0, i, j); p1, k1 = ep(e1, i, j)
+ pts[k0] = p0; pts[k1] = p1
+ adj.setdefault(k0, []).append(k1); adj.setdefault(k1, []).append(k0)
+ seen = set(); lines = []
+ order = [k for k in adj if len(adj[k]) == 1] + [k for k in adj if len(adj[k]) != 1]
+ for start in order:
+ if start in seen: continue
+ line = [start]; seen.add(start); cur = start
+ while True:
+ nx = [n for n in adj[cur] if n not in seen]
+ if not nx:
+ if len(line) > 2 and start in adj[cur]: line.append(start) # closed loop
+ break
+ cur = nx[0]; seen.add(cur); line.append(cur)
+ lines.append([pts[k] for k in line])
+ return lines
+
+
+def rdp(P, eps):
+ P = np.asarray(P)
+ if len(P) < 3: return P
+ keep = np.zeros(len(P), bool); keep[0] = keep[-1] = True
+ st = [(0, len(P) - 1)]
+ while st:
+ i0, i1 = st.pop()
+ if i1 - i0 < 2: continue
+ a, b = P[i0], P[i1]; ab = b - a; n = np.hypot(*ab)
+ seg = P[i0 + 1:i1]
+ d = np.abs(ab[0] * (seg[:, 1] - a[1]) - ab[1] * (seg[:, 0] - a[0])) / n if n > 0 else np.hypot(*(seg - a).T)
+ k = int(np.argmax(d))
+ if d[k] > eps:
+ keep[i0 + 1 + k] = True; st += [(i0, i0 + 1 + k), (i0 + 1 + k, i1)]
+ return P[keep]
+
+
+def to_ll(info, line):
+ w, s, e, n = info['plate']
+ return [[round(w + (x + .5) * info['dlon'], 5), round(n - (y + .5) * info['dlat'], 5)] for x, y in line]
+
+
+def length_km(ll):
+ a = np.radians(np.asarray(ll)); lat = (a[1:, 1] + a[:-1, 1]) / 2
+ dx = np.diff(a[:, 0]) * np.cos(lat); dy = np.diff(a[:, 1])
+ return float(np.sum(np.hypot(dx, dy)) * 6371.0)
+
+
+def rings_of(name, min_km=12, sigma=1.4, eps=0.6, clip=None):
+ info = INFO[name]
+ F = ndimage.gaussian_filter(mask(name), sigma)
+ out = []
+ H, W = F.shape
+ for L0 in marching(F):
+ # drop the parts of a contour that run along the plate's border (water cut by the plate edge is not a shore)
+ pieces, cur = [], []
+ for x, y in L0:
+ if x < 8 or y < 8 or x > W - 9 or y > H - 9:
+ if len(cur) > 2: pieces.append(cur)
+ cur = []
+ else:
+ cur.append((x, y))
+ if len(cur) > 2: pieces.append(cur)
+ for L in pieces:
+ L = rdp(L, eps)
+ ll = to_ll(info, L)
+ if len(ll) < 3 or length_km(ll) < min_km: continue
+ if clip:
+ w, s_, e, n = clip
+ if not any(w <= x <= e and s_ <= y <= n for x, y in ll): continue
+ out.append(ll)
+ return out
+
+
+ONES = 'zero one two three four five six seven eight nine ten eleven twelve thirteen fourteen fifteen sixteen seventeen eighteen nineteen'.split()
+TENS = 'zero ten twenty thirty forty fifty sixty seventy eighty ninety'.split()
+def words(n):
+ if n < 20: return ONES[n]
+ if n < 100: return TENS[n // 10] + ('' if n % 10 == 0 else '-' + ONES[n % 10])
+ h, r = divmod(n, 100)
+ return ONES[h] + ' hundred' + ('' if r == 0 else ' and ' + words(r))
+
+
+def hav(lo1, la1, lo2, la2):
+ p1, p2 = np.radians(la1), np.radians(la2)
+ a = np.sin((p2 - p1) / 2) ** 2 + np.cos(p1) * np.cos(p2) * np.sin(np.radians(lo2 - lo1) / 2) ** 2
+ return 2 * 6371.0088 * np.arcsin(np.sqrt(a))
+
+
+def nearest_water(name, lon, lat, seed=None):
+ """nearest water pixel; with seed=(lon, lat), only the water body that contains the seed"""
+ info = INFO[name]; m = mask(name) > .5
+ w, s, e, n = info['plate']
+ if seed:
+ lab, _ = ndimage.label(m)
+ sx = int((seed[0] - w) / info['dlon']); sy = int((n - seed[1]) / info['dlat'])
+ r = 8; ids = np.unique(lab[max(0, sy - r):sy + r, max(0, sx - r):sx + r]); ids = ids[ids > 0]
+ m = np.isin(lab, ids)
+ ys, xs = np.nonzero(m)
+ lo = w + (xs + .5) * info['dlon']; la = n - (ys + .5) * info['dlat']
+ d = hav(lon, lat, lo, la); i = int(np.argmin(d))
+ return float(d[i]), [round(float(lo[i]), 5), round(float(la[i]), 5)]
+
+
+def crossings(lines, lat):
+ """longitudes where polylines cross the parallel `lat`"""
+ out = []
+ for L in lines:
+ P = np.asarray(L)
+ for (x0, y0), (x1, y1) in zip(P[:-1], P[1:]):
+ if (y0 - lat) * (y1 - lat) < 0:
+ out.append(x0 + (lat - y0) / (y1 - y0) * (x1 - x0))
+ return out
+
+
+def crossings_line(lines, A, B):
+ """points where polylines cross segment A-B (lon/lat), with the parameter along A-B"""
+ A = np.asarray(A, float); B = np.asarray(B, float); out = []
+ for L in lines:
+ P = np.asarray(L)
+ for p, q in zip(P[:-1], P[1:]):
+ r = B - A; s_ = q - p; den = r[0] * s_[1] - r[1] * s_[0]
+ if abs(den) < 1e-12: continue
+ u = ((p[0] - A[0]) * s_[1] - (p[1] - A[1]) * s_[0]) / den
+ v = ((p[0] - A[0]) * r[1] - (p[1] - A[1]) * r[0]) / den
+ if 0 <= u <= 1 and 0 <= v <= 1: out.append((u, (A + u * r).tolist()))
+ return out
+
+
+def main():
+ V = {'base_km2': BASE_KM2, 'rings': {}, 'area': {}, 'north': {}, 'points': {}}
+ for y in (1977, 1989, 2000, 2009, 2014, 2025):
+ name = f'r{y}'
+ if name not in INFO: continue
+ V['rings'][str(y)] = rings_of(name, clip=(57.6, 43.3, 62.2, 47.2))
+ a = INFO[name]['water_km2']
+ V['area'][str(y)] = {'km2': a, 'pct': round(100 * a / BASE_KM2, 1)}
+ print(y, f'{a:,.0f} km2', f"{100 * a / BASE_KM2:.1f}%", 'rings', len(V['rings'][str(y)]), sum(len(l) for l in V['rings'][str(y)]), 'pts')
+ # north sea rings from the detail plates (only the part around the north basin)
+ for y in (2001, 2009, 2025):
+ name = f'ko{y}'
+ if name not in INFO: continue
+ V['north'][str(y)] = rings_of(name, min_km=6, sigma=1.2, eps=0.5)
+ # Natural Earth: the historic sea (map layer) and today's two seas
+ ne = json.load(open(os.path.join(DEMO, 'assets/raw/ne/ne_10m_lakes_historic.geojson')))
+ for f in ne['features']:
+ if f['properties'].get('name') == 'Aral Sea':
+ g = f['geometry']; polys = g['coordinates'] if g['type'] == 'MultiPolygon' else [g['coordinates']]
+ V['historic'] = [[[round(x, 4), round(y, 4)] for x, y in ring] for poly in polys for ring in poly]
+ # area of the historic polygon (spherical excess approx via local projection)
+ def parea(ring):
+ r = np.radians(np.asarray(ring)); lat0 = r[:, 1].mean()
+ x = r[:, 0] * np.cos(lat0) * 6371.0088; y = r[:, 1] * 6371.0088
+ return abs(0.5 * np.sum(x[:-1] * y[1:] - x[1:] * y[:-1]))
+ V['historic_km2'] = round(parea(V['historic'][0]) - sum(parea(r) for r in V['historic'][1:]), 0)
+ print('NE historic polygon', V['historic_km2'], 'km2')
+ V['points']['muynak'] = list(MUYNAK_PORT)
+ V['points']['landing'] = list(LANDING)
+ # Muynak -> today's sea: the remaining South Aral (its western basin), measured on the 2025 mosaic
+ WEST_SEED = (58.45, 44.9)
+ for name in ('mu2025', 'r2025'):
+ if name in INFO:
+ try:
+ d, p = nearest_water(name, *MUYNAK_PORT, seed=WEST_SEED if name == 'r2025' else None)
+ except ValueError:
+ continue
+ V['points']['edge_' + name] = p; V['points']['dist_' + name] = round(d, 1)
+ print('Muynak -> nearest sea water on', name, f'{d:.1f} km at', p)
+ d = V['points'].get('dist_r2025')
+ if d:
+ V['points']['edge'] = V['points']['edge_r2025']; V['points']['dist_km'] = d
+ V['points']['dist_txt'] = str(int(d + .5))
+ V['points']['dist_say'] = words(int(d + .5))
+ # transect across the eastern basin: where each year's shore crosses it (east-most crossing)
+ TLAT = 45.05
+ V['transect'] = [[61.55, TLAT], [58.2, TLAT]]
+ V['cross'] = {}
+ for y, lines in V['rings'].items():
+ xs = [x for x in crossings(lines, TLAT) if 58.2 <= x <= 61.55]
+ if xs: V['cross'][y] = [round(max(xs), 4), TLAT]
+ print('transect crossings', V['cross'])
+ json.dump(V, open(os.path.join(DEMO, 'assets/vectors.json'), 'w'), separators=(',', ':'))
+ print('wrote assets/vectors.json', os.path.getsize(os.path.join(DEMO, 'assets/vectors.json')) // 1024, 'KB')
+
+
+if __name__ == '__main__':
+ main()
diff --git a/styles/satellite-briefing/demo/tools/voicefix.py b/styles/satellite-briefing/demo/tools/voicefix.py
new file mode 100644
index 0000000..0f08df7
--- /dev/null
+++ b/styles/satellite-briefing/demo/tools/voicefix.py
@@ -0,0 +1,15 @@
+"""Trim TTS artefacts after synthesis. Kokoro sometimes over-aspirates a final stop: in "Someone kept it."
+the released t becomes a small extra syllable that speech-to-text hears as "too". Cut it with a short fade.
+usage: python -I tools/voicefix.py <demo_dir>"""
+import sys, os, json
+import numpy as np, soundfile as sf
+D = sys.argv[1]
+FIX = {'l10': 1.035} # seconds to keep (end of the closure of "it" + a little release)
+dur = json.load(open(os.path.join(D, 'voice/out/dur.json')))
+for k, keep in FIX.items():
+ p = os.path.join(D, 'voice/out', k + '.wav'); x, sr = sf.read(p)
+ n = int(keep * sr)
+ if len(x) > n:
+ x = x[:n].copy(); f = int(.035 * sr); x[-f:] *= np.linspace(1, 0, f) ** 2
+ sf.write(p, x, sr); dur[k] = round(len(x) / sr, 3); print(k, 'trimmed to', dur[k])
+json.dump(dur, open(os.path.join(D, 'voice/out/dur.json'), 'w'), indent=1)
diff --git a/styles/satellite-briefing/demo/voice/lines.json b/styles/satellite-briefing/demo/voice/lines.json
new file mode 100644
index 0000000..df6a443
--- /dev/null
+++ b/styles/satellite-briefing/demo/voice/lines.json
@@ -0,0 +1,75 @@
+[
+ {
+ "id": "l1",
+ "text": "On the map, this is still a sea.",
+ "voice": "bf_emma",
+ "speed": 0.9,
+ "lang": "en-gb"
+ },
+ {
+ "id": "l2",
+ "text": "In nineteen seventy-seven, it was.",
+ "voice": "bf_emma",
+ "speed": 1,
+ "lang": "en-gb",
+ "asr": "In 1977, it was."
+ },
+ {
+ "id": "l3",
+ "text": "Then its rivers went to the cotton fields.",
+ "voice": "bf_emma",
+ "speed": 1,
+ "lang": "en-gb"
+ },
+ {
+ "id": "l4",
+ "text": "By twenty fourteen, the eastern basin had dried.",
+ "voice": "bf_emma",
+ "speed": 1,
+ "lang": "en-gb",
+ "asr": "By 2014, the eastern basin had dried."
+ },
+ {
+ "id": "l5",
+ "text": "This was a fishing port.",
+ "voice": "bf_emma",
+ "speed": 1,
+ "lang": "en-gb"
+ },
+ {
+ "id": "l6",
+ "text": "Today, the sea is ninety-five kilometres away.",
+ "voice": "bf_emma",
+ "speed": 1,
+ "lang": "en-gb",
+ "asr": "Today, the sea is 95 kilometers away."
+ },
+ {
+ "id": "l7",
+ "text": "But up north, a dam went in.",
+ "voice": "bf_emma",
+ "speed": 0.9,
+ "lang": "en-gb"
+ },
+ {
+ "id": "l8",
+ "text": "And the water came back.",
+ "voice": "bf_emma",
+ "speed": 0.9,
+ "lang": "en-gb"
+ },
+ {
+ "id": "l9",
+ "text": "The sea did not come back on its own.",
+ "voice": "bf_emma",
+ "speed": 0.9,
+ "lang": "en-gb"
+ },
+ {
+ "id": "l10",
+ "text": "Someone kept it.",
+ "voice": "bf_emma",
+ "speed": 0.9,
+ "lang": "en-gb"
+ }
+]
\ No newline at end of file
diff --git a/styles/satellite-briefing/demo/voice/out/dur.json b/styles/satellite-briefing/demo/voice/out/dur.json
new file mode 100644
index 0000000..f9591c2
--- /dev/null
+++ b/styles/satellite-briefing/demo/voice/out/dur.json
@@ -0,0 +1,12 @@
+{
+ "l1": 1.916,
+ "l2": 2.283,
+ "l3": 2.254,
+ "l4": 2.624,
+ "l5": 1.509,
+ "l6": 2.766,
+ "l7": 1.859,
+ "l8": 1.595,
+ "l9": 2.16,
+ "l10": 1.035
+}
\ No newline at end of file
diff --git a/styles/satellite-briefing/demo/voice/out/words.json b/styles/satellite-briefing/demo/voice/out/words.json
new file mode 100644
index 0000000..03f9128
--- /dev/null
+++ b/styles/satellite-briefing/demo/voice/out/words.json
@@ -0,0 +1,337 @@
+{
+"l1": [
+[
+"On",
+-0.6,
+0.18
+],
+[
+"the",
+0.18,
+0.36
+],
+[
+"map",
+0.36,
+0.58
+],
+[
+"this",
+0.58,
+0.82
+],
+[
+"is",
+0.82,
+1.0
+],
+[
+"still",
+1.0,
+1.22
+],
+[
+"a",
+1.22,
+1.38
+],
+[
+"sea.",
+1.38,
+1.68
+]
+],
+"l2": [
+[
+"In",
+-0.6,
+0.14
+],
+[
+"1977,",
+0.14,
+1.1
+],
+[
+"it",
+1.7,
+1.76
+],
+[
+"was...",
+1.76,
+2.86
+]
+],
+"l3": [
+[
+"Then",
+-0.6,
+0.2
+],
+[
+"its",
+0.2,
+0.42
+],
+[
+"rivers",
+0.42,
+0.7
+],
+[
+"went",
+0.7,
+1.0
+],
+[
+"to",
+1.0,
+1.18
+],
+[
+"the",
+1.18,
+1.3
+],
+[
+"cotton",
+1.3,
+1.52
+],
+[
+"fields.",
+1.52,
+2.02
+]
+],
+"l4": [
+[
+"By",
+-0.6,
+0.14
+],
+[
+"2014,",
+0.14,
+0.76
+],
+[
+"the",
+1.12,
+1.16
+],
+[
+"eastern",
+1.16,
+1.48
+],
+[
+"basin",
+1.48,
+1.84
+],
+[
+"had",
+1.84,
+2.08
+],
+[
+"dried.",
+2.08,
+2.4
+]
+],
+"l5": [
+[
+"This",
+-0.6,
+0.22
+],
+[
+"was",
+0.22,
+0.4
+],
+[
+"a",
+0.4,
+0.6
+],
+[
+"fishing",
+0.6,
+0.86
+],
+[
+"port.",
+0.86,
+1.26
+]
+],
+"l6": [
+[
+"Today,",
+-0.6,
+0.3
+],
+[
+"the",
+0.52,
+0.6
+],
+[
+"sea",
+0.6,
+0.82
+],
+[
+"is",
+0.82,
+1.0
+],
+[
+"95",
+1.0,
+1.64
+],
+[
+"kilometers",
+1.64,
+2.08
+],
+[
+"away.",
+2.08,
+2.58
+]
+],
+"l7": [
+[
+"But",
+-0.6,
+0.12
+],
+[
+"up",
+0.12,
+0.3
+],
+[
+"north",
+0.3,
+0.58
+],
+[
+"a",
+0.58,
+0.88
+],
+[
+"dam",
+0.88,
+1.08
+],
+[
+"went",
+1.08,
+1.32
+],
+[
+"in.",
+1.32,
+1.68
+]
+],
+"l8": [
+[
+"And",
+-0.6,
+0.22
+],
+[
+"the",
+0.22,
+0.34
+],
+[
+"water",
+0.34,
+0.6
+],
+[
+"came",
+0.6,
+0.9
+],
+[
+"back.",
+0.9,
+1.32
+]
+],
+"l9": [
+[
+"The",
+-0.6,
+0.14
+],
+[
+"sea",
+0.14,
+0.42
+],
+[
+"did",
+0.42,
+0.62
+],
+[
+"not",
+0.62,
+0.84
+],
+[
+"come",
+0.84,
+1.12
+],
+[
+"back",
+1.12,
+1.38
+],
+[
+"on",
+1.38,
+1.52
+],
+[
+"its",
+1.52,
+1.66
+],
+[
+"own.",
+1.66,
+2.0
+]
+],
+"l10": [
+[
+"Someone",
+-0.6,
+0.4
+],
+[
+"kept",
+0.4,
+0.66
+],
+[
+"it.",
+0.66,
+1.02
+]
+]
+}
\ No newline at end of file
diff --git a/styles/satellite-briefing/poster.jpg b/styles/satellite-briefing/poster.jpg
new file mode 100644
index 0000000..ba5b2a5
Binary files /dev/null and b/styles/satellite-briefing/poster.jpg differ
diff --git a/styles/satellite-briefing/satellite-briefing.srt b/styles/satellite-briefing/satellite-briefing.srt
new file mode 100644
index 0000000..2f20447
--- /dev/null
+++ b/styles/satellite-briefing/satellite-briefing.srt
@@ -0,0 +1,49 @@
+1
+00:00:02,000 --> 00:00:04,666
+地图上,这里还是一片海。
+On the map, this is still a sea.
+
+2
+00:00:07,800 --> 00:00:10,690
+1977 年,它确实是。
+In 1977, it was.
+
+3
+00:00:10,730 --> 00:00:13,590
+后来,河水被引去种棉花。
+Then its rivers went to the cotton fields.
+
+4
+00:00:13,630 --> 00:00:16,860
+到 2014 年,东边的湖盆干涸了。
+By 2014, the eastern basin had dried.
+
+5
+00:00:16,900 --> 00:00:19,030
+这里曾是渔港。
+This was a fishing port.
+
+6
+00:00:19,070 --> 00:00:22,586
+如今,海在 95 公里之外。
+Today, the sea is 95 km away.
+
+7
+00:00:23,670 --> 00:00:26,279
+可在北边,修起了一道坝。
+But up north, a dam went in.
+
+8
+00:00:26,650 --> 00:00:28,995
+水回来了。
+And the water came back.
+
+9
+00:00:29,350 --> 00:00:32,210
+海不是自己回来的。
+The sea did not come back on its own.
+
+10
+00:00:32,250 --> 00:00:34,150
+是有人把它留住了。
+Someone kept it.
diff --git a/styles/satellite-briefing/style.json b/styles/satellite-briefing/style.json
new file mode 100644
index 0000000..0d0ecd1
--- /dev/null
+++ b/styles/satellite-briefing/style.json
@@ -0,0 +1,18 @@
+{
+ "slug": "satellite-briefing",
+ "num": "55",
+ "en": "Satellite Briefing",
+ "cn": "卫星简报",
+ "category_en": "Information & Keynote",
+ "category_cn": "信息与发布",
+ "film": "The Map Still Says Sea",
+ "line": "A satellite follows the map to the Aral Sea and finds a desert; the only part that came back is the part someone dammed.",
+ "line_cn": "卫星照着地图去找咸海,找到的是沙漠;唯一回来的那一小块,是有人筑坝留住的。",
+ "uses": [
+ "Climate & environment",
+ "Investigations & news explainers",
+ "Geography & history"
+ ],
+ "frame_sec": 13.6,
+ "dur": 37.8
+}