egatari 0.6.17 → 0.6.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +68 -1
- package/README.ja.md +14 -13
- package/README.md +2 -1
- package/components.lock.json +153 -54
- package/components2.lock.json +1001 -1
- package/kit/build.mjs +1 -1
- package/kit/check-messages.mjs +9 -0
- package/kit/check.mjs +8 -0
- package/kit/core/bookmark.mjs +28 -0
- package/kit/core/build-core.mjs +5 -3
- package/kit/core/check-parity.mjs +6 -0
- package/kit/core/check-rules.mjs +4 -3
- package/kit/core/check-source.mjs +10 -1
- package/kit/core/checks.mjs +79 -0
- package/kit/core/find-replace.mjs +170 -0
- package/kit/core/format.mjs +4 -1
- package/kit/core/image-insert.mjs +197 -0
- package/kit/core/image-size.mjs +1 -1
- package/kit/core/layout-scan.mjs +1 -1
- package/kit/core/llm-fix.mjs +1 -1
- package/kit/core/llm-pack-assemble.mjs +40 -67
- package/kit/core/llm-pack-data.mjs +882 -52
- package/kit/core/llm-pack.mjs +6 -4
- package/kit/core/llm-request.mjs +2 -2
- package/kit/core/new-deck-pack.mjs +38 -44
- package/kit/core/new-deck.mjs +82 -74
- package/kit/core/part-labels.mjs +3 -0
- package/kit/core/portable.mjs +5 -2
- package/kit/core/purposes.mjs +9 -3
- package/kit/core/sample-info.mjs +17 -3
- package/kit/core/scorm.mjs +30 -6
- package/kit/core/script-unclosed.mjs +49 -0
- package/kit/core/slide-ops.mjs +27 -1
- package/kit/core/tate-mix.mjs +25 -0
- package/kit/core/template-text.mjs +2 -0
- package/kit/core/theme-derive.mjs +56 -17
- package/kit/core/theme-shapes.mjs +15 -1
- package/kit/deck.js +124 -6
- package/kit/instruction-version.json +1 -1
- package/kit/layouts.css +8 -0
- package/kit/llm-pack.mjs +5 -7
- package/kit/panes.js +17 -1
- package/kit/player.json +1 -1
- package/kit/player.lock.json +2 -2
- package/kit/presenter.js +36 -4
- package/kit/tools.js +54 -2
- package/kit/track.js +46 -5
- package/package.json +1 -1
- package/server/editor-ui.js +21 -1
- package/vendor/components/CATALOG.md +25 -22
- package/vendor/components/sha256/038f9d32c89c8212ab25d6e3180023b6fe024a53053ab2ef1443ecab92e3ce43/index.js +205 -0
- package/vendor/components/sha256/07479cb6e5194a01b2a8a9029f3646060f0dbb673f2737d2132738af2eb379e5/README.en.md +44 -0
- package/vendor/components/sha256/07479cb6e5194a01b2a8a9029f3646060f0dbb673f2737d2132738af2eb379e5/index.js +306 -0
- package/vendor/components/sha256/077678d8b14a8065c4f74a9fe1669728c68a0f763bfdca18b304f5c3d863632a/README.en.md +54 -0
- package/vendor/components/sha256/077678d8b14a8065c4f74a9fe1669728c68a0f763bfdca18b304f5c3d863632a/index.js +470 -0
- package/vendor/components/sha256/0840322bf51eeb3c8188ce21ad70af17c13974ac0151065a39c430a3813ee07f/README.en.md +23 -0
- package/vendor/components/sha256/0840322bf51eeb3c8188ce21ad70af17c13974ac0151065a39c430a3813ee07f/index.js +289 -0
- package/vendor/components/sha256/0c25d49d23529879054737aa181951519fe585c4728fd505e0e3c8869953eac7/index.js +934 -0
- package/vendor/components/sha256/0dd302b82925f35743a893d5c271898ada3659aa0de2d3249ef45936aad10ae0/LICENSE-strokesvg.txt +115 -0
- package/vendor/components/sha256/0dd302b82925f35743a893d5c271898ada3659aa0de2d3249ef45936aad10ae0/OFL.txt +93 -0
- package/vendor/components/sha256/0dd302b82925f35743a893d5c271898ada3659aa0de2d3249ef45936aad10ae0/index.js +755 -0
- package/vendor/components/sha256/0dd302b82925f35743a893d5c271898ada3659aa0de2d3249ef45936aad10ae0/strokes-CHANGES.md +20 -0
- package/vendor/components/sha256/0e9e92df8d70eb6d9fcf10916c361769c7cd37baacece8d7eb96bbbc7fbcf942/README.en.md +25 -0
- package/vendor/components/sha256/0e9e92df8d70eb6d9fcf10916c361769c7cd37baacece8d7eb96bbbc7fbcf942/index.js +317 -0
- package/vendor/components/sha256/12ef6a11055407f5cddc40154a49cf2737b0786429fe0fcc94ee1d8245597b40/index.js +244 -0
- package/vendor/components/sha256/13c9ce43396b2f5693ce430a924dae4ddcd1e8a4ad0c9b9e724ff52acb874d0c/index.js +354 -0
- package/vendor/components/sha256/15306d854d67d52ca2b1d66135f0d3296882e6b21fd85c029399b8077c8a7f9d/README.en.md +34 -0
- package/vendor/components/sha256/15306d854d67d52ca2b1d66135f0d3296882e6b21fd85c029399b8077c8a7f9d/index.js +398 -0
- package/vendor/components/sha256/1a0f21def0efbbdef64461cafa40f3883bc7f7122adf79d01f09ca4a245e5dcb/index.js +465 -0
- package/vendor/components/sha256/208175d05b37d326855fad792b10137f785e5d05d91a2cde119d0dbd69d2ed98/index.js +100 -0
- package/vendor/components/sha256/218d88998b70f0732c18d91ccc238b2d63f6b0aaa483883b83685a25468f214a/README.en.md +34 -0
- package/vendor/components/sha256/218d88998b70f0732c18d91ccc238b2d63f6b0aaa483883b83685a25468f214a/index.js +246 -0
- package/vendor/components/sha256/2579bcb46b6525902763cd15a2e08fc5ebd9a2695cdaba63438e5b47907a47e0/README.en.md +24 -0
- package/vendor/components/sha256/2579bcb46b6525902763cd15a2e08fc5ebd9a2695cdaba63438e5b47907a47e0/index.js +554 -0
- package/vendor/components/sha256/277ac772315f93737a094cd0f0842726f2435d352d9a90822aebfe0d5d7e79a1/README.en.md +23 -0
- package/vendor/components/sha256/277ac772315f93737a094cd0f0842726f2435d352d9a90822aebfe0d5d7e79a1/index.js +294 -0
- package/vendor/components/sha256/2787e410e533e4ad48b0a3c2b652579cf5797f9c51fcf32f5478212a7acef95f/README.en.md +28 -0
- package/vendor/components/sha256/2787e410e533e4ad48b0a3c2b652579cf5797f9c51fcf32f5478212a7acef95f/index.js +214 -0
- package/vendor/components/sha256/2a011338d0fc3c77e102eaa57cde2b6e3726bc279f133174b0b8c9a654263cbc/index.js +824 -0
- package/vendor/components/sha256/2fce5ab0c31dca0aa1586a2c69237870a9cce46c0bc6ab7392c27968d016bd15/index.js +75 -0
- package/vendor/components/sha256/3417efe4722f569690563d9abcea8b144db2f8fa97b83cf0118fb3a34cd4cb2b/README.en.md +23 -0
- package/vendor/components/sha256/3417efe4722f569690563d9abcea8b144db2f8fa97b83cf0118fb3a34cd4cb2b/index.js +150 -0
- package/vendor/components/sha256/3a7962fa87c670447eed54aca08604ef03cd26bf2c334b4667190060e6a17965/README.en.md +18 -0
- package/vendor/components/sha256/3a7962fa87c670447eed54aca08604ef03cd26bf2c334b4667190060e6a17965/index.js +279 -0
- package/vendor/components/sha256/3be5f64deb1951327b614b29a9b632878fab362687c76e3f48f3af1d1ebbb1cf/README.en.md +47 -0
- package/vendor/components/sha256/3be5f64deb1951327b614b29a9b632878fab362687c76e3f48f3af1d1ebbb1cf/index.js +223 -0
- package/vendor/components/sha256/42450c6b36404d66641568f6d6f55e42a4a036d4d9cdf308f709464913b32fe9/README.en.md +42 -0
- package/vendor/components/sha256/42450c6b36404d66641568f6d6f55e42a4a036d4d9cdf308f709464913b32fe9/index.js +272 -0
- package/vendor/components/sha256/45cea6c1abfb3467e3e3dbe7fec58647716999a0c39cf7163531ae389f898d29/README.en.md +30 -0
- package/vendor/components/sha256/45cea6c1abfb3467e3e3dbe7fec58647716999a0c39cf7163531ae389f898d29/index.js +305 -0
- package/vendor/components/sha256/4c8cae404d551a1bb021e8345af5aa45d4f412f13497aa84b142f11a29a365dc/index.js +124 -0
- package/vendor/components/sha256/5521b5b40a43c48c5ae5a50ce87afb3d47bb23b133b16841086d8322364cdd5e/README.en.md +23 -0
- package/vendor/components/sha256/5521b5b40a43c48c5ae5a50ce87afb3d47bb23b133b16841086d8322364cdd5e/index.js +120 -0
- package/vendor/components/sha256/5fe30fd7a84b937a1325d8af2b8e437211efae82ab46d5a433bc4ef07bcaef11/README.en.md +18 -0
- package/vendor/components/sha256/5fe30fd7a84b937a1325d8af2b8e437211efae82ab46d5a433bc4ef07bcaef11/index.js +243 -0
- package/vendor/components/sha256/631f4c4b90c9a41c0f26c9600d5cf2d6447251d04a20f08f48a85aeb4cb0f6fb/index.js +107 -0
- package/vendor/components/sha256/6749f44ed6476a05d4e3026373c188a0e1a19b77a5836579813f62a1477ac35e/README.en.md +31 -0
- package/vendor/components/sha256/6749f44ed6476a05d4e3026373c188a0e1a19b77a5836579813f62a1477ac35e/index.js +271 -0
- package/vendor/components/sha256/701f1deef79fe05eeb18e1119e5a5c4d60a9dfe265e93a4dff79223bc598dbf0/index.js +521 -0
- package/vendor/components/sha256/711cf58fa946c9c0abc953b2f695d02bf5a5a7f73851b09f834e894baf88be38/index.js +122 -0
- package/vendor/components/sha256/728576c57a5ccb39531ad4cb8074fce95480f01603a77dbf57dca0e52199f7c4/index.js +37 -0
- package/vendor/components/sha256/73edc74a2dc4a63b717106c1c1572967b6d306270574e9635d032de16c8ada72/README.en.md +18 -0
- package/vendor/components/sha256/73edc74a2dc4a63b717106c1c1572967b6d306270574e9635d032de16c8ada72/index.js +382 -0
- package/vendor/components/sha256/76bdb63c3e5e14fbb4816bc9f235490817bb5d7be990a826f5077aa08226702c/index.js +162 -0
- package/vendor/components/sha256/7a5adf73fc053b9f2ca56643b5683b42589edb0f63c845ecb7ae7e6b87eccc30/README.en.md +51 -0
- package/vendor/components/sha256/7a5adf73fc053b9f2ca56643b5683b42589edb0f63c845ecb7ae7e6b87eccc30/index.js +230 -0
- package/vendor/components/sha256/7ab483e7fb05f646b062340d70f2749d070b4f64fed7acc0b8a7754d9ef9fded/README.en.md +26 -0
- package/vendor/components/sha256/7ab483e7fb05f646b062340d70f2749d070b4f64fed7acc0b8a7754d9ef9fded/index.js +322 -0
- package/vendor/components/sha256/7af6e5e6dffb618b39f27d883c691ca128f3af06040ee505e75c79c678bfdcfe/README.en.md +18 -0
- package/vendor/components/sha256/7af6e5e6dffb618b39f27d883c691ca128f3af06040ee505e75c79c678bfdcfe/index.js +103 -0
- package/vendor/components/sha256/7c7b0373cfd38fd5ecb4169021e0b908f0a17be1a29b14f85dd89fdb92e7bf81/README.en.md +44 -0
- package/vendor/components/sha256/7c7b0373cfd38fd5ecb4169021e0b908f0a17be1a29b14f85dd89fdb92e7bf81/index.js +306 -0
- package/vendor/components/sha256/7dea2c3728b85122b04515aa06ab198657529e7cd101b9ab34d4ecb2905ce94e/fixtures/ABCJS-ADAPTER.md +101 -0
- package/vendor/components/sha256/7dea2c3728b85122b04515aa06ab198657529e7cd101b9ab34d4ecb2905ce94e/fixtures/LICENSE-abcjs.txt +21 -0
- package/vendor/components/sha256/7dea2c3728b85122b04515aa06ab198657529e7cd101b9ab34d4ecb2905ce94e/fixtures/chords.json +89 -0
- package/vendor/components/sha256/7dea2c3728b85122b04515aa06ab198657529e7cd101b9ab34d4ecb2905ce94e/fixtures/doremi.json +261 -0
- package/vendor/components/sha256/7dea2c3728b85122b04515aa06ab198657529e7cd101b9ab34d4ecb2905ce94e/fixtures/extras.json +192 -0
- package/vendor/components/sha256/7dea2c3728b85122b04515aa06ab198657529e7cd101b9ab34d4ecb2905ce94e/fixtures/kaeru.json +521 -0
- package/vendor/components/sha256/7dea2c3728b85122b04515aa06ab198657529e7cd101b9ab34d4ecb2905ce94e/fixtures/rhythm.json +248 -0
- package/vendor/components/sha256/7dea2c3728b85122b04515aa06ab198657529e7cd101b9ab34d4ecb2905ce94e/fixtures/ties.json +360 -0
- package/vendor/components/sha256/7dea2c3728b85122b04515aa06ab198657529e7cd101b9ab34d4ecb2905ce94e/index.js +508 -0
- package/vendor/components/sha256/832556ea9c82c292a3ba9e1b332f2405c5c2f969ff8157c91ed80226ec8ac62e/README.en.md +22 -0
- package/vendor/components/sha256/832556ea9c82c292a3ba9e1b332f2405c5c2f969ff8157c91ed80226ec8ac62e/index.js +145 -0
- package/vendor/components/sha256/8a4b6dce84d7a69aaafeb75c1c572fe7904fd49e3169c1c85851ccaeae2a7b11/index.js +41 -0
- package/vendor/components/sha256/8bb511cb90902bc7721e59ca08685b26adbf33539e36a4a45172485d6d3d455b/index.js +250 -0
- package/vendor/components/sha256/8db9c936c36b79b9e3b2be37639487b15502a6937f411ed714621a8091437e9b/README.en.md +21 -0
- package/vendor/components/sha256/8db9c936c36b79b9e3b2be37639487b15502a6937f411ed714621a8091437e9b/index.js +108 -0
- package/vendor/components/sha256/8e5e90c90cb6b06a790b0420e43d79d7da663f1cc19ff06d381ec849b4a8fc57/index.js +312 -0
- package/vendor/components/sha256/939bdae590ebed3d182b0c9940a35b6c03872505bfa242341990a81cae02fd06/README.en.md +34 -0
- package/vendor/components/sha256/939bdae590ebed3d182b0c9940a35b6c03872505bfa242341990a81cae02fd06/index.js +397 -0
- package/vendor/components/sha256/9c5dd0bc0c3279c5f0fea3fdb9d0735870880aef96e8bbf9ecdd77dff0f5ddc8/README.en.md +44 -0
- package/vendor/components/sha256/9c5dd0bc0c3279c5f0fea3fdb9d0735870880aef96e8bbf9ecdd77dff0f5ddc8/index.js +551 -0
- package/vendor/components/sha256/a1c2b2fa06e4229815ab82a9202c266ec887a67632a175854c7d136a92389ca3/index.js +69 -0
- package/vendor/components/sha256/a5b032657720d3beb64f0b3699954e13b0eb985f36161b9ae046c83fd6048ff5/README.en.md +18 -0
- package/vendor/components/sha256/a5b032657720d3beb64f0b3699954e13b0eb985f36161b9ae046c83fd6048ff5/index.js +382 -0
- package/vendor/components/sha256/a7c4282db79d46557bdbaf84ca519606dc46f3c23455db4a26f663453f85813c/README.en.md +38 -0
- package/vendor/components/sha256/a7c4282db79d46557bdbaf84ca519606dc46f3c23455db4a26f663453f85813c/index.js +414 -0
- package/vendor/components/sha256/aac2f8a23cb1b606e9635061cb288f006588c80a7258540cae846ae677f55ff5/index.js +238 -0
- package/vendor/components/sha256/ace7e82e866b577ad42bbc4b64e11bae18982e3236aadceb6c2e6c20f41234cf/README.en.md +45 -0
- package/vendor/components/sha256/ace7e82e866b577ad42bbc4b64e11bae18982e3236aadceb6c2e6c20f41234cf/index.js +211 -0
- package/vendor/components/sha256/aeb0b9b5991a5c1df7191c397780a699f2c7310123ca210a58486c0a23e44006/index.js +342 -0
- package/vendor/components/sha256/af3355efd6739a56c6cb53990100f41703361c475c123b9b2762421c68509036/index.js +315 -0
- package/vendor/components/sha256/b10183a66b58b827a1410cf8b0117af567647684464d5777529dc66f0cea343a/LICENSE-tabler.txt +21 -0
- package/vendor/components/sha256/b10183a66b58b827a1410cf8b0117af567647684464d5777529dc66f0cea343a/index.js +4868 -0
- package/vendor/components/sha256/b10183a66b58b827a1410cf8b0117af567647684464d5777529dc66f0cea343a/names.txt +4808 -0
- package/vendor/components/sha256/b348ea64cc19632df96a91dfd7c435e4a62095aede72b504d03537be70d6d930/index.js +606 -0
- package/vendor/components/sha256/b53bfa03d1e9feb3cb492f440bf9d100c96eb4fe6b76c42b512a56e9158829cd/index.js +351 -0
- package/vendor/components/sha256/b9443e1cdac4850b1ead9f8449a3061678bbb77fbc53eb9b23d01e1cf50750c3/index.js +619 -0
- package/vendor/components/sha256/bc1e2a02c959ac203819d03c0d25b3776a6a9a4290aae860b26cbbe3d29e876d/index.js +268 -0
- package/vendor/components/sha256/beeb180c0e2250bb04490b092c0a235cae47fca2ed1de2d9ef078a5c14b1a963/index.js +429 -0
- package/vendor/components/sha256/c5fd7713e55e96d75824a21146c0251896d7d9dd028b4d169191433135a97981/index.js +200 -0
- package/vendor/components/sha256/c61987e9994940fc668ed8a010e575ee52027b54ed9c5dd1cc9fdf67649092b3/index.js +404 -0
- package/vendor/components/sha256/ccc8bfe174b6903ec254dfef4f5d1c614271ea39963649add7fcb8d83c081eba/index.js +278 -0
- package/vendor/components/sha256/da267bc65fde0a9279127d5a82f6c253ad74984da6fb11391f00604ad9ffe80d/index.js +93 -0
- package/vendor/components/sha256/dea36cd7010991a572ef394ee32b5e17564aeff09d3ec4ed3820d7e43c9a58be/index.js +484 -0
- package/vendor/components/sha256/df3fdb2aed487d4f6e60a8abab1fe0d1e9fa2a4193fd162edf3c384ea8db5a1b/index.js +180 -0
- package/vendor/components/sha256/e27d517f39eb554c7a9ecea7b59fcf1d347c4deeb3fe2250797aa233bfb7e2b0/index.js +747 -0
- package/vendor/components/sha256/e31f6b058503f7980597c89b3e964c512ee08de7cba3fa99904d499abbb5d0e8/README.en.md +20 -0
- package/vendor/components/sha256/e31f6b058503f7980597c89b3e964c512ee08de7cba3fa99904d499abbb5d0e8/index.js +310 -0
- package/vendor/components/sha256/f4100076a37dbde6046d85969d651feffc925bd984ffe9f333ea9bd2b6816918/README.en.md +30 -0
- package/vendor/components/sha256/f4100076a37dbde6046d85969d651feffc925bd984ffe9f333ea9bd2b6816918/index.js +192 -0
- package/vendor/components/sha256/fa6442fa3c5082cf161c29308fe0ecbd85fa33e8e4bad08c12e7961b46b1365b/README.en.md +24 -0
- package/vendor/components/sha256/fa6442fa3c5082cf161c29308fe0ecbd85fa33e8e4bad08c12e7961b46b1365b/index.js +214 -0
- package/vendor/components-2/manifest-2.16.0.json +2919 -0
- package/vendor/components-2/manifest-2.17.0.json +2852 -0
- package/vendor/components-2/manifest-2.18.0.json +3182 -0
- package/vendor/components-2/manifest-2.20.0.json +3217 -0
- package/vendor/components-2/manifest-2.21.0.json +3220 -0
- package/vendor/egatari-spec/SOURCE.json +2 -2
- package/vendor/egatari-spec/schema/deck-meta.schema.json +3 -0
- package/vendor/egatari-spec/schema/egatari-metadata.schema.json +6 -0
|
@@ -464,6 +464,10 @@ export const PACK = {
|
|
|
464
464
|
"m-contour": [
|
|
465
465
|
"change"
|
|
466
466
|
],
|
|
467
|
+
"m-contrast": [
|
|
468
|
+
"compare",
|
|
469
|
+
"position"
|
|
470
|
+
],
|
|
467
471
|
"m-ctable": [
|
|
468
472
|
"part-whole",
|
|
469
473
|
"cause-effect"
|
|
@@ -497,6 +501,10 @@ export const PACK = {
|
|
|
497
501
|
"m-map-world": [
|
|
498
502
|
"spatial"
|
|
499
503
|
],
|
|
504
|
+
"m-matrix": [
|
|
505
|
+
"compare",
|
|
506
|
+
"position"
|
|
507
|
+
],
|
|
500
508
|
"m-network": [
|
|
501
509
|
"process"
|
|
502
510
|
],
|
|
@@ -525,6 +533,10 @@ export const PACK = {
|
|
|
525
533
|
"m-scatter": [
|
|
526
534
|
"correlation"
|
|
527
535
|
],
|
|
536
|
+
"m-scroll": [
|
|
537
|
+
"process",
|
|
538
|
+
"timeline"
|
|
539
|
+
],
|
|
528
540
|
"m-tape": [
|
|
529
541
|
"part-whole",
|
|
530
542
|
"compare"
|
|
@@ -535,9 +547,6 @@ export const PACK = {
|
|
|
535
547
|
"m-tree": [
|
|
536
548
|
"hierarchy"
|
|
537
549
|
],
|
|
538
|
-
"m-vector": [
|
|
539
|
-
"spatial"
|
|
540
|
-
],
|
|
541
550
|
"m-venn": [
|
|
542
551
|
"overlap"
|
|
543
552
|
]
|
|
@@ -565,6 +574,7 @@ export const PACK = {
|
|
|
565
574
|
"reveal"
|
|
566
575
|
],
|
|
567
576
|
"m-contour": [],
|
|
577
|
+
"m-contrast": [],
|
|
568
578
|
"m-ctable": [],
|
|
569
579
|
"m-curves": [],
|
|
570
580
|
"m-cycle": [
|
|
@@ -618,6 +628,7 @@ export const PACK = {
|
|
|
618
628
|
],
|
|
619
629
|
"m-mapping": [],
|
|
620
630
|
"m-market": [],
|
|
631
|
+
"m-matrix": [],
|
|
621
632
|
"m-menu": [],
|
|
622
633
|
"m-network": [],
|
|
623
634
|
"m-nnet": [],
|
|
@@ -646,6 +657,7 @@ export const PACK = {
|
|
|
646
657
|
"m-score": [
|
|
647
658
|
"light"
|
|
648
659
|
],
|
|
660
|
+
"m-scroll": [],
|
|
649
661
|
"m-seq": [],
|
|
650
662
|
"m-sweep": [],
|
|
651
663
|
"m-syntax": [
|
|
@@ -721,6 +733,10 @@ export const PACK = {
|
|
|
721
733
|
"tag": "m-contour",
|
|
722
734
|
"set": "ml"
|
|
723
735
|
},
|
|
736
|
+
{
|
|
737
|
+
"tag": "m-contrast",
|
|
738
|
+
"set": "standard"
|
|
739
|
+
},
|
|
724
740
|
{
|
|
725
741
|
"tag": "m-ctable",
|
|
726
742
|
"set": "standard"
|
|
@@ -797,6 +813,10 @@ export const PACK = {
|
|
|
797
813
|
"tag": "m-market",
|
|
798
814
|
"set": "business"
|
|
799
815
|
},
|
|
816
|
+
{
|
|
817
|
+
"tag": "m-matrix",
|
|
818
|
+
"set": "standard"
|
|
819
|
+
},
|
|
800
820
|
{
|
|
801
821
|
"tag": "m-menu",
|
|
802
822
|
"set": "standard"
|
|
@@ -845,6 +865,10 @@ export const PACK = {
|
|
|
845
865
|
"tag": "m-score",
|
|
846
866
|
"set": "music"
|
|
847
867
|
},
|
|
868
|
+
{
|
|
869
|
+
"tag": "m-scroll",
|
|
870
|
+
"set": "tools"
|
|
871
|
+
},
|
|
848
872
|
{
|
|
849
873
|
"tag": "m-seq",
|
|
850
874
|
"set": "stats"
|
|
@@ -887,9 +911,9 @@ export const PACK = {
|
|
|
887
911
|
"m-collect",
|
|
888
912
|
"m-kakijun"
|
|
889
913
|
],
|
|
890
|
-
"partsSrc": "https://github.com/egatari/components/blob/v2.
|
|
914
|
+
"partsSrc": "https://github.com/egatari/components/blob/v2.21.0/components/",
|
|
891
915
|
"en": {
|
|
892
|
-
"common": "# Instructions for the AI\n\nPack version: `ac7fb486`\n\nYou will write one short **Egatari file**: HTML slides with step-by-step reveals (`deck.html`) and a spoken script for it (`narration.md`). Both are built and quality-checked automatically; only what is described here is available. Write slides and script in the language the user asks for. Standards have ids such as **R-fit**; a fix request names the standards a draft broke. The user's request is in **What I want** at the end (or in the conversation before it): choose sensibly for any field that is empty or missing, and if both A and B are left, follow the one with content.\n\n**Before you start (the most common failures):**\n\n- **Both code blocks must be complete and closed.** Never stop in the middle of a block (R-output). Without an outline, keep it short (5–8 slides). Given an outline and a range of its slides, write exactly that range (at most 6 slides, so they fit).\n- **Sizes on the 1280×720 slide** (the quality checker measures them, R-fit): the body area is 1184 × 443 px (to 565 px; 1184 × 558 with `noconcl`). Body text is 32 px with 46 px per line, so about **8 lines** fit; every overflowing 46 px is one line to cut. **All text, also inside figures and parts, is at least 24 px.**\n- **Charts and figures:** parts draw their labels at 24–28 px whatever their size (their SVG uses their own pixels), so size the part, not the text. A part of 380 px leaves room for one short line; with two lines, use 330 px.\n- **Inline `<svg>`:** its text is scaled by displayed width ÷ viewBox width, so write the viewBox in the pixels it is shown at, e.g. `<svg viewBox=\"0 0 560 320\" width=\"560\" height=\"320\">`, with `font-size` ≥ 24. Never combine `width:100%` with another viewBox width (a 600-wide viewBox shown 580 px wide turns 24 into 23.2 px). Prefer a part when one fits.\n\n## 1. Output format\n\n- **R-output** Reply with **exactly two fenced code blocks**, in this order, labelled `deck.html` and `narration.md` (the opening lines are ```` ```deck.html ```` and ```` ```narration.md ````). Put nothing between them; a one-line note before or after is fine. Never split a file over several blocks. No files, canvas or attachments: write both blocks in your chat message. Do not reference other files (no images, no `{{FIG:…}}`, no `{{JSON:…}}`, no external URLs, no `<link>`), and never stop in the middle of a block: if the lesson would be too long, make fewer slides (but for a range of an outline, write exactly the requested slides).\n- **R-outline** When the request asks for an **outline only** (a long file made in two passes), reply with exactly one fenced code block labelled `outline` (the opening line is ```` ```outline ````) and no `deck.html` or `narration.md`: a Markdown table (columns `#`, heading, one-line point), one row per slide, all slides in order. Each later request names a range (“slides 7–12 of the outline”): write exactly those slides, following their headings and points.\n- **R-noids** Do **not** write slide ids. Write `<section class=\"slide\">` without `id`, and script headings without `{#…}`. The editor adds ids after import. When you are given slides that already have ids (a fix request), keep every existing `id=\"…\"` and `{#…}` exactly as it is.\n\n## 2. deck.html\n\n### 2.1 Skeleton\n\n```html\n<!DOCTYPE html>\n<html lang=\"en\" data-theme=\"default\">\n<head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n<title>Title</title>\n</head>\n<body>\n<div id=\"stage\">\n <section class=\"slide cover noconcl static\"> … </section>\n <section class=\"slide\"> … </section>\n</div>\n</body>\n</html>\n```\n\n- `lang`: `en`, `ja`, … (the language of the slides and script). `data-theme`: `sumi` for business and pitch decks, `kokugo` for Japanese language arts, otherwise `default`.\n- No `<script>` except part data (§2.6), no `<link>`. A `<style>` block is allowed only for layout (sizes, gaps), never colors.\n\n### 2.2 Slides\n\n- Normal slide: `<h2>` heading, `<div class=\"body\">…</div>`, then `<div class=\"concl\"><span>…</span></div>` (the conclusion line: one short sentence).\n- Optional kicker (a short line above the heading): one `<p class=\"kicker\">` just before the `<h2>` (ordinary slides only, not `layout-tate`); shown at step 0, not part of the heading. Type it normally, not in capitals (the theme capitalizes English).\n- Cover: `<section class=\"slide cover noconcl static\">` with optional `<div class=\"venue\">…</div>`, `<h1>title</h1>`, optional `<div class=\"au\">…</div>`.\n- Chapter divider: `<section class=\"slide sec noconcl static\"><h1>chapter title</h1></section>`.\n- Classes on `<section>`: `noconcl` (no conclusion line), `static` (no steps), `nostep` (all list items visible from the start), `layout-tate` (Japanese vertical writing; only with the kokugo part set, which describes it), and the `data-morph` attribute (§2.5).\n- Inside `.body`: `<p class=\"sub\">` sub-heading, `<div class=\"big\">` main equation, `<p class=\"note\">` note, `<div class=\"thm\">` theorem box, `<div class=\"cols\">` side-by-side columns, ordinary `<p>`, `<ul>`, `<ol>`, `<table>`.\n- **R-caution** In `.body`: `<div class=\"caution\">…</div>` for caution; add `warn` for warning. Labels are automatic.\n- Inline emphasis (the only way to color text): `term` (term or question), `emph` (conclusion, problem, goal), `muted` (known result, de-emphasized), `b` (bold).\n- **R-headings** Every slide heading (`h1` on the cover and dividers, `h2` elsewhere) is **different** from all the others (add a word if two would be the same), and the script section of that slide starts with `## ` followed by **exactly the same heading text** (tags such as `<br>` dropped).\n- **R-colors** Colors only through the theme: the classes above and the math macros `\\hlE` `\\hlT` `\\hlM`; no hex, `rgb()`, named colors, `\\color` or `\\textcolor`. In a part or inline SVG: **Use only the theme's CSS variables for colors**: `var(--fg)` `var(--term)` `var(--emph)` `var(--muted)` `var(--accent2)` `var(--line)`. In SVG write `style=\"stroke:var(--emph)\"` rather than an attribute (`DECK.el` moves `fill` and `stroke` into style automatically when they contain `var(`)\n\n### 2.3 Steps (reveal order = speaking order)\n\n- **R-steps** Step 0 is the slide as it first appears: context only (heading, sub-heading, one framing sentence). An element with `data-step=\"k\"` (k = 1, 2, …) appears at step k; material (list items, equations, table rows, figure parts) appears in the order you talk about it. An equation and the sentence that introduces it share one step (wrap both in `<div data-step=\"k\">`). About 5 steps per slide at most.\n- The conclusion line automatically becomes the **last step**, `concl`; never put `data-step` on it.\n- If a slide has **no** `data-step` anywhere, its top-level list items (`.body > ul > li`, `.body > ol > li`) are numbered 1, 2, … automatically. As soon as any element has `data-step`, nothing is automatic: give every revealed element its `data-step`.\n- A part adds its own steps (§3), starting at its `data-from` (default 1).\n- So the steps of a slide are `0 … max` plus `concl` if it has a conclusion line. A `static` slide has only step 0.\n\n### 2.4 Math (KaTeX, rendered at build time)\n\n- **R-math** Inline `\\( … \\)`, display `\\[ … \\]`. Write `<` as `\\lt` and `>` as `\\gt` inside math. Allowed macros besides standard KaTeX: `\\hlE{…}` (emph) `\\hlT{…}` (term) `\\hlM{…}` (muted), `\\htmlId{ID}{…}`, `\\htmlData{mark=ID}{…}`, `\\htmlClass{…}{…}`, `\\morph{ID}{…}`. No `\\newcommand`, no `\\color`. To label a term, use `\\underbrace{…}_{\\text{…}}` or `\\overbrace{…}^{…}`. Never `$$`. Define each symbol where it is first used (`\\(\\mu\\)`: the mean).\n\n### 2.5 Attention marks and morphs\n\n- **R-marks** The script’s `{mark:ID}` (§4) marks a target on the **same slide**. Targets: an element in the slide with `id=\"ID\"` or `data-mark=\"ID\"`. For part of an equation, KaTeX's `\\htmlId{ID}{…}` / `\\htmlData{mark=ID}{…}` (the build allows only these two and `\\htmlClass`). If the same ID is used on several slides, use `data-mark` (ids must be unique in the document)\n- Morph (optional): `<section class=\"slide\" data-morph>` slides elements from the previous slide into place; pair elements with the same `data-id=\"…\"` on both slides, or equation parts with `\\morph{ID}{…}` on both. Only elements visible at step 0 move.\n\n### 2.6 Parts\n\n- **R-components** Animated figures are the Web Components `<m-…>` of the catalog (§3), used inside `.body`. Give each a height (`style=\"height:380px\"`) and an `aria-label`. Data goes in **one** child `<script type=\"application/json\">…</script>` written inline (never `{{JSON:…}}`). **Numbers in figures must be correct** (compute them; never invent values for looks; label made-up business figures as fictional). Formulas are arithmetic only (`Math.exp(x)`, `x**2`), never run as code. Use parts only where motion explains something; most slides need none.\n\n### 2.7 Choosing a representation\n\n- **R-purpose** Choose the representation from what the slide must say, not from habit. If the author names a chart type, use it. The table names every part, but use only those described here (§3 and the included part sets). If a part that is not included would fit better, say so in a one-line note.\n\n{{PURPOSES}}\n\n- **R-whole** Lists, KPI cards and pies are shown whole; do not reveal them line by line unless the script discusses each item in turn (for a list, give it one `data-step` or put `nostep` on the slide).\n\n### 2.8 Fitting the slide (1280×720; the quality checker reports errors)\n\n- **R-title** Heading: Japanese at most 26 units (full-width character = 1, ASCII = 0.5); English at most 60 characters. Never ends with a colon.\n- **R-concl** Conclusion line: Japanese at most 35 units; English at most 70 characters. One line.\n- **R-fit** The body must end above 565 px (680 px with `noconcl`): about 8 lines / 100 Japanese characters / 60 English words per slide, or one `big` equation and 3 short bullets, or a part of height ≤ 380 px and one short line (≤ 330 px with two). If it does not fit, split the slide; never shrink text and never set font sizes.\n- **R-style** Japanese slides: plain style (だ・である, 体言止め), no です・ます on slides, one punctuation style in the whole file (`、。` or `,.`). English slides: short phrases, sentence case.\n\n## 3. Part catalog\n\nStandard parts fit any file; a part set after §6 adds the parts for its material. “steps” is how many slide steps a part uses (from `data-from`, default 1). Timing attributes (durations, delays) are not listed; their defaults fit the narration. Attribute values of type json are written as JSON in the attribute (`values=\"[0.1,0.5]\"`). In “data shape”, `?` marks an optional field; where no type is written, label, tex, note and tone are str, step is int and at is num. In a name or label, `*…*` is italic and `_` `^` make only the next character a subscript or superscript; to show the symbol itself, write the full-width _ ^ *.\n\n{{CATALOG}}\n\n## 4. narration.md\n\n```markdown\n# Script: <title>\n\n## The decay law\n[0] Here is the decay law. We follow how many atoms are left.\n[1] The number left is the starting number times a shrinking exponential.\n[2] {mark:n0|circle}{N₀|N naught} is the number at the start, at time zero.\n[concl] The half-life depends only on the decay constant.\n```\n\n- One section per slide, **in slide order, for every slide (cover included)**: `## <slide heading>` (R-headings), no `{#id}` (R-noids).\n- **R-narr-steps** Step labels `[0]`, `[1]`, … and `[concl]`. **Every step of every slide has script lines** (step 0 to max, and `[concl]` if the slide has a conclusion line), and there are **no labels for steps that do not exist** (a `static` cover has only `[0]`; a slide without a conclusion line has no `[concl]`; never `[01]`). Within a step, talk only about what appears at that step.\n- **R-dialogue** **One narrator by default**: write no speaker names. Write a dialogue only when asked (if asked for three or more speakers, keep two roles and say so first): lines start with `Expert:` or `Novice:` (continuation lines indented; a line without a speaker is Expert), shaped as a cognitive apprenticeship:\n - Novice is never a mere backchannel: Novice voices the question a learner is likely to have, or paraphrases (“So …, is that right?”)\n - Expert answers and adds one example or analogy, or confirms (or corrects) the paraphrase and takes one step further\n - Only at a comprehension fork (where learners tend to misunderstand, or a “why” remains): at most one exchange per slide, 2–3 turns. Elsewhere Expert alone\n - Never a turn that is only “I see”, or that repeats the previous turn. Example: `Novice: So a larger rate always gets there faster?` `Expert: Not always. Too large, and each step jumps across the valley, like striding downhill onto the opposite slope.`\n- `{note:…}`: presenter directions.\n- `{cue}`: a sync point inside a step, one per entry of the part’s `cues(k)` (only where a part’s README asks for it; otherwise omit).\n- `{mark:ID}`, `{mark:ID|effect}`, `{mark:ID|effect|hold=seconds}`, `{mark:clear}`: placed **right before** the words about the target; at most 1–2 per step; still say the thing in words. Effects: `underline` (default; a hand-drawn underline from left to right), `circle` (a hand-drawn circle), `box` (a rounded frame), `spot` (dims everything except the area around the target with the background color), `laser` (a dot of light slides to below the target and stays briefly)\n- **R-reading** `{display|reading}` gives the reading of **one symbol or one term**: `{θ|theta}`, `{N₀|N naught}`, `{x̄|x bar}`, `{論語|ろんご}`. One symbol may carry a star, a prime, a subscript or superscript, or a hat/bar/tilde (`{Q*|Q star}`, `{x′|x prime}`, `{θ̂|theta hat}`). Write the display part in plain Unicode, not LaTeX, and never as an expression or several symbols (`{1-η|…}`, `{a*b|…}` and `{θとη|…}` are wrong: give each symbol its own reading and say the relation in words). Give a reading only to a term misread without one, and then everywhere it appears.\n- **R-formula** **Never read an equation aloud**: no LaTeX, no `\\`, `^`, `_`, and no strings such as `a + b = c` in the narration. Say what the equation means (“the number left is the starting number times a shrinking exponential”).\n- Japanese script is polite spoken Japanese (です・ます); English script is plain spoken English. About 5 Japanese characters or 2.5 English words per second; 1–3 sentences per turn.\n\n## 5. Fix requests\n\nWhen the user pastes a **fix request** (a list of findings with the ids of the standards, followed by the current files), fix exactly those findings, keep everything else, keep every `id=\"…\"` and `{#…}` unchanged (R-noids), and reply again with the two blocks (R-output). If the request contains only some slides, return only those `<section>` elements in the `deck.html` block (no `<html>`) and only their sections in the `narration.md` block; the editor puts them back in place by id.\n\n## 6. Worked example\n\nA small example, fictional, showing the structure only (do not copy its content). Note how the steps add up: the list of 2 items gives steps 1–2 and `[concl]`<!--part:m-flow-->; the `m-flow` with 4 boxes gives steps 1–4<!--/part-->. The static cover has `[0]` only. Some part sets end with an example of their own.\n\n### Common (English, default theme, marks<!--part:m-flow-->, m-flow<!--/part-->)\n\n```deck.html\n<!DOCTYPE html>\n<html lang=\"en\" data-theme=\"default\">\n<head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n<title>How a web page arrives</title>\n</head>\n<body>\n<div id=\"stage\">\n\n<section class=\"slide cover noconcl static\">\n <div class=\"venue\">Computing basics, lesson 1 (a fictional course)</div>\n <h1>How a web page arrives</h1>\n</section>\n\n<section class=\"slide\">\n <h2>Two programs take part</h2>\n <div class=\"body\">\n <p>Opening a page is a conversation between two programs.</p>\n <ul>\n <li id=\"browser\">The <span class=\"term\">browser</span> asks for the page and draws it</li>\n <li id=\"server\">The <span class=\"term\">server</span> keeps the page and sends it back</li>\n </ul>\n </div>\n <div class=\"concl\"><span>Every page load is a request and a reply</span></div>\n</section><!--part:m-flow-->\n\n<section class=\"slide\">\n <h2>From the address to the screen</h2>\n <div class=\"body\">\n <m-flow style=\"height:300px\" aria-label=\"Four stages: type the address, send a request, send the page back, draw the page\">\n <script type=\"application/json\">{\"nodes\": [\n {\"id\": \"a\", \"label\": \"Type the\\naddress\", \"x\": 10, \"y\": 100, \"w\": 250, \"h\": 110, \"step\": 1},\n {\"id\": \"b\", \"label\": \"Send a\\nrequest\", \"x\": 315, \"y\": 100, \"w\": 250, \"h\": 110, \"step\": 2},\n {\"id\": \"c\", \"label\": \"Send the\\npage back\", \"x\": 620, \"y\": 100, \"w\": 250, \"h\": 110, \"step\": 3, \"tone\": \"term\"},\n {\"id\": \"d\", \"label\": \"Draw the\\npage\", \"x\": 925, \"y\": 100, \"w\": 250, \"h\": 110, \"step\": 4, \"tone\": \"emph\"}\n ], \"edges\": [\n {\"from\": \"a\", \"to\": \"b\"}, {\"from\": \"b\", \"to\": \"c\"}, {\"from\": \"c\", \"to\": \"d\"}\n ]}</script>\n </m-flow>\n </div>\n <div class=\"concl\"><span>A slow page is slow in one of these four stages</span></div>\n</section><!--/part-->\n\n</div>\n</body>\n</html>\n```\n\n```narration.md\n# Narration: How a web page arrives\n\n## How a web page arrives\n[0] Today we follow a web page on its way from a server to your screen.\n\n## Two programs take part\n[0] Opening a page is a conversation between two programs.\n[1] {mark:browser}The browser is the program you look at. It asks for the page and then draws it.\n[2] {mark:server}The server is a program on another computer. It keeps the page and sends it back when asked.\n[concl] Every page load is a request and a reply.<!--part:m-flow-->\n\n## From the address to the screen\n[0] Let us put the steps in order.\n[1] First you type the address of the page.\n[2] The browser turns it into a request and sends it to the server.\n[3] The server finds the page and sends it back.\n[4] The browser draws the page on the screen.\n[concl] When a page is slow, one of these four stages is taking the time.<!--/part-->\n```",
|
|
916
|
+
"common": "# Instructions for the AI\n\nPack version: `027f5293`\n\nYou will write one short **Egatari file**: HTML slides with step-by-step reveals (`deck.html`) and a spoken script for it (`narration.md`). Both are built and quality-checked automatically; only what is described here is available. Write slides and script in the language the user asks for. Standards have ids such as **R-fit**; a fix request names the standards a draft broke. The user's request is in **What I want** at the end (or in the conversation before it): choose sensibly for any field that is empty or missing, and if both A and B are left, follow the one with content.\n\n**Before you start (the most common failures):**\n\n- **Both code blocks must be complete and closed.** Never stop in the middle of a block (R-output). Without an outline, keep it short (5–8 slides). Given an outline and a range of its slides, write exactly that range (at most 6 slides, so they fit).\n- **Sizes on the 1280×720 slide** (the quality checker measures them, R-fit): the body area is 1184 × 443 px (to 565 px; 1184 × 558 with `noconcl`). Body text is 32 px with 46 px per line, so about **8 lines** fit; every overflowing 46 px is one line to cut. **All text, also inside figures and parts, is at least 24 px.**\n- **Charts and figures:** parts draw their labels at 24–28 px whatever their size (their SVG uses their own pixels), so size the part, not the text. A part of 380 px leaves room for one short line; with two lines, use 330 px.\n- **Inline `<svg>`:** its text is scaled by displayed width ÷ viewBox width, so write the viewBox in the pixels it is shown at, e.g. `<svg viewBox=\"0 0 560 320\" width=\"560\" height=\"320\">`, with `font-size` ≥ 24. Never combine `width:100%` with another viewBox width (a 600-wide viewBox shown 580 px wide turns 24 into 23.2 px). Prefer a part when one fits.\n\n## 1. Output format\n\n- **R-output** Reply with **exactly two fenced code blocks**, in this order, labelled `deck.html` and `narration.md` (the opening lines are ```` ```deck.html ```` and ```` ```narration.md ````). Put nothing between them; a one-line note before or after is fine. Never split a file over several blocks. No files, canvas or attachments: write both blocks in your chat message. Do not reference other files (no images, no `{{FIG:…}}`, no `{{JSON:…}}`, no external URLs, no `<link>`), and never stop in the middle of a block: if the lesson would be too long, make fewer slides (but for a range of an outline, write exactly the requested slides).\n- **R-outline** When the request asks for an **outline only** (a long file made in two passes), reply with exactly one fenced code block labelled `outline` (the opening line is ```` ```outline ````) and no `deck.html` or `narration.md`: a Markdown table (columns `#`, heading, one-line point), one row per slide, all slides in order. Each later request names a range (“slides 7–12 of the outline”): write exactly those slides, following their headings and points.\n- **R-noids** Do **not** write slide ids. Write `<section class=\"slide\">` without `id`, and script headings without `{#…}`. The editor adds ids after import. When you are given slides that already have ids (a fix request), keep every existing `id=\"…\"` and `{#…}` exactly as it is.\n\n## 2. deck.html\n\n### 2.1 Skeleton\n\n```html\n<!DOCTYPE html>\n<html lang=\"en\" data-theme=\"default\">\n<head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n<title>Title</title>\n</head>\n<body>\n<div id=\"stage\">\n <section class=\"slide cover noconcl static\"> … </section>\n <section class=\"slide\"> … </section>\n</div>\n</body>\n</html>\n```\n\n- `lang`: `en`, `ja`, … (the language of the slides and script). `data-theme`: `sumi` for business and pitch decks, `kokugo` for Japanese language arts, otherwise `default`.\n- No `<script>` except part data (§2.6), no `<link>`. A `<style>` block is allowed only for layout (sizes, gaps), never colors.\n\n### 2.2 Slides\n\n- Normal slide: `<h2>` heading, `<div class=\"body\">…</div>`, then `<div class=\"concl\"><span>…</span></div>` (the conclusion line: one short sentence).\n<!--paid-->- On a slide that uses numbers, a figure or a quotation, write a source line above the conclusion (`<p class=\"source\">Source: …</p>`)<!--/paid-->\n- Optional kicker (a short line above the heading): one `<p class=\"kicker\">` just before the `<h2>` (ordinary slides only, not `layout-tate`); shown at step 0, not part of the heading. Type it normally, not in capitals (the theme capitalizes English).\n- Cover: `<section class=\"slide cover noconcl static\">` with optional `<div class=\"venue\">…</div>`, `<h1>title</h1>`, optional `<div class=\"au\">…</div>`.\n- Chapter divider: `<section class=\"slide sec noconcl static\"><h1>chapter title</h1></section>`.\n- Classes on `<section>`: `noconcl` (no conclusion line), `static` (no steps), `nostep` (all list items visible from the start), `layout-tate` (Japanese vertical writing; only with the kokugo part set, which describes it), and the `data-morph` attribute (§2.5).\n- Inside `.body`: `<p class=\"sub\">` sub-heading, `<div class=\"big\">` main equation, `<p class=\"note\">` note, `<div class=\"thm\">` theorem box, `<div class=\"cols\">` side-by-side columns, ordinary `<p>`, `<ul>`, `<ol>`, `<table>`.\n- **R-caution** In `.body`: `<div class=\"caution\">…</div>` for caution; add `warn` for warning. Labels are automatic.\n- Inline emphasis (the only way to color text): `term` (term or question), `emph` (conclusion, problem, goal), `muted` (known result, de-emphasized), `b` (bold).\n- **R-headings** Every slide heading (`h1` on the cover and dividers, `h2` elsewhere) is **different** from all the others (add a word if two would be the same), and the script section of that slide starts with `## ` followed by **exactly the same heading text** (tags such as `<br>` dropped).\n- **R-colors** Colors only through the theme: the classes above and the math macros `\\hlE` `\\hlT` `\\hlM`; no hex, `rgb()`, named colors, `\\color` or `\\textcolor`. In a part or inline SVG: **Use only the theme's CSS variables for colors**: `var(--fg)` `var(--term)` `var(--emph)` `var(--muted)` `var(--accent2)` `var(--line)`. In SVG write `style=\"stroke:var(--emph)\"` rather than an attribute (`DECK.el` moves `fill` and `stroke` into style automatically when they contain `var(`)\n\n### 2.3 Steps (reveal order = speaking order)\n\n- **R-steps** Step 0 is the slide as it first appears: context only (heading, sub-heading, one framing sentence). An element with `data-step=\"k\"` (k = 1, 2, …) appears at step k; material (list items, equations, table rows, figure parts) appears in the order you talk about it. An equation and the sentence that introduces it share one step (wrap both in `<div data-step=\"k\">`). About 5 steps per slide at most. Choose how a table appears by how it compares. When the script takes items one at a time, show rows in the order spoken. For a matrix (things compared down the side, criteria across) or a table crossing two axes, show the whole table and then mark the column or cell under discussion, or fill it one axis value at a time. In a research-positioning table, write \"This work\" in your own cell (do not mark it by colour or bold alone).\n- The conclusion line automatically becomes the **last step**, `concl`; never put `data-step` on it.\n- If a slide has **no** `data-step` anywhere, its top-level list items (`.body > ul > li`, `.body > ol > li`) are numbered 1, 2, … automatically. As soon as any element has `data-step`, nothing is automatic: give every revealed element its `data-step`.\n- A part adds its own steps (§3), starting at its `data-from` (default 1).\n- So the steps of a slide are `0 … max` plus `concl` if it has a conclusion line. A `static` slide has only step 0.\n\n### 2.4 Math (KaTeX, rendered at build time)\n\n- **R-math** Inline `\\( … \\)`, display `\\[ … \\]`. Write `<` as `\\lt` and `>` as `\\gt` inside math. Allowed macros besides standard KaTeX: `\\hlE{…}` (emph) `\\hlT{…}` (term) `\\hlM{…}` (muted), `\\htmlId{ID}{…}`, `\\htmlData{mark=ID}{…}`, `\\htmlClass{…}{…}`, `\\morph{ID}{…}`. No `\\newcommand`, no `\\color`. To label a term, use `\\underbrace{…}_{\\text{…}}` or `\\overbrace{…}^{…}`. Never `$$`. Define each symbol where it is first used (`\\(\\mu\\)`: the mean).\n\n### 2.5 Attention marks and morphs\n\n- **R-marks** The script’s `{mark:ID}` (§4) marks a target on the **same slide**. Targets: an element in the slide with `id=\"ID\"` or `data-mark=\"ID\"`. For part of an equation, KaTeX's `\\htmlId{ID}{…}` / `\\htmlData{mark=ID}{…}` (the build allows only these two and `\\htmlClass`). If the same ID is used on several slides, use `data-mark` (ids must be unique in the document)\n- Morph (optional): `<section class=\"slide\" data-morph>` slides elements from the previous slide into place; pair elements with the same `data-id=\"…\"` on both slides, or equation parts with `\\morph{ID}{…}` on both. Only elements visible at step 0 move.\n\n### 2.6 Parts\n\n- **R-components** Animated figures are the Web Components `<m-…>` of the catalog (§3), used inside `.body`. Give each a height (`style=\"height:380px\"`) and an `aria-label`. Data goes in **one** child `<script type=\"application/json\">…</script>` written inline (never `{{JSON:…}}`). **Numbers in figures must be correct** (compute them; never invent values for looks; label made-up business figures as fictional). Formulas are arithmetic only (`Math.exp(x)`, `x**2`), never run as code. Use parts only where motion explains something; most slides need none.\n<!--paid-->- Where a photo is needed, write a figure box (the Figure template) with a description of the photo; the author adds the image later<!--/paid-->\n\n### 2.7 Choosing a representation\n\n- **R-purpose** Choose the representation from what the slide must say, not from habit. If the author names a chart type, use it. The table names every part, but use only those described here (§3 and the included part sets). If a part that is not included would fit better, say so in a one-line note.\n\n{{PURPOSES}}\n\n- **R-whole** Lists, KPI cards and pies are shown whole; do not reveal them line by line unless the script discusses each item in turn (for a list, give it one `data-step` or put `nostep` on the slide).\n\n### 2.8 Fitting the slide (1280×720; the quality checker reports errors)\n\n- **R-title** Heading: Japanese at most 26 units (full-width character = 1, ASCII = 0.5); English at most 60 characters. Never ends with a colon.\n- **R-concl** Conclusion line: Japanese at most 35 units; English at most 70 characters. One line.\n- **R-fit** The body must end above 565 px (680 px with `noconcl`): about 8 lines / 100 Japanese characters / 60 English words per slide, or one `big` equation and 3 short bullets, or a part of height ≤ 380 px and one short line (≤ 330 px with two). If it does not fit, split the slide; never shrink text and never set font sizes.\n- **R-style** Japanese slides: plain style (だ・である, 体言止め), no です・ます on slides, one punctuation style in the whole file (`、。` or `,.`). English slides: short phrases, sentence case.\n\n## 3. Part catalog\n\nStandard parts fit any file; a part set after §6 adds the parts for its material. “steps” is how many slide steps a part uses (from `data-from`, default 1). Timing attributes (durations, delays) are not listed; their defaults fit the narration. Attribute values of type json are written as JSON in the attribute (`values=\"[0.1,0.5]\"`). In “data shape”, `?` marks an optional field; where no type is written, label, tex, note and tone are str, step is int and at is num. In a name or label, `*…*` is italic and `_` `^` make only the next character a subscript or superscript; to show the symbol itself, write the full-width _ ^ *.\n\n{{CATALOG}}\n\n## 4. narration.md\n\n```markdown\n# Script: <title>\n\n## The decay law\n[0] Here is the decay law. We follow how many atoms are left.\n[1] The number left is the starting number times a shrinking exponential.\n[2] {mark:n0|circle}{N₀|N naught} is the number at the start, at time zero.\n[concl] The half-life depends only on the decay constant.\n```\n\n- One section per slide, **in slide order, for every slide (cover included)**: `## <slide heading>` (R-headings), no `{#id}` (R-noids).\n- **R-narr-steps** Step labels `[0]`, `[1]`, … and `[concl]`. **Every step of every slide has script lines** (step 0 to max, and `[concl]` if the slide has a conclusion line), and there are **no labels for steps that do not exist** (a `static` cover has only `[0]`; a slide without a conclusion line has no `[concl]`; never `[01]`). Within a step, talk only about what appears at that step.\n- **R-dialogue** **One narrator by default**: write no speaker names. Write a dialogue only when asked (if asked for three or more speakers, keep two roles and say so first): lines start with `Expert:` or `Novice:` (continuation lines indented; a line without a speaker is Expert), shaped as a cognitive apprenticeship:\n - Novice is never a mere backchannel: Novice voices the question a learner is likely to have, or paraphrases (“So …, is that right?”)\n - Expert answers and adds one example or analogy, or confirms (or corrects) the paraphrase and takes one step further\n - Only at a comprehension fork (where learners tend to misunderstand, or a “why” remains): at most one exchange per slide, 2–3 turns. Elsewhere Expert alone\n - Never a turn that is only “I see”, or that repeats the previous turn. Example: `Novice: So a larger rate always gets there faster?` `Expert: Not always. Too large, and each step jumps across the valley, like striding downhill onto the opposite slope.`\n- `{note:…}`: presenter directions.\n- `{cue}`: a sync point inside a step, one per entry of the part’s `cues(k)` (only where a part’s README asks for it; otherwise omit).\n- `{mark:ID}`, `{mark:ID|effect}`, `{mark:ID|effect|hold=seconds}`, `{mark:clear}`: placed **right before** the words about the target; at most 1–2 per step; still say the thing in words. Effects: `underline` (default; a hand-drawn underline from left to right), `circle` (a hand-drawn circle), `box` (a rounded frame), `spot` (dims everything except the area around the target with the background color), `laser` (a dot of light slides to below the target and stays briefly)\n- **R-reading** `{display|reading}` gives the reading of **one symbol or one term**: `{θ|theta}`, `{N₀|N naught}`, `{x̄|x bar}`, `{論語|ろんご}`. One symbol may carry a star, a prime, a subscript or superscript, or a hat/bar/tilde (`{Q*|Q star}`, `{x′|x prime}`, `{θ̂|theta hat}`). Write the display part in plain Unicode, not LaTeX, and never as an expression or several symbols (`{1-η|…}`, `{a*b|…}` and `{θとη|…}` are wrong: give each symbol its own reading and say the relation in words). Give a reading only to a term misread without one, and then everywhere it appears.\n- **R-formula** **Never read an equation aloud**: no LaTeX, no `\\`, `^`, `_`, and no strings such as `a + b = c` in the narration. Say what the equation means (“the number left is the starting number times a shrinking exponential”).\n- Japanese script is polite spoken Japanese (です・ます); English script is plain spoken English. About 5 Japanese characters or 2.5 English words per second; 1–3 sentences per turn.\n\n## 5. Fix requests\n\nWhen the user pastes a **fix request** (a list of findings with the ids of the standards, followed by the current files), fix exactly those findings, keep everything else, keep every `id=\"…\"` and `{#…}` unchanged (R-noids), and reply again with the two blocks (R-output). If the request contains only some slides, return only those `<section>` elements in the `deck.html` block (no `<html>`) and only their sections in the `narration.md` block; the editor puts them back in place by id.\n\n## 6. Worked example\n\nA small example, fictional, showing the structure only (do not copy its content). Note how the steps add up: the list of 2 items gives steps 1–2 and `[concl]`<!--part:m-flow-->; the `m-flow` with 4 boxes gives steps 1–4<!--/part-->. The static cover has `[0]` only. Some part sets end with an example of their own.\n\n### Common (English, default theme, marks<!--part:m-flow-->, m-flow<!--/part-->)\n\n```deck.html\n<!DOCTYPE html>\n<html lang=\"en\" data-theme=\"default\">\n<head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n<title>How a web page arrives</title>\n</head>\n<body>\n<div id=\"stage\">\n\n<section class=\"slide cover noconcl static\">\n <div class=\"venue\">Computing basics, lesson 1 (a fictional course)</div>\n <h1>How a web page arrives</h1>\n</section>\n\n<section class=\"slide\">\n <h2>Two programs take part</h2>\n <div class=\"body\">\n <p>Opening a page is a conversation between two programs.</p>\n <ul>\n <li id=\"browser\">The <span class=\"term\">browser</span> asks for the page and draws it</li>\n <li id=\"server\">The <span class=\"term\">server</span> keeps the page and sends it back</li>\n </ul>\n </div>\n <div class=\"concl\"><span>Every page load is a request and a reply</span></div>\n</section><!--part:m-flow-->\n\n<section class=\"slide\">\n <h2>From the address to the screen</h2>\n <div class=\"body\">\n <m-flow style=\"height:300px\" aria-label=\"Four stages: type the address, send a request, send the page back, draw the page\">\n <script type=\"application/json\">{\"nodes\": [\n {\"id\": \"a\", \"label\": \"Type the\\naddress\", \"x\": 10, \"y\": 100, \"w\": 250, \"h\": 110, \"step\": 1},\n {\"id\": \"b\", \"label\": \"Send a\\nrequest\", \"x\": 315, \"y\": 100, \"w\": 250, \"h\": 110, \"step\": 2},\n {\"id\": \"c\", \"label\": \"Send the\\npage back\", \"x\": 620, \"y\": 100, \"w\": 250, \"h\": 110, \"step\": 3, \"tone\": \"term\"},\n {\"id\": \"d\", \"label\": \"Draw the\\npage\", \"x\": 925, \"y\": 100, \"w\": 250, \"h\": 110, \"step\": 4, \"tone\": \"emph\"}\n ], \"edges\": [\n {\"from\": \"a\", \"to\": \"b\"}, {\"from\": \"b\", \"to\": \"c\"}, {\"from\": \"c\", \"to\": \"d\"}\n ]}</script>\n </m-flow>\n </div>\n <div class=\"concl\"><span>A slow page is slow in one of these four stages</span></div>\n</section><!--/part-->\n\n</div>\n</body>\n</html>\n```\n\n```narration.md\n# Narration: How a web page arrives\n\n## How a web page arrives\n[0] Today we follow a web page on its way from a server to your screen.\n\n## Two programs take part\n[0] Opening a page is a conversation between two programs.\n[1] {mark:browser}The browser is the program you look at. It asks for the page and then draws it.\n[2] {mark:server}The server is a program on another computer. It keeps the page and sends it back when asked.\n[concl] Every page load is a request and a reply.<!--part:m-flow-->\n\n## From the address to the screen\n[0] Let us put the steps in order.\n[1] First you type the address of the page.\n[2] The browser turns it into a request and sends it to the server.\n[3] The server finds the page and sends it back.\n[4] The browser draws the page on the screen.\n[concl] When a page is slow, one of these four stages is taking the time.<!--/part-->\n```",
|
|
893
917
|
"request": "# What I want\n\n*(Fill in A or B and delete the other; delete fields you leave empty.)*\n\n**A. Make a new file**\n\n- Title (used as is on the cover):\n- Audience:\n- Length (slides or minutes):\n- Language:\n- Speakers: one narrator\n- Other wishes:\n\n**B. From the material and discussion in this chat**\n\nMake the slides and script from the material given in this chat and what we have discussed so far.\n\n- Title (used as is on the cover):\n- Audience:\n- Length (slides or minutes):\n- Language:\n- Speakers: one narrator\n- Other wishes:",
|
|
894
918
|
"sets": {
|
|
895
919
|
"stats": "## Part set: stats (statistics charts)\n\nFor classes and talks with data: distributions, box plots, heatmaps, and a distribution updated one observation at a time. Use the `default` theme. Give the source and the size of every data set on the slide or in the script, and never invent data that looks real (R-components).\n\n- **Axis charts** (<!--part:m-hist-->`m-hist`, <!--/part--><!--part:m-boxplot-->`m-boxplot`, <!--/part--><!--part:m-seq-->`m-seq`, <!--/part-->and the like) reserve 86 px at the left and 80 px in all at the top and bottom for ticks and axis names: give them a height of **300–380 px** and a width of **at least 560 px** (in `<div class=\"cols\">`, give the chart column at least 55%).\n- Make the axis ranges contain every plotted value (computed as R-components says).\n\nParts of this set, in addition to those of §3:\n\n{{CATALOG}}\n\n{{EXTENSIONS}}",
|
|
@@ -898,7 +922,7 @@ export const PACK = {
|
|
|
898
922
|
"ml": "## Part set: ml (machine learning)\n\nFor machine-learning classes that show a computation one step at a time: a neural network's forward pass, classification boundaries, loss contours and gradient descent. For the values (weights, probabilities, iterates), write the output of a script that actually computed them.\n\nParts of this set, in addition to those of §3:\n\n{{CATALOG}}\n\n{{EXTENSIONS}}",
|
|
899
923
|
"math": "## Part set: math (arithmetic and mathematics)\n\nFor arithmetic and mathematics lessons: column arithmetic, number lines, tape diagrams, and a function that changes with a parameter. Use the `default` theme.\n\n- **Axis charts** (<!--part:m-sweep-->`m-sweep`, <!--/part--><!--part:m-curves-->`m-curves`, <!--/part-->and the like) reserve 86 px at the left and 80 px in all at the top and bottom for ticks and axis names: give them a height of **300–380 px** and a width of **at least 560 px** (in `<div class=\"cols\">`, give the chart column at least 55%).\n- Make the axis ranges contain every plotted value (computed as R-components says).\n\nParts of this set, in addition to those of §3:\n\n{{CATALOG}}\n\n{{EXTENSIONS}}\n\n<!--part:m-sweep-->### Worked example: math (English, default theme, m-sweep)\n\n(only the slides with the part; the rest of `deck.html` is as in §6)\n\n```deck.html\n<section class=\"slide\">\n <h2>A larger λ decays faster</h2>\n <div class=\"body\">\n <div class=\"cols\" style=\"gap:24px\">\n <div style=\"flex:0 0 36%\">\n <div class=\"big\">\\[ \\frac{N(t)}{N_0}=e^{-\\lambda t} \\]</div>\n <ul class=\"nostep\"><li>Grey: the previous \\(\\lambda\\)</li></ul>\n </div>\n <m-sweep f=\"Math.exp(-c*u)\" values=\"[0.2,0.5,1.0]\" param=\"λ\" xr=\"[0,6]\" yr=\"[0,1]\" xt=\"[0,2,4,6]\" yt=\"[0,0.5,1]\"\n xl=\"*t*\" yl=\"share left\" digits=\"1\" style=\"height:380px\" aria-label=\"Share of atoms left over time for three decay constants\"></m-sweep>\n </div>\n </div>\n <div class=\"concl\"><span>Raising λ shortens the half-life</span></div>\n</section>\n```\n\n```narration.md\n## A larger λ decays faster\n[0] Let us change the decay constant and watch the share of atoms left.\n[1] Raising it from 0.2 to 0.5 makes the curve fall faster.\n[2] At 1.0 it falls faster still.\n[concl] A larger decay constant means a shorter half-life.\n```<!--/part-->\n\n<!--part:m-sweep-->Steps: the `m-sweep` with 3 values gives steps 1–2.<!--/part-->",
|
|
900
924
|
"maps": "## Part set: maps\n\nFor classes and guides with maps: geography, history and local information on a map of Japan or of the world. Use the `default` theme. Give the year and the source of every figure (population, area, production) on the slide or in the narration.\n\nParts of this set, in addition to those of §3:\n\n{{CATALOG}}\n\n{{EXTENSIONS}}",
|
|
901
|
-
"kokugo": "## Part set: kokugo (Japanese language arts)\n\nFor 国語 lessons: 漢文, 古文 and 現代文. Use the `kokugo` theme. In the script, give the reading of hard words and names with `{display|reading}` (R-reading).\n\n- **Vertical slides:** `<section class=\"slide layout-tate\">` sets the whole slide in vertical writing. The `<h2>` is one vertical column at the right edge (about 14 full-width characters; it does not wrap), the body runs in columns from right to left, and the conclusion line is a vertical column at the left edge (about 19 characters). The body must stay between the two columns (the quality checker reports an overlap). Parts, figures and tables in the body stay horizontal at the full body width: use their vertical option (<!--part:m-kobun-->`m-kobun tate`<!--/part--><!--part:m-kobun,m-gendai-->, <!--/part--><!--part:m-gendai-->`m-gendai tate`<!--/part--><!--part:m-kanbun-->; `m-kanbun` is always vertical<!--/part-->).\n\nParts of this set, in addition to those of §3:\n\n{{CATALOG}}\n\n{{EXTENSIONS}}\n\n<!--part:m-kanbun-->### Worked example: kokugo (kokugo theme, m-kanbun)\n\n(only the slides with the part; the rest of `deck.html` is as in §6)\n\n```deck.html\n<section class=\"slide\">\n <h2>学びて時に之を習ふ</h2>\n <div class=\"body\">\n <m-kanbun style=\"height:440px\" aria-label=\"『論語』学而篇の冒頭の白文、訓点、読む順、書き下し文\">\n 学(ビテ)而{-}時(ニ)習(フ)[レ]之(ヲ)、\n 不{=ず}[二]亦(タ)説(バシカラ)[一]乎{=や}。\n </m-kanbun>\n </div>\n <div class=\"concl\"><span>一二点は、一を読んでから二へ戻る</span></div>\n</section>\n```\n\n```narration.md\n## 学びて時に之を習ふ\n[0] 返り点も送り仮名もない、白文です。\n[1] 返り点と送り仮名を付けます。而は、読まない置き字です。\n[2] 読む順に字をたどります。一句目は、レ点で之から習へ戻ります。\n[3] 二句目は、一二点で説から不へ戻ります。\n[4] 書き下し文にすると、学びて時に之を習ふ、亦た説ばしからずや、となります。\n[concl] 一二点は、一の字を読んでから、二の字へ戻ります。\n```<!--/part-->\n\n<!--part:m-kanbun-->Steps: `m-kanbun` gives 訓点 (step 1), then one step per 句 of the reading order, then the 書き下し文: write one `[n]` per 句.<!--/part-->",
|
|
925
|
+
"kokugo": "## Part set: kokugo (Japanese language arts)\n\nFor 国語 lessons: 漢文, 古文 and 現代文. Use the `kokugo` theme. In the script, give the reading of hard words and names with `{display|reading}` (R-reading).\n\n- **Vertical slides:** `<section class=\"slide layout-tate\">` sets the whole slide in vertical writing. The `<h2>` is one vertical column at the right edge (about 14 full-width characters; it does not wrap), the body runs in columns from right to left, and the conclusion line is a vertical column at the left edge (about 19 characters). The body must stay between the two columns (the quality checker reports an overlap). Parts, figures and tables in the body stay horizontal at the full body width: use their vertical option (<!--part:m-kobun-->`m-kobun tate`<!--/part--><!--part:m-kobun,m-gendai-->, <!--/part--><!--part:m-gendai-->`m-gendai tate`<!--/part--><!--part:m-kanbun-->; `m-kanbun` is always vertical<!--/part-->). Keep the body of a vertical slide to 15 columns (about 18 characters each, some 270 in all). An item longer than 18 characters takes two columns. If it does not fit, split the slide.\n- **Keep one direction:** keep one file vertical or horizontal. When the file reads a classical or modern Japanese text, put the explanation slides in vertical writing too. Only slides with a figure or table that works only horizontally (a flow chart, for example) are horizontal; keep them together and do not alternate vertical and horizontal slides\n\nParts of this set, in addition to those of §3:\n\n{{CATALOG}}\n\n{{EXTENSIONS}}\n\n<!--part:m-kanbun-->### Worked example: kokugo (kokugo theme, m-kanbun)\n\n(only the slides with the part; the rest of `deck.html` is as in §6)\n\n```deck.html\n<section class=\"slide\">\n <h2>学びて時に之を習ふ</h2>\n <div class=\"body\">\n <m-kanbun style=\"height:440px\" aria-label=\"『論語』学而篇の冒頭の白文、訓点、読む順、書き下し文\">\n 学(ビテ)而{-}時(ニ)習(フ)[レ]之(ヲ)、\n 不{=ず}[二]亦(タ)説(バシカラ)[一]乎{=や}。\n </m-kanbun>\n </div>\n <div class=\"concl\"><span>一二点は、一を読んでから二へ戻る</span></div>\n</section>\n```\n\n```narration.md\n## 学びて時に之を習ふ\n[0] 返り点も送り仮名もない、白文です。\n[1] 返り点と送り仮名を付けます。而は、読まない置き字です。\n[2] 読む順に字をたどります。一句目は、レ点で之から習へ戻ります。\n[3] 二句目は、一二点で説から不へ戻ります。\n[4] 書き下し文にすると、学びて時に之を習ふ、亦た説ばしからずや、となります。\n[concl] 一二点は、一の字を読んでから、二の字へ戻ります。\n```<!--/part-->\n\n<!--part:m-kanbun-->Steps: `m-kanbun` gives 訓点 (step 1), then one step per 句 of the reading order, then the 書き下し文: write one `[n]` per 句.<!--/part-->",
|
|
902
926
|
"english": "## Part set: english (English as a foreign language)\n\nFor English lessons taught in Japanese: the structure of English sentences (S V O C M, phrases and clauses, what modifies what) with a Japanese translation. Use the `default` theme. Write the English sentences exactly as the class reads them, and keep the Japanese script short; read the English examples aloud only when the lesson needs it.\n\nParts of this set, in addition to those of §3:\n\n{{CATALOG}}\n\n{{EXTENSIONS}}",
|
|
903
927
|
"music": "## Part set: music (pitch, scales, chords)\n\nFor music lessons: pitch, scales, intervals and chords on a piano keyboard. Use the `default` theme. Name notes as the class does (ドレミ, C D E, or ハニホ) and keep the same names on the slide and in the narration.\n\nParts of this set, in addition to those of §3:\n\n{{CATALOG}}\n\n{{EXTENSIONS}}",
|
|
904
928
|
"business": "## Part set: business\n\nFor business and pitch decks: KPI cards, positioning maps, market sizes and money flows. Use the `sumi` theme. Put the fictional label of R-components in a `note` or on the cover, and keep the numbers consistent across slides (parts add up to the totals you state).\n\nParts of this set, in addition to those of §3:\n\n{{CATALOG}}\n\n{{EXTENSIONS}}\n\n<!--part:m-kpi-->### Worked example: business (Japanese, sumi theme, m-kpi)\n\n(only the slides with the part; the rest of `deck.html` is as in §6)\n\n```deck.html\n<section class=\"slide\">\n <h2>導入から 3 か月の結果</h2>\n <div class=\"body\">\n <p class=\"note muted\">新しい仕分けの手順を入れた 3 拠点の合計(数字は架空)</p>\n <m-kpi style=\"height:330px\" aria-label=\"1 日の出荷 1,240 件、誤配率 0.8%、残業 32% 減\">\n <script type=\"application/json\">{\"cards\": [\n {\"label\": \"1 日の出荷\", \"value\": 1240, \"unit\": \"件\", \"from\": 980, \"delta\": {\"dir\": \"up\", \"text\": \"導入前から 260 件\"}},\n {\"label\": \"誤配率\", \"value\": 0.8, \"digits\": 1, \"unit\": \"%\", \"from\": 2.1, \"tone\": \"emph\", \"delta\": {\"dir\": \"down\", \"text\": \"導入前は 2.1%\", \"good\": true}},\n {\"label\": \"残業時間\", \"value\": 32, \"unit\": \"%\", \"prefix\": \"−\", \"tone\": \"accent2\", \"note\": \"1 人あたり、月の平均\"}\n ]}</script>\n </m-kpi>\n </div>\n <div class=\"concl\"><span>→ 件数が増えても、誤りと残業は減った</span></div>\n</section>\n```\n\n```narration.md\n## 導入から 3 か月の結果\n[0] 新しい仕分けの手順を入れた、3 つの拠点の合計です。\n[1] 1 日の出荷は 1,240 件になり、導入前より 260 件増えました。\n[2] 誤配率は 2.1% から 0.8% に下がりました。件数が増えても、誤りは減っています。\n[3] 残業時間も、1 人あたり 32% 減っています。\n[concl] 件数が増えても、誤りと残業は減りました。\n```<!--/part-->\n\n<!--part:m-kpi-->Steps: `m-kpi` with 3 cards gives steps 1–3.<!--/part-->",
|
|
@@ -919,8 +943,8 @@ export const PACK = {
|
|
|
919
943
|
},
|
|
920
944
|
"m-boxplot": {
|
|
921
945
|
"set": "stats",
|
|
922
|
-
"row": "| `<m-boxplot>` | 箱ひげ図。値を並べ、中央値・四分位数を求める手順のとおりに組み立てる。群を並べて比べる | steps(既定):点 → 中央値 → 第1・第3四分位数 → 箱 → ひげ。whole:群 1 つ = 1 ステップ | `{groups:[{label?,tone?,values?:num[],five?:num[]} (values or five),…]}` — groups [{label, tone, values}] or [{label, five: [min, q1, median, q3, max]}]; axes go in attributes (xr=\"[0,20]\" xl=\"…\") |",
|
|
923
|
-
"entry": "### `<m-boxplot>`\n\nData example (child `<script type=\"application/json\">`): `{\"groups\":[{\"label\":\"1 組\",\"values\":[3,5,6,7,8,9,10,12,13,15,18]}]}`\n\n| prop | type | default | meaning |\n|---|---|---|---|\n| `orient` | string | `\"h\"` | h(横向きの箱、値の軸が横)か v(縦向き) |\n| `xr` | json | `null` | 横軸の範囲 |\n| `yr` | json | `null` | 縦軸の範囲 |\n| `xt` | json | `null` | 横軸の目盛り |\n| `yt` | json | `null` | 縦軸の目盛り |\n| `xf` | number | | 横軸の目盛りの小数桁 |\n| `yf` | number | | 縦軸の目盛りの小数桁 |\n| `xl` | string | `\"\"` | x axis name (`*italic*` `_sub` `^sup`) * |\n| `yl` | string | `\"\"` | y axis name * |\n| `method` | string | `\"jp\"` | 四分位数の求め方:jp(教科書)・inc・exc(表計算の QUARTILE.INC / EXC) |\n| `outliers` | string | `\"off\"` | on:1.5×四分位範囲の外を外れ値(点)にし、ひげはその内側まで |\n| `dots` | string | `\"off\"` | on:値の点を箱の下に並べる(build=\\ |\n| `build` | string | `\"steps\"` | steps(求める手順のとおり)か whole(群 1 つ = 1 ステップ) |\n| `unit` | string | `\"\"` | 表示する値の後ろに付ける単位 |\n| `digits` | number | | 表示する値の小数桁(書かなければ値の桁+1 まで) |\n\n値の代わりに `\"five\": [最小値, 第1四分位数, 中央値, 第3四分位数, 最大値]` も書ける。\n\n- `orient`:`h`(既定)か `v`\n- `method`:`jp`(既定、教科書)・`inc`・`exc`(表計算の QUARTILE.INC / EXC)\n- `outliers=\"on\"`:1.5×四分位範囲の外を外れ値の点に\n- `dots=\"on\"`:値の点を並べる\n- 群が 1 つの steps では、並べた値の行も出る",
|
|
946
|
+
"row": "| `<m-boxplot>` | 箱ひげ図。値を並べ、中央値・四分位数を求める手順のとおりに組み立てる。群を並べて比べる | steps(既定):点 → 中央値 → 第 1・第 3 四分位数 → 箱 → ひげ。whole:群 1 つ = 1 ステップ | `{groups:[{label?,tone?,values?:num[],five?:num[]} (values or five),…]}` — groups [{label, tone, values}] or [{label, five: [min, q1, median, q3, max]}]; axes go in attributes (xr=\"[0,20]\" xl=\"…\") |",
|
|
947
|
+
"entry": "### `<m-boxplot>`\n\nData example (child `<script type=\"application/json\">`): `{\"groups\":[{\"label\":\"1 組\",\"values\":[3,5,6,7,8,9,10,12,13,15,18]}]}`\n\n| prop | type | default | meaning |\n|---|---|---|---|\n| `orient` | string | `\"h\"` | h(横向きの箱、値の軸が横)か v(縦向き) |\n| `xr` | json | `null` | 横軸の範囲 |\n| `yr` | json | `null` | 縦軸の範囲 |\n| `xt` | json | `null` | 横軸の目盛り |\n| `yt` | json | `null` | 縦軸の目盛り |\n| `xf` | number | | 横軸の目盛りの小数桁 |\n| `yf` | number | | 縦軸の目盛りの小数桁 |\n| `xl` | string | `\"\"` | x axis name (`*italic*` `_sub` `^sup`) * |\n| `yl` | string | `\"\"` | y axis name * |\n| `method` | string | `\"jp\"` | 四分位数の求め方:jp(教科書)・inc・exc(表計算の QUARTILE.INC / EXC) |\n| `outliers` | string | `\"off\"` | on:1.5×四分位範囲の外を外れ値(点)にし、ひげはその内側まで |\n| `dots` | string | `\"off\"` | on:値の点を箱の下に並べる(build=\\ |\n| `build` | string | `\"steps\"` | steps(求める手順のとおり)か whole(群 1 つ = 1 ステップ) |\n| `unit` | string | `\"\"` | 表示する値の後ろに付ける単位 |\n| `digits` | number | | 表示する値の小数桁(書かなければ値の桁+1 まで) |\n\n値の代わりに `\"five\": [最小値, 第 1 四分位数, 中央値, 第 3 四分位数, 最大値]` も書ける。\n\n- `orient`:`h`(既定)か `v`\n- `method`:`jp`(既定、教科書)・`inc`・`exc`(表計算の QUARTILE.INC / EXC)\n- `outliers=\"on\"`:1.5×四分位範囲の外を外れ値の点に\n- `dots=\"on\"`:値の点を並べる\n- 群が 1 つの steps では、並べた値の行も出る",
|
|
924
948
|
"sup": true
|
|
925
949
|
},
|
|
926
950
|
"m-callout": {
|
|
@@ -963,6 +987,12 @@ export const PACK = {
|
|
|
963
987
|
"row": "| `<m-contour>` | Contours of f(x, y) by level, gradient arrows, a descent path by point | levels (all: 1) → gradient → path points | `{f?:str,label?,grid?:{nx:int,ny:int,values:any[]},range:{x:[num,num],y:[num,num]},axes?:{x?:str,y?:str},levels:num[],gradient?:{at:[num,num][],scale?:num,tangent?:bool},path?:[num,num][],monotone?:bool,equal?:bool} (f or grid)` |",
|
|
964
988
|
"entry": "### `<m-contour>`\n\nData example (child `<script type=\"application/json\">`): `{\"f\":\"x**2 + 3*y**2\",\"range\":{\"x\":[-3,3],\"y\":[-2,2]},\"levels\":[1,2,4,8],\"gradient\":{\"at\":[[1,1]]},\"path\":[[2.5,1.5],[1.5,0.3],[0.9,0.06]],\"monotone\":true}`\n\n| prop | type | default | meaning |\n|---|---|---|---|\n| `size` | number | `24` | text px |\n| `by` | enum | `\"level\"` | level or all |\n\n`f` (arithmetic in x, y) or a script's `grid`; `levels` (≤8), `gradient.at`, `path` from a script. Size: with `equal` and a square range, about 740 px wide for 440 px high (a panel on the right); to fill the width, widen x or set `equal: false`."
|
|
965
989
|
},
|
|
990
|
+
"m-contrast": {
|
|
991
|
+
"set": "standard",
|
|
992
|
+
"row": "| `<m-contrast>` | Positioning figure: per question, earlier vs this work's answer (unknown dashed), or assumption chips with this work's dropped and added; by step | answers: questions → earlier answers → arrows and this work (order=\"row\": per row). assumptions: studies → this work kept, dropped → added → yields. order=\"whole\": 1 | `{kind?:\"answers\"\\|\"assumptions\",heads?:[str,str,str],selfLabel?:str,rows?:{q:str,after:str,basis?:str,before:{text?:str,by?:str,unknown?:bool,near?:str}}[],studies?:{label,chips:str[],result:str}[],self?:{dropped?:str[],kept?:str[],added?:str[],result:str}}` — answers: rows [{\"q\", \"before\": {\"text\", \"by\"} or {\"unknown\": true, \"near\"}, \"after\", \"basis\"?}]. assumptions: studies [{\"label\", \"chips\", \"result\"}], self {\"kept\", \"dropped\", \"added\", \"result\"} |",
|
|
993
|
+
"entry": "### `<m-contrast>`\n\nData example (child `<script type=\"application/json\">`): `{\"kind\":\"answers\",\"rows\":[{\"q\":\"Where is the gap?\",\"before\":{\"unknown\":true,\"near\":\"Between countries [2]\"},\"after\":\"70% between schools\",\"basis\":\"3 years, all pupils\"}]}`\n\n| prop | type | default | meaning |\n|---|---|---|---|\n| `order` | string | `\"\"` | build (default), row (answers), whole |\n| `size` | number | `28` | text px (≥ 24) |\n\n<!--part:m-matrix-->Novelty in an answer or a view (not m-matrix). `kind` in the JSON.<!--/part-->\n\n- `answers` (default): `rows` 1–3 `{\"q\", \"before\": {\"text\", \"by\"}, \"after\", \"basis\"}`; no earlier answer: `\"before\": {\"unknown\": true, \"near\"}` (dashed, \"Unknown\")\n- `assumptions`: `studies` 1–3 `{\"label\", \"chips\", \"result\"}`; `self` `{\"kept\", \"dropped\", \"added\", \"result\"}`; dropped struck, added `--emph`, both labelled\n- This work written, framed; `selfLabel`, `heads` (3) rename\n- <!--part:m-tree-->Name the nearest work (`by`, `label`). By premise: m-tree `dash`<!--/part-->",
|
|
994
|
+
"paidOnly": true
|
|
995
|
+
},
|
|
966
996
|
"m-ctable": {
|
|
967
997
|
"set": "standard",
|
|
968
998
|
"row": "| `<m-ctable>` | ANOVA, contingency and potential-outcome tables filled by step; sources, results and a formula line; arithmetic checked | fill stages | `{kind:\"anova\"\\|\"contingency\"\\|\"po\"\\|\"table\",rows?:(object\\|str\\|any[])[],cols?:str[],n?:num[][],margins?:bool,expected?:num[][],chi2?:num,or?:num,units?:{id?:str,t:0\\|1,y0:num,y1:num}[],ate?:num,naive?:num,header?:str[],note?}` |",
|
|
@@ -972,7 +1002,7 @@ export const PACK = {
|
|
|
972
1002
|
"m-curves": {
|
|
973
1003
|
"set": "standard",
|
|
974
1004
|
"row": "| `<m-curves>` | Lines drawn one at a time on shared axes, each named at its end (no legend) | largest step (default: number of series) | `[{label?,f?:str,pts?:[num,num][],tone?,step?,labelAt?:num,color?:str,dash?:bool,xr?:[num,num],area?:any[],areaLabel?:str\\|any[],at?,anchor?:\"right\"\\|\"left\"\\|\"above\"\\|\"below\"\\|\"top\"\\|\"bottom\"\\|\"start\"\\|\"middle\"\\|\"end\",dx?:num,dy?:num,ly?:num} (f or pts),…]` — the data is the array itself, not {\"series\": […]}; axes go in attributes (xr=\"[0,10]\" xl=\"…\"); the expression field is f in x (not fn, not u) |",
|
|
975
|
-
"entry": "### `<m-curves>`\n\nData example (child `<script type=\"application/json\">`): `[{\"label\":\"Demand D\",\"f\":\"10 - x\"},{\"label\":\"Supply S\",\"f\":\"2 + x\"},{\"label\":\"Equilibrium\",\"pts\":[[4,0],[4,6]],\"dash\":true}]`\n\n| prop | type | default | meaning |\n|---|---|---|---|\n| `xr` | json | `[0, 1]` | x range |\n| `yr` | json | `[0, 1]` | y range |\n| `xt` | json | `[]` | x ticks |\n| `yt` | json | `[]` | y ticks |\n| `xf` | number | | x tick decimals |\n| `yf` | number | | y tick decimals |\n| `xl` | string | `\"\"` | x title |\n| `yl` | string | `\"\"` | y title |\n| `n` | number | `300` | samples |\n| `lw` | number | `3.5` | line width |\n| `size` | number | `0` | text px (≥ 24; 0 = default) |\n\nOne comparison at a time: mean, median, quantiles; losses.\n\nSeries: a JSON array in a child script. One series = one step; same `step` = together.\n\n| Field | Meaning |\n|---|---|\n| `label` | line name |\n| `f` | expression in x (see below) |\n| `pts` | points `[[x, y], …]` |\n| `tone` | `term` `emph` `accent2` `muted` `fg` `series-1..4` |\n| `dash` | dashed |\n| `area` / `areaLabel` | shaded span `[a, b]` (several; null = edge), labels |\n| `labelAt` / `anchor` / `dx` / `dy` / `ly` | name at x = `labelAt` (default: end); `anchor` `right` `left` `above` `below`; `ly` = y |\n\n`f` is arithmetic, not code: numbers, `x`, `Math` functions/constants (`sin(x)`, `PI`; no `random`), `N(x, mean, sd)`, `+ - * / % **`, comparisons, `&& || !`, `? :`. Powers: `**`. An unreadable `f` shows a card."
|
|
1005
|
+
"entry": "### `<m-curves>`\n\nData example (child `<script type=\"application/json\">`): `[{\"label\":\"Demand D\",\"f\":\"10 - x\"},{\"label\":\"Supply S\",\"f\":\"2 + x\"},{\"label\":\"Equilibrium\",\"pts\":[[4,0],[4,6]],\"dash\":true}]`\n\n| prop | type | default | meaning |\n|---|---|---|---|\n| `xr` | json | `[0, 1]` | x range |\n| `yr` | json | `[0, 1]` | y range |\n| `xt` | json | `[]` | x ticks |\n| `yt` | json | `[]` | y ticks |\n| `xf` | number | | x tick decimals |\n| `yf` | number | | y tick decimals |\n| `xl` | string | `\"\"` | x title |\n| `yl` | string | `\"\"` | y title |\n| `n` | number | `300` | samples |\n| `lw` | number | `3.5` | line width |\n| `size` | number | `0` | text px (≥ 24; 0 = default) |\n\nOne comparison at a time: mean, median, quantiles; losses.\n\nSeries: a JSON array in a child script. One series = one step; same `step` = together.\n\n| Field | Meaning |\n|---|---|\n| `label` | line name |\n| `f` | expression in x (see below) |\n| `pts` | points `[[x, y], …]` |\n| `tone` | `term` `emph` `accent2` `muted` `fg` `series-1..4` |\n| `dash` | dashed |\n| `area` / `areaLabel` | shaded span `[a, b]` (several; null = edge), labels |\n| `labelAt` / `anchor` / `dx` / `dy` / `ly` | name at x = `labelAt` (default: end); `anchor` `right` `left` `above` `below`; `ly` = y |\n\nText ticks: `xt='[\"Apr\",\"May\"]'` (x = 1, 2) or `[[0, \"FY2023\"], …]`.\n\n`f` is arithmetic, not code: numbers, `x`, `Math` functions/constants (`sin(x)`, `PI`; no `random`), `N(x, mean, sd)`, `+ - * / % **`, comparisons, `&& || !`, `? :`. Powers: `**`. An unreadable `f` shows a card."
|
|
976
1006
|
},
|
|
977
1007
|
"m-cycle": {
|
|
978
1008
|
"set": "standard",
|
|
@@ -1063,6 +1093,12 @@ export const PACK = {
|
|
|
1063
1093
|
"row": "| `<m-market>` | 市場規模の入れ子の円(TAM / SAM / SOM)。外の円から 1 つずつ、前の円の大きさから縮んで現れる | rings の数 | `{rings:{key?:str,value:num,basis?:str,tone?}[]}` |",
|
|
1064
1094
|
"entry": "### `<m-market>`\n\nData example (child `<script type=\"application/json\">`): `{\"rings\":[{\"key\":\"TAM\",\"value\":3000,\"basis\":\"国内の…\"},{\"key\":\"SAM\",\"value\":600,\"basis\":\"…\"},{\"key\":\"SOM\",\"value\":30,\"basis\":\"…\"}]}`\n\n| prop | type | default | meaning |\n|---|---|---|---|\n| `unit` | string | `\"\"` | 値の単位(数字の後ろに付ける) |\n| `digits` | number | `0` | 値の小数桁 |\n| `scale` | string | `\"fixed\"` | fixed(決まった比)か area(面積を値に比例) |\n| `layout` | string | `\"bottom\"` | bottom(下端をそろえる)か center(同心) |\n| `count` | bool | `false` | 値の数字を縮みに合わせて数え上げる |\n\n市場の大きさを、全体(TAM)から手の届く範囲(SAM)、最初に取る範囲(SOM)へ絞り込んで見せるときに使う。\n\n子の JSON の並び:外から順。\n\n- ステップ j で j 番目の円が、1 つ外の円の大きさと位置から縮んで現れる。前の円はそのまま残る\n- 名前(`key`)・値・根拠(`basis`、何を数えたか)は円の右に書き、円の中の点から引き出し線で結ぶ。値は `digits` 桁で 3 桁ごとにカンマを入れ、`unit` を後ろに付ける\n- `scale=\"fixed\"`(既定)は見やすい決まった比(1・0.64・0.34・0.16)。`scale=\"area\"` は面積を値に比例させる(小さすぎる円は最も大きい円の 0.14 倍の半径にする)。面積に比例させると SOM がほとんど見えないことが多いので、既定は fixed にして値を字で示す\n- `layout=\"bottom\"`(既定)は円の下端をそろえ、`layout=\"center\"` は同心にする\n- 色は外の 2 つが `--term`、内の円が `--emph`(`tone` で変えられる:`term`・`emph`・`muted`・`accent2`・`series-1..4`。ほかの値は `term`)\n- `dur`:1 つの円が縮んで現れる秒数(既定 0.9)。数字はそのあと 0.35 秒で出る\n- 値の数字は円が縮みきってから出す。`count=\"true\"` なら縮みに合わせて数え上げる"
|
|
1065
1095
|
},
|
|
1096
|
+
"m-matrix": {
|
|
1097
|
+
"set": "standard",
|
|
1098
|
+
"row": "| `<m-matrix>` | A positioning table: the cross of two axes (studies in cells, this work framed, empty cells — with a note) or studies × elements (✓ △ × or short text), filled by step | cross: axes (0) → studies (1) → this work (2) → notes (3, only with a none cell); order=\"whole\": 1. attributes: whole 1; col, row: columns, rows + 1 (frame) | `{kind?:\"cross\"\\|\"attributes\",rows?:object\\|any[],cols?:object\\|any[],cells?:(any[]\\|object)[][],marks?:{mark:str,text:str}[],design?:{cols:str[],rows:{label?,self?:bool,cells:str[]}[]},self?:str}` — cross: rows, cols {\"axis\", \"values\"}; cells[r][c] study names, {\"self\": true or \"finding\"} or {\"none\": \"why\"}; design {\"cols\", \"rows\"}. attributes: cols names or {\"name\", \"source\"}, rows {\"label\", \"cells\", \"self\"?} |",
|
|
1099
|
+
"entry": "### `<m-matrix>`\n\nData example (child `<script type=\"application/json\">`): `{\"kind\":\"cross\",\"rows\":{\"axis\":\"Criterion\",\"values\":[\"Error\",\"Bayes risk\"]},\"cols\":{\"axis\":\"Output\",\"values\":[\"Point\",\"Distribution\"]},\"cells\":[[[\"[1]\",\"[2]\"],[\"[3]\"]],[{\"none\":\"Trivial\"},{\"self\":true}]]}`\n\n| prop | type | default | meaning |\n|---|---|---|---|\n| `order` | string | `\"\"` | cross build\\|whole; attributes whole\\|col\\|row |\n| `size` | number | `28` | text px (≥ 24) |\n\n`kind`: `cross` (default) or `attributes`.\n\n- cross: `rows`, `cols` = `{\"axis\", \"values\"}` (2–4 each). `cells[r][c]`: study names (1–3), `{\"self\": true}` or `{\"none\": \"why\"}` (— and a note). `marks`: `[{\"mark\": \"†\", \"text\"}]`\n- attributes: `cols` names; `rows` `{\"label\", \"cells\", \"self\"}`, this work first\n- This work is written out and framed in `--emph`",
|
|
1100
|
+
"paidOnly": true
|
|
1101
|
+
},
|
|
1066
1102
|
"m-menu": {
|
|
1067
1103
|
"set": "standard",
|
|
1068
1104
|
"row": "| `<m-menu>` | Grid of slide-link cards (contents); plain <a href=\"#<slide id>\">; visited mark | ceil(cards / per-step) (per-step=\"0\": 0) | child `<a href>` links (not JSON) |",
|
|
@@ -1086,12 +1122,12 @@ export const PACK = {
|
|
|
1086
1122
|
"m-orbit": {
|
|
1087
1123
|
"set": "science",
|
|
1088
1124
|
"row": "| `<m-orbit>` | 月の満ち欠け(金星の満ち欠け)。北極の上から見た図と地球から見た形を並べ、月を位置から位置へ動かす。形は位置から計算する | 動く先の数(既定は 8 つの位置を新月から 1 周 = 8 ステップ。visit で決める) | `{positions?:int,start?:int,visit?:int[],labels?:(str\\|null)[],notes?:(str\\|null)[],eclipse?:bool}` |",
|
|
1089
|
-
"entry": "### `<m-orbit>`\n\nData example (child `<script type=\"application/json\">`): `{\"positions\":8,\"visit\":[1,2,3,4,5,6,7,0]}`\n\n| prop | type | default | meaning |\n|---|---|---|---|\n| `mode` | string | `\"moon\"` | moon(月の満ち欠け)か venus(金星の満ち欠け) |\n| `hemisphere` | string | `\"north\"` | north(北半球から見た形。満ちていく月は右が光る)か south(南半球。左右が逆) |\n| `sun` | string | `\"right\"` | 月の図で太陽の光が来る側(right か left) |\n| `earth` | number | `0.2` | 地球の半径(月の軌道の半径に対する比。金星の図では地球の軌道に対する比の半分) |\n| `moon` | number | `0.5` | 月の半径(地球の半径に対する比。実際の月は 0.27。金星の図では金星をこの 1.4 倍に) |\n| `observer` | bool | `true` | 月の図で、地球の上の人と、月を見る向きを描く |\n| `size` | number | `28` | 地球から見た形の名前の字の大きさ(px。24 以上) |\n\n月の満ち欠け(中学 3 年・地学基礎)を見せるときに使う。左は北極の上から見た図で、太陽の光が片側から来て、地球のまわりの軌道の上に月がある。月の光っている半分は、いつも太陽の側を向いている。右は、地球から見たときの月の形。2 つの図は同じ位置で動く。\n\n**大きさと距離は実際の比ではない**(教えるための図)。実際は、地球と月の距離は地球の半径のおよそ 60 倍、月の半径は地球のおよそ 0.27 倍。比は `earth` と `moon` で変えられる。\n\n子の JSON(中身は省ける。`{}` で既定の 1 周):`{\"positions\": 8, \"start\": 0, \"visit\": [1, 2, 3, 4, 5, 6, 7, 0], \"labels\": [...], \"notes\": [...], \"eclipse\": false}`(どれも省ける)。\n\n- `positions`:軌道の上の位置の数(4〜24、既定 8)。位置 0 が新月(月が太陽の側)、そこから反時計回りに等しい間隔\n- `start`:ステップ 0 の位置(既定 0)\n- `visit`:ステップごとに動く先の位置。月はいつも反時計回りに進む(2 つ先なら 2 つ分動く)。既定は `start` の次から 1 周して `start` へ戻る\n- `labels`:位置ごとの名前(`null` は既定のまま、`\"\"` は名前なし)。既定は、新月・三日月・上弦の月・満月・下弦の月(英語は new moon, waxing crescent, first quarter, full moon, last quarter)。8 つの位置では、残りの 3 つは名前なし(教科書と同じ)。十三夜などは `labels` で付ける\n- `notes`:位置ごとの説明(右の図の名前の下)。既定は、地球の上の人がその月を見る時刻と空の向き(「夕方・南西の空」など。下)\n- `eclipse`:`true` なら、新月と満月の位置で、太陽・月・地球がそろったときの影を描き、名前に(日食)(月食)を添える\n\n属性:\n\n- `mode`:`moon`(既定)か `venus`(金星の満ち欠け。下)\n- `hemisphere`:`north`(既定。満ちていく月は右側が光る)か `south`(左右が逆)\n- `sun`:太陽の光が来る側(`right` 既定か `left`)。月の図だけ\n- `earth`:地球の半径(月の軌道の半径に対する比、既定 0.2)。`moon`:月の半径(地球の半径に対する比、既定 0.5)\n- `observer`:地球の上の人と、月を見る向きの線(既定 true)\n- `size`:右の図の名前の字の大きさ(既定 28px)。`dur`:となりの位置へ動く秒数(既定 1.2)\n\n地球の上の人の時刻:月が夜の側にあるとき(上弦から下弦まで)は、月が南の空にいちばん高く上る時刻(上弦は夕方、満月は真夜中、下弦は明け方)。三日月のように夕方の側にある月は日の入り、明け方の側にある月は日の出、新月は正午。人はステップの間に、地球が回る向きに動く。空の向きは、人の真上から月への角を 45° ごとに名前にしたもの(南、南西、西…。南半球では北が基準)。教科書と言い方を合わせたいときは `notes` で書く。\n\n`mode=\"venus\"`:太陽を中心に、金星と地球の軌道を描く。地球は下に止めて、金星の位置を外合(太陽の向こう側)から反時計回りに `positions` 個置く(8 つなら位置 3 が東方最大離角に近い「よいの明星」、位置 5 が西方最大離角に近い「明けの明星」)。右の図は地球から見た金星の形で、大きさは地球からの距離に反比例する(地球に近いほど大きく、細く欠ける)。説明は「夕方・西の空」「明け方・東の空」、太陽に近い位置では「太陽に近くて見えない」。軌道の比は実際の値(金星 0.723)。\n\n
|
|
1125
|
+
"entry": "### `<m-orbit>`\n\nData example (child `<script type=\"application/json\">`): `{\"positions\":8,\"visit\":[1,2,3,4,5,6,7,0]}`\n\n| prop | type | default | meaning |\n|---|---|---|---|\n| `mode` | string | `\"moon\"` | moon(月の満ち欠け)か venus(金星の満ち欠け) |\n| `hemisphere` | string | `\"north\"` | north(北半球から見た形。満ちていく月は右が光る)か south(南半球。左右が逆) |\n| `sun` | string | `\"right\"` | 月の図で太陽の光が来る側(right か left) |\n| `earth` | number | `0.2` | 地球の半径(月の軌道の半径に対する比。金星の図では地球の軌道に対する比の半分) |\n| `moon` | number | `0.5` | 月の半径(地球の半径に対する比。実際の月は 0.27。金星の図では金星をこの 1.4 倍に) |\n| `observer` | bool | `true` | 月の図で、地球の上の人と、月を見る向きを描く |\n| `size` | number | `28` | 地球から見た形の名前の字の大きさ(px。24 以上) |\n\n月の満ち欠け(中学 3 年・地学基礎)を見せるときに使う。左は北極の上から見た図で、太陽の光が片側から来て、地球のまわりの軌道の上に月がある。月の光っている半分は、いつも太陽の側を向いている。右は、地球から見たときの月の形。2 つの図は同じ位置で動く。\n\n**大きさと距離は実際の比ではない**(教えるための図)。実際は、地球と月の距離は地球の半径のおよそ 60 倍、月の半径は地球のおよそ 0.27 倍。比は `earth` と `moon` で変えられる。\n\n子の JSON(中身は省ける。`{}` で既定の 1 周):`{\"positions\": 8, \"start\": 0, \"visit\": [1, 2, 3, 4, 5, 6, 7, 0], \"labels\": [...], \"notes\": [...], \"eclipse\": false}`(どれも省ける)。\n\n- `positions`:軌道の上の位置の数(4〜24、既定 8)。位置 0 が新月(月が太陽の側)、そこから反時計回りに等しい間隔\n- `start`:ステップ 0 の位置(既定 0)\n- `visit`:ステップごとに動く先の位置。月はいつも反時計回りに進む(2 つ先なら 2 つ分動く)。既定は `start` の次から 1 周して `start` へ戻る\n- `labels`:位置ごとの名前(`null` は既定のまま、`\"\"` は名前なし)。既定は、新月・三日月・上弦の月・満月・下弦の月(英語は new moon, waxing crescent, first quarter, full moon, last quarter)。8 つの位置では、残りの 3 つは名前なし(教科書と同じ)。十三夜などは `labels` で付ける\n- `notes`:位置ごとの説明(右の図の名前の下)。既定は、地球の上の人がその月を見る時刻と空の向き(「夕方・南西の空」など。下)\n- `eclipse`:`true` なら、新月と満月の位置で、太陽・月・地球がそろったときの影を描き、名前に(日食)(月食)を添える\n\n属性:\n\n- `mode`:`moon`(既定)か `venus`(金星の満ち欠け。下)\n- `hemisphere`:`north`(既定。満ちていく月は右側が光る)か `south`(左右が逆)\n- `sun`:太陽の光が来る側(`right` 既定か `left`)。月の図だけ\n- `earth`:地球の半径(月の軌道の半径に対する比、既定 0.2)。`moon`:月の半径(地球の半径に対する比、既定 0.5)\n- `observer`:地球の上の人と、月を見る向きの線(既定 true)\n- `size`:右の図の名前の字の大きさ(既定 28px)。`dur`:となりの位置へ動く秒数(既定 1.2)\n\n地球の上の人の時刻:月が夜の側にあるとき(上弦から下弦まで)は、月が南の空にいちばん高く上る時刻(上弦は夕方、満月は真夜中、下弦は明け方)。三日月のように夕方の側にある月は日の入り、明け方の側にある月は日の出、新月は正午。人はステップの間に、地球が回る向きに動く。空の向きは、人の真上から月への角を 45° ごとに名前にしたもの(南、南西、西…。南半球では北が基準)。教科書と言い方を合わせたいときは `notes` で書く。\n\n`mode=\"venus\"`:太陽を中心に、金星と地球の軌道を描く。地球は下に止めて、金星の位置を外合(太陽の向こう側)から反時計回りに `positions` 個置く(8 つなら位置 3 が東方最大離角に近い「よいの明星」、位置 5 が西方最大離角に近い「明けの明星」)。右の図は地球から見た金星の形で、大きさは地球からの距離に反比例する(地球に近いほど大きく、細く欠ける)。説明は「夕方・西の空」「明け方・東の空」、太陽に近い位置では「太陽に近くて見えない」。軌道の比は実際の値(金星 0.723)。\n\n縦書きのスライドでも、横書きの 1 つの図として置く。"
|
|
1090
1126
|
},
|
|
1091
1127
|
"m-particles": {
|
|
1092
1128
|
"set": "science",
|
|
1093
1129
|
"row": "| `<m-particles>` | 状態変化の粒子の並び方と間隔、化学変化で保存される原子の数を見せる | state は states の数 − 1(既定 2)。reaction は反応前→原子に分かれる→反応後の 3 ステップ | `{states?:(\"solid\"\\|\"liquid\"\\|\"gas\")[],substance?:str,labels?:(str\\|null)[]\\|{before?:str,apart?:str,after?:str,atoms?:str},reactants?:{formula:str,n:int,shape?:\"linear\"\\|\"bent\"\\|\"trigonal\"\\|\"tetrahedral\"\\|\"chain\"}[],products?:{formula:str,n:int,shape?:\"linear\"\\|\"bent\"\\|\"trigonal\"\\|\"tetrahedral\"\\|\"chain\"}[]}` |",
|
|
1094
|
-
"entry": "### `<m-particles>`\n\n| prop | type | default | meaning |\n|---|---|---|---|\n| `mode` | string | `\"state\"` | state(状態変化)か reaction(化学変化) |\n| `count` | number | `16` | 状態変化で描く粒子の数(6〜30 の整数。数と大きさは一定) |\n| `size` | number | `28` | 名前・式の字の大きさ(px。24 以上) |\n| `volume` | bool | `false` | 状態に合わせて容器の幅を変える(気体は広い) |\n| `motion` | bool | `true` | 状態変化の粒子に静止した運動の印を付ける |\n\n中学 1〜2 年の理科・化学基礎で、状態変化と化学変化を粒子のモデルで説明するときに使う。高さ 440px、幅 1000px 以上を目安に置く。狭くて入らないときは `ctx.report(\"size\", …)` で知らせる。\n\n`mode=\"state\"`(既定):1 つの容器の中で、粒子が固体・液体・気体の並び方へ移る。粒子の数と半径(19px)は途中でも一定。固体は床の上の規則正しい格子(16 個なら 4×4、割り切れない行は中央寄せ)。液体は固体より広く低い層で、床の上から不規則に積む。粒子は重ならず、近い粒子同士が接する。気体は格子を使わず、容器全体に十分な間隔を空けて散らす。振動の印・短い矢印・長い矢印で運動を示すので、静止画でも比較できる。液体の矢印は粒子の縁から約 18px、気体は 24px 伸ばし、同じ線の太さで描く。矢印は粒子の縁から外を向き、他の粒子にも容器の枠にも重ねない。密に接した内部の粒子で矢印が収まらないときは、その矢印を省く。\n\n子の JSON は省略できる。例:\n\n```json\n{\"states\": [\"solid\", \"liquid\", \"gas\"], \"substance\": \"水\", \"labels\": [\"固体(氷)\", null, null]}\n```\n\n- `states`:1 個以上の状態名(`solid`・`liquid`・`gas`)。並び順に移る。逆順や固体↔気体も使える。1 個ならステップなし\n- `substance`:容器の上に出す物質名(省略可)\n- `labels`:各状態の表示名。`null` は既定の固体・液体・気体、`\"\"`
|
|
1130
|
+
"entry": "### `<m-particles>`\n\n| prop | type | default | meaning |\n|---|---|---|---|\n| `mode` | string | `\"state\"` | state(状態変化)か reaction(化学変化) |\n| `count` | number | `16` | 状態変化で描く粒子の数(6〜30 の整数。数と大きさは一定) |\n| `size` | number | `28` | 名前・式の字の大きさ(px。24 以上) |\n| `volume` | bool | `false` | 状態に合わせて容器の幅を変える(気体は広い) |\n| `motion` | bool | `true` | 状態変化の粒子に静止した運動の印を付ける |\n\n中学 1〜2 年の理科・化学基礎で、状態変化と化学変化を粒子のモデルで説明するときに使う。高さ 440px、幅 1000px 以上を目安に置く。狭くて入らないときは `ctx.report(\"size\", …)` で知らせる。\n\n`mode=\"state\"`(既定):1 つの容器の中で、粒子が固体・液体・気体の並び方へ移る。粒子の数と半径(19px)は途中でも一定。固体は床の上の規則正しい格子(16 個なら 4×4、割り切れない行は中央寄せ)。液体は固体より広く低い層で、床の上から不規則に積む。粒子は重ならず、近い粒子同士が接する。気体は格子を使わず、容器全体に十分な間隔を空けて散らす。振動の印・短い矢印・長い矢印で運動を示すので、静止画でも比較できる。液体の矢印は粒子の縁から約 18px、気体は 24px 伸ばし、同じ線の太さで描く。矢印は粒子の縁から外を向き、他の粒子にも容器の枠にも重ねない。密に接した内部の粒子で矢印が収まらないときは、その矢印を省く。\n\n子の JSON は省略できる。例:\n\n```json\n{\"states\": [\"solid\", \"liquid\", \"gas\"], \"substance\": \"水\", \"labels\": [\"固体(氷)\", null, null]}\n```\n\n- `states`:1 個以上の状態名(`solid`・`liquid`・`gas`)。並び順に移る。逆順や固体↔気体も使える。1 個ならステップなし\n- `substance`:容器の上に出す物質名(省略可)\n- `labels`:各状態の表示名。`null` は既定の固体・液体・気体、`\"\"` は名前なし。英語のスライドでは Solid・Liquid・Gas\n- ステップ 0 は容器の下に最初の状態名だけを出す。ステップ 1 以降は「液体 → 気体(沸騰)」のように、出発点・到着点・変化名を 1 行で出す。英語は `Liquid → Gas (boiling)`\n- 変化の名前は状態の組から決める(融解・沸騰・凝固・凝縮・昇華)。英語は melting・boiling・freezing・condensation・sublimation\n\n`mode=\"reaction\"`:反応前の分子が現れる(1)、同じ原子が離れる(2)、生成物の分子へ集まる(3)。元素記号と色が原子の種類を表す。原子の半径は図に合わせて 24〜34px(全ステップで同じ)。ステップの見出しは図の上に置く。ステップ 2 は原子の間に少なくとも半径 1 個分の隙間を取り、中央に配置する。最後は左に「反応前」、右に「反応後」を付けて左右の分子の中央に矢印を置く。図全体を縦に中央寄せし、すぐ下に式と「原子の数:H 4 → 4、O 2 → 2」のような数の行を中央揃えで出す。最後は下側にステップ名を重ねない。左の反応前の図は比較のためのコピーで、別の原子が増えたことを意味しない。\n\n```html\n<m-particles mode=\"reaction\" style=\"height:440px\">\n <script type=\"application/json\">{\"reactants\": [{\"formula\": \"H2\", \"n\": 2}, {\"formula\": \"O2\", \"n\": 1}], \"products\": [{\"formula\": \"H2O\", \"n\": 2}]}</script>\n</m-particles>\n```\n\n- `reactants`・`products`:分子のリスト。`formula` は元素記号(大文字+任意の小文字)と正の整数の個数だけ。例:`H2O`・`FeS`・`CO2`。括弧・電荷・式の中の係数は使えない\n- `shape`:各分子に省略可。`\"linear\"`(直線)、`\"bent\"`(3 原子の折れ線)、`\"trigonal\"`(中心+周囲の 3 原子を平面に配置)、`\"tetrahedral\"`(中心+周囲の 4 原子を平面の十字に配置)、`\"chain\"`(コンパクトな列)で指定し、既定の形を上書きする。例:`{\"formula\":\"CO2\",\"n\":1,\"shape\":\"linear\"}`。省略時は既知の分子の形を使い、それ以外の 3 原子分子は直線、より大きい分子はコンパクトな列にする\n- `n`:分子の数(1〜24 の整数)。1 も明記する。式の表示では係数 1 を省き、原子の個数は下付きにする\n- 元素は初出順に最大 6 種、原子は片側で最大 24 個(保存される原子の総数)。上限超過や読めない式は `data` で知らせ、図の代わりに確認を求める文を出す\n- 原子数が一致しない式は変更しない。`data` で全元素の反応前→反応後の数を報告し、不一致を強調した数の表と左右の静止した比較図を描く。原子を作ったり消したりする誤った移動は描かない\n- `labels` は省略可のオブジェクト。`before`・`apart`・`after`・`atoms` で「反応前」「原子に分かれる」「反応後」「原子の数:」を上書きできる\n\n属性:`count` は state の粒子数(6〜30、既定 16)、`size` は名前と式の文字サイズ(24px 以上、既定 28)、`dur` は各ステップの秒数(既定 1.2)。`volume=\"true\"` は気体の容器を広くする(既定 false。固体・液体の幅も粒子の層が入る幅を保つ)。`motion=\"false\"` で state の運動の印を消す(既定 true)。`states` は属性ではなく子の JSON に書く。\n\n要素の言語に従い日本語・英語で表示する。読み上げは最後の状態と保存される数を説明する。作者の `aria-label` があれば保つ。縦書きのスライドでも図は横書き。"
|
|
1095
1131
|
},
|
|
1096
1132
|
"m-pie": {
|
|
1097
1133
|
"set": "standard",
|
|
@@ -1116,13 +1152,18 @@ export const PACK = {
|
|
|
1116
1152
|
"m-scatter": {
|
|
1117
1153
|
"set": "standard",
|
|
1118
1154
|
"row": "| `<m-scatter>` | Scatter plot; point series by step, then a trend line (least squares or 2 points) | series + trend (default 1 series = 1 step, lines 1 step) | `{series:{label?,tone?,step?,at?,points:([num,num]\\|{x:num,y:num,label?,anchor?:\"right\"\\|\"left\"\\|\"above\"\\|\"below\"\\|\"top\"\\|\"bottom\",tone?})[]}[],trend?:str\\|{fit?:\"linear\",pts?:[[num,num],[num,num]],series?:int\\|any[],label?,tone?,dash?:bool,step?,at?,digits?:int}\\|[the same {…},…]}` — points are [x, y] or {\"x\", \"y\", \"label\"}; axes go in attributes (xr=\"[0,10]\" xl=\"…\"); trend is \"linear\" or {\"fit\": \"linear\", \"label\": \"…\"} or {\"pts\": [[x0, y0], [x1, y1]]} |",
|
|
1119
|
-
"entry": "### `<m-scatter>`\n\nData example (child `<script type=\"application/json\">`): `{\"series\":[{\"label\":\"Sunny\",\"points\":[[24,210],[28,380],[31,560],{\"x\":34,\"y\":690,\"label\":\"Heatwave\"}]}],\"trend\":\"linear\"}`\n\n| prop | type | default | meaning |\n|---|---|---|---|\n| `xr` | json | `null` | x range |\n| `yr` | json | `null` | y range |\n| `xt` | json | `null` | x ticks |\n| `yt` | json | `null` | y ticks |\n| `xf` | number | | x tick decimals |\n| `yf` | number | | y tick decimals |\n| `xl` | string | `\"\"` | x title |\n| `yl` | string | `\"\"` | y title |\n| `r` | number | `9` | point radius px |\n\nRelation of two quantities (heat vs sales). Points, then trend.\n\n- series: `points` (`[x, y]` or `{\"x\", \"y\", \"label\", \"anchor\", \"tone\"}`), `label` (series name, top with marker), `tone` (`term` `emph` `accent2` `muted` `fg` `series-1..4`), `step` (1 series = 1 step; same = together), `at` (start s)\n - Point `label` placed clear of overlaps (`anchor` = first try: `right` `left` `above` `below`); outliers only\n - Marker shape per series; repeats after 4, so ≤ 4 series\n- trend: `\"linear\"` (least squares on all points), or `{\"fit\": \"linear\", \"series\": 0, \"label\", \"tone\", \"dash\", \"step\", \"at\", \"digits\"}`, or `{\"pts\": [[x0, y0], [x1, y1]]}` (segment; exactly 2 points; vertical OK); several = array\n - `series`: fitted series index from 0, or array (default all)\n - `label`: `{r}` correlation, `{a}` slope, `{b}` intercept (`digits`, default 2), e.g. `\"Trend (r = {r})\"`\n - `step`: default after the last series\n - Clipped to the plot; lines outside reported. Vertical `pts`: `{a}` `{b}` empty; `{r}` only for fits\n- Axes: `xr` `yr` range, `xt` `yt` ticks, `xf` `yf` decimals, `xl` `yl` titles; range/ticks auto if omitted\n- `variant`: `fade
|
|
1155
|
+
"entry": "### `<m-scatter>`\n\nData example (child `<script type=\"application/json\">`): `{\"series\":[{\"label\":\"Sunny\",\"points\":[[24,210],[28,380],[31,560],{\"x\":34,\"y\":690,\"label\":\"Heatwave\"}]}],\"trend\":\"linear\"}`\n\n| prop | type | default | meaning |\n|---|---|---|---|\n| `xr` | json | `null` | x range |\n| `yr` | json | `null` | y range |\n| `xt` | json | `null` | x ticks |\n| `yt` | json | `null` | y ticks |\n| `xf` | number | | x tick decimals |\n| `yf` | number | | y tick decimals |\n| `xl` | string | `\"\"` | x title |\n| `yl` | string | `\"\"` | y title |\n| `r` | number | `9` | point radius px |\n\nRelation of two quantities (heat vs sales). Points, then trend.\n\n- series: `points` (`[x, y]` or `{\"x\", \"y\", \"label\", \"anchor\", \"tone\"}`), `label` (series name, top with marker), `tone` (`term` `emph` `accent2` `muted` `fg` `series-1..4`), `step` (1 series = 1 step; same = together), `at` (start s)\n - Point `label` placed clear of overlaps (`anchor` = first try: `right` `left` `above` `below`); outliers only\n - Marker shape per series; repeats after 4, so ≤ 4 series\n- trend: `\"linear\"` (least squares on all points), or `{\"fit\": \"linear\", \"series\": 0, \"label\", \"tone\", \"dash\", \"step\", \"at\", \"digits\"}`, or `{\"pts\": [[x0, y0], [x1, y1]]}` (segment; exactly 2 points; vertical OK); several = array\n - `series`: fitted series index from 0, or array (default all)\n - `label`: `{r}` correlation, `{a}` slope, `{b}` intercept (`digits`, default 2), e.g. `\"Trend (r = {r})\"`\n - `step`: default after the last series\n - Clipped to the plot; lines outside reported. Vertical `pts`: `{a}` `{b}` empty; `{r}` only for fits\n- Axes: `xr` `yr` range, `xt` `yt` ticks, `xf` `yf` decimals, `xl` `yl` titles; range/ticks auto if omitted\n- `variant`: `fade`, `sweep`, `grow`\n- Show later steps faintly (`ctx.preview`): later points and lines faint"
|
|
1120
1156
|
},
|
|
1121
1157
|
"m-score": {
|
|
1122
1158
|
"set": "music",
|
|
1123
1159
|
"row": "| `<m-score>` | 楽譜(五線譜)を 1 音・和音ずつ、または 1 小節ずつ出して音も鳴らす。ABC 記譜法で書く | 音符・和音・休符 1 つ=1 ステップ。by=\"measure\" なら 1 小節=1 ステップ(per-step=\"N\" なら N 小節。弱起の小節は次のステップに入る) | `{abc:str}` — write abc only; the build adds abcSvg, abcMap and renderers |",
|
|
1124
1160
|
"entry": "### `<m-score>`\n\nData example (child `<script type=\"application/json\">`): `{\"abc\":\"X:1\\nM:4/4\\nL:1/4\\nQ:1/4=96\\nK:C\\nC D E F |]\"}`\n\n| prop | type | default | meaning |\n|---|---|---|---|\n| `by` | string | `\"note\"` | note(1 音・和音ずつ)\\| measure(1 小節ずつ) |\n| `names` | string | `\"none\"` | 符頭の下の名前:solfa(ドレミ)\\| abc \\| iroha(ハニホ)\\| none |\n| `per-step` | number | `1` | by=\\ |\n\n- `abc`:ABC 記譜法。`M:` 拍子、`L:` 基本の長さ、`Q:1/4=96` 速さ、`K:` 調、`[CEG]` 和音、`z` 休符、`-` タイ\n- `names`:符頭の下に `solfa`(ドレミ)・`abc`・`iroha`(ハニホ)。既定は `none`\n- `by=\"measure\"`:1 小節ずつ(音は小節の中で順に鳴る)\n- `per-step=\"N\"`:`by=\"measure\"` で N 小節を 1 ステップにする(既定 1)。ステップの長さは N 小節の長さそのまま\n- `by=\"note\"` は音の名前・高さを 1 つずつ見せるためのもので、各ステップは 1.2 秒以上になりリズムは保たれない。リズムを聞かせるときは `by=\"measure\"`。速い曲は `per-step` で 1 ステップが 1.2 秒以上になるように(弱起の小節は自動で次の小節とまとめる)"
|
|
1125
1161
|
},
|
|
1162
|
+
"m-scroll": {
|
|
1163
|
+
"set": "tools",
|
|
1164
|
+
"row": "| `<m-scroll>` | A tall figure (SVG, HTML) in a fixed-height frame, scrolled to set places by step; viewers may scroll it | largest child data-scroll-step | attributes only (no JSON child) |",
|
|
1165
|
+
"entry": "### `<m-scroll>`\n\nExample: `<m-scroll style=\"height:440px\" aria-label=\"年表\"><svg viewBox=\"0 0 1000 1300\" width=\"1000\" height=\"1300\">… <g data-scroll-step=\"1\">…</g> …</svg></m-scroll>`\n\n| prop | type | default | meaning |\n|---|---|---|---|\n| `margin` | number | `12` | px above target |\n\nFor a tall timeline, flow or code shown without splitting it.\n\nChild of `<m-scroll style=\"height:440px\" aria-label=\"name\">`: the figure.\n\n- `data-scroll-step=\"k\"` on a child: step k scrolls it to the top\n- Wheel, touch, ↑ ↓, PageUp/Down scroll the frame; ← → and Space move slides\n- A hand-scrolled place stays until the next step"
|
|
1166
|
+
},
|
|
1126
1167
|
"m-seq": {
|
|
1127
1168
|
"set": "stats",
|
|
1128
1169
|
"row": "| `<m-seq>` | 観測を 1 つずつ加え、分布と数値が更新されていく様子を見せる(前の分布は薄く残す) | ceil((steps の数 − 1) / per-step) | `{xs:num[],steps:{dens:num[],readout?:object,mark?:num}[],digits?:object,markLabel?:str}` |",
|
|
@@ -1157,8 +1198,8 @@ export const PACK = {
|
|
|
1157
1198
|
},
|
|
1158
1199
|
"m-tree": {
|
|
1159
1200
|
"set": "standard",
|
|
1160
|
-
"row": "| `<m-tree>` | Hierarchy tree (org chart, taxonomy), built level by level from the root; auto layout | depth (by=\"level\") or node count (by=\"node\"); or the largest step | `{nodes:{id:str\\|int,label?,tex?,note?,tone?,parent?:str\\|int,branch?:str,step?,at?}[],edges?:{from:str\\|int,to:str\\|int,label?,tone?,dash?:bool,step?,at?}[],path?:(str\\|int)[],pathStep?:int,pathNote?:str}` — exactly one node without parent (the root) |",
|
|
1161
|
-
"entry": "### `<m-tree>`\n\nData example (child `<script type=\"application/json\">`): `{\"nodes\":[{\"id\":\"r\",\"label\":\"Animals\"},{\"id\":\"a\",\"label\":\"Vertebrates\",\"parent\":\"r\"},{\"id\":\"b\",\"label\":\"Invertebrates\",\"parent\":\"r\"}]}`\n\n| prop | type | default | meaning |\n|---|---|---|---|\n| `orient` | string | `\"down\"` | down (default) or right |\n| `by` | string | `\"level\"` | level (default) or node (depth-first) |\n| `link` | string | `\"elbow\"` | elbow (default) or straight |\n| `size` | number | `0` | box text px (0 = 27, shrink to 24) |\n\nParent–child structures (org charts, taxonomies, outlines). No coordinates; laid out without overlaps.\n\n(`edges` optional).\n\n- node: `id`, `label` (`\\n`) or `tex` (KaTeX), `parent` (parent `id`; exactly one root without `parent`), `note` (small, **under** box), `tone` (`term` default, `emph`, `muted`, `accent2`, `series-1..4`), `step`, `at` (start s)\n- Children in array order; parent centred over them\n- edge: extra links (`from` `to` `label` `tone` `dash` `step`), dashed arrow outside the tree; best at same depth; step: later end\n- Child `branch`: line text (e.g. probability). `path`: root-first `id`s highlighted in turn (default 1 step per line, after the tree; `pathStep`: in one step; `pathNote`: end note)\n- `orient=\"right\"` for wide taxonomies. `by=\"node\"`: one at a time, depth-first (to follow a branch). Node `step` wins\n- Lines `--muted`, 3 px; `tone: emph` box: `--emph-tint` fill\n- Fit (~440 px high): ~8 four-character boxes per level (`down`), ~7 (`right`); ~5 levels. More leaves: 2 staggered rows (~16 / ~11), then 2-line names. Text ≥ 24 px; overflow spills, reported. Too many: split\n- `variant`: `fade
|
|
1201
|
+
"row": "| `<m-tree>` | Hierarchy tree (org chart, taxonomy), built level by level from the root; auto layout | depth (by=\"level\") or node count (by=\"node\"); or the largest step | `{nodes:{id:str\\|int,label?,tex?,note?,tone?,dash?:bool,parent?:str\\|int,branch?:str,step?,at?}[],edges?:{from:str\\|int,to:str\\|int,label?,tone?,dash?:bool,step?,at?}[],path?:(str\\|int)[],pathStep?:int,pathNote?:str}` — exactly one node without parent (the root) |",
|
|
1202
|
+
"entry": "### `<m-tree>`\n\nData example (child `<script type=\"application/json\">`): `{\"nodes\":[{\"id\":\"r\",\"label\":\"Animals\"},{\"id\":\"a\",\"label\":\"Vertebrates\",\"parent\":\"r\"},{\"id\":\"b\",\"label\":\"Invertebrates\",\"parent\":\"r\"}]}`\n\n| prop | type | default | meaning |\n|---|---|---|---|\n| `orient` | string | `\"down\"` | down (default) or right |\n| `by` | string | `\"level\"` | level (default) or node (depth-first) |\n| `link` | string | `\"elbow\"` | elbow (default) or straight |\n| `size` | number | `0` | box text px (0 = 27, shrink to 24) |\n\nParent–child structures (org charts, taxonomies, outlines). No coordinates; laid out without overlaps.\n\n(`edges` optional).\n\n- node: `id`, `label` (`\\n`) or `tex` (KaTeX), `parent` (parent `id`; exactly one root without `parent`), `note` (small, **under** box), `tone` (`term` default, `emph`, `muted`, `accent2`, `series-1..4`), `dash: true` (dashed, unfilled), `step`, `at` (start s)\n- Children in array order; parent centred over them\n- edge: extra links (`from` `to` `label` `tone` `dash` `step`), dashed arrow outside the tree; best at same depth; step: later end\n- Child `branch`: line text (e.g. probability). `path`: root-first `id`s highlighted in turn (default 1 step per line, after the tree; `pathStep`: in one step; `pathNote`: end note)\n- `orient=\"right\"` for wide taxonomies. `by=\"node\"`: one at a time, depth-first (to follow a branch). Node `step` wins\n- Lines `--muted`, 3 px; `tone: emph` box: `--emph-tint` fill\n- Fit (~440 px high): ~8 four-character boxes per level (`down`), ~7 (`right`); ~5 levels. More leaves: 2 staggered rows (~16 / ~11), then 2-line names. Text ≥ 24 px; overflow spills, reported. Too many: split\n- `variant`: `fade`, `draw`, `grow`\n- Show later steps faintly (`ctx.preview`): later parts faint\n\nPremise contrast (positioning): root the question, children the positions (this work `emph`), then premises, then what each can say; a dropped premise `dash: true`."
|
|
1162
1203
|
},
|
|
1163
1204
|
"m-vector": {
|
|
1164
1205
|
"set": "standard",
|
|
@@ -1178,7 +1219,7 @@ export const PACK = {
|
|
|
1178
1219
|
"extHead": "### `<{name}>`: extension for this part set (the part is described in §3)"
|
|
1179
1220
|
},
|
|
1180
1221
|
"ja": {
|
|
1181
|
-
"common": "# AI への指示\n\n指示のバージョン:`ac7fb486`\n\n短い **Egatari のスライドと台本**を 1 つ書いてください。ステップごとに出る HTML のスライド(`deck.html`)と台本(`narration.md`)で、どちらも自動で組まれ、品質チェックを受けます。ここにないものは使えません。スライドと台本は依頼された言語で書きます(どちらも同じ言語)。規格には **R-fit** のような名前があり、修正依頼は破った規格を名前で示します。依頼は最後の **頼みたいこと**(かその前の会話)にあります。空の項目やない項目はほどよく決め、A と B が両方残っていれば書き込みのある方に従います。\n\n**よくある失敗:**\n\n- **2 つの灰色の枠(コードブロック)はどちらも最後まで書いて閉じる。**コードブロックの途中で終わらない(R-output)。構成案がなければ、スライドは短くする(5〜8 枚)。指示に構成案とその範囲があれば、その範囲のスライドをちょうどその枚数だけ書く(エディタは 1 回に 6 枚までしか依頼しないので、収まる)\n- **1280×720 のスライドの大きさ**(品質チェックが測る。R-fit):本文の場所は 1184 × 443 px(565 px まで。`noconcl` なら 1184 × 558)。字は 32 px・1 行 46 px で、入るのは**およそ 8 行**。はみ出す 46 px ごとに 1 行を削る。**図やパーツの中もテキストはすべて 24 px 以上**\n- **グラフと図:**パーツは大きさによらずテキストを 24〜28 px で描くので、決めるのはパーツの大きさ(R-fit)\n- **その場で書く `<svg>`:**字は「表示の幅 ÷ viewBox の幅」で縮むので、viewBox を表示の画素で書く(`<svg viewBox=\"0 0 560 320\" width=\"560\" height=\"320\">`)。`font-size` は 24 以上。`width:100%` と別の幅の viewBox を組み合わせない。合うパーツがあればパーツを使う\n\n## 1. 出力の形\n\n- **R-output** 出力は**ちょうど 2 つのコードブロック**にし、この順で、名前を `deck.html` と `narration.md` にする(始まりの行は ```` ```deck.html ```` と ```` ```narration.md ````)。間には何も書かない(前後に 1 行の添え書きはよい)。1 つのファイルを複数のコードブロックに分けない。ファイル・キャンバス・添付にせず、本文に書く。ほかのファイルを参照しない(画像・`{{FIG:…}}`・`{{JSON:…}}`・外の URL・`<link>` は使わない)。コードブロックの途中で終わらない(長すぎるなら枚数を減らす。ただし構成案の範囲を頼まれたら、ちょうどその枚数)\n- **R-outline** **構成案だけ**を依頼されたら(長いものを 2 回に分けて作るとき)、`outline` という名前のコードブロック 1 つ(始まりの行は ```` ```outline ````)だけで返し、`deck.html` と `narration.md` は書かない:列が「番号」「見出し」「要点(1 行)」の Markdown の表で、スライドごとに 1 行、全スライドを順に。その後の指示は範囲を示す(「構成案の 7〜12 枚目」)ので、その見出しと要点のとおりに、ちょうどそのスライドを書く\n- **R-noids** スライドの id を**書かない**。`<section class=\"slide\">` に `id` を付けず、台本の見出しにも `{#…}` を付けない。id は取り込みでエディタが付ける。id のあるスライドを渡されたとき(修正依頼)は、今ある `id=\"…\"` と `{#…}` を変えない\n\n## 2. deck.html\n\n### 2.1 骨組み\n\n```html\n<!DOCTYPE html>\n<html lang=\"ja\" data-theme=\"default\">\n<head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n<title>題名</title>\n</head>\n<body>\n<div id=\"stage\">\n <section class=\"slide cover noconcl static\"> … </section>\n <section class=\"slide\"> … </section>\n</div>\n</body>\n</html>\n```\n\n- `lang`:`ja`・`en` など(スライドと台本の言語)。`data-theme`:ビジネス・ピッチは `sumi`、国語は `kokugo`、ほかは `default`\n- `<script>` はパーツのデータ(§2.6)だけ。`<style>` は配置(大きさ・間隔)だけに使い、色は書かない\n\n### 2.2 スライド\n\n- 普通のスライド:`<h2>` の見出し、`<div class=\"body\">…</div>`、`<div class=\"concl\"><span>…</span></div>`(結論の行。短い 1 文)\n- 肩見出し(見出しの上の短い言葉)を添えるなら、`<h2>` の直前に `<p class=\"kicker\">` を 1 つ置く(普通のスライドだけ。`layout-tate` には置かない)。見出しには含めず、ステップ 0 で見せる。英語はテーマが大文字で表示するので、大文字で書かない。\n- 表紙:`<section class=\"slide cover noconcl static\">` に、あれば `<div class=\"venue\">…</div>`、`<h1>題名</h1>`、あれば `<div class=\"au\">…</div>`\n- 章の扉:`<section class=\"slide sec noconcl static\"><h1>章の題</h1></section>`\n- `<section>` の class:`noconcl`(結論の行なし)、`static`(ステップなし)、`nostep`(箇条書きも初めから全部)、`layout-tate`(縦書き。kokugo のセットがあるときだけ)、属性 `data-morph`(§2.5)\n- `.body` の中:`<p class=\"sub\">` 小見出し、`<div class=\"big\">` 主要な式、`<p class=\"note\">` 補足、`<div class=\"thm\">` 定理の枠、`<div class=\"cols\">` 横並び、普通の `<p>` `<ul>` `<ol>` `<table>`\n- **R-caution** `.body` に注意は `<div class=\"caution\">…</div>`、警告は `class=\"caution warn\"`。ラベルは自動で付く。\n- 字の強調(色を付ける唯一の方法):`term`(用語・問い)、`emph`(結論・問題・目標)、`muted`(既知の結果・控えめ)、`b`(太字)\n- **R-headings** スライドの見出し(表紙と扉は `h1`、ほかは `h2`)は**すべて違う**ものにする(同じなら語を追加する)。そのスライドの台本の節は `## ` に続けて**見出しとまったく同じ文字列**で始める(`<br>` などのタグは除く)\n- **R-colors** 色はテーマだけで:上の class と式のマクロ `\\hlE` `\\hlT` `\\hlM`。16 進・`rgb()`・色の名前・`\\color`・`\\textcolor` は使わない。パーツや SVG の中では:**色はテーマの CSS 変数だけ**を使う:`var(--fg)` `var(--term)` `var(--emph)` `var(--muted)` `var(--accent2)` `var(--line)`。SVG では属性ではなく `style=\"stroke:var(--emph)\"` で書く(`DECK.el` は `fill` `stroke` に `var(` があれば自動で style に回す)\n\n### 2.3 ステップ(出す順 = 話す順)\n\n- **R-steps** ステップ 0 は現れたときの姿で、文脈だけ(見出し・小見出し・導入の 1 文)。`data-step=\"k\"`(k = 1, 2, …)の要素はステップ k で現れる。材料(箇条書きの項目・式・表の行・図の部分)は話す順に出す。式とそれを導く 1 文は同じステップ(`<div data-step=\"k\">` で一緒に囲む)。1 枚のステップの数は 5 前後まで\n- 結論の行は自動で**最後のステップ** `concl` になる(`data-step` を付けない)\n- `data-step` が 1 つもないスライドでは、上の階層の箇条書きの項目(`.body > ul > li`・`.body > ol > li`)に 1, 2, … が自動で付く。1 つでもあれば自動にならないので、出すものすべてに付ける\n- パーツは自分のステップを追加する(§3)。`data-from`(既定 1)から始まる\n- つまりステップは `0 … max` と、結論の行があれば `concl`。`static` のスライドはステップ 0 だけ\n\n### 2.4 数式(KaTeX)\n\n- **R-math** 行内は `\\( … \\)`、別行は `\\[ … \\]`。式の中の `<` は `\\lt`、`>` は `\\gt`。標準のほかに使えるマクロ:`\\hlE{…}`(emph)`\\hlT{…}`(term)`\\hlM{…}`(muted)、`\\htmlId{ID}{…}`、`\\htmlData{mark=ID}{…}`、`\\htmlClass{…}{…}`、`\\morph{ID}{…}`。`\\newcommand` と `\\color` は使わない。項の説明は `\\underbrace{…}_{\\text{…}}`・`\\overbrace{…}^{…}`。`$$` は使わない。記号は最初に使う所で定義する(`\\(\\mu\\)`:母平均)\n\n### 2.5 強調とモーフ\n\n- **R-marks** 台本の `{mark:ID}`(§4)は、**同じスライド**の目印に印を付ける。目印:スライドの中の `id=\"ID\"` か `data-mark=\"ID\"` の要素。式の一部は KaTeX の `\\htmlId{ID}{…}` / `\\htmlData{mark=ID}{…}`(build はこの 2 つと `\\htmlClass` だけを許す)。同じ ID を何枚かで使うなら `data-mark` にする(id は文書の中で一意に)\n- モーフ(なくてよい):`<section class=\"slide\" data-morph>` は前のスライドの要素を今の位置へ滑らせる。両方のスライドの要素に同じ `data-id=\"…\"`、式の一部は両方に `\\morph{ID}{…}`。ステップ 0 で見えている要素だけが動く\n\n### 2.6 パーツ\n\n- **R-components** パーツは一覧(§3)の Web Components `<m-…>` で、`.body` の中に置く。どれにも高さ(`style=\"height:380px\"`)と `aria-label` を付ける。データは子の `<script type=\"application/json\">…</script>` **1 つ**にその場で書く。**図の数字は正しく**(計算する。見た目のために値を作らない。架空の数字は架空と書く)。関数の式は算術の式だけで、コードとしては実行されない(`Math.exp(x)`・`x**2`)。動きが説明になる所だけに使う(たいていのスライドには要らない)\n\n### 2.7 表し方を選ぶ\n\n- **R-purpose** 表し方は習慣でなく、そのスライドで言いたいことから選ぶ。作者がグラフの種類を言っていればそれに従う。表は全パーツの一覧を兼ねる。使うのは渡された文章にあるパーツだけ(§3 と、入っているセット)。入っていないパーツの方が合うときは、1 行のメモでそう伝える\n\n{{PURPOSES}}\n\n- **R-whole** 箇条書き・数字のカード・円グラフは全体を一度に見せる。台本が 1 つずつ取り上げるときだけ 1 行ずつ出す(箇条書きなら全体に 1 つの `data-step` を付けるか、スライドに `nostep`)\n\n### 2.8 スライドに収める(品質チェックのエラー)\n\n- **R-title** 見出し:日本語は 26 字まで(全角 1・半角 0.5)、英語は 60 文字まで。コロンで終えない\n- **R-concl** 結論の行:日本語は 35 字まで、英語は 70 文字まで。1 行\n- **R-fit** 本文は 565 px(`noconcl` なら 680 px)より上で終える:1 枚におよそ 8 行・100 字・英語 60 語、または `big` の式 1 つと短い箇条書き 3 つ、または高さ 380 px までのパーツと短い 1 行(2 行なら 330 px まで)。入らなければスライドを分ける。字を縮めず、字の大きさを書かない\n- **R-style** 日本語のスライドは常体(だ・である、体言止め)で、です・ます を使わない。句読点はファイル全体で 1 つの組(`、。` か `,.`)。英語のスライドは短い句で\n\n## 3. パーツの一覧\n\nどのファイルでも使える標準のパーツ。§6 の後にセットの指示があれば、その種類の材料のパーツが追加される。「steps」はパーツが使うスライドのステップの数(`data-from` から。既定 1)。秒で測る属性(動きの長さ・ずれ)は載せない(既定で台本に合う)。型が json の属性は、値に JSON を書く(`values=\"[0.1,0.5]\"`)。「データの形」の `?` は省略できる欄。型を書いていない label・tex・note・tone は str、step は int、at は num。名前やラベルの `*…*` は斜体、`_` `^` は次の 1 字だけ下付き・上付き。記号のまま出すなら全角の _ ^ *。\n\n{{CATALOG}}\n\n## 4. narration.md\n\n```markdown\n# 台本:<題名>\n\n## 減衰の式\n[0] 減衰の式です。時刻ごとに残っている原子の数を考えます。\n[1] 残る数は、はじめの数に、時間とともに小さくなる指数関数を掛けたものです。\n[2] {mark:n0|circle}{N₀|エヌゼロ} は、時刻ゼロのときの、はじめの数です。\n[concl] 半分になるまでの時間は、崩壊定数だけで決まります。\n```\n\n- スライドごとに 1 つの節を、**スライドの順に、すべてのスライド(表紙も)について**:`## <スライドの見出し>`(R-headings)。`{#id}` は付けない(R-noids)\n- **R-narr-steps** ステップの指定は `[0]` `[1]` … と `[concl]`。**どのスライドのどのステップにも台本を書き**(ステップ 0 から max まで、結論の行があれば `[concl]`)、**ないステップの指定は書かない**(`static` の表紙は `[0]` だけ。結論の行がなければ `[concl]` もない。`[01]` とは書かない)。ステップの中では、そのステップで現れるものだけを話す\n- **R-dialogue** **既定は話者 1 人**で、話者名を書かない。掛け合いは依頼されたときだけ(3 人以上を依頼されても 2 役にし、最初にそう書く):行を `Expert:` か `Novice:` で始め(続きの行は字下げ。話者なしは Expert)、認知的徒弟制の形にする:\n - Novice は相づち役にせず、学習者の疑問を代弁するか、「つまり〜ということですか」と言い換える\n - Expert は答えて具体例か比喩を 1 つ追加するか、言い換えを確認して(違えば修正して)1 歩進める\n - 理解の分かれ目(誤解しやすい所、「なぜ」が残る所)にだけ、1 枚に 1 回・2〜3 発言まで。ほかは Expert 1 人\n - 「なるほど」だけの発言、前の発言のくり返しは書かない。例:`Novice: つまり、大きいほど早く着くのですか。` `Expert: いつもではありません。大きすぎると谷を飛び越えます。大股で坂を下りすぎて、向こうの斜面に足が着くように。`\n- `{note:…}` 発表者用\n- `{cue}`:ステップの中の同期点。パーツの `cues(k)` の 1 つに 1 つ(パーツの説明が求めるときだけ)\n- `{mark:ID}`・`{mark:ID|効果}`・`{mark:ID|効果|hold=秒}`・`{mark:clear}`:目印のことを言う言葉の**すぐ前**に置く。1 ステップに 1〜2 個まで。言葉でも言う。効果:`underline`(既定。手描きの下線を左から右へ)、`circle`(手描きの囲み)、`box`(角丸の枠)、`spot`(対象のまわり以外を背景色で薄くする)、`laser`(光の点が対象の下へ滑ってきて少し留まる)\n- **R-reading** `{表示|読み}` は **1 つの記号か 1 つの用語**の読み:`{θ|シータ}`、`{N₀|エヌゼロ}`、`{論語|ろんご}`。1 つの記号に星・プライム・添え字・ハットやバーが付いていてもよい(`{Q*|キュースター}`、`{θ̂|シータハット}`)。表示は普通の文字で書き、LaTeX にせず、式やいくつもの記号にしない(`{1-η|…}`・`{θとη|…}` は誤り:記号ごとに読みを付け、関係は言葉で言う)。読みは読みなしで読み違える語にだけ付ける(かなの読みは抑揚を崩しやすい)。読みは書いた所にだけ当たるので、付けた語がまた出てくるなら、出てくる所ごとに付ける\n- **R-formula** **式を読み上げない**:台本に LaTeX・`\\`・`^`・`_`・`a + b = c` のような文字列を書かない。式の意味を言葉で言う(§4 の例の [1])\n- 日本語の台本は話し言葉の です・ます。英語は話し言葉の英語。目安は 1 秒に日本語 5 字・英語 2.5 語。1 回の発言は 1〜3 文\n\n## 5. 修正依頼\n\n利用者が**修正依頼**(規格の名前の付いた指摘の一覧と、今のファイル)を貼り付けたら、その指摘だけを修正し、ほかは変えず、`id=\"…\"` と `{#…}` をすべて変えず(R-noids)、また 2 つのコードブロックで返す(R-output)。依頼に一部のスライドしかなければ、そのスライドの `<section>` だけ(`<html>` なし)とその節だけを 2 つのコードブロックで返す(エディタが id で元の場所に戻す)。\n\n## 6. 例\n\n小さな例(架空。形を見るためで、中身はコピーしない)。ステップの数え方:2 項目の箇条書きはステップ 1〜2 と `[concl]`<!--part:m-flow-->、箱が 4 つの `m-flow` はステップ 1〜4<!--/part-->。いくつかのセットの指示の最後にも例がある。\n\n### 共通(英語・default テーマ・強調<!--part:m-flow-->・m-flow<!--/part-->)\n\n```deck.html\n<!DOCTYPE html>\n<html lang=\"en\" data-theme=\"default\">\n<head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n<title>How a web page arrives</title>\n</head>\n<body>\n<div id=\"stage\">\n\n<section class=\"slide cover noconcl static\">\n <div class=\"venue\">Computing basics, lesson 1 (a fictional course)</div>\n <h1>How a web page arrives</h1>\n</section>\n\n<section class=\"slide\">\n <h2>Two programs take part</h2>\n <div class=\"body\">\n <p>Opening a page is a conversation between two programs.</p>\n <ul>\n <li id=\"browser\">The <span class=\"term\">browser</span> asks for the page and draws it</li>\n <li id=\"server\">The <span class=\"term\">server</span> keeps the page and sends it back</li>\n </ul>\n </div>\n <div class=\"concl\"><span>Every page load is a request and a reply</span></div>\n</section><!--part:m-flow-->\n\n<section class=\"slide\">\n <h2>From the address to the screen</h2>\n <div class=\"body\">\n <m-flow style=\"height:300px\" aria-label=\"Four stages: type the address, send a request, send the page back, draw the page\">\n <script type=\"application/json\">{\"nodes\": [\n {\"id\": \"a\", \"label\": \"Type the\\naddress\", \"x\": 10, \"y\": 100, \"w\": 250, \"h\": 110, \"step\": 1},\n {\"id\": \"b\", \"label\": \"Send a\\nrequest\", \"x\": 315, \"y\": 100, \"w\": 250, \"h\": 110, \"step\": 2},\n {\"id\": \"c\", \"label\": \"Send the\\npage back\", \"x\": 620, \"y\": 100, \"w\": 250, \"h\": 110, \"step\": 3, \"tone\": \"term\"},\n {\"id\": \"d\", \"label\": \"Draw the\\npage\", \"x\": 925, \"y\": 100, \"w\": 250, \"h\": 110, \"step\": 4, \"tone\": \"emph\"}\n ], \"edges\": [\n {\"from\": \"a\", \"to\": \"b\"}, {\"from\": \"b\", \"to\": \"c\"}, {\"from\": \"c\", \"to\": \"d\"}\n ]}</script>\n </m-flow>\n </div>\n <div class=\"concl\"><span>A slow page is slow in one of these four stages</span></div>\n</section><!--/part-->\n\n</div>\n</body>\n</html>\n```\n\n```narration.md\n# Narration: How a web page arrives\n\n## How a web page arrives\n[0] Today we follow a web page on its way from a server to your screen.\n\n## Two programs take part\n[0] Opening a page is a conversation between two programs.\n[1] {mark:browser}The browser is the program you look at. It asks for the page and then draws it.\n[2] {mark:server}The server is a program on another computer. It keeps the page and sends it back when asked.\n[concl] Every page load is a request and a reply.<!--part:m-flow-->\n\n## From the address to the screen\n[0] Let us put the steps in order.\n[1] First you type the address of the page.\n[2] The browser turns it into a request and sends it to the server.\n[3] The server finds the page and sends it back.\n[4] The browser draws the page on the screen.\n[concl] When a page is slow, one of these four stages is taking the time.<!--/part-->\n```",
|
|
1222
|
+
"common": "# AI への指示\n\n指示のバージョン:`027f5293`\n\n短い **Egatari のスライドと台本**を 1 つ書いてください。ステップごとに出る HTML のスライド(`deck.html`)と台本(`narration.md`)で、どちらも自動で組まれ、品質チェックを受けます。ここにないものは使えません。スライドと台本は依頼された言語で書きます(どちらも同じ言語)。規格には **R-fit** のような名前があり、修正依頼は破った規格を名前で示します。依頼は最後の **頼みたいこと**(かその前の会話)にあります。空の項目やない項目はほどよく決め、A と B が両方残っていれば書き込みのある方に従います。\n\n**よくある失敗:**\n\n- **2 つの灰色の枠(コードブロック)はどちらも最後まで書いて閉じる。**コードブロックの途中で終わらない(R-output)。構成案がなければ、スライドは短くする(5〜8 枚)。指示に構成案とその範囲があれば、その範囲のスライドをちょうどその枚数だけ書く(エディタは 1 回に 6 枚までしか依頼しないので、収まる)\n- **1280×720 のスライドの大きさ**(品質チェックが測る。R-fit):本文の場所は 1184 × 443 px(565 px まで。`noconcl` なら 1184 × 558)。字は 32 px・1 行 46 px で、入るのは**およそ 8 行**。はみ出す 46 px ごとに 1 行を削る。**図やパーツの中もテキストはすべて 24 px 以上**\n- **グラフと図:**パーツは大きさによらずテキストを 24〜28 px で描くので、決めるのはパーツの大きさ(R-fit)\n- **その場で書く `<svg>`:**字は「表示の幅 ÷ viewBox の幅」で縮むので、viewBox を表示の画素で書く(`<svg viewBox=\"0 0 560 320\" width=\"560\" height=\"320\">`)。`font-size` は 24 以上。`width:100%` と別の幅の viewBox を組み合わせない。合うパーツがあればパーツを使う\n\n## 1. 出力の形\n\n- **R-output** 出力は**ちょうど 2 つのコードブロック**にし、この順で、名前を `deck.html` と `narration.md` にする(始まりの行は ```` ```deck.html ```` と ```` ```narration.md ````)。間には何も書かない(前後に 1 行の添え書きはよい)。1 つのファイルを複数のコードブロックに分けない。ファイル・キャンバス・添付にせず、本文に書く。ほかのファイルを参照しない(画像・`{{FIG:…}}`・`{{JSON:…}}`・外の URL・`<link>` は使わない)。コードブロックの途中で終わらない(長すぎるなら枚数を減らす。ただし構成案の範囲を頼まれたら、ちょうどその枚数)\n- **R-outline** **構成案だけ**を依頼されたら(長いものを 2 回に分けて作るとき)、`outline` という名前のコードブロック 1 つ(始まりの行は ```` ```outline ````)だけで返し、`deck.html` と `narration.md` は書かない:列が「番号」「見出し」「要点(1 行)」の Markdown の表で、スライドごとに 1 行、全スライドを順に。その後の指示は範囲を示す(「構成案の 7〜12 枚目」)ので、その見出しと要点のとおりに、ちょうどそのスライドを書く\n- **R-noids** スライドの id を**書かない**。`<section class=\"slide\">` に `id` を付けず、台本の見出しにも `{#…}` を付けない。id は取り込みでエディタが付ける。id のあるスライドを渡されたとき(修正依頼)は、今ある `id=\"…\"` と `{#…}` を変えない\n\n## 2. deck.html\n\n### 2.1 骨組み\n\n```html\n<!DOCTYPE html>\n<html lang=\"ja\" data-theme=\"default\">\n<head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n<title>題名</title>\n</head>\n<body>\n<div id=\"stage\">\n <section class=\"slide cover noconcl static\"> … </section>\n <section class=\"slide\"> … </section>\n</div>\n</body>\n</html>\n```\n\n- `lang`:`ja`・`en` など(スライドと台本の言語)。`data-theme`:ビジネス・ピッチは `sumi`、国語は `kokugo`、ほかは `default`\n- `<script>` はパーツのデータ(§2.6)だけ。`<style>` は配置(大きさ・間隔)だけに使い、色は書かない\n\n### 2.2 スライド\n\n- 普通のスライド:`<h2>` の見出し、`<div class=\"body\">…</div>`、`<div class=\"concl\"><span>…</span></div>`(結論の行。短い 1 文)\n- 数字・図・引用を使ったスライドには、結論の行の上に出典の行(`<p class=\"source\">出典:…</p>`)を書く\n- 肩見出し(見出しの上の短い言葉)を添えるなら、`<h2>` の直前に `<p class=\"kicker\">` を 1 つ置く(普通のスライドだけ。`layout-tate` には置かない)。見出しには含めず、ステップ 0 で見せる。英語はテーマが大文字で表示するので、大文字で書かない。\n- 表紙:`<section class=\"slide cover noconcl static\">` に、あれば `<div class=\"venue\">…</div>`、`<h1>題名</h1>`、あれば `<div class=\"au\">…</div>`\n- 章の扉:`<section class=\"slide sec noconcl static\"><h1>章の題</h1></section>`\n- `<section>` の class:`noconcl`(結論の行なし)、`static`(ステップなし)、`nostep`(箇条書きも初めから全部)、`layout-tate`(縦書き。kokugo のセットがあるときだけ)、属性 `data-morph`(§2.5)\n- `.body` の中:`<p class=\"sub\">` 小見出し、`<div class=\"big\">` 主要な式、`<p class=\"note\">` 補足、`<div class=\"thm\">` 定理の枠、`<div class=\"cols\">` 横並び、普通の `<p>` `<ul>` `<ol>` `<table>`\n- **R-caution** `.body` に注意は `<div class=\"caution\">…</div>`、警告は `class=\"caution warn\"`。ラベルは自動で付く。\n- 字の強調(色を付ける唯一の方法):`term`(用語・問い)、`emph`(結論・問題・目標)、`muted`(既知の結果・控えめ)、`b`(太字)\n- **R-headings** スライドの見出し(表紙と扉は `h1`、ほかは `h2`)は**すべて違う**ものにする(同じなら語を追加する)。そのスライドの台本の節は `## ` に続けて**見出しとまったく同じ文字列**で始める(`<br>` などのタグは除く)\n- **R-colors** 色はテーマだけで:上の class と式のマクロ `\\hlE` `\\hlT` `\\hlM`。16 進・`rgb()`・色の名前・`\\color`・`\\textcolor` は使わない。パーツや SVG の中では:**色はテーマの CSS 変数だけ**を使う:`var(--fg)` `var(--term)` `var(--emph)` `var(--muted)` `var(--accent2)` `var(--line)`。SVG では属性ではなく `style=\"stroke:var(--emph)\"` で書く(`DECK.el` は `fill` `stroke` に `var(` があれば自動で style に回す)\n\n### 2.3 ステップ(出す順 = 話す順)\n\n- **R-steps** ステップ 0 は現れたときの姿で、文脈だけ(見出し・小見出し・導入の 1 文)。`data-step=\"k\"`(k = 1, 2, …)の要素はステップ k で現れる。材料(箇条書きの項目・式・表の行・図の部分)は話す順に出す。式とそれを導く 1 文は同じステップ(`<div data-step=\"k\">` で一緒に囲む)。1 枚のステップの数は 5 前後まで。表は、比べ方で見せ方を選ぶ。項目を 1 つずつ説明するなら行を話す順に出す。行列(縦に比べるもの、横に評価基準)や 2 本の軸の交差の表は、全体を見せてから注目する列・マスに印を付けるか、軸の列ごとに埋める。研究の位置づけの表では、本研究のマスに字で「本研究」と書く(色や太字だけで区別しない)。\n- 結論の行は自動で**最後のステップ** `concl` になる(`data-step` を付けない)\n- `data-step` が 1 つもないスライドでは、上の階層の箇条書きの項目(`.body > ul > li`・`.body > ol > li`)に 1, 2, … が自動で付く。1 つでもあれば自動にならないので、出すものすべてに付ける\n- パーツは自分のステップを追加する(§3)。`data-from`(既定 1)から始まる\n- つまりステップは `0 … max` と、結論の行があれば `concl`。`static` のスライドはステップ 0 だけ\n\n### 2.4 数式(KaTeX)\n\n- **R-math** 行内は `\\( … \\)`、別行は `\\[ … \\]`。式の中の `<` は `\\lt`、`>` は `\\gt`。標準のほかに使えるマクロ:`\\hlE{…}`(emph)`\\hlT{…}`(term)`\\hlM{…}`(muted)、`\\htmlId{ID}{…}`、`\\htmlData{mark=ID}{…}`、`\\htmlClass{…}{…}`、`\\morph{ID}{…}`。`\\newcommand` と `\\color` は使わない。項の説明は `\\underbrace{…}_{\\text{…}}`・`\\overbrace{…}^{…}`。`$$` は使わない。記号は最初に使う所で定義する(`\\(\\mu\\)`:母平均)\n\n### 2.5 強調とモーフ\n\n- **R-marks** 台本の `{mark:ID}`(§4)は、**同じスライド**の目印に印を付ける。目印:スライドの中の `id=\"ID\"` か `data-mark=\"ID\"` の要素。式の一部は KaTeX の `\\htmlId{ID}{…}` / `\\htmlData{mark=ID}{…}`(build はこの 2 つと `\\htmlClass` だけを許す)。同じ ID を何枚かで使うなら `data-mark` にする(id は文書の中で一意に)\n- モーフ(なくてよい):`<section class=\"slide\" data-morph>` は前のスライドの要素を今の位置へ滑らせる。両方のスライドの要素に同じ `data-id=\"…\"`、式の一部は両方に `\\morph{ID}{…}`。ステップ 0 で見えている要素だけが動く\n\n### 2.6 パーツ\n\n- **R-components** パーツは一覧(§3)の Web Components `<m-…>` で、`.body` の中に置く。どれにも高さ(`style=\"height:380px\"`)と `aria-label` を付ける。データは子の `<script type=\"application/json\">…</script>` **1 つ**にその場で書く。**図の数字は正しく**(計算する。見た目のために値を作らない。架空の数字は架空と書く)。関数の式は算術の式だけで、コードとしては実行されない(`Math.exp(x)`・`x**2`)。動きが説明になる所だけに使う(たいていのスライドには要らない)\n<!--paid-->- 写真が要る所は、図の枠(テンプレートの「図」)と内容の説明を書き、画像は作成者が後で入れる<!--/paid-->\n\n### 2.7 表し方を選ぶ\n\n- **R-purpose** 表し方は習慣でなく、そのスライドで言いたいことから選ぶ。作者がグラフの種類を言っていればそれに従う。表は全パーツの一覧を兼ねる。使うのは渡された文章にあるパーツだけ(§3 と、入っているセット)。入っていないパーツの方が合うときは、1 行のメモでそう伝える\n\n{{PURPOSES}}\n\n- **R-whole** 箇条書き・数字のカード・円グラフは全体を一度に見せる。台本が 1 つずつ取り上げるときだけ 1 行ずつ出す(箇条書きなら全体に 1 つの `data-step` を付けるか、スライドに `nostep`)\n\n### 2.8 スライドに収める(品質チェックのエラー)\n\n- **R-title** 見出し:日本語は 26 字まで(全角 1・半角 0.5)、英語は 60 文字まで。コロンで終えない\n- **R-concl** 結論の行:日本語は 35 字まで、英語は 70 文字まで。1 行\n- **R-fit** 本文は 565 px(`noconcl` なら 680 px)より上で終える:1 枚におよそ 8 行・100 字・英語 60 語、または `big` の式 1 つと短い箇条書き 3 つ、または高さ 380 px までのパーツと短い 1 行(2 行なら 330 px まで)。入らなければスライドを分ける。字を縮めず、字の大きさを書かない\n- **R-style** 日本語のスライドは常体(だ・である、体言止め)で、です・ます を使わない。句読点はファイル全体で 1 つの組(`、。` か `,.`)。英語のスライドは短い句で\n\n## 3. パーツの一覧\n\nどのファイルでも使える標準のパーツ。§6 の後にセットの指示があれば、その種類の材料のパーツが追加される。「steps」はパーツが使うスライドのステップの数(`data-from` から。既定 1)。秒で測る属性(動きの長さ・ずれ)は載せない(既定で台本に合う)。型が json の属性は、値に JSON を書く(`values=\"[0.1,0.5]\"`)。「データの形」の `?` は省略できる欄。型を書いていない label・tex・note・tone は str、step は int、at は num。名前やラベルの `*…*` は斜体、`_` `^` は次の 1 字だけ下付き・上付き。記号のまま出すなら全角の _ ^ *。\n\n{{CATALOG}}\n\n## 4. narration.md\n\n```markdown\n# 台本:<題名>\n\n## 減衰の式\n[0] 減衰の式です。時刻ごとに残っている原子の数を考えます。\n[1] 残る数は、はじめの数に、時間とともに小さくなる指数関数を掛けたものです。\n[2] {mark:n0|circle}{N₀|エヌゼロ} は、時刻ゼロのときの、はじめの数です。\n[concl] 半分になるまでの時間は、崩壊定数だけで決まります。\n```\n\n- スライドごとに 1 つの節を、**スライドの順に、すべてのスライド(表紙も)について**:`## <スライドの見出し>`(R-headings)。`{#id}` は付けない(R-noids)\n- **R-narr-steps** ステップの指定は `[0]` `[1]` … と `[concl]`。**どのスライドのどのステップにも台本を書き**(ステップ 0 から max まで、結論の行があれば `[concl]`)、**ないステップの指定は書かない**(`static` の表紙は `[0]` だけ。結論の行がなければ `[concl]` もない。`[01]` とは書かない)。ステップの中では、そのステップで現れるものだけを話す\n- **R-dialogue** **既定は話者 1 人**で、話者名を書かない。掛け合いは依頼されたときだけ(3 人以上を依頼されても 2 役にし、最初にそう書く):行を `Expert:` か `Novice:` で始め(続きの行は字下げ。話者なしは Expert)、認知的徒弟制の形にする:\n - Novice は相づち役にせず、学習者の疑問を代弁するか、「つまり〜ということですか」と言い換える\n - Expert は答えて具体例か比喩を 1 つ追加するか、言い換えを確認して(違えば修正して)1 歩進める\n - 理解の分かれ目(誤解しやすい所、「なぜ」が残る所)にだけ、1 枚に 1 回・2〜3 発言まで。ほかは Expert 1 人\n - 「なるほど」だけの発言、前の発言のくり返しは書かない。例:`Novice: つまり、大きいほど早く着くのですか。` `Expert: いつもではありません。大きすぎると谷を飛び越えます。大股で坂を下りすぎて、向こうの斜面に足が着くように。`\n- `{note:…}` 発表者用\n- `{cue}`:ステップの中の同期点。パーツの `cues(k)` の 1 つに 1 つ(パーツの説明が求めるときだけ)\n- `{mark:ID}`・`{mark:ID|効果}`・`{mark:ID|効果|hold=秒}`・`{mark:clear}`:目印のことを言う言葉の**すぐ前**に置く。1 ステップに 1〜2 個まで。言葉でも言う。効果:`underline`(既定。手描きの下線を左から右へ)、`circle`(手描きの囲み)、`box`(角丸の枠)、`spot`(対象のまわり以外を背景色で薄くする)、`laser`(光の点が対象の下へ滑ってきて少し留まる)\n- **R-reading** `{表示|読み}` は **1 つの記号か 1 つの用語**の読み:`{θ|シータ}`、`{N₀|エヌゼロ}`、`{論語|ろんご}`。1 つの記号に星・プライム・添え字・ハットやバーが付いていてもよい(`{Q*|キュースター}`、`{θ̂|シータハット}`)。表示は普通の文字で書き、LaTeX にせず、式やいくつもの記号にしない(`{1-η|…}`・`{θとη|…}` は誤り:記号ごとに読みを付け、関係は言葉で言う)。読みは読みなしで読み違える語にだけ付ける(かなの読みは抑揚を崩しやすい)。読みは書いた所にだけ当たるので、付けた語がまた出てくるなら、出てくる所ごとに付ける\n- **R-formula** **式を読み上げない**:台本に LaTeX・`\\`・`^`・`_`・`a + b = c` のような文字列を書かない。式の意味を言葉で言う(§4 の例の [1])\n- 日本語の台本は話し言葉の です・ます。英語は話し言葉の英語。目安は 1 秒に日本語 5 字・英語 2.5 語。1 回の発言は 1〜3 文\n\n## 5. 修正依頼\n\n利用者が**修正依頼**(規格の名前の付いた指摘の一覧と、今のファイル)を貼り付けたら、その指摘だけを修正し、ほかは変えず、`id=\"…\"` と `{#…}` をすべて変えず(R-noids)、また 2 つのコードブロックで返す(R-output)。依頼に一部のスライドしかなければ、そのスライドの `<section>` だけ(`<html>` なし)とその節だけを 2 つのコードブロックで返す(エディタが id で元の場所に戻す)。\n\n## 6. 例\n\n小さな例(架空。形を見るためで、中身はコピーしない)。ステップの数え方:2 項目の箇条書きはステップ 1〜2 と `[concl]`<!--part:m-flow-->、箱が 4 つの `m-flow` はステップ 1〜4<!--/part-->。いくつかのセットの指示の最後にも例がある。\n\n### 共通(英語・default テーマ・強調<!--part:m-flow-->・m-flow<!--/part-->)\n\n```deck.html\n<!DOCTYPE html>\n<html lang=\"en\" data-theme=\"default\">\n<head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n<title>How a web page arrives</title>\n</head>\n<body>\n<div id=\"stage\">\n\n<section class=\"slide cover noconcl static\">\n <div class=\"venue\">Computing basics, lesson 1 (a fictional course)</div>\n <h1>How a web page arrives</h1>\n</section>\n\n<section class=\"slide\">\n <h2>Two programs take part</h2>\n <div class=\"body\">\n <p>Opening a page is a conversation between two programs.</p>\n <ul>\n <li id=\"browser\">The <span class=\"term\">browser</span> asks for the page and draws it</li>\n <li id=\"server\">The <span class=\"term\">server</span> keeps the page and sends it back</li>\n </ul>\n </div>\n <div class=\"concl\"><span>Every page load is a request and a reply</span></div>\n</section><!--part:m-flow-->\n\n<section class=\"slide\">\n <h2>From the address to the screen</h2>\n <div class=\"body\">\n <m-flow style=\"height:300px\" aria-label=\"Four stages: type the address, send a request, send the page back, draw the page\">\n <script type=\"application/json\">{\"nodes\": [\n {\"id\": \"a\", \"label\": \"Type the\\naddress\", \"x\": 10, \"y\": 100, \"w\": 250, \"h\": 110, \"step\": 1},\n {\"id\": \"b\", \"label\": \"Send a\\nrequest\", \"x\": 315, \"y\": 100, \"w\": 250, \"h\": 110, \"step\": 2},\n {\"id\": \"c\", \"label\": \"Send the\\npage back\", \"x\": 620, \"y\": 100, \"w\": 250, \"h\": 110, \"step\": 3, \"tone\": \"term\"},\n {\"id\": \"d\", \"label\": \"Draw the\\npage\", \"x\": 925, \"y\": 100, \"w\": 250, \"h\": 110, \"step\": 4, \"tone\": \"emph\"}\n ], \"edges\": [\n {\"from\": \"a\", \"to\": \"b\"}, {\"from\": \"b\", \"to\": \"c\"}, {\"from\": \"c\", \"to\": \"d\"}\n ]}</script>\n </m-flow>\n </div>\n <div class=\"concl\"><span>A slow page is slow in one of these four stages</span></div>\n</section><!--/part-->\n\n</div>\n</body>\n</html>\n```\n\n```narration.md\n# Narration: How a web page arrives\n\n## How a web page arrives\n[0] Today we follow a web page on its way from a server to your screen.\n\n## Two programs take part\n[0] Opening a page is a conversation between two programs.\n[1] {mark:browser}The browser is the program you look at. It asks for the page and then draws it.\n[2] {mark:server}The server is a program on another computer. It keeps the page and sends it back when asked.\n[concl] Every page load is a request and a reply.<!--part:m-flow-->\n\n## From the address to the screen\n[0] Let us put the steps in order.\n[1] First you type the address of the page.\n[2] The browser turns it into a request and sends it to the server.\n[3] The server finds the page and sends it back.\n[4] The browser draws the page on the screen.\n[concl] When a page is slow, one of these four stages is taking the time.<!--/part-->\n```",
|
|
1182
1223
|
"request": "# 頼みたいこと\n\n*(A か B を埋め、もう一方は削除します。書かない項目は削除してかまいません)*\n\n**A. 新しく作る**\n\n- タイトル(表紙にそのまま使う):\n- 対象(だれ向け):\n- 長さ(枚数か分):\n- 言語:\n- 話者:1 人\n- そのほかの希望:\n\n**B. 渡した資料と話し合いの内容で作る**\n\nこのチャットで渡した資料と、ここまでの話し合いの内容で、スライドと台本を作ってください。\n\n- タイトル(表紙にそのまま使う):\n- 対象(だれ向け):\n- 長さ(枚数か分):\n- 言語:\n- 話者:1 人\n- そのほかの希望:",
|
|
1183
1224
|
"sets": {
|
|
1184
1225
|
"stats": "## パーツのセット:stats(統計の図)\n\nデータを見せる授業・発表向け。分布、箱ひげ図、ヒートマップ、観測が 1 つずつ加わって変わる分布を見せる。テーマは `default`。データの出どころと数(何人・何件)をスライドか台本に書き、本物らしく見えるデータを作らない(R-components)。\n\n- **軸のある図**(<!--part:m-hist-->`m-hist`・<!--/part--><!--part:m-boxplot-->`m-boxplot`・<!--/part--><!--part:m-seq-->`m-seq`・<!--/part-->など)は目盛りと軸の名前に左 86 px、上下合わせて 80 px を使うので、高さ **300〜380 px**、幅 **560 px 以上**にする(`<div class=\"cols\">` なら図の列を 55% 以上に)\n- 軸の範囲には、図の値(R-components のとおり計算したもの)がすべて入るようにする\n\nこのセットのパーツ(§3 のパーツに加えて):\n\n{{CATALOG}}\n\n{{EXTENSIONS}}",
|
|
@@ -1187,7 +1228,7 @@ export const PACK = {
|
|
|
1187
1228
|
"ml": "## パーツのセット:ml(機械学習)\n\n機械学習の授業で、ニューラルネットの順伝播・分類の境界・損失の等高線と勾配降下法などを 1 ステップずつ見せるときに使う。重み・確率・反復の点などの値は、実際に計算したスクリプトの出力を書く。\n\nこのセットのパーツ(§3 のパーツに加えて):\n\n{{CATALOG}}\n\n{{EXTENSIONS}}",
|
|
1188
1229
|
"math": "## パーツのセット:math(算数・数学)\n\n算数・数学の教材向け。筆算、数直線、テープ図、パラメータで形の変わる関数を見せる。テーマは `default`。\n\n- **軸のある図**(<!--part:m-sweep-->`m-sweep`・<!--/part--><!--part:m-curves-->`m-curves`・<!--/part-->など)は目盛りと軸の名前に左 86 px、上下合わせて 80 px を使うので、高さ **300〜380 px**、幅 **560 px 以上**にする(`<div class=\"cols\">` なら図の列を 55% 以上に)\n- 軸の範囲には、図の値(R-components のとおり計算したもの)がすべて入るようにする\n\nこのセットのパーツ(§3 のパーツに加えて):\n\n{{CATALOG}}\n\n{{EXTENSIONS}}\n\n<!--part:m-sweep-->### 例:算数・数学(英語・default テーマ・m-sweep)\n\n(そのパーツを使うスライドだけ。`deck.html` の骨組みは §6 の例と同じ)\n\n```deck.html\n<section class=\"slide\">\n <h2>A larger λ decays faster</h2>\n <div class=\"body\">\n <div class=\"cols\" style=\"gap:24px\">\n <div style=\"flex:0 0 36%\">\n <div class=\"big\">\\[ \\frac{N(t)}{N_0}=e^{-\\lambda t} \\]</div>\n <ul class=\"nostep\"><li>Grey: the previous \\(\\lambda\\)</li></ul>\n </div>\n <m-sweep f=\"Math.exp(-c*u)\" values=\"[0.2,0.5,1.0]\" param=\"λ\" xr=\"[0,6]\" yr=\"[0,1]\" xt=\"[0,2,4,6]\" yt=\"[0,0.5,1]\"\n xl=\"*t*\" yl=\"share left\" digits=\"1\" style=\"height:380px\" aria-label=\"Share of atoms left over time for three decay constants\"></m-sweep>\n </div>\n </div>\n <div class=\"concl\"><span>Raising λ shortens the half-life</span></div>\n</section>\n```\n\n```narration.md\n## A larger λ decays faster\n[0] Let us change the decay constant and watch the share of atoms left.\n[1] Raising it from 0.2 to 0.5 makes the curve fall faster.\n[2] At 1.0 it falls faster still.\n[concl] A larger decay constant means a shorter half-life.\n```<!--/part-->\n\n<!--part:m-sweep-->ステップの数え方:値が 3 つの `m-sweep` はステップ 1〜2。<!--/part-->",
|
|
1189
1230
|
"maps": "## パーツのセット:maps(地図)\n\n地図を使う授業・案内向け(地理・歴史・地域の案内)。日本地図か世界地図を使う。テーマは `default`。数字(人口・面積・生産量など)には、何年の・どこの数字かをスライドか台本に書く。\n\nこのセットのパーツ(§3 のパーツに加えて):\n\n{{CATALOG}}\n\n{{EXTENSIONS}}",
|
|
1190
|
-
"kokugo": "## パーツのセット:kokugo(国語)\n\n国語(漢文・古文・現代文)の教材向け。テーマは `kokugo`。台本では、難しい語や名前に読み `{表示|読み}` を付ける(R-reading)。\n\n- **縦書きのスライド:**`<section class=\"slide layout-tate\">` でスライド全体を縦書きにする。`<h2>` は右端の縦 1 列(全角でおよそ 14 字。折り返さない)、本文は右から左へ列を重ね、結論の行は左端の縦 1 列(およそ 19 字)。本文は 2 つの列の間に収める(重なれば品質チェックが指摘する)。本文の中のパーツ・図・表は横書きのまま置かれるので、パーツの縦書きの指定を使う(<!--part:m-kobun-->`m-kobun tate`<!--/part--><!--part:m-kobun,m-gendai-->・<!--/part--><!--part:m-gendai-->`m-gendai tate`<!--/part--><!--part:m-kanbun-->。`m-kanbun` はいつも縦書き<!--/part
|
|
1231
|
+
"kokugo": "## パーツのセット:kokugo(国語)\n\n国語(漢文・古文・現代文)の教材向け。テーマは `kokugo`。台本では、難しい語や名前に読み `{表示|読み}` を付ける(R-reading)。\n\n- **縦書きのスライド:**`<section class=\"slide layout-tate\">` でスライド全体を縦書きにする。`<h2>` は右端の縦 1 列(全角でおよそ 14 字。折り返さない)、本文は右から左へ列を重ね、結論の行は左端の縦 1 列(およそ 19 字)。本文は 2 つの列の間に収める(重なれば品質チェックが指摘する)。本文の中のパーツ・図・表は横書きのまま置かれるので、パーツの縦書きの指定を使う(<!--part:m-kobun-->`m-kobun tate`<!--/part--><!--part:m-kobun,m-gendai-->・<!--/part--><!--part:m-gendai-->`m-gendai tate`<!--/part--><!--part:m-kanbun-->。`m-kanbun` はいつも縦書き<!--/part-->)。縦のスライドの本文は 15 列まで(1 列およそ 18 字、合わせて 270 字ほど)。18 字を超える項目は 2 列になる。収まらなければスライドを分ける。\n- **縦と横をそろえる:**1 つの教材では縦か横にそろえる。古文・漢文・現代文の本文を読む教材は、説明のスライドも縦にそろえる。横書きでしか置けない図や表(流れ図など)のスライドだけを横にし、なるべくまとめて置き、縦と横を交互にしない\n\nこのセットのパーツ(§3 のパーツに加えて):\n\n{{CATALOG}}\n\n{{EXTENSIONS}}\n\n<!--part:m-kanbun-->### 例:国語(kokugo テーマ・m-kanbun)\n\n(そのパーツを使うスライドだけ。`deck.html` の骨組みは §6 の例と同じ)\n\n```deck.html\n<section class=\"slide\">\n <h2>学びて時に之を習ふ</h2>\n <div class=\"body\">\n <m-kanbun style=\"height:440px\" aria-label=\"『論語』学而篇の冒頭の白文、訓点、読む順、書き下し文\">\n 学(ビテ)而{-}時(ニ)習(フ)[レ]之(ヲ)、\n 不{=ず}[二]亦(タ)説(バシカラ)[一]乎{=や}。\n </m-kanbun>\n </div>\n <div class=\"concl\"><span>一二点は、一を読んでから二へ戻る</span></div>\n</section>\n```\n\n```narration.md\n## 学びて時に之を習ふ\n[0] 返り点も送り仮名もない、白文です。\n[1] 返り点と送り仮名を付けます。而は、読まない置き字です。\n[2] 読む順に字をたどります。一句目は、レ点で之から習へ戻ります。\n[3] 二句目は、一二点で説から不へ戻ります。\n[4] 書き下し文にすると、学びて時に之を習ふ、亦た説ばしからずや、となります。\n[concl] 一二点は、一の字を読んでから、二の字へ戻ります。\n```<!--/part-->\n\n<!--part:m-kanbun-->ステップの数え方:`m-kanbun` は訓点(ステップ 1)、読む順は句ごとに 1 ステップ、最後に書き下し文。`[n]` は句ごとに書く。<!--/part-->",
|
|
1191
1232
|
"english": "## パーツのセット:english(英語:外国語としての英語)\n\n日本語で教える英語の教材向け。英文の構造(S V O C M・句と節・何が何を修飾するか)を和訳と一緒に見せる。テーマは `default`。英文は授業で読むとおりに書き、日本語の台本は短くする。英文の例を読み上げるのは、教材に要るときだけ。\n\nこのセットのパーツ(§3 のパーツに加えて):\n\n{{CATALOG}}\n\n{{EXTENSIONS}}",
|
|
1192
1233
|
"music": "## パーツのセット:music(音楽:音の高さ・音階・和音)\n\n音楽の教材向け。音の高さ・音階・音程・和音を、ピアノの鍵盤で見せる。テーマは `default`。音の名前は授業での呼び方(ドレミ・C D E・ハニホ)にそろえ、スライドと台本で同じにする。\n\nこのセットのパーツ(§3 のパーツに加えて):\n\n{{CATALOG}}\n\n{{EXTENSIONS}}",
|
|
1193
1234
|
"business": "## パーツのセット:business(ビジネス)\n\nビジネスの報告・提案の資料向け(KPI・ポジショニングマップ・市場規模・お金とモノの流れ)。テーマは `sumi`。架空の数字の断り(R-components)は `note` か表紙に書き、スライドの間で数字をそろえる(内訳を足すと書いた合計になる)。\n\nこのセットのパーツ(§3 のパーツに加えて):\n\n{{CATALOG}}\n\n{{EXTENSIONS}}\n\n<!--part:m-kpi-->### 例:ビジネス(日本語・sumi テーマ・m-kpi)\n\n(そのパーツを使うスライドだけ。`deck.html` の骨組みは §6 の例と同じ)\n\n```deck.html\n<section class=\"slide\">\n <h2>導入から 3 か月の結果</h2>\n <div class=\"body\">\n <p class=\"note muted\">新しい仕分けの手順を入れた 3 拠点の合計(数字は架空)</p>\n <m-kpi style=\"height:330px\" aria-label=\"1 日の出荷 1,240 件、誤配率 0.8%、残業 32% 減\">\n <script type=\"application/json\">{\"cards\": [\n {\"label\": \"1 日の出荷\", \"value\": 1240, \"unit\": \"件\", \"from\": 980, \"delta\": {\"dir\": \"up\", \"text\": \"導入前から 260 件\"}},\n {\"label\": \"誤配率\", \"value\": 0.8, \"digits\": 1, \"unit\": \"%\", \"from\": 2.1, \"tone\": \"emph\", \"delta\": {\"dir\": \"down\", \"text\": \"導入前は 2.1%\", \"good\": true}},\n {\"label\": \"残業時間\", \"value\": 32, \"unit\": \"%\", \"prefix\": \"−\", \"tone\": \"accent2\", \"note\": \"1 人あたり、月の平均\"}\n ]}</script>\n </m-kpi>\n </div>\n <div class=\"concl\"><span>→ 件数が増えても、誤りと残業は減った</span></div>\n</section>\n```\n\n```narration.md\n## 導入から 3 か月の結果\n[0] 新しい仕分けの手順を入れた、3 つの拠点の合計です。\n[1] 1 日の出荷は 1,240 件になり、導入前より 260 件増えました。\n[2] 誤配率は 2.1% から 0.8% に下がりました。件数が増えても、誤りは減っています。\n[3] 残業時間も、1 人あたり 32% 減っています。\n[concl] 件数が増えても、誤りと残業は減りました。\n```<!--/part-->\n\n<!--part:m-kpi-->ステップの数え方:カードが 3 枚の `m-kpi` はステップ 1〜3。<!--/part-->",
|
|
@@ -1208,14 +1249,14 @@ export const PACK = {
|
|
|
1208
1249
|
},
|
|
1209
1250
|
"m-boxplot": {
|
|
1210
1251
|
"set": "stats",
|
|
1211
|
-
"row": "| `<m-boxplot>` | 箱ひげ図。値を並べ、中央値・四分位数を求める手順のとおりに組み立てる。群を並べて比べる | steps(既定):点 → 中央値 → 第1・第3四分位数 → 箱 → ひげ。whole:群 1 つ = 1 ステップ | `{groups:[{label?,tone?,values?:num[],five?:num[]} (values or five),…]}` — groups [{label, tone, values}] か [{label, five: [最小値, 第1四分位数, 中央値, 第3四分位数, 最大値]}]。軸は属性に書く(xr=\"[0,20]\" xl=\"…\") |",
|
|
1212
|
-
"entry": "### `<m-boxplot>`\n\nデータ(子の `<script type=\"application/json\">`)の例: `{\"groups\":[{\"label\":\"1 組\",\"values\":[3,5,6,7,8,9,10,12,13,15,18]}]}`\n\n| 値 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `orient` | string | `\"h\"` | h(横向きの箱、値の軸が横)か v(縦向き) |\n| `xr` | json | `null` | 横軸の範囲 |\n| `yr` | json | `null` | 縦軸の範囲 |\n| `xt` | json | `null` | 横軸の目盛り |\n| `yt` | json | `null` | 縦軸の目盛り |\n| `xf` | number | | 横軸の目盛りの小数桁 |\n| `yf` | number | | 縦軸の目盛りの小数桁 |\n| `xl` | string | `\"\"` | 横軸の名前(`*斜体*` `_下付き` `^上付き`) * |\n| `yl` | string | `\"\"` | 縦軸の名前 * |\n| `method` | string | `\"jp\"` | 四分位数の求め方:jp(教科書)・inc・exc(表計算の QUARTILE.INC / EXC) |\n| `outliers` | string | `\"off\"` | on:1.5×四分位範囲の外を外れ値(点)にし、ひげはその内側まで |\n| `dots` | string | `\"off\"` | on:値の点を箱の下に並べる(build=\\ |\n| `build` | string | `\"steps\"` | steps(求める手順のとおり)か whole(群 1 つ = 1 ステップ) |\n| `unit` | string | `\"\"` | 表示する値の後ろに付ける単位 |\n| `digits` | number | | 表示する値の小数桁(書かなければ値の桁+1 まで) |\n\n値の代わりに `\"five\": [最小値, 第1四分位数, 中央値, 第3四分位数, 最大値]` も書ける。\n\n- `orient`:`h`(既定)か `v`\n- `method`:`jp`(既定、教科書)・`inc`・`exc`(表計算の QUARTILE.INC / EXC)\n- `outliers=\"on\"`:1.5×四分位範囲の外を外れ値の点に\n- `dots=\"on\"`:値の点を並べる\n- 群が 1 つの steps では、並べた値の行も出る",
|
|
1252
|
+
"row": "| `<m-boxplot>` | 箱ひげ図。値を並べ、中央値・四分位数を求める手順のとおりに組み立てる。群を並べて比べる | steps(既定):点 → 中央値 → 第 1・第 3 四分位数 → 箱 → ひげ。whole:群 1 つ = 1 ステップ | `{groups:[{label?,tone?,values?:num[],five?:num[]} (values or five),…]}` — groups [{label, tone, values}] か [{label, five: [最小値, 第1四分位数, 中央値, 第3四分位数, 最大値]}]。軸は属性に書く(xr=\"[0,20]\" xl=\"…\") |",
|
|
1253
|
+
"entry": "### `<m-boxplot>`\n\nデータ(子の `<script type=\"application/json\">`)の例: `{\"groups\":[{\"label\":\"1 組\",\"values\":[3,5,6,7,8,9,10,12,13,15,18]}]}`\n\n| 値 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `orient` | string | `\"h\"` | h(横向きの箱、値の軸が横)か v(縦向き) |\n| `xr` | json | `null` | 横軸の範囲 |\n| `yr` | json | `null` | 縦軸の範囲 |\n| `xt` | json | `null` | 横軸の目盛り |\n| `yt` | json | `null` | 縦軸の目盛り |\n| `xf` | number | | 横軸の目盛りの小数桁 |\n| `yf` | number | | 縦軸の目盛りの小数桁 |\n| `xl` | string | `\"\"` | 横軸の名前(`*斜体*` `_下付き` `^上付き`) * |\n| `yl` | string | `\"\"` | 縦軸の名前 * |\n| `method` | string | `\"jp\"` | 四分位数の求め方:jp(教科書)・inc・exc(表計算の QUARTILE.INC / EXC) |\n| `outliers` | string | `\"off\"` | on:1.5×四分位範囲の外を外れ値(点)にし、ひげはその内側まで |\n| `dots` | string | `\"off\"` | on:値の点を箱の下に並べる(build=\\ |\n| `build` | string | `\"steps\"` | steps(求める手順のとおり)か whole(群 1 つ = 1 ステップ) |\n| `unit` | string | `\"\"` | 表示する値の後ろに付ける単位 |\n| `digits` | number | | 表示する値の小数桁(書かなければ値の桁+1 まで) |\n\n値の代わりに `\"five\": [最小値, 第 1 四分位数, 中央値, 第 3 四分位数, 最大値]` も書ける。\n\n- `orient`:`h`(既定)か `v`\n- `method`:`jp`(既定、教科書)・`inc`・`exc`(表計算の QUARTILE.INC / EXC)\n- `outliers=\"on\"`:1.5×四分位範囲の外を外れ値の点に\n- `dots=\"on\"`:値の点を並べる\n- 群が 1 つの steps では、並べた値の行も出る",
|
|
1213
1254
|
"sup": true
|
|
1214
1255
|
},
|
|
1215
1256
|
"m-callout": {
|
|
1216
1257
|
"set": "tools",
|
|
1217
1258
|
"row": "| `<m-callout>` | 画面の画像に番号の丸を置き、引き出し線で横の説明につなぐ。ステップごとに 1 つずつ(研修・手引き・操作の説明) | 説明の step の最大(既定は説明 1 つ = 1 ステップ。per-step で n 個ずつ) | `{callouts:{x:num,y:num,text:str,box?:[num,num,num,num],step?,at?}[]}` |",
|
|
1218
|
-
"entry": "### `<m-callout>`\n\nデータ(子の `<script type=\"application/json\">`)の例: `{\"callouts\":[{\"x\":0.12,\"y\":0.08,\"text\":\"メニューを開く\"},{\"x\":0.7,\"y\":0.62,\"text\":\"「送る」を押す\"}]}`\n\n| 値 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `side` | string | `\"right\"` | 説明を置く側:right・left・both(both は画像の左半分の丸を左に、右半分の丸を右に) |\n| `label-width` | number | `0.32` | 説明の列の幅(要素の幅に対する割合。both なら片側の幅) |\n| `per-step` | number | `1` | 1 ステップに出す説明の数(0 = 全部をステップ 1 で) |\n| `size` | number | `28` | 説明の字の大きさ(px、24 以上) |\n\n研修・職員向けの手引き・アプリの使い方で、画面のどこをどの順に操作するかを 1 つずつ見せる。\n\n画像は子の `<img src=\"screens/apply.png\" alt=\"…\" width=\"1280\" height=\"800\"
|
|
1259
|
+
"entry": "### `<m-callout>`\n\nデータ(子の `<script type=\"application/json\">`)の例: `{\"callouts\":[{\"x\":0.12,\"y\":0.08,\"text\":\"メニューを開く\"},{\"x\":0.7,\"y\":0.62,\"text\":\"「送る」を押す\"}]}`\n\n| 値 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `side` | string | `\"right\"` | 説明を置く側:right・left・both(both は画像の左半分の丸を左に、右半分の丸を右に) |\n| `label-width` | number | `0.32` | 説明の列の幅(要素の幅に対する割合。both なら片側の幅) |\n| `per-step` | number | `1` | 1 ステップに出す説明の数(0 = 全部をステップ 1 で) |\n| `size` | number | `28` | 説明の字の大きさ(px、24 以上) |\n\n研修・職員向けの手引き・アプリの使い方で、画面のどこをどの順に操作するかを 1 つずつ見せる。\n\n画像は子の `<img src=\"screens/apply.png\" alt=\"…\" width=\"1280\" height=\"800\">`(作業フォルダの画像。ビルドのときにファイルに埋め込む)。\n\n- **画面の画像に本当の個人の情報を写さない**(名前・番号・住民や患者の記録など)。架空のデータで画面を作るか、ぼかしてから使う\n- `alt`(何の画面か)・`width`・`height`(画像の px)は必ず書く(ないと data)。1 MiB を超える画像は size\n\n- callout:`x`・`y`(丸の位置。画像の幅と高さに対する割合 0〜1)、`text`(説明。`\\n` で改行)、`box`(`[x, y, 幅, 高さ]`、同じ割合。そのステップの間だけ操作する所を `--emph` の枠で囲む)、`step`、`at`\n- 説明は画像の横(`side`:`right`(既定)・`left`・`both`)に、丸の上下の順に並ぶ。重なれば下へずらし、引き出し線どうしは交わらない\n\n注意\n\n- 1 枚に 6 つくらいまで。手順が多ければ画面を分ける\n- 丸が操作する所を隠さず、引き出し線がその上を通らないよう、x・y はボタンや欄の、説明の側の端に置く(side=\"right\" なら右の端)"
|
|
1219
1260
|
},
|
|
1220
1261
|
"m-cards": {
|
|
1221
1262
|
"set": "standard",
|
|
@@ -1252,6 +1293,12 @@ export const PACK = {
|
|
|
1252
1293
|
"row": "| `<m-contour>` | 2 変数の関数の等高線を値ごとに引き、勾配の矢印と、勾配降下法などの反復の道を 1 点ずつ見せる | 等高線の値ごと(by=\"all\" なら 1)→ 勾配 → 道の点ごと | `{f?:str,label?,grid?:{nx:int,ny:int,values:any[]},range:{x:[num,num],y:[num,num]},axes?:{x?:str,y?:str},levels:num[],gradient?:{at:[num,num][],scale?:num,tangent?:bool},path?:[num,num][],monotone?:bool,equal?:bool} (f or grid)` |",
|
|
1253
1294
|
"entry": "### `<m-contour>`\n\nデータ(子の `<script type=\"application/json\">`)の例: `{\"f\":\"x**2 + 3*y**2\",\"range\":{\"x\":[-3,3],\"y\":[-2,2]},\"levels\":[1,2,4,8],\"gradient\":{\"at\":[[1,1]]},\"path\":[[2.5,1.5],[1.5,0.3],[0.9,0.06]],\"monotone\":true}`\n\n| 値 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `size` | number | `24` | 字の大きさ(px、24 以上) |\n| `by` | enum | `\"level\"` | 等高線を値ごとに 1 ステップ(level)か、まとめて 1 ステップ(all) |\n\n関数は式 `f`(`x` と `y` の算術の式)か、スクリプトが計算した格子の値 `grid` のどちらか。`levels`(8 個まで)、`gradient.at`(勾配の矢印を描く点)、`path`(反復の点。スクリプトの出力)。大きさの目安:`equal`(既定)で range が正方形なら、図は(高さ − 約 95px)の正方形で左に寄り、右に 240px 以上空けば関数の名前と反復ごとの f の欄になる。高さ 440px なら幅 740px ほど(右に別の字や図を並べる)。横いっぱいに使うなら range の x を広げるか `equal: false`。"
|
|
1254
1295
|
},
|
|
1296
|
+
"m-contrast": {
|
|
1297
|
+
"set": "standard",
|
|
1298
|
+
"row": "| `<m-contrast>` | 研究の位置づけの図。問いごとに従来の答え(不明は破線)と本研究の答えを並べるか、近い研究の仮定の札と本研究の札(外した・加えた)を並べ、ステップで出す | answers は 問い → 従来の答え → 矢印と本研究の答え(order=\"row\" で行ごと)。assumptions は 近い研究 → 本研究の行(残した・外した)→ 加えた → 得られること。order=\"whole\" で 1 | `{kind?:\"answers\"\\|\"assumptions\",heads?:[str,str,str],selfLabel?:str,rows?:{q:str,after:str,basis?:str,before:{text?:str,by?:str,unknown?:bool,near?:str}}[],studies?:{label,chips:str[],result:str}[],self?:{dropped?:str[],kept?:str[],added?:str[],result:str}}` — answers:rows は [{\"q\", \"before\": {\"text\", \"by\"} か {\"unknown\": true, \"near\"}, \"after\", \"basis\"?}]。assumptions:studies は [{\"label\", \"chips\", \"result\"}]、self は {\"kept\", \"dropped\", \"added\", \"result\"} |",
|
|
1299
|
+
"entry": "### `<m-contrast>`\n\nデータ(子の `<script type=\"application/json\">`)の例: `{\"kind\":\"answers\",\"rows\":[{\"q\":\"差はどこにあるか\",\"before\":{\"unknown\":true,\"near\":\"国の間の差は [2]\"},\"after\":\"7 割は学校の間\",\"basis\":\"3 年分の全数データ\"}]}`\n\n| 値 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `order` | string | `\"\"` | 出し方:build(既定。answers は列ごと、assumptions は研究 → 本研究)・row(answers の行ごと)・whole |\n| `size` | number | `28` | 字の大きさ(px、24 以上。入らなければ 24 まで縮める) |\n\n新しさが答えの値や見方にあるとき<!--part:m-matrix-->(m-matrix の表にならないとき)<!--/part-->の図。`kind` を子の JSON に書く。\n\n- `answers`(既定、問いと答え):`rows` は 1〜3 個の `{\"q\": \"問い\", \"before\": {\"text\": \"従来の答え\", \"by\": \"[1]\"}, \"after\": \"本研究の答え\", \"basis\": \"根拠\"}`。従来の答えがないときは `\"before\": {\"unknown\": true, \"near\": \"近い条件で分かっていること [2]\"}`(破線の箱に「不明」)\n- `assumptions`(仮定の差分):`studies` は 1〜3 個の `{\"label\": \"[2]\", \"chips\": [\"仮定\", …], \"result\": \"得られること\"}`、`self` は `{\"kept\": [...], \"dropped\": [...], \"added\": [...], \"result\": \"新しく得たこと\"}`。外した札は「外した」と書いて取り消し線、加えた札は「加えた」と書いて `--emph`\n- 本研究は字で書いて `--emph` の枠で囲む。`selfLabel` で名前を替え(既定「本研究」)、`heads` で 3 つの列の見出しを替える(answers は 問い・従来・本研究、assumptions は 研究・仮定・得られること)\n- 最も近い従来研究を `by` か `label` で名指しする。<!--part:m-tree-->前提ごとの対比は m-tree(`dash: true`)<!--/part-->",
|
|
1300
|
+
"paidOnly": true
|
|
1301
|
+
},
|
|
1255
1302
|
"m-ctable": {
|
|
1256
1303
|
"set": "standard",
|
|
1257
1304
|
"row": "| `<m-ctable>` | 分散分析表・分割表・潜在結果の表を、ステップごとに埋める。使ったセルと埋めたセルを示し、表の下に式。計算を確かめる | 埋めるステップの数(anova は値の列の数、contingency は計・期待度数・χ²・オッズ比、po は 3) | `{kind:\"anova\"\\|\"contingency\"\\|\"po\"\\|\"table\",rows?:(object\\|str\\|any[])[],cols?:str[],n?:num[][],margins?:bool,expected?:num[][],chi2?:num,or?:num,units?:{id?:str,t:0\\|1,y0:num,y1:num}[],ate?:num,naive?:num,header?:str[],note?}` |",
|
|
@@ -1261,7 +1308,7 @@ export const PACK = {
|
|
|
1261
1308
|
"m-curves": {
|
|
1262
1309
|
"set": "standard",
|
|
1263
1310
|
"row": "| `<m-curves>` | 同じ座標軸に線を 1 本ずつ引く(線の名前は凡例でなく線の端に直接書く) | step の最大(既定は系列の数) | `[{label?,f?:str,pts?:[num,num][],tone?,step?,labelAt?:num,color?:str,dash?:bool,xr?:[num,num],area?:any[],areaLabel?:str\\|any[],at?,anchor?:\"right\"\\|\"left\"\\|\"above\"\\|\"below\"\\|\"top\"\\|\"bottom\"\\|\"start\"\\|\"middle\"\\|\"end\",dx?:num,dy?:num,ly?:num} (f or pts),…]` — データは配列そのもの({\"series\": […]} ではない)。軸は属性に書く(xr=\"[0,10]\" xl=\"…\")。式の欄は f で、変数は x(fn・u ではない) |",
|
|
1264
|
-
"entry": "### `<m-curves>`\n\nデータ(子の `<script type=\"application/json\">`)の例: `[{\"label\":\"需要 D\",\"f\":\"10 - x\"},{\"label\":\"供給 S\",\"f\":\"2 + x\"},{\"label\":\"均衡\",\"pts\":[[4,0],[4,6]],\"dash\":true}]`\n\n| 値 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `xr` | json | `[0, 1]` | 横軸の範囲 |\n| `yr` | json | `[0, 1]` | 縦軸の範囲 |\n| `xt` | json | `[]` | 横軸の目盛りの値 * |\n| `yt` | json | `[]` | 縦軸の目盛りの値 * |\n| `xf` | number | | 横軸の目盛りの小数桁 |\n| `yf` | number | | 縦軸の目盛りの小数桁 |\n| `xl` | string | `\"\"` | 横軸の名前(`*斜体*` `_下付き` `^上付き`) * |\n| `yl` | string | `\"\"` | 縦軸の名前 * |\n| `n` | number | `300` | f を描く分割数 |\n| `lw` | number | `3.5` | 線の太さ |\n| `size` | number | `0` | 字の大きさ(24 以上。0 = 既定) |\n\n同じ予測分布に平均・中央値・分位点を順に引く、損失関数を 1 つずつ重ねる、など\n「一つの図で比較の軸を一つずつ見せる」ときに使う。\n\n系列は子の `<script type=\"application/json\">` に配列で書く。\n1 系列 = 1 ステップ(書いた順)。`step` で変えられ、同じ `step` の系列は一緒に引く。台本の [n] はこのステップに合わせる。\n\n| 欄 | 意味 |\n|---|---|\n| `label` | 線の名前 |\n| `f` | x の算術の式(`exp(…)` `sqrt(…)` `PI` などの `Math` の関数と定数、`N(x, 平均, 標準偏差)`、`+ - * / % **`、比較と `? :`。下を見よ)。`xr` で描く範囲を狭められる |\n| `pts` | 点列 `[[x, y], …]`(縦線や実測の折れ線) |\n| `tone` | `term` `emph` `accent2` `muted` `fg` `series-1..4`(既定は `series-1..4` の順) |\n| `dash` | 破線 |\n| `area` / `areaLabel` | 塗る区間 `[a, b]`(複数可、null は端)とラベル |\n| `labelAt` / `anchor` / `dx` / `dy` / `ly` | 名前の位置:横軸の値 `labelAt` の点に置く(既定は線の端)。`anchor` は向き(`right` `left` `above` `below`)。`ly` は縦軸の値で高さを決める |\n\n`size=\"40\"`:字の大きさ(24
|
|
1311
|
+
"entry": "### `<m-curves>`\n\nデータ(子の `<script type=\"application/json\">`)の例: `[{\"label\":\"需要 D\",\"f\":\"10 - x\"},{\"label\":\"供給 S\",\"f\":\"2 + x\"},{\"label\":\"均衡\",\"pts\":[[4,0],[4,6]],\"dash\":true}]`\n\n| 値 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `xr` | json | `[0, 1]` | 横軸の範囲 |\n| `yr` | json | `[0, 1]` | 縦軸の範囲 |\n| `xt` | json | `[]` | 横軸の目盛りの値 * |\n| `yt` | json | `[]` | 縦軸の目盛りの値 * |\n| `xf` | number | | 横軸の目盛りの小数桁 |\n| `yf` | number | | 縦軸の目盛りの小数桁 |\n| `xl` | string | `\"\"` | 横軸の名前(`*斜体*` `_下付き` `^上付き`) * |\n| `yl` | string | `\"\"` | 縦軸の名前 * |\n| `n` | number | `300` | f を描く分割数 |\n| `lw` | number | `3.5` | 線の太さ |\n| `size` | number | `0` | 字の大きさ(24 以上。0 = 既定) |\n\n同じ予測分布に平均・中央値・分位点を順に引く、損失関数を 1 つずつ重ねる、など\n「一つの図で比較の軸を一つずつ見せる」ときに使う。\n\n系列は子の `<script type=\"application/json\">` に配列で書く。\n1 系列 = 1 ステップ(書いた順)。`step` で変えられ、同じ `step` の系列は一緒に引く。台本の [n] はこのステップに合わせる。\n\n| 欄 | 意味 |\n|---|---|\n| `label` | 線の名前 |\n| `f` | x の算術の式(`exp(…)` `sqrt(…)` `PI` などの `Math` の関数と定数、`N(x, 平均, 標準偏差)`、`+ - * / % **`、比較と `? :`。下を見よ)。`xr` で描く範囲を狭められる |\n| `pts` | 点列 `[[x, y], …]`(縦線や実測の折れ線) |\n| `tone` | `term` `emph` `accent2` `muted` `fg` `series-1..4`(既定は `series-1..4` の順) |\n| `dash` | 破線 |\n| `area` / `areaLabel` | 塗る区間 `[a, b]`(複数可、null は端)とラベル |\n| `labelAt` / `anchor` / `dx` / `dy` / `ly` | 名前の位置:横軸の値 `labelAt` の点に置く(既定は線の端)。`anchor` は向き(`right` `left` `above` `below`)。`ly` は縦軸の値で高さを決める |\n\n`size=\"40\"`:字の大きさ(24 以上)。`xt` に字の目盛り:`xt='[\"4月\",\"5月\",\"6月\"]'`(x = 1, 2, 3)か `[[0, \"2023年度\"], …]`。\n\n`f` は算術の式で、コードとしては実行しない:数、`x`、`Math` の関数と定数(`sin(x)` とも `Math.sin(x)` とも書ける。`Math.random` は使えない)、`N(x, 平均, 標準偏差)`、`+ - * / % **`、比較(`< <= > >= == !=`)、`&& || !`、`? :`、括弧。べき乗は `**`(`^` は書けない)。書けない式はエラーの表示になる。",
|
|
1265
1312
|
"sup": true
|
|
1266
1313
|
},
|
|
1267
1314
|
"m-cycle": {
|
|
@@ -1353,6 +1400,12 @@ export const PACK = {
|
|
|
1353
1400
|
"row": "| `<m-market>` | 市場規模の入れ子の円(TAM / SAM / SOM)。外の円から 1 つずつ、前の円の大きさから縮んで現れる | rings の数 | `{rings:{key?:str,value:num,basis?:str,tone?}[]}` |",
|
|
1354
1401
|
"entry": "### `<m-market>`\n\nデータ(子の `<script type=\"application/json\">`)の例: `{\"rings\":[{\"key\":\"TAM\",\"value\":3000,\"basis\":\"国内の…\"},{\"key\":\"SAM\",\"value\":600,\"basis\":\"…\"},{\"key\":\"SOM\",\"value\":30,\"basis\":\"…\"}]}`\n\n| 値 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `unit` | string | `\"\"` | 値の単位(数字の後ろに付ける) |\n| `digits` | number | `0` | 値の小数桁 |\n| `scale` | string | `\"fixed\"` | fixed(決まった比)か area(面積を値に比例) |\n| `layout` | string | `\"bottom\"` | bottom(下端をそろえる)か center(同心) |\n| `count` | bool | `false` | 値の数字を縮みに合わせて数え上げる |\n\n市場の大きさを、全体(TAM)から手の届く範囲(SAM)、最初に取る範囲(SOM)へ絞り込んで見せるときに使う。\n\n子の JSON の並び:外から順。\n\n- ステップ j で j 番目の円が、1 つ外の円の大きさと位置から縮んで現れる。前の円はそのまま残る\n- 名前(`key`)・値・根拠(`basis`、何を数えたか)は円の右に書き、円の中の点から引き出し線で結ぶ。値は `digits` 桁で 3 桁ごとにカンマを入れ、`unit` を後ろに付ける\n- `scale=\"fixed\"`(既定)は見やすい決まった比(1・0.64・0.34・0.16)。`scale=\"area\"` は面積を値に比例させる(小さすぎる円は最も大きい円の 0.14 倍の半径にする)。面積に比例させると SOM がほとんど見えないことが多いので、既定は fixed にして値を字で示す\n- `layout=\"bottom\"`(既定)は円の下端をそろえ、`layout=\"center\"` は同心にする\n- 色は外の 2 つが `--term`、内の円が `--emph`(`tone` で変えられる:`term`・`emph`・`muted`・`accent2`・`series-1..4`。ほかの値は `term`)\n- `dur`:1 つの円が縮んで現れる秒数(既定 0.9)。数字はそのあと 0.35 秒で出る\n- 値の数字は円が縮みきってから出す。`count=\"true\"` なら縮みに合わせて数え上げる"
|
|
1355
1402
|
},
|
|
1403
|
+
"m-matrix": {
|
|
1404
|
+
"set": "standard",
|
|
1405
|
+
"row": "| `<m-matrix>` | 研究の位置づけの表。2 本の軸の交差の表(マスに研究の名前、本研究のマスを枠で結論の 1 文と、空きマスは — と注、下に設計の行)か、研究 × 要素の表(✓ △ × や短い字、列の上に要件の出どころ)を、ステップで埋める | cross は 軸と空の表(0)→ 従来(1)→ 本研究(2)→ 注(3、none のマスがあるときだけ)、order=\"whole\" で 1。attributes は whole で 1、col・row で 列・行の数 + 1(枠) | `{kind?:\"cross\"\\|\"attributes\",rows?:object\\|any[],cols?:object\\|any[],cells?:(any[]\\|object)[][],marks?:{mark:str,text:str}[],design?:{cols:str[],rows:{label?,self?:bool,cells:str[]}[]},self?:str}` — cross:rows・cols は {\"axis\", \"values\"}、cells[r][c] は研究の名前の並び・{\"self\": true か \"結論\"}・{\"none\": \"理由\"}、design は {\"cols\", \"rows\"}。attributes:cols は名前か {\"name\", \"source\"}、rows は {\"label\", \"cells\", \"self\"?} |",
|
|
1406
|
+
"entry": "### `<m-matrix>`\n\nデータ(子の `<script type=\"application/json\">`)の例: `{\"kind\":\"cross\",\"rows\":{\"axis\":\"評価基準\",\"values\":[\"予測誤差\",\"ベイズリスク\"]},\"cols\":{\"axis\":\"予測の形\",\"values\":[\"点予測\",\"分布予測\"]},\"cells\":[[[\"[1]\",\"[2]\"],[\"[3]\"]],[{\"none\":\"自明\"},{\"self\":true}]]}`\n\n| 値 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `order` | string | `\"\"` | 出し方:cross は build(既定)・whole、attributes は whole(既定)・col・row |\n| `size` | number | `28` | 字の大きさ(px、24 以上。入らなければ 24 まで縮める) |\n\n`kind`:`cross`(既定、2 本の軸の交差の表)・`attributes`(行に研究、列に要素の表)。子の JSON に書く。\n\n- cross:`rows`・`cols` は `{\"axis\": \"軸の名前\", \"values\": [値, …]}`(どちらも 2〜4 個)。`cells[r][c]` は研究の名前の並び(引用番号か「著者(年)」、1〜3 本)、本研究のマスは `{\"self\": true}`、空きマスは `{\"none\": \"空きの理由\"}`(「—」と注の番号、表の下に注)。3 本目の軸は名前に印(† など)を付け、`marks: [{\"mark\": \"†\", \"text\": \"意味\"}]`\n - `{\"self\": \"分かったことの 1 文\"}` で本研究のマスに結論も書く(40 字まで)\n - `design: {\"cols\": [2〜3 個], \"rows\": [{\"label\", \"cells\"}, {\"self\": true, \"cells\"}]}`:表の下の設計の行(従来と本研究のデータ・識別の設計と、比べられるようになったこと)\n- attributes:`cols` は要素の名前か `{\"name\", \"source\"}`(要件が来た応用の必要)、`rows` は `{\"label\", \"cells\", \"self\"}`(本研究を先頭に)。空のマスは「—」。記号の意味は `marks`(● 満たす・× 満たさない・— 記載なし)\n- 本研究は「本研究」と字で書いて `--emph` の枠で囲む(色だけで分けない)\n\n型の選び方(新しさの在りか):問題の記述(目的・設定・入力・出力・評価基準)なら cross(問いと対象なら結論の 1 文、観測・識別なら design も)、応用の要件を満たす手法なら attributes に出どころと ● × —。答えの値や見方が新しいなら、この表にしない<!--part:m-contrast,m-tree-->(m-contrast、前提ごとなら m-tree の `dash`)<!--/part-->。どれも最も近い従来研究 1〜2 件を表の中で名指しする\n\n注意\n\n- 交差の表の軸は 2〜4 個ずつ。それより多いときは軸の値をまとめるか、attributes の表にする\n- マスの研究は主なものを 3 本まで。全部の文献の一覧は参考文献のスライドに置く\n- 要件を本研究に有利な語で作らない(本研究だけが全部 ● の表は、選び方しだいで必ず作れる)",
|
|
1407
|
+
"paidOnly": true
|
|
1408
|
+
},
|
|
1356
1409
|
"m-menu": {
|
|
1357
1410
|
"set": "standard",
|
|
1358
1411
|
"row": "| `<m-menu>` | スライドへのリンクのカードを格子に並べる(目次・単元の選び方)。カードは <a href=\"#<スライドの id>\">、行ったスライドに「見た」の印 | ceil(カードの数 / per-step)(既定の per-step=\"0\" なら 0:初めから全部) | 子の `<a href>`(JSON ではない) |",
|
|
@@ -1376,12 +1429,12 @@ export const PACK = {
|
|
|
1376
1429
|
"m-orbit": {
|
|
1377
1430
|
"set": "science",
|
|
1378
1431
|
"row": "| `<m-orbit>` | 月の満ち欠け(金星の満ち欠け)。北極の上から見た図と地球から見た形を並べ、月を位置から位置へ動かす。形は位置から計算する | 動く先の数(既定は 8 つの位置を新月から 1 周 = 8 ステップ。visit で決める) | `{positions?:int,start?:int,visit?:int[],labels?:(str\\|null)[],notes?:(str\\|null)[],eclipse?:bool}` |",
|
|
1379
|
-
"entry": "### `<m-orbit>`\n\nデータ(子の `<script type=\"application/json\">`)の例: `{\"positions\":8,\"visit\":[1,2,3,4,5,6,7,0]}`\n\n| 値 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `mode` | string | `\"moon\"` | moon(月の満ち欠け)か venus(金星の満ち欠け) |\n| `hemisphere` | string | `\"north\"` | north(北半球から見た形。満ちていく月は右が光る)か south(南半球。左右が逆) |\n| `sun` | string | `\"right\"` | 月の図で太陽の光が来る側(right か left) |\n| `earth` | number | `0.2` | 地球の半径(月の軌道の半径に対する比。金星の図では地球の軌道に対する比の半分) |\n| `moon` | number | `0.5` | 月の半径(地球の半径に対する比。実際の月は 0.27。金星の図では金星をこの 1.4 倍に) |\n| `observer` | bool | `true` | 月の図で、地球の上の人と、月を見る向きを描く |\n| `size` | number | `28` | 地球から見た形の名前の字の大きさ(px。24 以上) |\n\n月の満ち欠け(中学 3 年・地学基礎)を見せるときに使う。左は北極の上から見た図で、太陽の光が片側から来て、地球のまわりの軌道の上に月がある。月の光っている半分は、いつも太陽の側を向いている。右は、地球から見たときの月の形。2 つの図は同じ位置で動く。\n\n**大きさと距離は実際の比ではない**(教えるための図)。実際は、地球と月の距離は地球の半径のおよそ 60 倍、月の半径は地球のおよそ 0.27 倍。比は `earth` と `moon` で変えられる。\n\n子の JSON(中身は省ける。`{}` で既定の 1 周):`{\"positions\": 8, \"start\": 0, \"visit\": [1, 2, 3, 4, 5, 6, 7, 0], \"labels\": [...], \"notes\": [...], \"eclipse\": false}`(どれも省ける)。\n\n- `positions`:軌道の上の位置の数(4〜24、既定 8)。位置 0 が新月(月が太陽の側)、そこから反時計回りに等しい間隔\n- `start`:ステップ 0 の位置(既定 0)\n- `visit`:ステップごとに動く先の位置。月はいつも反時計回りに進む(2 つ先なら 2 つ分動く)。既定は `start` の次から 1 周して `start` へ戻る\n- `labels`:位置ごとの名前(`null` は既定のまま、`\"\"` は名前なし)。既定は、新月・三日月・上弦の月・満月・下弦の月(英語は new moon, waxing crescent, first quarter, full moon, last quarter)。8 つの位置では、残りの 3 つは名前なし(教科書と同じ)。十三夜などは `labels` で付ける\n- `notes`:位置ごとの説明(右の図の名前の下)。既定は、地球の上の人がその月を見る時刻と空の向き(「夕方・南西の空」など。下)\n- `eclipse`:`true` なら、新月と満月の位置で、太陽・月・地球がそろったときの影を描き、名前に(日食)(月食)を添える\n\n属性:\n\n- `mode`:`moon`(既定)か `venus`(金星の満ち欠け。下)\n- `hemisphere`:`north`(既定。満ちていく月は右側が光る)か `south`(左右が逆)\n- `sun`:太陽の光が来る側(`right` 既定か `left`)。月の図だけ\n- `earth`:地球の半径(月の軌道の半径に対する比、既定 0.2)。`moon`:月の半径(地球の半径に対する比、既定 0.5)\n- `observer`:地球の上の人と、月を見る向きの線(既定 true)\n- `size`:右の図の名前の字の大きさ(既定 28px)。`dur`:となりの位置へ動く秒数(既定 1.2)\n\n地球の上の人の時刻:月が夜の側にあるとき(上弦から下弦まで)は、月が南の空にいちばん高く上る時刻(上弦は夕方、満月は真夜中、下弦は明け方)。三日月のように夕方の側にある月は日の入り、明け方の側にある月は日の出、新月は正午。人はステップの間に、地球が回る向きに動く。空の向きは、人の真上から月への角を 45° ごとに名前にしたもの(南、南西、西…。南半球では北が基準)。教科書と言い方を合わせたいときは `notes` で書く。\n\n`mode=\"venus\"`:太陽を中心に、金星と地球の軌道を描く。地球は下に止めて、金星の位置を外合(太陽の向こう側)から反時計回りに `positions` 個置く(8 つなら位置 3 が東方最大離角に近い「よいの明星」、位置 5 が西方最大離角に近い「明けの明星」)。右の図は地球から見た金星の形で、大きさは地球からの距離に反比例する(地球に近いほど大きく、細く欠ける)。説明は「夕方・西の空」「明け方・東の空」、太陽に近い位置では「太陽に近くて見えない」。軌道の比は実際の値(金星 0.723)。\n\n
|
|
1432
|
+
"entry": "### `<m-orbit>`\n\nデータ(子の `<script type=\"application/json\">`)の例: `{\"positions\":8,\"visit\":[1,2,3,4,5,6,7,0]}`\n\n| 値 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `mode` | string | `\"moon\"` | moon(月の満ち欠け)か venus(金星の満ち欠け) |\n| `hemisphere` | string | `\"north\"` | north(北半球から見た形。満ちていく月は右が光る)か south(南半球。左右が逆) |\n| `sun` | string | `\"right\"` | 月の図で太陽の光が来る側(right か left) |\n| `earth` | number | `0.2` | 地球の半径(月の軌道の半径に対する比。金星の図では地球の軌道に対する比の半分) |\n| `moon` | number | `0.5` | 月の半径(地球の半径に対する比。実際の月は 0.27。金星の図では金星をこの 1.4 倍に) |\n| `observer` | bool | `true` | 月の図で、地球の上の人と、月を見る向きを描く |\n| `size` | number | `28` | 地球から見た形の名前の字の大きさ(px。24 以上) |\n\n月の満ち欠け(中学 3 年・地学基礎)を見せるときに使う。左は北極の上から見た図で、太陽の光が片側から来て、地球のまわりの軌道の上に月がある。月の光っている半分は、いつも太陽の側を向いている。右は、地球から見たときの月の形。2 つの図は同じ位置で動く。\n\n**大きさと距離は実際の比ではない**(教えるための図)。実際は、地球と月の距離は地球の半径のおよそ 60 倍、月の半径は地球のおよそ 0.27 倍。比は `earth` と `moon` で変えられる。\n\n子の JSON(中身は省ける。`{}` で既定の 1 周):`{\"positions\": 8, \"start\": 0, \"visit\": [1, 2, 3, 4, 5, 6, 7, 0], \"labels\": [...], \"notes\": [...], \"eclipse\": false}`(どれも省ける)。\n\n- `positions`:軌道の上の位置の数(4〜24、既定 8)。位置 0 が新月(月が太陽の側)、そこから反時計回りに等しい間隔\n- `start`:ステップ 0 の位置(既定 0)\n- `visit`:ステップごとに動く先の位置。月はいつも反時計回りに進む(2 つ先なら 2 つ分動く)。既定は `start` の次から 1 周して `start` へ戻る\n- `labels`:位置ごとの名前(`null` は既定のまま、`\"\"` は名前なし)。既定は、新月・三日月・上弦の月・満月・下弦の月(英語は new moon, waxing crescent, first quarter, full moon, last quarter)。8 つの位置では、残りの 3 つは名前なし(教科書と同じ)。十三夜などは `labels` で付ける\n- `notes`:位置ごとの説明(右の図の名前の下)。既定は、地球の上の人がその月を見る時刻と空の向き(「夕方・南西の空」など。下)\n- `eclipse`:`true` なら、新月と満月の位置で、太陽・月・地球がそろったときの影を描き、名前に(日食)(月食)を添える\n\n属性:\n\n- `mode`:`moon`(既定)か `venus`(金星の満ち欠け。下)\n- `hemisphere`:`north`(既定。満ちていく月は右側が光る)か `south`(左右が逆)\n- `sun`:太陽の光が来る側(`right` 既定か `left`)。月の図だけ\n- `earth`:地球の半径(月の軌道の半径に対する比、既定 0.2)。`moon`:月の半径(地球の半径に対する比、既定 0.5)\n- `observer`:地球の上の人と、月を見る向きの線(既定 true)\n- `size`:右の図の名前の字の大きさ(既定 28px)。`dur`:となりの位置へ動く秒数(既定 1.2)\n\n地球の上の人の時刻:月が夜の側にあるとき(上弦から下弦まで)は、月が南の空にいちばん高く上る時刻(上弦は夕方、満月は真夜中、下弦は明け方)。三日月のように夕方の側にある月は日の入り、明け方の側にある月は日の出、新月は正午。人はステップの間に、地球が回る向きに動く。空の向きは、人の真上から月への角を 45° ごとに名前にしたもの(南、南西、西…。南半球では北が基準)。教科書と言い方を合わせたいときは `notes` で書く。\n\n`mode=\"venus\"`:太陽を中心に、金星と地球の軌道を描く。地球は下に止めて、金星の位置を外合(太陽の向こう側)から反時計回りに `positions` 個置く(8 つなら位置 3 が東方最大離角に近い「よいの明星」、位置 5 が西方最大離角に近い「明けの明星」)。右の図は地球から見た金星の形で、大きさは地球からの距離に反比例する(地球に近いほど大きく、細く欠ける)。説明は「夕方・西の空」「明け方・東の空」、太陽に近い位置では「太陽に近くて見えない」。軌道の比は実際の値(金星 0.723)。\n\n縦書きのスライドでも、横書きの 1 つの図として置く。"
|
|
1380
1433
|
},
|
|
1381
1434
|
"m-particles": {
|
|
1382
1435
|
"set": "science",
|
|
1383
1436
|
"row": "| `<m-particles>` | 状態変化の粒子の並び方と間隔、化学変化で保存される原子の数を見せる | state は states の数 − 1(既定 2)。reaction は反応前→原子に分かれる→反応後の 3 ステップ | `{states?:(\"solid\"\\|\"liquid\"\\|\"gas\")[],substance?:str,labels?:(str\\|null)[]\\|{before?:str,apart?:str,after?:str,atoms?:str},reactants?:{formula:str,n:int,shape?:\"linear\"\\|\"bent\"\\|\"trigonal\"\\|\"tetrahedral\"\\|\"chain\"}[],products?:{formula:str,n:int,shape?:\"linear\"\\|\"bent\"\\|\"trigonal\"\\|\"tetrahedral\"\\|\"chain\"}[]}` |",
|
|
1384
|
-
"entry": "### `<m-particles>`\n\n| 値 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `mode` | string | `\"state\"` | state(状態変化)か reaction(化学変化) |\n| `count` | number | `16` | 状態変化で描く粒子の数(6〜30 の整数。数と大きさは一定) |\n| `size` | number | `28` | 名前・式の字の大きさ(px。24 以上) |\n| `volume` | bool | `false` | 状態に合わせて容器の幅を変える(気体は広い) |\n| `motion` | bool | `true` | 状態変化の粒子に静止した運動の印を付ける |\n\n中学 1〜2 年の理科・化学基礎で、状態変化と化学変化を粒子のモデルで説明するときに使う。高さ 440px、幅 1000px 以上を目安に置く。狭くて入らないときは `ctx.report(\"size\", …)` で知らせる。\n\n`mode=\"state\"`(既定):1 つの容器の中で、粒子が固体・液体・気体の並び方へ移る。粒子の数と半径(19px)は途中でも一定。固体は床の上の規則正しい格子(16 個なら 4×4、割り切れない行は中央寄せ)。液体は固体より広く低い層で、床の上から不規則に積む。粒子は重ならず、近い粒子同士が接する。気体は格子を使わず、容器全体に十分な間隔を空けて散らす。振動の印・短い矢印・長い矢印で運動を示すので、静止画でも比較できる。液体の矢印は粒子の縁から約 18px、気体は 24px 伸ばし、同じ線の太さで描く。矢印は粒子の縁から外を向き、他の粒子にも容器の枠にも重ねない。密に接した内部の粒子で矢印が収まらないときは、その矢印を省く。\n\n子の JSON は省略できる。例:\n\n```json\n{\"states\": [\"solid\", \"liquid\", \"gas\"], \"substance\": \"水\", \"labels\": [\"固体(氷)\", null, null]}\n```\n\n- `states`:1 個以上の状態名(`solid`・`liquid`・`gas`)。並び順に移る。逆順や固体↔気体も使える。1 個ならステップなし\n- `substance`:容器の上に出す物質名(省略可)\n- `labels`:各状態の表示名。`null` は既定の固体・液体・気体、`\"\"`
|
|
1437
|
+
"entry": "### `<m-particles>`\n\n| 値 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `mode` | string | `\"state\"` | state(状態変化)か reaction(化学変化) |\n| `count` | number | `16` | 状態変化で描く粒子の数(6〜30 の整数。数と大きさは一定) |\n| `size` | number | `28` | 名前・式の字の大きさ(px。24 以上) |\n| `volume` | bool | `false` | 状態に合わせて容器の幅を変える(気体は広い) |\n| `motion` | bool | `true` | 状態変化の粒子に静止した運動の印を付ける |\n\n中学 1〜2 年の理科・化学基礎で、状態変化と化学変化を粒子のモデルで説明するときに使う。高さ 440px、幅 1000px 以上を目安に置く。狭くて入らないときは `ctx.report(\"size\", …)` で知らせる。\n\n`mode=\"state\"`(既定):1 つの容器の中で、粒子が固体・液体・気体の並び方へ移る。粒子の数と半径(19px)は途中でも一定。固体は床の上の規則正しい格子(16 個なら 4×4、割り切れない行は中央寄せ)。液体は固体より広く低い層で、床の上から不規則に積む。粒子は重ならず、近い粒子同士が接する。気体は格子を使わず、容器全体に十分な間隔を空けて散らす。振動の印・短い矢印・長い矢印で運動を示すので、静止画でも比較できる。液体の矢印は粒子の縁から約 18px、気体は 24px 伸ばし、同じ線の太さで描く。矢印は粒子の縁から外を向き、他の粒子にも容器の枠にも重ねない。密に接した内部の粒子で矢印が収まらないときは、その矢印を省く。\n\n子の JSON は省略できる。例:\n\n```json\n{\"states\": [\"solid\", \"liquid\", \"gas\"], \"substance\": \"水\", \"labels\": [\"固体(氷)\", null, null]}\n```\n\n- `states`:1 個以上の状態名(`solid`・`liquid`・`gas`)。並び順に移る。逆順や固体↔気体も使える。1 個ならステップなし\n- `substance`:容器の上に出す物質名(省略可)\n- `labels`:各状態の表示名。`null` は既定の固体・液体・気体、`\"\"` は名前なし。英語のスライドでは Solid・Liquid・Gas\n- ステップ 0 は容器の下に最初の状態名だけを出す。ステップ 1 以降は「液体 → 気体(沸騰)」のように、出発点・到着点・変化名を 1 行で出す。英語は `Liquid → Gas (boiling)`\n- 変化の名前は状態の組から決める(融解・沸騰・凝固・凝縮・昇華)。英語は melting・boiling・freezing・condensation・sublimation\n\n`mode=\"reaction\"`:反応前の分子が現れる(1)、同じ原子が離れる(2)、生成物の分子へ集まる(3)。元素記号と色が原子の種類を表す。原子の半径は図に合わせて 24〜34px(全ステップで同じ)。ステップの見出しは図の上に置く。ステップ 2 は原子の間に少なくとも半径 1 個分の隙間を取り、中央に配置する。最後は左に「反応前」、右に「反応後」を付けて左右の分子の中央に矢印を置く。図全体を縦に中央寄せし、すぐ下に式と「原子の数:H 4 → 4、O 2 → 2」のような数の行を中央揃えで出す。最後は下側にステップ名を重ねない。左の反応前の図は比較のためのコピーで、別の原子が増えたことを意味しない。\n\n```html\n<m-particles mode=\"reaction\" style=\"height:440px\">\n <script type=\"application/json\">{\"reactants\": [{\"formula\": \"H2\", \"n\": 2}, {\"formula\": \"O2\", \"n\": 1}], \"products\": [{\"formula\": \"H2O\", \"n\": 2}]}</script>\n</m-particles>\n```\n\n- `reactants`・`products`:分子のリスト。`formula` は元素記号(大文字+任意の小文字)と正の整数の個数だけ。例:`H2O`・`FeS`・`CO2`。括弧・電荷・式の中の係数は使えない\n- `shape`:各分子に省略可。`\"linear\"`(直線)、`\"bent\"`(3 原子の折れ線)、`\"trigonal\"`(中心+周囲の 3 原子を平面に配置)、`\"tetrahedral\"`(中心+周囲の 4 原子を平面の十字に配置)、`\"chain\"`(コンパクトな列)で指定し、既定の形を上書きする。例:`{\"formula\":\"CO2\",\"n\":1,\"shape\":\"linear\"}`。省略時は既知の分子の形を使い、それ以外の 3 原子分子は直線、より大きい分子はコンパクトな列にする\n- `n`:分子の数(1〜24 の整数)。1 も明記する。式の表示では係数 1 を省き、原子の個数は下付きにする\n- 元素は初出順に最大 6 種、原子は片側で最大 24 個(保存される原子の総数)。上限超過や読めない式は `data` で知らせ、図の代わりに確認を求める文を出す\n- 原子数が一致しない式は変更しない。`data` で全元素の反応前→反応後の数を報告し、不一致を強調した数の表と左右の静止した比較図を描く。原子を作ったり消したりする誤った移動は描かない\n- `labels` は省略可のオブジェクト。`before`・`apart`・`after`・`atoms` で「反応前」「原子に分かれる」「反応後」「原子の数:」を上書きできる\n\n属性:`count` は state の粒子数(6〜30、既定 16)、`size` は名前と式の文字サイズ(24px 以上、既定 28)、`dur` は各ステップの秒数(既定 1.2)。`volume=\"true\"` は気体の容器を広くする(既定 false。固体・液体の幅も粒子の層が入る幅を保つ)。`motion=\"false\"` で state の運動の印を消す(既定 true)。`states` は属性ではなく子の JSON に書く。\n\n要素の言語に従い日本語・英語で表示する。読み上げは最後の状態と保存される数を説明する。作者の `aria-label` があれば保つ。縦書きのスライドでも図は横書き。"
|
|
1385
1438
|
},
|
|
1386
1439
|
"m-pie": {
|
|
1387
1440
|
"set": "standard",
|
|
@@ -1414,6 +1467,11 @@ export const PACK = {
|
|
|
1414
1467
|
"row": "| `<m-score>` | 楽譜(五線譜)を 1 音・和音ずつ、または 1 小節ずつ出して音も鳴らす。ABC 記譜法で書く | 音符・和音・休符 1 つ=1 ステップ。by=\"measure\" なら 1 小節=1 ステップ(per-step=\"N\" なら N 小節。弱起の小節は次のステップに入る) | `{abc:str}` — abc だけを書く(abcSvg・abcMap・renderers はビルドのときに足す) |",
|
|
1415
1468
|
"entry": "### `<m-score>`\n\nデータ(子の `<script type=\"application/json\">`)の例: `{\"abc\":\"X:1\\nM:4/4\\nL:1/4\\nQ:1/4=96\\nK:C\\nC D E F |]\"}`\n\n| 値 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `by` | string | `\"note\"` | note(1 音・和音ずつ)\\| measure(1 小節ずつ) |\n| `names` | string | `\"none\"` | 符頭の下の名前:solfa(ドレミ)\\| abc \\| iroha(ハニホ)\\| none |\n| `per-step` | number | `1` | by=\\ |\n\n- `abc`:ABC 記譜法。`M:` 拍子、`L:` 基本の長さ、`Q:1/4=96` 速さ、`K:` 調、`[CEG]` 和音、`z` 休符、`-` タイ\n- `names`:符頭の下に `solfa`(ドレミ)・`abc`・`iroha`(ハニホ)。既定は `none`\n- `by=\"measure\"`:1 小節ずつ(音は小節の中で順に鳴る)\n- `per-step=\"N\"`:`by=\"measure\"` で N 小節を 1 ステップにする(既定 1)。ステップの長さは N 小節の長さそのまま\n- `by=\"note\"` は音の名前・高さを 1 つずつ見せるためのもので、各ステップは 1.2 秒以上になりリズムは保たれない。リズムを聞かせるときは `by=\"measure\"`。速い曲は `per-step` で 1 ステップが 1.2 秒以上になるように(弱起の小節は自動で次の小節とまとめる)"
|
|
1416
1469
|
},
|
|
1470
|
+
"m-scroll": {
|
|
1471
|
+
"set": "tools",
|
|
1472
|
+
"row": "| `<m-scroll>` | 縦に長い図(インライン SVG・HTML)を高さの決まった枠に入れ、ステップごとに決めた所まで送る。参加者は枠の中を手でスクロールできる | 子の data-scroll-step の最大(k 番目のステップでその要素の所まで送る) | 属性だけ(JSON の子なし) |",
|
|
1473
|
+
"entry": "### `<m-scroll>`\n\n書き方の例: `<m-scroll style=\"height:440px\" aria-label=\"年表\"><svg viewBox=\"0 0 1000 1300\" width=\"1000\" height=\"1300\">… <g data-scroll-step=\"1\">…</g> …</svg></m-scroll>`\n\n| 値 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `margin` | number | `12` | px:data-scroll-step の要素の上に空ける余白 |\n\n長い年表・長いフロー図・長いコードのように、1 枚のスライドに入らない縦長の図を、分けずに見せるときに使う。\n\n`<m-scroll style=\"height:440px\" aria-label=\"図の名前\">` の子に、図(インライン SVG や `<pre>`)をそのまま書く。\n\n- 子の要素に `data-scroll-step=\"k\"`(1, 2, …)を付けると、k 番目のステップでその要素が枠の上に来るまで送る(上に `margin` px 空ける)。ステップの数は k の最大\n- 枠の中のホイール・タッチ・↑↓・PageUp/PageDown は枠のスクロールで、スライドは送らない。←→ と Space はスライドの操作のまま\n- 参加者が手で動かした所は、次のステップまで保たれる\n\n注意\n\n- 読み上げのために `aria-label` に図の名前を書く(省略すると「縦に送る図」)\n- 印刷・本では枠の中の見えている所しか残らない。全体を読ませたい図は、スライドを分けるか本の側に全体を置く"
|
|
1474
|
+
},
|
|
1417
1475
|
"m-seq": {
|
|
1418
1476
|
"set": "stats",
|
|
1419
1477
|
"row": "| `<m-seq>` | 観測を 1 つずつ加え、分布と数値が更新されていく様子を見せる(前の分布は薄く残す) | ceil((steps の数 − 1) / per-step) | `{xs:num[],steps:{dens:num[],readout?:object,mark?:num}[],digits?:object,markLabel?:str}` |",
|
|
@@ -1448,8 +1506,8 @@ export const PACK = {
|
|
|
1448
1506
|
},
|
|
1449
1507
|
"m-tree": {
|
|
1450
1508
|
"set": "standard",
|
|
1451
|
-
"row": "| `<m-tree>` | 階層・分類の木(組織図、生物の分類など)を、根から 1 段ずつ組み立てる。座標は書かず、配置はパーツが決める | 節の深さの数(by=\"level\"、既定)か節の数(by=\"node\")。節と edges の step があればその最大 | `{nodes:{id:str\\|int,label?,tex?,note?,tone?,parent?:str\\|int,branch?:str,step?,at?}[],edges?:{from:str\\|int,to:str\\|int,label?,tone?,dash?:bool,step?,at?}[],path?:(str\\|int)[],pathStep?:int,pathNote?:str}` — parent のない節(根)はちょうど 1 つ |",
|
|
1452
|
-
"entry": "### `<m-tree>`\n\nデータ(子の `<script type=\"application/json\">`)の例: `{\"nodes\":[{\"id\":\"r\",\"label\":\"動物\"},{\"id\":\"a\",\"label\":\"脊椎動物\",\"parent\":\"r\"},{\"id\":\"b\",\"label\":\"無脊椎動物\",\"parent\":\"r\"}]}`\n\n| 値 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `orient` | string | `\"down\"` | down(上から下、既定)か right(左から右) |\n| `by` | string | `\"level\"` | ステップの分け方:level(深さごと、既定)か node(1 つずつ、深さ優先の順) |\n| `link` | string | `\"elbow\"` | 親子の線:elbow(かぎ形、既定)か straight(まっすぐ) |\n| `size` | number | `0` | 箱の字の大きさ(px。0 = 27 から入るまで 24 まで縮める) |\n\n組織図、生物や物質の分類、概念の上位と下位、章と節の構成など、親子の関係で並ぶものを上から順に見せるときに使う。\n座標は書かない(共通の決まり §2)。中身とつながりだけを書けば、パーツが重ならないように並べる。\n\n子の JSON の並び:`edges` は省いてよい。\n\n- node:`id`、`label`(`\\n` で改行)か `tex`(KaTeX)、`parent`(親の `id`。`parent` のない節(根)はちょうど 1 つ)、`note`(箱の**下**に小さな一言、`--muted`)、`tone`(`term`(既定)・`emph`・`muted`・`accent2`・`series-1..4`)、`step`、`at`(ステップの中の開始秒)\n- 子は配列の順に並ぶ。親は子の並びの中央に置く\n- edge:親子のほかのつながり(`from` `to` `label` `tone` `dash` `step`)。破線で矢印つき、木の外側(`down` は下、`right` は右)へふくらむ。同じ深さの節どうしに向く。ステップは既定で両端の遅いほう\n- 子の `branch`:線の字(確率など)。`path`:根からの `id` の道を順に強調(`pathStep` で一度に。`pathNote`:末尾の一言)\n- `orient`:`down`(既定、上から下)か `right`(左から右。分類を横に広げるとき)\n- `by`:`level`(既定。根、それから深さごとに 1 段)か `node`(深さ優先の順に 1 つずつ。1 つの枝をたどって話すとき)。節の `step` が勝つ\n- `link`:親子の線。`elbow`(既定、かぎ形)か `straight`(まっすぐ)。線の色は `--muted`、3 px\n- `tone: emph` の箱は、地が `--emph-tint`、枠と字が `--emph`\n- 入る大きさの目安(1280×720 の本文、高さ 440 px ほど):`down` は 1 段に 4 字ほどの箱が 8 個、`right` は 7 個ほど。深さは 5 段ほど。\n それより多い葉(子のない節)が 1 つの親に並ぶと、子を 2 段に互い違いに並べる(`down` で 16 個ほど、`right` で 11 個ほどまで)。\n さらに入らなければ名前を 2 行に折る。字は 24 px より小さくならず、入らない分は要素の箱からはみ出す(足りない px を `ctx.report` で知らせ、Studio の品質チェックに出る)。多いときは木を分ける\n- 見せ方(`variant`):`fade`・`draw`・`grow`。書かなければ資料のシード値で選ばれる(書かなくてよい)\n- 動きの上限:どの見せ方でも箱が動くのは 12 px まで(箱の中心で測る)、時間も `fade` の長さの中(共通の決まり §1.2)\n- 先のステップを薄く見せる表示(`ctx.preview
|
|
1509
|
+
"row": "| `<m-tree>` | 階層・分類の木(組織図、生物の分類など)を、根から 1 段ずつ組み立てる。座標は書かず、配置はパーツが決める | 節の深さの数(by=\"level\"、既定)か節の数(by=\"node\")。節と edges の step があればその最大 | `{nodes:{id:str\\|int,label?,tex?,note?,tone?,dash?:bool,parent?:str\\|int,branch?:str,step?,at?}[],edges?:{from:str\\|int,to:str\\|int,label?,tone?,dash?:bool,step?,at?}[],path?:(str\\|int)[],pathStep?:int,pathNote?:str}` — parent のない節(根)はちょうど 1 つ |",
|
|
1510
|
+
"entry": "### `<m-tree>`\n\nデータ(子の `<script type=\"application/json\">`)の例: `{\"nodes\":[{\"id\":\"r\",\"label\":\"動物\"},{\"id\":\"a\",\"label\":\"脊椎動物\",\"parent\":\"r\"},{\"id\":\"b\",\"label\":\"無脊椎動物\",\"parent\":\"r\"}]}`\n\n| 値 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `orient` | string | `\"down\"` | down(上から下、既定)か right(左から右) |\n| `by` | string | `\"level\"` | ステップの分け方:level(深さごと、既定)か node(1 つずつ、深さ優先の順) |\n| `link` | string | `\"elbow\"` | 親子の線:elbow(かぎ形、既定)か straight(まっすぐ) |\n| `size` | number | `0` | 箱の字の大きさ(px。0 = 27 から入るまで 24 まで縮める) |\n\n組織図、生物や物質の分類、概念の上位と下位、章と節の構成など、親子の関係で並ぶものを上から順に見せるときに使う。\n座標は書かない(共通の決まり §2)。中身とつながりだけを書けば、パーツが重ならないように並べる。\n\n子の JSON の並び:`edges` は省いてよい。\n\n- node:`id`、`label`(`\\n` で改行)か `tex`(KaTeX)、`parent`(親の `id`。`parent` のない節(根)はちょうど 1 つ)、`note`(箱の**下**に小さな一言、`--muted`)、`tone`(`term`(既定)・`emph`・`muted`・`accent2`・`series-1..4`)、`step`、`at`(ステップの中の開始秒)\n- node の `dash: true`:箱の枠を破線にし、地を塗らない(外した前提・まだないものなど。意味は `note` か本文で言う)\n- 子は配列の順に並ぶ。親は子の並びの中央に置く\n- edge:親子のほかのつながり(`from` `to` `label` `tone` `dash` `step`)。破線で矢印つき、木の外側(`down` は下、`right` は右)へふくらむ。同じ深さの節どうしに向く。ステップは既定で両端の遅いほう\n- 子の `branch`:線の字(確率など)。`path`:根からの `id` の道を順に強調(`pathStep` で一度に。`pathNote`:末尾の一言)\n- `orient`:`down`(既定、上から下)か `right`(左から右。分類を横に広げるとき)\n- `by`:`level`(既定。根、それから深さごとに 1 段)か `node`(深さ優先の順に 1 つずつ。1 つの枝をたどって話すとき)。節の `step` が勝つ\n- `link`:親子の線。`elbow`(既定、かぎ形)か `straight`(まっすぐ)。線の色は `--muted`、3 px\n- `tone: emph` の箱は、地が `--emph-tint`、枠と字が `--emph`\n- 入る大きさの目安(1280×720 の本文、高さ 440 px ほど):`down` は 1 段に 4 字ほどの箱が 8 個、`right` は 7 個ほど。深さは 5 段ほど。\n それより多い葉(子のない節)が 1 つの親に並ぶと、子を 2 段に互い違いに並べる(`down` で 16 個ほど、`right` で 11 個ほどまで)。\n さらに入らなければ名前を 2 行に折る。字は 24 px より小さくならず、入らない分は要素の箱からはみ出す(足りない px を `ctx.report` で知らせ、Studio の品質チェックに出る)。多いときは木を分ける\n- 見せ方(`variant`):`fade`・`draw`・`grow`。書かなければ資料のシード値で選ばれる(書かなくてよい)\n- 動きの上限:どの見せ方でも箱が動くのは 12 px まで(箱の中心で測る)、時間も `fade` の長さの中(共通の決まり §1.2)\n- 先のステップを薄く見せる表示(`ctx.preview`)では、後のステップの箱と線をテーマの薄さで出しておく\n\n前提の対比(研究の位置づけ):根に問い、子に立場(本研究は `tone: emph`)、その下に前提、さらに下に言えること(`note` に「前提」「言えること」)。本研究が外した前提は `dash: true` に `note: \"外した前提\"`。"
|
|
1453
1511
|
},
|
|
1454
1512
|
"m-vector": {
|
|
1455
1513
|
"set": "standard",
|
|
@@ -1468,9 +1526,9 @@ export const PACK = {
|
|
|
1468
1526
|
"briefNote": "下に説明の節がないパーツは、表の「データの形」のとおりに子の JSON か属性を書き、ほかの属性は既定のままにする。",
|
|
1469
1527
|
"extHead": "### `<{name}>`:このセットの拡張(パーツの説明は §3)"
|
|
1470
1528
|
},
|
|
1471
|
-
"version": "
|
|
1529
|
+
"version": "027f5293",
|
|
1472
1530
|
"tiers": {
|
|
1473
|
-
"catalogue": "2.
|
|
1531
|
+
"catalogue": "2.21.0",
|
|
1474
1532
|
"parts": {
|
|
1475
1533
|
"m-balance": {
|
|
1476
1534
|
"tier": "specialized",
|
|
@@ -1478,6 +1536,14 @@ export const PACK = {
|
|
|
1478
1536
|
"purposes": [
|
|
1479
1537
|
"model"
|
|
1480
1538
|
],
|
|
1539
|
+
"subjects": [
|
|
1540
|
+
"statistics",
|
|
1541
|
+
"mathematics"
|
|
1542
|
+
],
|
|
1543
|
+
"audiences": [
|
|
1544
|
+
"high-school",
|
|
1545
|
+
"university"
|
|
1546
|
+
],
|
|
1481
1547
|
"display": {
|
|
1482
1548
|
"ja": "期待値はつり合いの位置",
|
|
1483
1549
|
"en": "Expectation as a balance point"
|
|
@@ -1498,6 +1564,14 @@ export const PACK = {
|
|
|
1498
1564
|
"purposes": [
|
|
1499
1565
|
"spread",
|
|
1500
1566
|
"compare"
|
|
1567
|
+
],
|
|
1568
|
+
"subjects": [
|
|
1569
|
+
"statistics",
|
|
1570
|
+
"mathematics"
|
|
1571
|
+
],
|
|
1572
|
+
"audiences": [
|
|
1573
|
+
"primary-junior",
|
|
1574
|
+
"high-school"
|
|
1501
1575
|
]
|
|
1502
1576
|
},
|
|
1503
1577
|
"m-callout": {
|
|
@@ -1506,6 +1580,10 @@ export const PACK = {
|
|
|
1506
1580
|
"purposes": [
|
|
1507
1581
|
"process"
|
|
1508
1582
|
],
|
|
1583
|
+
"audiences": [
|
|
1584
|
+
"working-adult",
|
|
1585
|
+
"general"
|
|
1586
|
+
],
|
|
1509
1587
|
"display": {
|
|
1510
1588
|
"ja": "画面の手順",
|
|
1511
1589
|
"en": "Screen steps"
|
|
@@ -1524,6 +1602,10 @@ export const PACK = {
|
|
|
1524
1602
|
"purposes": [
|
|
1525
1603
|
"process"
|
|
1526
1604
|
],
|
|
1605
|
+
"audiences": [
|
|
1606
|
+
"working-adult",
|
|
1607
|
+
"general"
|
|
1608
|
+
],
|
|
1527
1609
|
"display": {
|
|
1528
1610
|
"ja": "確かめる一覧",
|
|
1529
1611
|
"en": "Checklist"
|
|
@@ -1536,6 +1618,13 @@ export const PACK = {
|
|
|
1536
1618
|
"model",
|
|
1537
1619
|
"spread"
|
|
1538
1620
|
],
|
|
1621
|
+
"subjects": [
|
|
1622
|
+
"statistics"
|
|
1623
|
+
],
|
|
1624
|
+
"audiences": [
|
|
1625
|
+
"high-school",
|
|
1626
|
+
"university"
|
|
1627
|
+
],
|
|
1539
1628
|
"display": {
|
|
1540
1629
|
"ja": "信頼区間の意味",
|
|
1541
1630
|
"en": "Confidence intervals"
|
|
@@ -1548,6 +1637,13 @@ export const PACK = {
|
|
|
1548
1637
|
"grouping",
|
|
1549
1638
|
"model"
|
|
1550
1639
|
],
|
|
1640
|
+
"subjects": [
|
|
1641
|
+
"informatics",
|
|
1642
|
+
"statistics"
|
|
1643
|
+
],
|
|
1644
|
+
"audiences": [
|
|
1645
|
+
"university"
|
|
1646
|
+
],
|
|
1551
1647
|
"display": {
|
|
1552
1648
|
"ja": "2 次元の分類",
|
|
1553
1649
|
"en": "2-D classification"
|
|
@@ -1560,6 +1656,13 @@ export const PACK = {
|
|
|
1560
1656
|
"process",
|
|
1561
1657
|
"model"
|
|
1562
1658
|
],
|
|
1659
|
+
"subjects": [
|
|
1660
|
+
"informatics"
|
|
1661
|
+
],
|
|
1662
|
+
"audiences": [
|
|
1663
|
+
"high-school",
|
|
1664
|
+
"university"
|
|
1665
|
+
],
|
|
1563
1666
|
"display": {
|
|
1564
1667
|
"ja": "コードの解説",
|
|
1565
1668
|
"en": "Code walkthrough"
|
|
@@ -1571,6 +1674,12 @@ export const PACK = {
|
|
|
1571
1674
|
"hierarchy",
|
|
1572
1675
|
"process"
|
|
1573
1676
|
],
|
|
1677
|
+
"subjects": [
|
|
1678
|
+
"informatics"
|
|
1679
|
+
],
|
|
1680
|
+
"audiences": [
|
|
1681
|
+
"high-school"
|
|
1682
|
+
],
|
|
1574
1683
|
"display": {
|
|
1575
1684
|
"ja": "ハフマン木",
|
|
1576
1685
|
"en": "Huffman tree"
|
|
@@ -1595,17 +1704,45 @@ export const PACK = {
|
|
|
1595
1704
|
"model",
|
|
1596
1705
|
"change"
|
|
1597
1706
|
],
|
|
1707
|
+
"subjects": [
|
|
1708
|
+
"mathematics",
|
|
1709
|
+
"informatics"
|
|
1710
|
+
],
|
|
1711
|
+
"audiences": [
|
|
1712
|
+
"university"
|
|
1713
|
+
],
|
|
1598
1714
|
"display": {
|
|
1599
1715
|
"ja": "等高線",
|
|
1600
1716
|
"en": "Contour plot"
|
|
1601
1717
|
}
|
|
1602
1718
|
},
|
|
1719
|
+
"m-contrast": {
|
|
1720
|
+
"tier": "specialized",
|
|
1721
|
+
"purposes": [
|
|
1722
|
+
"compare",
|
|
1723
|
+
"position"
|
|
1724
|
+
],
|
|
1725
|
+
"audiences": [
|
|
1726
|
+
"university",
|
|
1727
|
+
"working-adult"
|
|
1728
|
+
],
|
|
1729
|
+
"display": {
|
|
1730
|
+
"ja": "対比の図",
|
|
1731
|
+
"en": "Contrast figure"
|
|
1732
|
+
}
|
|
1733
|
+
},
|
|
1603
1734
|
"m-ctable": {
|
|
1604
1735
|
"tier": "specialized",
|
|
1605
1736
|
"purposes": [
|
|
1606
1737
|
"part-whole",
|
|
1607
1738
|
"cause-effect"
|
|
1608
1739
|
],
|
|
1740
|
+
"subjects": [
|
|
1741
|
+
"statistics"
|
|
1742
|
+
],
|
|
1743
|
+
"audiences": [
|
|
1744
|
+
"university"
|
|
1745
|
+
],
|
|
1609
1746
|
"display": {
|
|
1610
1747
|
"ja": "計算して埋まる表",
|
|
1611
1748
|
"en": "Computed table"
|
|
@@ -1630,6 +1767,10 @@ export const PACK = {
|
|
|
1630
1767
|
"deviation",
|
|
1631
1768
|
"compare"
|
|
1632
1769
|
],
|
|
1770
|
+
"subjects": [
|
|
1771
|
+
"business",
|
|
1772
|
+
"social-studies"
|
|
1773
|
+
],
|
|
1633
1774
|
"display": {
|
|
1634
1775
|
"ja": "ウォーターフォール",
|
|
1635
1776
|
"en": "Waterfall"
|
|
@@ -1654,6 +1795,13 @@ export const PACK = {
|
|
|
1654
1795
|
"model",
|
|
1655
1796
|
"compare"
|
|
1656
1797
|
],
|
|
1798
|
+
"subjects": [
|
|
1799
|
+
"informatics",
|
|
1800
|
+
"statistics"
|
|
1801
|
+
],
|
|
1802
|
+
"audiences": [
|
|
1803
|
+
"university"
|
|
1804
|
+
],
|
|
1657
1805
|
"display": {
|
|
1658
1806
|
"ja": "交差検証",
|
|
1659
1807
|
"en": "Cross-validation"
|
|
@@ -1664,6 +1812,13 @@ export const PACK = {
|
|
|
1664
1812
|
"set": "kokugo",
|
|
1665
1813
|
"purposes": [
|
|
1666
1814
|
"text-structure"
|
|
1815
|
+
],
|
|
1816
|
+
"subjects": [
|
|
1817
|
+
"japanese"
|
|
1818
|
+
],
|
|
1819
|
+
"audiences": [
|
|
1820
|
+
"primary-junior",
|
|
1821
|
+
"high-school"
|
|
1667
1822
|
]
|
|
1668
1823
|
},
|
|
1669
1824
|
"m-heatmap": {
|
|
@@ -1672,6 +1827,14 @@ export const PACK = {
|
|
|
1672
1827
|
"purposes": [
|
|
1673
1828
|
"compare",
|
|
1674
1829
|
"correlation"
|
|
1830
|
+
],
|
|
1831
|
+
"subjects": [
|
|
1832
|
+
"statistics",
|
|
1833
|
+
"informatics"
|
|
1834
|
+
],
|
|
1835
|
+
"audiences": [
|
|
1836
|
+
"high-school",
|
|
1837
|
+
"university"
|
|
1675
1838
|
]
|
|
1676
1839
|
},
|
|
1677
1840
|
"m-hissan": {
|
|
@@ -1679,6 +1842,12 @@ export const PACK = {
|
|
|
1679
1842
|
"set": "math",
|
|
1680
1843
|
"purposes": [
|
|
1681
1844
|
"process"
|
|
1845
|
+
],
|
|
1846
|
+
"subjects": [
|
|
1847
|
+
"mathematics"
|
|
1848
|
+
],
|
|
1849
|
+
"audiences": [
|
|
1850
|
+
"primary-junior"
|
|
1682
1851
|
]
|
|
1683
1852
|
},
|
|
1684
1853
|
"m-hist": {
|
|
@@ -1686,12 +1855,26 @@ export const PACK = {
|
|
|
1686
1855
|
"set": "stats",
|
|
1687
1856
|
"purposes": [
|
|
1688
1857
|
"spread"
|
|
1858
|
+
],
|
|
1859
|
+
"subjects": [
|
|
1860
|
+
"statistics",
|
|
1861
|
+
"mathematics"
|
|
1862
|
+
],
|
|
1863
|
+
"audiences": [
|
|
1864
|
+
"primary-junior",
|
|
1865
|
+
"high-school"
|
|
1689
1866
|
]
|
|
1690
1867
|
},
|
|
1691
1868
|
"m-kakijun": {
|
|
1692
1869
|
"tier": "extra",
|
|
1693
1870
|
"purposes": [
|
|
1694
1871
|
"process"
|
|
1872
|
+
],
|
|
1873
|
+
"subjects": [
|
|
1874
|
+
"japanese"
|
|
1875
|
+
],
|
|
1876
|
+
"audiences": [
|
|
1877
|
+
"primary-junior"
|
|
1695
1878
|
]
|
|
1696
1879
|
},
|
|
1697
1880
|
"m-kanbun": {
|
|
@@ -1699,6 +1882,12 @@ export const PACK = {
|
|
|
1699
1882
|
"set": "kokugo",
|
|
1700
1883
|
"purposes": [
|
|
1701
1884
|
"text-structure"
|
|
1885
|
+
],
|
|
1886
|
+
"subjects": [
|
|
1887
|
+
"japanese"
|
|
1888
|
+
],
|
|
1889
|
+
"audiences": [
|
|
1890
|
+
"high-school"
|
|
1702
1891
|
]
|
|
1703
1892
|
},
|
|
1704
1893
|
"m-keyboard": {
|
|
@@ -1706,6 +1895,12 @@ export const PACK = {
|
|
|
1706
1895
|
"set": "music",
|
|
1707
1896
|
"purposes": [
|
|
1708
1897
|
"music"
|
|
1898
|
+
],
|
|
1899
|
+
"subjects": [
|
|
1900
|
+
"music"
|
|
1901
|
+
],
|
|
1902
|
+
"audiences": [
|
|
1903
|
+
"primary-junior"
|
|
1709
1904
|
]
|
|
1710
1905
|
},
|
|
1711
1906
|
"m-kobun": {
|
|
@@ -1713,6 +1908,12 @@ export const PACK = {
|
|
|
1713
1908
|
"set": "kokugo",
|
|
1714
1909
|
"purposes": [
|
|
1715
1910
|
"text-structure"
|
|
1911
|
+
],
|
|
1912
|
+
"subjects": [
|
|
1913
|
+
"japanese"
|
|
1914
|
+
],
|
|
1915
|
+
"audiences": [
|
|
1916
|
+
"high-school"
|
|
1716
1917
|
]
|
|
1717
1918
|
},
|
|
1718
1919
|
"m-kpi": {
|
|
@@ -1726,6 +1927,13 @@ export const PACK = {
|
|
|
1726
1927
|
"set": "maps",
|
|
1727
1928
|
"purposes": [
|
|
1728
1929
|
"spatial"
|
|
1930
|
+
],
|
|
1931
|
+
"subjects": [
|
|
1932
|
+
"social-studies"
|
|
1933
|
+
],
|
|
1934
|
+
"audiences": [
|
|
1935
|
+
"primary-junior",
|
|
1936
|
+
"high-school"
|
|
1729
1937
|
]
|
|
1730
1938
|
},
|
|
1731
1939
|
"m-map-world": {
|
|
@@ -1733,6 +1941,13 @@ export const PACK = {
|
|
|
1733
1941
|
"set": "maps",
|
|
1734
1942
|
"purposes": [
|
|
1735
1943
|
"spatial"
|
|
1944
|
+
],
|
|
1945
|
+
"subjects": [
|
|
1946
|
+
"social-studies"
|
|
1947
|
+
],
|
|
1948
|
+
"audiences": [
|
|
1949
|
+
"primary-junior",
|
|
1950
|
+
"high-school"
|
|
1736
1951
|
]
|
|
1737
1952
|
},
|
|
1738
1953
|
"m-mapping": {
|
|
@@ -1742,6 +1957,14 @@ export const PACK = {
|
|
|
1742
1957
|
"model",
|
|
1743
1958
|
"grouping"
|
|
1744
1959
|
],
|
|
1960
|
+
"subjects": [
|
|
1961
|
+
"statistics",
|
|
1962
|
+
"mathematics"
|
|
1963
|
+
],
|
|
1964
|
+
"audiences": [
|
|
1965
|
+
"high-school",
|
|
1966
|
+
"university"
|
|
1967
|
+
],
|
|
1745
1968
|
"display": {
|
|
1746
1969
|
"ja": "確率変数の対応",
|
|
1747
1970
|
"en": "Random variable mapping"
|
|
@@ -1752,8 +1975,29 @@ export const PACK = {
|
|
|
1752
1975
|
"set": "business",
|
|
1753
1976
|
"purposes": [
|
|
1754
1977
|
"part-whole"
|
|
1978
|
+
],
|
|
1979
|
+
"subjects": [
|
|
1980
|
+
"business"
|
|
1981
|
+
],
|
|
1982
|
+
"audiences": [
|
|
1983
|
+
"working-adult"
|
|
1755
1984
|
]
|
|
1756
1985
|
},
|
|
1986
|
+
"m-matrix": {
|
|
1987
|
+
"tier": "specialized",
|
|
1988
|
+
"purposes": [
|
|
1989
|
+
"compare",
|
|
1990
|
+
"position"
|
|
1991
|
+
],
|
|
1992
|
+
"audiences": [
|
|
1993
|
+
"university",
|
|
1994
|
+
"working-adult"
|
|
1995
|
+
],
|
|
1996
|
+
"display": {
|
|
1997
|
+
"ja": "比較の行列",
|
|
1998
|
+
"en": "Comparison matrix"
|
|
1999
|
+
}
|
|
2000
|
+
},
|
|
1757
2001
|
"m-menu": {
|
|
1758
2002
|
"tier": "standard",
|
|
1759
2003
|
"purposes": [
|
|
@@ -1767,6 +2011,13 @@ export const PACK = {
|
|
|
1767
2011
|
"process",
|
|
1768
2012
|
"model"
|
|
1769
2013
|
],
|
|
2014
|
+
"subjects": [
|
|
2015
|
+
"informatics",
|
|
2016
|
+
"statistics"
|
|
2017
|
+
],
|
|
2018
|
+
"audiences": [
|
|
2019
|
+
"university"
|
|
2020
|
+
],
|
|
1770
2021
|
"display": {
|
|
1771
2022
|
"ja": "グラフの探索",
|
|
1772
2023
|
"en": "Graph search"
|
|
@@ -1779,6 +2030,12 @@ export const PACK = {
|
|
|
1779
2030
|
"model",
|
|
1780
2031
|
"process"
|
|
1781
2032
|
],
|
|
2033
|
+
"subjects": [
|
|
2034
|
+
"informatics"
|
|
2035
|
+
],
|
|
2036
|
+
"audiences": [
|
|
2037
|
+
"university"
|
|
2038
|
+
],
|
|
1782
2039
|
"display": {
|
|
1783
2040
|
"ja": "ニューラルネット",
|
|
1784
2041
|
"en": "Neural network"
|
|
@@ -1789,6 +2046,12 @@ export const PACK = {
|
|
|
1789
2046
|
"set": "math",
|
|
1790
2047
|
"purposes": [
|
|
1791
2048
|
"compare"
|
|
2049
|
+
],
|
|
2050
|
+
"subjects": [
|
|
2051
|
+
"mathematics"
|
|
2052
|
+
],
|
|
2053
|
+
"audiences": [
|
|
2054
|
+
"primary-junior"
|
|
1792
2055
|
]
|
|
1793
2056
|
},
|
|
1794
2057
|
"m-orbit": {
|
|
@@ -1797,6 +2060,13 @@ export const PACK = {
|
|
|
1797
2060
|
"purposes": [
|
|
1798
2061
|
"model",
|
|
1799
2062
|
"cycle"
|
|
2063
|
+
],
|
|
2064
|
+
"subjects": [
|
|
2065
|
+
"science"
|
|
2066
|
+
],
|
|
2067
|
+
"audiences": [
|
|
2068
|
+
"primary-junior",
|
|
2069
|
+
"high-school"
|
|
1800
2070
|
]
|
|
1801
2071
|
},
|
|
1802
2072
|
"m-particles": {
|
|
@@ -1807,6 +2077,13 @@ export const PACK = {
|
|
|
1807
2077
|
"process",
|
|
1808
2078
|
"compare"
|
|
1809
2079
|
],
|
|
2080
|
+
"subjects": [
|
|
2081
|
+
"science"
|
|
2082
|
+
],
|
|
2083
|
+
"audiences": [
|
|
2084
|
+
"primary-junior",
|
|
2085
|
+
"high-school"
|
|
2086
|
+
],
|
|
1810
2087
|
"display": {
|
|
1811
2088
|
"ja": "粒子のモデル",
|
|
1812
2089
|
"en": "Particle model"
|
|
@@ -1837,6 +2114,14 @@ export const PACK = {
|
|
|
1837
2114
|
"model",
|
|
1838
2115
|
"spread"
|
|
1839
2116
|
],
|
|
2117
|
+
"subjects": [
|
|
2118
|
+
"statistics",
|
|
2119
|
+
"mathematics"
|
|
2120
|
+
],
|
|
2121
|
+
"audiences": [
|
|
2122
|
+
"high-school",
|
|
2123
|
+
"university"
|
|
2124
|
+
],
|
|
1840
2125
|
"display": {
|
|
1841
2126
|
"ja": "標本抽出",
|
|
1842
2127
|
"en": "Sampling"
|
|
@@ -1853,13 +2138,37 @@ export const PACK = {
|
|
|
1853
2138
|
"set": "music",
|
|
1854
2139
|
"purposes": [
|
|
1855
2140
|
"music"
|
|
2141
|
+
],
|
|
2142
|
+
"subjects": [
|
|
2143
|
+
"music"
|
|
2144
|
+
],
|
|
2145
|
+
"audiences": [
|
|
2146
|
+
"primary-junior"
|
|
1856
2147
|
]
|
|
1857
2148
|
},
|
|
2149
|
+
"m-scroll": {
|
|
2150
|
+
"tier": "specialized",
|
|
2151
|
+
"set": "tools",
|
|
2152
|
+
"purposes": [
|
|
2153
|
+
"process",
|
|
2154
|
+
"timeline"
|
|
2155
|
+
],
|
|
2156
|
+
"display": {
|
|
2157
|
+
"ja": "縦に送る図",
|
|
2158
|
+
"en": "Scrolling figure"
|
|
2159
|
+
}
|
|
2160
|
+
},
|
|
1858
2161
|
"m-seq": {
|
|
1859
2162
|
"tier": "specialized",
|
|
1860
2163
|
"set": "stats",
|
|
1861
2164
|
"purposes": [
|
|
1862
2165
|
"spread"
|
|
2166
|
+
],
|
|
2167
|
+
"subjects": [
|
|
2168
|
+
"statistics"
|
|
2169
|
+
],
|
|
2170
|
+
"audiences": [
|
|
2171
|
+
"university"
|
|
1863
2172
|
]
|
|
1864
2173
|
},
|
|
1865
2174
|
"m-sweep": {
|
|
@@ -1867,6 +2176,9 @@ export const PACK = {
|
|
|
1867
2176
|
"set": "math",
|
|
1868
2177
|
"purposes": [
|
|
1869
2178
|
"parameter"
|
|
2179
|
+
],
|
|
2180
|
+
"subjects": [
|
|
2181
|
+
"mathematics"
|
|
1870
2182
|
]
|
|
1871
2183
|
},
|
|
1872
2184
|
"m-syntax": {
|
|
@@ -1874,6 +2186,13 @@ export const PACK = {
|
|
|
1874
2186
|
"set": "english",
|
|
1875
2187
|
"purposes": [
|
|
1876
2188
|
"text-structure"
|
|
2189
|
+
],
|
|
2190
|
+
"subjects": [
|
|
2191
|
+
"english"
|
|
2192
|
+
],
|
|
2193
|
+
"audiences": [
|
|
2194
|
+
"primary-junior",
|
|
2195
|
+
"high-school"
|
|
1877
2196
|
]
|
|
1878
2197
|
},
|
|
1879
2198
|
"m-tape": {
|
|
@@ -1882,6 +2201,12 @@ export const PACK = {
|
|
|
1882
2201
|
"purposes": [
|
|
1883
2202
|
"part-whole",
|
|
1884
2203
|
"compare"
|
|
2204
|
+
],
|
|
2205
|
+
"subjects": [
|
|
2206
|
+
"mathematics"
|
|
2207
|
+
],
|
|
2208
|
+
"audiences": [
|
|
2209
|
+
"primary-junior"
|
|
1885
2210
|
]
|
|
1886
2211
|
},
|
|
1887
2212
|
"m-timeline": {
|
|
@@ -1906,8 +2231,13 @@ export const PACK = {
|
|
|
1906
2231
|
"m-vector": {
|
|
1907
2232
|
"tier": "specialized",
|
|
1908
2233
|
"purposes": [
|
|
1909
|
-
"model"
|
|
1910
|
-
|
|
2234
|
+
"model"
|
|
2235
|
+
],
|
|
2236
|
+
"subjects": [
|
|
2237
|
+
"mathematics"
|
|
2238
|
+
],
|
|
2239
|
+
"audiences": [
|
|
2240
|
+
"university"
|
|
1911
2241
|
],
|
|
1912
2242
|
"display": {
|
|
1913
2243
|
"ja": "ベクトルと行列",
|
|
@@ -1927,7 +2257,8 @@ export const PACK = {
|
|
|
1927
2257
|
"label": {
|
|
1928
2258
|
"ja": "比べる(量・特徴)",
|
|
1929
2259
|
"en": "Compare (amounts, features)"
|
|
1930
|
-
}
|
|
2260
|
+
},
|
|
2261
|
+
"tile": "own"
|
|
1931
2262
|
},
|
|
1932
2263
|
{
|
|
1933
2264
|
"id": "ranking",
|
|
@@ -1942,162 +2273,661 @@ export const PACK = {
|
|
|
1942
2273
|
"label": {
|
|
1943
2274
|
"ja": "変化",
|
|
1944
2275
|
"en": "Change"
|
|
1945
|
-
}
|
|
2276
|
+
},
|
|
2277
|
+
"tile": "own"
|
|
1946
2278
|
},
|
|
1947
2279
|
{
|
|
1948
2280
|
"id": "part-whole",
|
|
1949
2281
|
"label": {
|
|
1950
2282
|
"ja": "内訳",
|
|
1951
2283
|
"en": "Part of a whole"
|
|
1952
|
-
}
|
|
2284
|
+
},
|
|
2285
|
+
"tile": "own"
|
|
1953
2286
|
},
|
|
1954
2287
|
{
|
|
1955
2288
|
"id": "key-number",
|
|
1956
2289
|
"label": {
|
|
1957
2290
|
"ja": "数字を見せる",
|
|
1958
2291
|
"en": "Key number"
|
|
1959
|
-
}
|
|
2292
|
+
},
|
|
2293
|
+
"tile": "own"
|
|
1960
2294
|
},
|
|
1961
2295
|
{
|
|
1962
2296
|
"id": "process",
|
|
1963
2297
|
"label": {
|
|
1964
2298
|
"ja": "手順",
|
|
1965
2299
|
"en": "Steps"
|
|
1966
|
-
}
|
|
2300
|
+
},
|
|
2301
|
+
"tile": "own"
|
|
1967
2302
|
},
|
|
1968
2303
|
{
|
|
1969
2304
|
"id": "timeline",
|
|
1970
2305
|
"label": {
|
|
1971
2306
|
"ja": "年表・予定",
|
|
1972
2307
|
"en": "Timeline"
|
|
1973
|
-
}
|
|
2308
|
+
},
|
|
2309
|
+
"tile": "own"
|
|
1974
2310
|
},
|
|
1975
2311
|
{
|
|
1976
2312
|
"id": "cause-effect",
|
|
1977
2313
|
"label": {
|
|
1978
2314
|
"ja": "原因と結果",
|
|
1979
2315
|
"en": "Cause and effect"
|
|
1980
|
-
}
|
|
2316
|
+
},
|
|
2317
|
+
"tile": "own"
|
|
1981
2318
|
},
|
|
1982
2319
|
{
|
|
1983
2320
|
"id": "cycle",
|
|
1984
2321
|
"label": {
|
|
1985
2322
|
"ja": "循環",
|
|
1986
2323
|
"en": "Cycle"
|
|
1987
|
-
}
|
|
2324
|
+
},
|
|
2325
|
+
"tile": "own"
|
|
1988
2326
|
},
|
|
1989
2327
|
{
|
|
1990
2328
|
"id": "hierarchy",
|
|
1991
2329
|
"label": {
|
|
1992
2330
|
"ja": "階層・分類",
|
|
1993
2331
|
"en": "Hierarchy"
|
|
1994
|
-
}
|
|
2332
|
+
},
|
|
2333
|
+
"tile": "own"
|
|
1995
2334
|
},
|
|
1996
2335
|
{
|
|
1997
2336
|
"id": "position",
|
|
1998
2337
|
"label": {
|
|
1999
2338
|
"ja": "位置づけ",
|
|
2000
2339
|
"en": "Position"
|
|
2001
|
-
}
|
|
2340
|
+
},
|
|
2341
|
+
"tile": "own"
|
|
2002
2342
|
},
|
|
2003
2343
|
{
|
|
2004
2344
|
"id": "overlap",
|
|
2005
2345
|
"label": {
|
|
2006
2346
|
"ja": "重なり",
|
|
2007
2347
|
"en": "Overlap"
|
|
2008
|
-
}
|
|
2348
|
+
},
|
|
2349
|
+
"tile": "own"
|
|
2009
2350
|
},
|
|
2010
2351
|
{
|
|
2011
2352
|
"id": "correlation",
|
|
2012
2353
|
"label": {
|
|
2013
2354
|
"ja": "2 つの量の関係",
|
|
2014
2355
|
"en": "Two quantities"
|
|
2015
|
-
}
|
|
2356
|
+
},
|
|
2357
|
+
"tile": "own"
|
|
2016
2358
|
},
|
|
2017
2359
|
{
|
|
2018
2360
|
"id": "spread",
|
|
2019
2361
|
"label": {
|
|
2020
2362
|
"ja": "ばらつき",
|
|
2021
2363
|
"en": "Spread"
|
|
2022
|
-
}
|
|
2364
|
+
},
|
|
2365
|
+
"tile": "own"
|
|
2023
2366
|
},
|
|
2024
2367
|
{
|
|
2025
2368
|
"id": "grouping",
|
|
2026
2369
|
"label": {
|
|
2027
2370
|
"ja": "まとめる・分ける",
|
|
2028
2371
|
"en": "Grouping"
|
|
2029
|
-
}
|
|
2372
|
+
},
|
|
2373
|
+
"tile": "none"
|
|
2030
2374
|
},
|
|
2031
2375
|
{
|
|
2032
2376
|
"id": "text-structure",
|
|
2033
2377
|
"label": {
|
|
2034
2378
|
"ja": "文章の構造",
|
|
2035
2379
|
"en": "Structure of a text"
|
|
2036
|
-
}
|
|
2380
|
+
},
|
|
2381
|
+
"tile": "none"
|
|
2037
2382
|
},
|
|
2038
2383
|
{
|
|
2039
2384
|
"id": "contents",
|
|
2040
2385
|
"label": {
|
|
2041
2386
|
"ja": "目次",
|
|
2042
2387
|
"en": "Contents"
|
|
2043
|
-
}
|
|
2388
|
+
},
|
|
2389
|
+
"tile": "own"
|
|
2044
2390
|
},
|
|
2045
2391
|
{
|
|
2046
2392
|
"id": "parameter",
|
|
2047
2393
|
"label": {
|
|
2048
2394
|
"ja": "パラメータを動かす",
|
|
2049
2395
|
"en": "Varying a parameter"
|
|
2050
|
-
}
|
|
2396
|
+
},
|
|
2397
|
+
"tile": "none"
|
|
2051
2398
|
},
|
|
2052
2399
|
{
|
|
2053
2400
|
"id": "predict",
|
|
2054
2401
|
"label": {
|
|
2055
2402
|
"ja": "予想して確かめる",
|
|
2056
2403
|
"en": "Predict, then check"
|
|
2057
|
-
}
|
|
2404
|
+
},
|
|
2405
|
+
"tile": "own"
|
|
2058
2406
|
},
|
|
2059
2407
|
{
|
|
2060
2408
|
"id": "timebox",
|
|
2061
2409
|
"label": {
|
|
2062
2410
|
"ja": "時間を区切る",
|
|
2063
2411
|
"en": "Time-boxing"
|
|
2064
|
-
}
|
|
2412
|
+
},
|
|
2413
|
+
"tile": "none"
|
|
2065
2414
|
},
|
|
2066
2415
|
{
|
|
2067
2416
|
"id": "spatial",
|
|
2068
2417
|
"label": {
|
|
2069
2418
|
"ja": "場所・地図",
|
|
2070
2419
|
"en": "Place / map"
|
|
2071
|
-
}
|
|
2420
|
+
},
|
|
2421
|
+
"tile": "own"
|
|
2072
2422
|
},
|
|
2073
2423
|
{
|
|
2074
2424
|
"id": "music",
|
|
2075
2425
|
"label": {
|
|
2076
2426
|
"ja": "音楽(音の高さ・和音・リズム)",
|
|
2077
2427
|
"en": "Music (pitch, chords, rhythm)"
|
|
2078
|
-
}
|
|
2428
|
+
},
|
|
2429
|
+
"tile": "none"
|
|
2079
2430
|
},
|
|
2080
2431
|
{
|
|
2081
2432
|
"id": "model",
|
|
2082
2433
|
"label": {
|
|
2083
2434
|
"ja": "仕組みをモデルで見る",
|
|
2084
2435
|
"en": "How it works (a model)"
|
|
2085
|
-
}
|
|
2436
|
+
},
|
|
2437
|
+
"tile": "none"
|
|
2086
2438
|
},
|
|
2087
2439
|
{
|
|
2088
2440
|
"id": "deviation",
|
|
2089
2441
|
"label": {
|
|
2090
2442
|
"ja": "差・増減",
|
|
2091
2443
|
"en": "Increase / decrease"
|
|
2092
|
-
}
|
|
2444
|
+
},
|
|
2445
|
+
"tile": "own"
|
|
2093
2446
|
},
|
|
2094
2447
|
{
|
|
2095
2448
|
"id": "concept-links",
|
|
2096
2449
|
"label": {
|
|
2097
2450
|
"ja": "概念のつながり",
|
|
2098
2451
|
"en": "Concept links"
|
|
2452
|
+
},
|
|
2453
|
+
"reserved": true
|
|
2454
|
+
}
|
|
2455
|
+
],
|
|
2456
|
+
"subjects": [
|
|
2457
|
+
{
|
|
2458
|
+
"id": "statistics",
|
|
2459
|
+
"label": {
|
|
2460
|
+
"ja": "統計",
|
|
2461
|
+
"en": "Statistics"
|
|
2462
|
+
},
|
|
2463
|
+
"keywords": {
|
|
2464
|
+
"ja": [
|
|
2465
|
+
"分布",
|
|
2466
|
+
"統計",
|
|
2467
|
+
"データ",
|
|
2468
|
+
"ヒストグラム",
|
|
2469
|
+
"箱ひげ",
|
|
2470
|
+
"相関",
|
|
2471
|
+
"ベイズ",
|
|
2472
|
+
"推定",
|
|
2473
|
+
"検定",
|
|
2474
|
+
"交差検証",
|
|
2475
|
+
"信頼区間",
|
|
2476
|
+
"標本抽出",
|
|
2477
|
+
"確率変数",
|
|
2478
|
+
"期待値",
|
|
2479
|
+
"グラフィカルモデル",
|
|
2480
|
+
"パス図",
|
|
2481
|
+
"構造方程式",
|
|
2482
|
+
"ベイジアンネットワーク",
|
|
2483
|
+
"隠れマルコフ",
|
|
2484
|
+
"マルコフ連鎖",
|
|
2485
|
+
"因果ダイアグラム"
|
|
2486
|
+
],
|
|
2487
|
+
"en": [
|
|
2488
|
+
"distribution",
|
|
2489
|
+
"distributions",
|
|
2490
|
+
"statistics",
|
|
2491
|
+
"statistical",
|
|
2492
|
+
"data",
|
|
2493
|
+
"histogram",
|
|
2494
|
+
"histograms",
|
|
2495
|
+
"box plot",
|
|
2496
|
+
"box plots",
|
|
2497
|
+
"correlation",
|
|
2498
|
+
"Bayes",
|
|
2499
|
+
"Bayesian",
|
|
2500
|
+
"estimation",
|
|
2501
|
+
"hypothesis test",
|
|
2502
|
+
"hypothesis testing",
|
|
2503
|
+
"cross-validation",
|
|
2504
|
+
"confidence interval",
|
|
2505
|
+
"confidence intervals",
|
|
2506
|
+
"sampling",
|
|
2507
|
+
"random variable",
|
|
2508
|
+
"random variables",
|
|
2509
|
+
"expected value",
|
|
2510
|
+
"graphical model",
|
|
2511
|
+
"path diagram",
|
|
2512
|
+
"structural equation",
|
|
2513
|
+
"Bayesian network",
|
|
2514
|
+
"hidden Markov",
|
|
2515
|
+
"Markov chain",
|
|
2516
|
+
"causal diagram"
|
|
2517
|
+
]
|
|
2099
2518
|
}
|
|
2519
|
+
},
|
|
2520
|
+
{
|
|
2521
|
+
"id": "mathematics",
|
|
2522
|
+
"label": {
|
|
2523
|
+
"ja": "数学",
|
|
2524
|
+
"en": "Mathematics"
|
|
2525
|
+
},
|
|
2526
|
+
"keywords": {
|
|
2527
|
+
"ja": [
|
|
2528
|
+
"数学",
|
|
2529
|
+
"算数",
|
|
2530
|
+
"筆算",
|
|
2531
|
+
"わり算",
|
|
2532
|
+
"割り算",
|
|
2533
|
+
"かけ算",
|
|
2534
|
+
"掛け算",
|
|
2535
|
+
"分数",
|
|
2536
|
+
"割合",
|
|
2537
|
+
"数直線",
|
|
2538
|
+
"テープ図",
|
|
2539
|
+
"関数",
|
|
2540
|
+
"ベクトル",
|
|
2541
|
+
"行列"
|
|
2542
|
+
],
|
|
2543
|
+
"en": [
|
|
2544
|
+
"mathematics",
|
|
2545
|
+
"math",
|
|
2546
|
+
"maths",
|
|
2547
|
+
"arithmetic",
|
|
2548
|
+
"long division",
|
|
2549
|
+
"column addition",
|
|
2550
|
+
"multiplication",
|
|
2551
|
+
"division",
|
|
2552
|
+
"fraction",
|
|
2553
|
+
"fractions",
|
|
2554
|
+
"ratio",
|
|
2555
|
+
"ratios",
|
|
2556
|
+
"percentage",
|
|
2557
|
+
"percentages",
|
|
2558
|
+
"number line",
|
|
2559
|
+
"tape diagram",
|
|
2560
|
+
"function",
|
|
2561
|
+
"functions",
|
|
2562
|
+
"vector",
|
|
2563
|
+
"vectors",
|
|
2564
|
+
"matrix",
|
|
2565
|
+
"matrices"
|
|
2566
|
+
]
|
|
2567
|
+
}
|
|
2568
|
+
},
|
|
2569
|
+
{
|
|
2570
|
+
"id": "informatics",
|
|
2571
|
+
"label": {
|
|
2572
|
+
"ja": "情報",
|
|
2573
|
+
"en": "Informatics"
|
|
2574
|
+
},
|
|
2575
|
+
"keywords": {
|
|
2576
|
+
"ja": [
|
|
2577
|
+
"情報I",
|
|
2578
|
+
"情報Ⅰ",
|
|
2579
|
+
"プログラミング",
|
|
2580
|
+
"アルゴリズム",
|
|
2581
|
+
"最短経路",
|
|
2582
|
+
"巡回セールスマン",
|
|
2583
|
+
"グラフ理論",
|
|
2584
|
+
"グラフの探索",
|
|
2585
|
+
"幅優先",
|
|
2586
|
+
"ダイクストラ",
|
|
2587
|
+
"機械学習",
|
|
2588
|
+
"ニューラルネット",
|
|
2589
|
+
"パーセプトロン",
|
|
2590
|
+
"深層学習",
|
|
2591
|
+
"ディープラーニング",
|
|
2592
|
+
"活性化関数",
|
|
2593
|
+
"勾配降下",
|
|
2594
|
+
"ロジスティック回帰",
|
|
2595
|
+
"サポートベクター",
|
|
2596
|
+
"SVM",
|
|
2597
|
+
"決定木",
|
|
2598
|
+
"k 平均",
|
|
2599
|
+
"k平均",
|
|
2600
|
+
"k-means",
|
|
2601
|
+
"近傍法",
|
|
2602
|
+
"損失関数",
|
|
2603
|
+
"分類器",
|
|
2604
|
+
"scikit-learn"
|
|
2605
|
+
],
|
|
2606
|
+
"en": [
|
|
2607
|
+
"programming",
|
|
2608
|
+
"computer science",
|
|
2609
|
+
"algorithm",
|
|
2610
|
+
"algorithms",
|
|
2611
|
+
"graph search",
|
|
2612
|
+
"graph theory",
|
|
2613
|
+
"breadth-first search",
|
|
2614
|
+
"BFS",
|
|
2615
|
+
"shortest path",
|
|
2616
|
+
"traveling salesman",
|
|
2617
|
+
"TSP",
|
|
2618
|
+
"Dijkstra",
|
|
2619
|
+
"machine learning",
|
|
2620
|
+
"neural network",
|
|
2621
|
+
"neural networks",
|
|
2622
|
+
"perceptron",
|
|
2623
|
+
"deep learning",
|
|
2624
|
+
"activation function",
|
|
2625
|
+
"gradient descent",
|
|
2626
|
+
"logistic regression",
|
|
2627
|
+
"support vector",
|
|
2628
|
+
"SVM",
|
|
2629
|
+
"decision tree",
|
|
2630
|
+
"decision trees",
|
|
2631
|
+
"k-means",
|
|
2632
|
+
"nearest neighbor",
|
|
2633
|
+
"nearest neighbors",
|
|
2634
|
+
"loss function",
|
|
2635
|
+
"classifier",
|
|
2636
|
+
"classifiers",
|
|
2637
|
+
"scikit-learn"
|
|
2638
|
+
]
|
|
2639
|
+
}
|
|
2640
|
+
},
|
|
2641
|
+
{
|
|
2642
|
+
"id": "science",
|
|
2643
|
+
"label": {
|
|
2644
|
+
"ja": "理科",
|
|
2645
|
+
"en": "Science"
|
|
2646
|
+
},
|
|
2647
|
+
"keywords": {
|
|
2648
|
+
"ja": [
|
|
2649
|
+
"理科",
|
|
2650
|
+
"月の満ち欠け",
|
|
2651
|
+
"天体",
|
|
2652
|
+
"惑星",
|
|
2653
|
+
"粒子",
|
|
2654
|
+
"物理",
|
|
2655
|
+
"化学"
|
|
2656
|
+
],
|
|
2657
|
+
"en": [
|
|
2658
|
+
"science",
|
|
2659
|
+
"physics",
|
|
2660
|
+
"chemistry",
|
|
2661
|
+
"phases of the moon",
|
|
2662
|
+
"moon phases",
|
|
2663
|
+
"planet",
|
|
2664
|
+
"planets",
|
|
2665
|
+
"particle",
|
|
2666
|
+
"particles"
|
|
2667
|
+
]
|
|
2668
|
+
}
|
|
2669
|
+
},
|
|
2670
|
+
{
|
|
2671
|
+
"id": "social-studies",
|
|
2672
|
+
"label": {
|
|
2673
|
+
"ja": "社会",
|
|
2674
|
+
"en": "Social studies"
|
|
2675
|
+
},
|
|
2676
|
+
"keywords": {
|
|
2677
|
+
"ja": [
|
|
2678
|
+
"地図",
|
|
2679
|
+
"都道府県",
|
|
2680
|
+
"地方",
|
|
2681
|
+
"世界",
|
|
2682
|
+
{
|
|
2683
|
+
"w": "国",
|
|
2684
|
+
"not": [
|
|
2685
|
+
"国語"
|
|
2686
|
+
]
|
|
2687
|
+
},
|
|
2688
|
+
"人口",
|
|
2689
|
+
"地域",
|
|
2690
|
+
"地理",
|
|
2691
|
+
"歴史"
|
|
2692
|
+
],
|
|
2693
|
+
"en": [
|
|
2694
|
+
"map",
|
|
2695
|
+
"maps",
|
|
2696
|
+
"prefecture",
|
|
2697
|
+
"prefectures",
|
|
2698
|
+
"region",
|
|
2699
|
+
"regions",
|
|
2700
|
+
"world",
|
|
2701
|
+
"country",
|
|
2702
|
+
"countries",
|
|
2703
|
+
"population",
|
|
2704
|
+
"geography",
|
|
2705
|
+
"history"
|
|
2706
|
+
]
|
|
2707
|
+
}
|
|
2708
|
+
},
|
|
2709
|
+
{
|
|
2710
|
+
"id": "japanese",
|
|
2711
|
+
"label": {
|
|
2712
|
+
"ja": "国語",
|
|
2713
|
+
"en": "Japanese"
|
|
2714
|
+
},
|
|
2715
|
+
"keywords": {
|
|
2716
|
+
"ja": [
|
|
2717
|
+
"国語",
|
|
2718
|
+
"漢文",
|
|
2719
|
+
"漢詩",
|
|
2720
|
+
"古文",
|
|
2721
|
+
"現代文",
|
|
2722
|
+
"評論",
|
|
2723
|
+
"小説",
|
|
2724
|
+
"書き順",
|
|
2725
|
+
"ひらがな"
|
|
2726
|
+
],
|
|
2727
|
+
"en": [
|
|
2728
|
+
"kanbun",
|
|
2729
|
+
"kobun",
|
|
2730
|
+
"kanshi",
|
|
2731
|
+
"classical Japanese",
|
|
2732
|
+
"classical Chinese",
|
|
2733
|
+
"stroke order",
|
|
2734
|
+
"hiragana",
|
|
2735
|
+
"katakana",
|
|
2736
|
+
"kanji"
|
|
2737
|
+
]
|
|
2738
|
+
}
|
|
2739
|
+
},
|
|
2740
|
+
{
|
|
2741
|
+
"id": "english",
|
|
2742
|
+
"label": {
|
|
2743
|
+
"ja": "英語",
|
|
2744
|
+
"en": "English"
|
|
2745
|
+
},
|
|
2746
|
+
"keywords": {
|
|
2747
|
+
"ja": [
|
|
2748
|
+
"英文",
|
|
2749
|
+
"文型",
|
|
2750
|
+
"英語",
|
|
2751
|
+
{
|
|
2752
|
+
"w": "句",
|
|
2753
|
+
"not": [
|
|
2754
|
+
"俳句",
|
|
2755
|
+
"語句",
|
|
2756
|
+
"文句",
|
|
2757
|
+
"句読点"
|
|
2758
|
+
]
|
|
2759
|
+
},
|
|
2760
|
+
{
|
|
2761
|
+
"w": "節",
|
|
2762
|
+
"not": [
|
|
2763
|
+
"季節",
|
|
2764
|
+
"関節",
|
|
2765
|
+
"節約",
|
|
2766
|
+
"節分",
|
|
2767
|
+
"調節"
|
|
2768
|
+
]
|
|
2769
|
+
},
|
|
2770
|
+
"関係詞"
|
|
2771
|
+
],
|
|
2772
|
+
"en": [
|
|
2773
|
+
"English grammar",
|
|
2774
|
+
"sentence structure",
|
|
2775
|
+
"sentence pattern",
|
|
2776
|
+
"sentence patterns",
|
|
2777
|
+
"phrase",
|
|
2778
|
+
"phrases",
|
|
2779
|
+
"clause",
|
|
2780
|
+
"clauses",
|
|
2781
|
+
"relative pronoun",
|
|
2782
|
+
"relative pronouns"
|
|
2783
|
+
]
|
|
2784
|
+
}
|
|
2785
|
+
},
|
|
2786
|
+
{
|
|
2787
|
+
"id": "music",
|
|
2788
|
+
"label": {
|
|
2789
|
+
"ja": "音楽",
|
|
2790
|
+
"en": "Music"
|
|
2791
|
+
},
|
|
2792
|
+
"keywords": {
|
|
2793
|
+
"ja": [
|
|
2794
|
+
"音楽",
|
|
2795
|
+
"音階",
|
|
2796
|
+
"和音",
|
|
2797
|
+
{
|
|
2798
|
+
"w": "コード",
|
|
2799
|
+
"not": [
|
|
2800
|
+
"ソースコード",
|
|
2801
|
+
"バーコード",
|
|
2802
|
+
"QRコード",
|
|
2803
|
+
"コーディング"
|
|
2804
|
+
]
|
|
2805
|
+
},
|
|
2806
|
+
"鍵盤",
|
|
2807
|
+
"楽譜"
|
|
2808
|
+
],
|
|
2809
|
+
"en": [
|
|
2810
|
+
"music",
|
|
2811
|
+
"musical scale",
|
|
2812
|
+
"major scale",
|
|
2813
|
+
"minor scale",
|
|
2814
|
+
"chord",
|
|
2815
|
+
"chords",
|
|
2816
|
+
"keyboard",
|
|
2817
|
+
"piano",
|
|
2818
|
+
"sheet music",
|
|
2819
|
+
"musical score"
|
|
2820
|
+
]
|
|
2821
|
+
}
|
|
2822
|
+
},
|
|
2823
|
+
{
|
|
2824
|
+
"id": "business",
|
|
2825
|
+
"label": {
|
|
2826
|
+
"ja": "経営",
|
|
2827
|
+
"en": "Business"
|
|
2828
|
+
},
|
|
2829
|
+
"keywords": {
|
|
2830
|
+
"ja": [
|
|
2831
|
+
"市場",
|
|
2832
|
+
"KPI",
|
|
2833
|
+
"売上",
|
|
2834
|
+
"事業",
|
|
2835
|
+
"ピッチ",
|
|
2836
|
+
"経営"
|
|
2837
|
+
],
|
|
2838
|
+
"en": [
|
|
2839
|
+
"market",
|
|
2840
|
+
"markets",
|
|
2841
|
+
"KPI",
|
|
2842
|
+
"KPIs",
|
|
2843
|
+
"sales",
|
|
2844
|
+
"revenue",
|
|
2845
|
+
"business",
|
|
2846
|
+
"pitch"
|
|
2847
|
+
]
|
|
2848
|
+
}
|
|
2849
|
+
},
|
|
2850
|
+
{
|
|
2851
|
+
"id": "medicine",
|
|
2852
|
+
"label": {
|
|
2853
|
+
"ja": "医療",
|
|
2854
|
+
"en": "Medicine"
|
|
2855
|
+
},
|
|
2856
|
+
"reserved": true
|
|
2857
|
+
},
|
|
2858
|
+
{
|
|
2859
|
+
"id": "disaster",
|
|
2860
|
+
"label": {
|
|
2861
|
+
"ja": "防災",
|
|
2862
|
+
"en": "Disaster preparedness"
|
|
2863
|
+
},
|
|
2864
|
+
"reserved": true
|
|
2100
2865
|
}
|
|
2101
|
-
]
|
|
2866
|
+
],
|
|
2867
|
+
"audiences": [
|
|
2868
|
+
{
|
|
2869
|
+
"id": "primary-junior",
|
|
2870
|
+
"label": {
|
|
2871
|
+
"ja": "小中",
|
|
2872
|
+
"en": "Primary and junior high"
|
|
2873
|
+
}
|
|
2874
|
+
},
|
|
2875
|
+
{
|
|
2876
|
+
"id": "high-school",
|
|
2877
|
+
"label": {
|
|
2878
|
+
"ja": "高校",
|
|
2879
|
+
"en": "High school"
|
|
2880
|
+
}
|
|
2881
|
+
},
|
|
2882
|
+
{
|
|
2883
|
+
"id": "university",
|
|
2884
|
+
"label": {
|
|
2885
|
+
"ja": "大学",
|
|
2886
|
+
"en": "University"
|
|
2887
|
+
}
|
|
2888
|
+
},
|
|
2889
|
+
{
|
|
2890
|
+
"id": "working-adult",
|
|
2891
|
+
"label": {
|
|
2892
|
+
"ja": "社会人",
|
|
2893
|
+
"en": "Working adults"
|
|
2894
|
+
}
|
|
2895
|
+
},
|
|
2896
|
+
{
|
|
2897
|
+
"id": "general",
|
|
2898
|
+
"label": {
|
|
2899
|
+
"ja": "一般",
|
|
2900
|
+
"en": "General public"
|
|
2901
|
+
}
|
|
2902
|
+
}
|
|
2903
|
+
],
|
|
2904
|
+
"usage": {
|
|
2905
|
+
"m-bars": 12,
|
|
2906
|
+
"m-cards": 11,
|
|
2907
|
+
"m-classify2d": 1,
|
|
2908
|
+
"m-compare": 3,
|
|
2909
|
+
"m-contour": 1,
|
|
2910
|
+
"m-curves": 3,
|
|
2911
|
+
"m-flow": 9,
|
|
2912
|
+
"m-folds": 1,
|
|
2913
|
+
"m-gendai": 2,
|
|
2914
|
+
"m-kanbun": 1,
|
|
2915
|
+
"m-keyboard": 1,
|
|
2916
|
+
"m-kobun": 1,
|
|
2917
|
+
"m-kpi": 6,
|
|
2918
|
+
"m-map-japan": 1,
|
|
2919
|
+
"m-market": 1,
|
|
2920
|
+
"m-menu": 1,
|
|
2921
|
+
"m-orbit": 1,
|
|
2922
|
+
"m-pie": 3,
|
|
2923
|
+
"m-predict": 7,
|
|
2924
|
+
"m-quad": 1,
|
|
2925
|
+
"m-score": 1,
|
|
2926
|
+
"m-sweep": 3,
|
|
2927
|
+
"m-syntax": 1,
|
|
2928
|
+
"m-timeline": 1,
|
|
2929
|
+
"m-tree": 1,
|
|
2930
|
+
"m-vector": 1
|
|
2931
|
+
}
|
|
2102
2932
|
}
|
|
2103
2933
|
};
|