@lincyaw/skills 1.0.0-rc.2 → 1.0.0-rc.21

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.
Files changed (38) hide show
  1. package/README.md +1 -1
  2. package/package.json +2 -3
  3. package/skills/index.json +9 -18
  4. package/skills/presmium-animate/SKILL.md +4 -2
  5. package/skills/presmium-animate/gallery/algorithms/lecture.json +171 -115
  6. package/skills/presmium-animate/gallery/anime/scenes/kmeans-seeded.ts +2 -1
  7. package/skills/presmium-animate/gallery/craft/lecture.json +109 -57
  8. package/skills/presmium-animate/gallery/data/lecture.json +711 -175
  9. package/skills/presmium-animate/gallery/emphasis/lecture.json +321 -79
  10. package/skills/presmium-animate/gallery/films/lecture.json +36 -10
  11. package/skills/presmium-animate/gallery/lengths/lecture.json +23 -88
  12. package/skills/presmium-animate/gallery/math-ml/lecture.json +238 -159
  13. package/skills/presmium-animate/gallery/paths-3d/lecture.json +74 -64
  14. package/skills/presmium-animate/gallery/product/lecture.json +27 -3
  15. package/skills/presmium-animate/gallery/story/lecture.json +23 -90
  16. package/skills/presmium-animate/gallery/structure/lecture.json +104 -65
  17. package/skills/presmium-animate/gallery/text/lecture.json +115 -63
  18. package/skills/presmium-animate/gallery/timeline/lecture.json +106 -187
  19. package/skills/presmium-animate/gallery/timeline/scenes/bubble.ts +1 -1
  20. package/skills/presmium-animate/gallery/transitions/lecture.json +103 -52
  21. package/skills/presmium-animate/references/lengths.md +1 -1
  22. package/skills/presmium-animate/references/libraries.md +12 -6
  23. package/skills/presmium-animate/references/procedural.md +1 -0
  24. package/skills/presmium-animate/references/story.md +21 -7
  25. package/skills/presmium-animate/references/team.md +176 -0
  26. package/skills/presmium-author/SKILL.md +53 -19
  27. package/skills/presmium-author/references/assistance.md +3 -1
  28. package/skills/{presmium-present → presmium-author}/references/classroom.md +2 -2
  29. package/skills/presmium-author/references/document.md +1 -1
  30. package/skills/{presmium-present → presmium-author}/references/lecture.md +3 -1
  31. package/skills/presmium-author/references/publishing.md +161 -13
  32. package/skills/presmium-author/references/writing.md +170 -7
  33. package/src/cli.ts +4 -4
  34. package/src/install.ts +42 -5
  35. package/src/messages.ts +5 -5
  36. package/src/resources.ts +5 -4
  37. package/skills/presmium-present/SKILL.md +0 -35
  38. package/skills/presmium-present/references/delivery.md +0 -122
@@ -375,13 +375,23 @@
375
375
  "id": "motion--intro",
376
376
  "type": "text",
377
377
  "content": [
378
+ {
379
+ "id": "motion--intro--claim",
380
+ "type": "paragraph",
381
+ "children": [
382
+ {
383
+ "type": "text",
384
+ "text": "强调把读者的注意力引到画面的一处。本文的效果遵循两条做法:一次只留一个焦点,新的强调出现时,旧的退到后面;先做出指向的动作(圈画、照亮、抖动),再让结果跟上(变色、其余变暗、说明文字出现)。"
385
+ }
386
+ ]
387
+ },
378
388
  {
379
389
  "id": "motion--intro--p",
380
390
  "type": "paragraph",
381
391
  "children": [
382
392
  {
383
393
  "type": "text",
384
- "text": "弹跳、抖动、脉冲与景深。"
394
+ "text": "第一组用动效强调:弹跳、抖动、脉冲与景深。"
385
395
  }
386
396
  ]
387
397
  }
@@ -406,7 +416,7 @@
406
416
  "children": [
407
417
  {
408
418
  "type": "text",
409
- "text": "三个选项落下,落地时压扁再弹起。"
419
+ "text": "揭晓选择题的答案时,用不同的动作区分对错。题目问哪一种排序是 O(n log n),三个选项落下,落地时压扁再弹起。"
410
420
  }
411
421
  ]
412
422
  }
@@ -422,7 +432,7 @@
422
432
  "children": [
423
433
  {
424
434
  "type": "text",
425
- "text": "冒泡排序是 O(n²),这个选项左右抖动并变红。"
435
+ "text": "冒泡排序是 O(n²),这个错误选项左右抖动并变红。"
426
436
  }
427
437
  ]
428
438
  }
@@ -438,7 +448,7 @@
438
448
  "children": [
439
449
  {
440
450
  "type": "text",
441
- "text": "归并排序是对的,它跳动两次并变绿。"
451
+ "text": "归并排序是正确答案,它跳动两次并变绿。"
442
452
  }
443
453
  ]
444
454
  }
@@ -454,7 +464,7 @@
454
464
  "children": [
455
465
  {
456
466
  "type": "text",
457
- "text": "下划线按自定义的缓动曲线划出,略微超过再回到原位。"
467
+ "text": "下划线按自定义缓动曲线划出,略微越过终点再回到原位。"
458
468
  }
459
469
  ]
460
470
  }
@@ -479,7 +489,7 @@
479
489
  "children": [
480
490
  {
481
491
  "type": "text",
482
- "text": "循环这两行把所有数加起来。"
492
+ "text": "讲解代码中的错误时,用移动的高亮条把读者从正常的部分带到出错的一行。这段代码求平均值,循环的两行把所有数加起来。"
483
493
  }
484
494
  ]
485
495
  }
@@ -495,7 +505,7 @@
495
505
  "children": [
496
506
  {
497
507
  "type": "text",
498
- "text": "问题在 return 这一行:高亮条移过去,变红,抖一抖。"
508
+ "text": "错误在 return 一行:高亮条移到这一行,变红并抖动。"
499
509
  }
500
510
  ]
501
511
  }
@@ -511,7 +521,7 @@
511
521
  "children": [
512
522
  {
513
523
  "type": "text",
514
- "text": "多减了一个 1。"
524
+ "text": "多余的“- 1”弹一下:分母多减了一个 1。"
515
525
  }
516
526
  ]
517
527
  }
@@ -536,7 +546,7 @@
536
546
  "children": [
537
547
  {
538
548
  "type": "text",
539
- "text": "四种学习范式。"
549
+ "text": "逐个讲解一组并列的概念时,用景深把注意力引到正在讲的那张卡片。四张卡片是机器学习的四种学习范式,依次出现。"
540
550
  }
541
551
  ]
542
552
  }
@@ -552,7 +562,7 @@
552
562
  "children": [
553
563
  {
554
564
  "type": "text",
555
- "text": "先讲强化学习:它放大,其余变模糊。"
565
+ "text": "先讲强化学习:这张卡片清晰放大,其余卡片模糊变淡。"
556
566
  }
557
567
  ]
558
568
  }
@@ -568,7 +578,7 @@
568
578
  "children": [
569
579
  {
570
580
  "type": "text",
571
- "text": "再讲自监督学习。"
581
+ "text": "再讲自监督学习,焦点移到它的卡片上。"
572
582
  }
573
583
  ]
574
584
  }
@@ -593,7 +603,7 @@
593
603
  "children": [
594
604
  {
595
605
  "type": "text",
596
- "text": "领导者的心跳:放大缩小,重复四下。"
606
+ "text": "表示周期性的信号或一次广播时,用脉冲动画。领导者节点的心跳是放大再缩小,重复四次。"
597
607
  }
598
608
  ]
599
609
  }
@@ -609,7 +619,7 @@
609
619
  "children": [
610
620
  {
611
621
  "type": "text",
612
- "text": "广播:波纹一圈圈向外扩散,节点依次亮起。"
622
+ "text": "广播时,波纹一圈圈向外扩散,周围的节点依次亮起响应。"
613
623
  }
614
624
  ]
615
625
  }
@@ -634,7 +644,7 @@
634
644
  "children": [
635
645
  {
636
646
  "type": "text",
637
- "text": "客户端和服务器之间连着一条线路。"
647
+ "text": "持续往返的过程用循环动画表示,例如请求与响应。客户端与服务器之间连着一条线路。"
638
648
  }
639
649
  ]
640
650
  }
@@ -650,7 +660,7 @@
650
660
  "children": [
651
661
  {
652
662
  "type": "text",
653
- "text": "请求一次次发往服务器,响应一次次返回,服务器上的光圈不断扩散。"
663
+ "text": "请求一次次发往服务器,响应一次次返回,服务器周围的光圈不断扩散。"
654
664
  }
655
665
  ]
656
666
  }
@@ -666,7 +676,7 @@
666
676
  "children": [
667
677
  {
668
678
  "type": "text",
669
- "text": "马克笔圈画、关键词标记、圈出重点与手绘图示。"
679
+ "text": "第二组是手绘标注:马克笔圈画、关键词标记、圈出重点与手绘图示。"
670
680
  }
671
681
  ]
672
682
  }
@@ -682,7 +692,7 @@
682
692
  "children": [
683
693
  {
684
694
  "type": "text",
685
- "text": "讲公式、代码、图时最直接的“指”:一支马克笔滑到目标,手绘一笔标注(圈、下划线、荧光笔、删除线、方框、括号或箭头),墨迹正好落在笔尖下,抬笔让开后再出现说明文字。每个标注一个步骤,前面的标注在下一笔落下时淡到 40%,保持一次一个焦点。"
695
+ "text": "讲公式、代码或图时,马克笔是最直接的指示方式:笔滑到目标,手绘一笔标注(圈、下划线、荧光笔、删除线、方框、括号或箭头),墨迹正好落在笔尖下;笔抬起让开后,说明文字才出现。每个标注占一个步骤,下一笔落下时前面的标注淡到 40%,画面上始终只有一个焦点。"
686
696
  }
687
697
  ]
688
698
  },
@@ -692,7 +702,12 @@
692
702
  "children": [
693
703
  {
694
704
  "type": "text",
695
- "text": "参数:"
705
+ "text": "参数:",
706
+ "marks": [
707
+ {
708
+ "type": "bold"
709
+ }
710
+ ]
696
711
  },
697
712
  {
698
713
  "type": "text",
@@ -705,7 +720,7 @@
705
720
  },
706
721
  {
707
722
  "type": "text",
708
- "text": " 是标注列表,每项 "
723
+ "text": " 是标注列表,每项包含 "
709
724
  },
710
725
  {
711
726
  "type": "text",
@@ -770,7 +785,7 @@
770
785
  },
771
786
  {
772
787
  "type": "text",
773
- "text": "(舞台 %)、说明 "
788
+ "text": "(舞台百分比)和说明 "
774
789
  },
775
790
  {
776
791
  "type": "text",
@@ -783,7 +798,7 @@
783
798
  },
784
799
  {
785
800
  "type": "text",
786
- "text": ";箭头另有起点 "
801
+ "text": ",箭头另有起点 "
787
802
  },
788
803
  {
789
804
  "type": "text",
@@ -822,7 +837,7 @@
822
837
  },
823
838
  {
824
839
  "type": "text",
825
- "text": " 选墨色令牌;"
840
+ "text": " 选择墨色令牌;"
826
841
  },
827
842
  {
828
843
  "type": "text",
@@ -874,7 +889,7 @@
874
889
  },
875
890
  {
876
891
  "type": "text",
877
- "text": " 选底图。步骤数决定用前几个标注;每步约 2.2–2.6 秒,最后一步留出停留。"
892
+ "text": " 选择底图。步骤数决定使用前几个标注;每步约 2.2 到 2.6 秒,最后一步留出停留时间。"
878
893
  }
879
894
  ]
880
895
  }
@@ -899,7 +914,7 @@
899
914
  "children": [
900
915
  {
901
916
  "type": "text",
902
- "text": "讲一句定义、一条结论时用:句子先出现,再一步一个关键词地标出来,每个词用自己的笔法(下划线、圈、荧光笔、删除线、方框、括号),可以带一条细线连出的短注释(Vox 解说片的手势)。瞄准靠词本身:场景在绘制时量出关键词在舞台上的位置,换字体、换行都对得上。"
917
+ "text": "讲一句定义或一条结论时使用:句子先出现,再逐步标出关键词,每个词一种笔法(下划线、圈、荧光笔、删除线、方框、括号),可以用一条细线连出简短注释,这是 Vox 解说片常用的手法。标记按词定位:场景在绘制时测量关键词在舞台上的位置,换字体、换行后仍然对得上。"
903
918
  }
904
919
  ]
905
920
  },
@@ -909,7 +924,12 @@
909
924
  "children": [
910
925
  {
911
926
  "type": "text",
912
- "text": "参数:"
927
+ "text": "参数:",
928
+ "marks": [
929
+ {
930
+ "type": "bold"
931
+ }
932
+ ]
913
933
  },
914
934
  {
915
935
  "type": "text",
@@ -922,7 +942,7 @@
922
942
  },
923
943
  {
924
944
  "type": "text",
925
- "text": " 句子;"
945
+ "text": " 是句子;"
926
946
  },
927
947
  {
928
948
  "type": "text",
@@ -935,7 +955,7 @@
935
955
  },
936
956
  {
937
957
  "type": "text",
938
- "text": " 每项 "
958
+ "text": " 每项包含 "
939
959
  },
940
960
  {
941
961
  "type": "text",
@@ -948,7 +968,7 @@
948
968
  },
949
969
  {
950
970
  "type": "text",
951
- "text": "(句中第一次出现处)、"
971
+ "text": "(取句中第一次出现的位置)、"
952
972
  },
953
973
  {
954
974
  "type": "text",
@@ -961,7 +981,7 @@
961
981
  },
962
982
  {
963
983
  "type": "text",
964
- "text": "(loop、underline、highlight、strike、box、bracket)、可选 "
984
+ "text": "(loop、underline、highlight、strike、box、bracket)和可选的 "
965
985
  },
966
986
  {
967
987
  "type": "text",
@@ -987,7 +1007,7 @@
987
1007
  },
988
1008
  {
989
1009
  "type": "text",
990
- "text": " 墨色令牌。每步一个标记,第一步含句子出现,约 2.4 秒。"
1010
+ "text": " 是墨色令牌。每步一个标记,第一步同时让句子出现,每步约 2.4 秒。"
991
1011
  }
992
1012
  ]
993
1013
  }
@@ -1012,7 +1032,7 @@
1012
1032
  "children": [
1013
1033
  {
1014
1034
  "type": "text",
1015
- "text": "图、表或列表已经在屏幕上,要指出其中一行是论点:一支笔从左上角顺时针把它圈起来,笔端有一个亮点;圈闭合时扩散一圈,然后其余各行退后、选中行变成强调色。先圈(原因),再暗(结果)。"
1035
+ "text": "图、表或列表已在屏幕上,要指出其中一行是论点时使用:一支笔从左上角顺时针把这一行圈起来,笔端带一个亮点;圈闭合时扩散一圈,然后其余各行退后,选中行变成强调色。先圈出这一行,再压暗其余各行:动作在前,结果在后。"
1016
1036
  }
1017
1037
  ]
1018
1038
  },
@@ -1031,7 +1051,68 @@
1031
1051
  },
1032
1052
  {
1033
1053
  "type": "text",
1034
- "text": "header、rows(每行的 cells)、pick(圈哪一行)、caption(数据出处,或注明示意)。"
1054
+ "text": "header",
1055
+ "marks": [
1056
+ {
1057
+ "type": "code"
1058
+ }
1059
+ ]
1060
+ },
1061
+ {
1062
+ "type": "text",
1063
+ "text": "、"
1064
+ },
1065
+ {
1066
+ "type": "text",
1067
+ "text": "rows",
1068
+ "marks": [
1069
+ {
1070
+ "type": "code"
1071
+ }
1072
+ ]
1073
+ },
1074
+ {
1075
+ "type": "text",
1076
+ "text": "(每行的 "
1077
+ },
1078
+ {
1079
+ "type": "text",
1080
+ "text": "cells",
1081
+ "marks": [
1082
+ {
1083
+ "type": "code"
1084
+ }
1085
+ ]
1086
+ },
1087
+ {
1088
+ "type": "text",
1089
+ "text": ")、"
1090
+ },
1091
+ {
1092
+ "type": "text",
1093
+ "text": "pick",
1094
+ "marks": [
1095
+ {
1096
+ "type": "code"
1097
+ }
1098
+ ]
1099
+ },
1100
+ {
1101
+ "type": "text",
1102
+ "text": "(圈出第几行)、"
1103
+ },
1104
+ {
1105
+ "type": "text",
1106
+ "text": "caption",
1107
+ "marks": [
1108
+ {
1109
+ "type": "code"
1110
+ }
1111
+ ]
1112
+ },
1113
+ {
1114
+ "type": "text",
1115
+ "text": "(数据出处,或注明示意)。"
1035
1116
  }
1036
1117
  ]
1037
1118
  },
@@ -1041,7 +1122,7 @@
1041
1122
  "children": [
1042
1123
  {
1043
1124
  "type": "text",
1044
- "text": "相近作品:",
1125
+ "text": "相近效果:",
1045
1126
  "marks": [
1046
1127
  {
1047
1128
  "type": "bold"
@@ -1050,7 +1131,7 @@
1050
1131
  },
1051
1132
  {
1052
1133
  "type": "text",
1053
- "text": "fx/motion/border-beam 让光沿卡片边缘跑一圈,强调整张卡片;这里圈出已有内容的一部分,用于指认。"
1134
+ "text": "fx/motion/border-beam 让光沿卡片边缘跑一圈,强调整张卡片;圈出重点则指认已有内容中的一部分。"
1054
1135
  }
1055
1136
  ]
1056
1137
  },
@@ -1297,7 +1378,7 @@
1297
1378
  "children": [
1298
1379
  {
1299
1380
  "type": "text",
1300
- "text": "一节课的目标或小结:标题先划线、再圈出关键词,然后列出各项,讲完一项勾一项。勾用成功色,勾落下后这一行由灰变黑。"
1381
+ "text": "列出一节课的目标或做小结时使用:先在标题下划线,再圈出关键词,然后列出各项,讲完一项勾选一项。勾用成功色,勾落下后这一行由灰变黑。"
1301
1382
  }
1302
1383
  ]
1303
1384
  },
@@ -1307,7 +1388,12 @@
1307
1388
  "children": [
1308
1389
  {
1309
1390
  "type": "text",
1310
- "text": "参数:"
1391
+ "text": "参数:",
1392
+ "marks": [
1393
+ {
1394
+ "type": "bold"
1395
+ }
1396
+ ]
1311
1397
  },
1312
1398
  {
1313
1399
  "type": "text",
@@ -1320,7 +1406,7 @@
1320
1406
  },
1321
1407
  {
1322
1408
  "type": "text",
1323
- "text": " 标题;"
1409
+ "text": " 是标题;"
1324
1410
  },
1325
1411
  {
1326
1412
  "type": "text",
@@ -1333,7 +1419,7 @@
1333
1419
  },
1334
1420
  {
1335
1421
  "type": "text",
1336
- "text": " 要圈的词(须在标题中);"
1422
+ "text": " 是要圈出的词(必须出现在标题中);"
1337
1423
  },
1338
1424
  {
1339
1425
  "type": "text",
@@ -1346,7 +1432,7 @@
1346
1432
  },
1347
1433
  {
1348
1434
  "type": "text",
1349
- "text": " 各项。步骤为 "
1435
+ "text": " 是各项。步骤为 "
1350
1436
  },
1351
1437
  {
1352
1438
  "type": "text",
@@ -1359,7 +1445,7 @@
1359
1445
  },
1360
1446
  {
1361
1447
  "type": "text",
1362
- "text": " 加每项一步。"
1448
+ "text": " 一步,加上每项一步。"
1363
1449
  }
1364
1450
  ]
1365
1451
  }
@@ -1384,7 +1470,7 @@
1384
1470
  "children": [
1385
1471
  {
1386
1472
  "type": "text",
1387
- "text": "像在黑板上画流水线:按数据顺序一步画一个节点,箭头先到,方框再围出来,标签最后升起。关键节点用强调色并打斜线,全图只有它一处强调。"
1473
+ "text": "讲数据流水线时,像在黑板上画流程图:按数据流动的顺序一步画一个节点,箭头先到,方框再围出来,标签最后升起。关键节点用强调色并打斜线,全图只有这一处强调。"
1388
1474
  }
1389
1475
  ]
1390
1476
  },
@@ -1394,7 +1480,12 @@
1394
1480
  "children": [
1395
1481
  {
1396
1482
  "type": "text",
1397
- "text": "参数:"
1483
+ "text": "参数:",
1484
+ "marks": [
1485
+ {
1486
+ "type": "bold"
1487
+ }
1488
+ ]
1398
1489
  },
1399
1490
  {
1400
1491
  "type": "text",
@@ -1407,7 +1498,7 @@
1407
1498
  },
1408
1499
  {
1409
1500
  "type": "text",
1410
- "text": " 节点名(步骤数决定画几个;五个以内一行,多了排成来回两行);"
1501
+ "text": " 是节点名(步骤数决定画几个;五个以内排成一行,更多时排成往返两行);"
1411
1502
  },
1412
1503
  {
1413
1504
  "type": "text",
@@ -1420,7 +1511,7 @@
1420
1511
  },
1421
1512
  {
1422
1513
  "type": "text",
1423
- "text": " 关键节点的序号(从 0 起)。"
1514
+ "text": " 是关键节点的序号(从 0 开始)。"
1424
1515
  }
1425
1516
  ]
1426
1517
  }
@@ -1445,7 +1536,7 @@
1445
1536
  "children": [
1446
1537
  {
1447
1538
  "type": "text",
1448
- "text": "像老师在白板上边讲边画:示意图一笔一笔出现,一支笔始终骑在正在画的那一笔的笔尖上。每个框画闭合后,框里的字才出现;最后一笔用强调色圈出关键的那个框。适合讲流程、结构、因果链的开场,比直接出现的框图更有“正在推导”的感觉。"
1539
+ "text": "讲流程、结构或因果链的开头时,像老师在白板上边讲边画:示意图一笔一笔出现,笔始终跟在正在画的那一笔的笔尖上。每个框闭合后,框里的字才出现;最后一笔用强调色圈出关键的框。与直接出现的框图相比,读者看到的是推导的过程。"
1449
1540
  }
1450
1541
  ]
1451
1542
  },
@@ -1464,7 +1555,81 @@
1464
1555
  },
1465
1556
  {
1466
1557
  "type": "text",
1467
- "text": "strokes(每一笔的 SVG 路径,accent: true 的那一笔用强调色)、viewBox(框住这些笔画的 SVG 视框,自定义笔画时默认 0 0 1000 560)、labels(文字、位置和在第几笔之后出现)、caption(画完后的说明)、seed(手抖的随机种子)。默认画“数据 → 模型 → 预测”。"
1558
+ "text": "strokes",
1559
+ "marks": [
1560
+ {
1561
+ "type": "code"
1562
+ }
1563
+ ]
1564
+ },
1565
+ {
1566
+ "type": "text",
1567
+ "text": "(每一笔的 SVG 路径,"
1568
+ },
1569
+ {
1570
+ "type": "text",
1571
+ "text": "accent: true",
1572
+ "marks": [
1573
+ {
1574
+ "type": "code"
1575
+ }
1576
+ ]
1577
+ },
1578
+ {
1579
+ "type": "text",
1580
+ "text": " 的一笔用强调色)、"
1581
+ },
1582
+ {
1583
+ "type": "text",
1584
+ "text": "viewBox",
1585
+ "marks": [
1586
+ {
1587
+ "type": "code"
1588
+ }
1589
+ ]
1590
+ },
1591
+ {
1592
+ "type": "text",
1593
+ "text": "(框住这些笔画的 SVG 视框,自定义笔画时默认为 0 0 1000 560)、"
1594
+ },
1595
+ {
1596
+ "type": "text",
1597
+ "text": "labels",
1598
+ "marks": [
1599
+ {
1600
+ "type": "code"
1601
+ }
1602
+ ]
1603
+ },
1604
+ {
1605
+ "type": "text",
1606
+ "text": "(文字、位置,以及在第几笔之后出现)、"
1607
+ },
1608
+ {
1609
+ "type": "text",
1610
+ "text": "caption",
1611
+ "marks": [
1612
+ {
1613
+ "type": "code"
1614
+ }
1615
+ ]
1616
+ },
1617
+ {
1618
+ "type": "text",
1619
+ "text": "(画完后的说明)、"
1620
+ },
1621
+ {
1622
+ "type": "text",
1623
+ "text": "seed",
1624
+ "marks": [
1625
+ {
1626
+ "type": "code"
1627
+ }
1628
+ ]
1629
+ },
1630
+ {
1631
+ "type": "text",
1632
+ "text": "(手抖的随机种子)。默认画出“数据 → 模型 → 预测”。"
1468
1633
  }
1469
1634
  ]
1470
1635
  },
@@ -1711,7 +1876,7 @@
1711
1876
  "children": [
1712
1877
  {
1713
1878
  "type": "text",
1714
- "text": "标注框、对话气泡与聚光。"
1879
+ "text": "第三组是标注框、对话气泡与聚光。"
1715
1880
  }
1716
1881
  ]
1717
1882
  }
@@ -1727,7 +1892,7 @@
1727
1892
  "children": [
1728
1893
  {
1729
1894
  "type": "text",
1730
- "text": "指着图的一个局部说话时用:手绘椭圆或方框圈住目标,可选斜线填充,曲线连到标签;标签带着动量落下,圈住的形状被“撞”得轻轻一缩。每个标注一步,前面的淡到 40%。"
1895
+ "text": "指着图的某个局部讲解时使用:手绘椭圆或方框圈住目标,可加斜线填充,曲线连到标签;标签带着动量落下,圈住的形状被轻轻撞得一缩。每个标注占一步,前面的标注淡到 40%。"
1731
1896
  }
1732
1897
  ]
1733
1898
  },
@@ -1737,7 +1902,12 @@
1737
1902
  "children": [
1738
1903
  {
1739
1904
  "type": "text",
1740
- "text": "参数:"
1905
+ "text": "参数:",
1906
+ "marks": [
1907
+ {
1908
+ "type": "bold"
1909
+ }
1910
+ ]
1741
1911
  },
1742
1912
  {
1743
1913
  "type": "text",
@@ -1750,7 +1920,7 @@
1750
1920
  },
1751
1921
  {
1752
1922
  "type": "text",
1753
- "text": " 每项 "
1923
+ "text": " 每项包含 "
1754
1924
  },
1755
1925
  {
1756
1926
  "type": "text",
@@ -1854,7 +2024,7 @@
1854
2024
  },
1855
2025
  {
1856
2026
  "type": "text",
1857
- "text": "(都是舞台 %)、"
2027
+ "text": "(都是舞台百分比)、"
1858
2028
  },
1859
2029
  {
1860
2030
  "type": "text",
@@ -1867,7 +2037,7 @@
1867
2037
  },
1868
2038
  {
1869
2039
  "type": "text",
1870
- "text": "(line、arrow、none)、"
2040
+ "text": "(line、arrow、none)和 "
1871
2041
  },
1872
2042
  {
1873
2043
  "type": "text",
@@ -1880,7 +2050,7 @@
1880
2050
  },
1881
2051
  {
1882
2052
  "type": "text",
1883
- "text": "(斜线填充);"
2053
+ "text": "(斜线填充);另有 "
1884
2054
  },
1885
2055
  {
1886
2056
  "type": "text",
@@ -1893,7 +2063,59 @@
1893
2063
  },
1894
2064
  {
1895
2065
  "type": "text",
1896
- "text": ";底图参数同上,默认是示意的损失曲线图。"
2066
+ "text": "。底图参数与马克笔标注相同("
2067
+ },
2068
+ {
2069
+ "type": "text",
2070
+ "text": "backdrop",
2071
+ "marks": [
2072
+ {
2073
+ "type": "code"
2074
+ }
2075
+ ]
2076
+ },
2077
+ {
2078
+ "type": "text",
2079
+ "text": "、"
2080
+ },
2081
+ {
2082
+ "type": "text",
2083
+ "text": "code",
2084
+ "marks": [
2085
+ {
2086
+ "type": "code"
2087
+ }
2088
+ ]
2089
+ },
2090
+ {
2091
+ "type": "text",
2092
+ "text": "、"
2093
+ },
2094
+ {
2095
+ "type": "text",
2096
+ "text": "svg",
2097
+ "marks": [
2098
+ {
2099
+ "type": "code"
2100
+ }
2101
+ ]
2102
+ },
2103
+ {
2104
+ "type": "text",
2105
+ "text": "、"
2106
+ },
2107
+ {
2108
+ "type": "text",
2109
+ "text": "guides",
2110
+ "marks": [
2111
+ {
2112
+ "type": "code"
2113
+ }
2114
+ ]
2115
+ },
2116
+ {
2117
+ "type": "text",
2118
+ "text": "),默认底图是示意的损失曲线图。"
1897
2119
  }
1898
2120
  ]
1899
2121
  }
@@ -1918,7 +2140,7 @@
1918
2140
  "children": [
1919
2141
  {
1920
2142
  "type": "text",
1921
- "text": "对图的某处发一句评论,或者做对话:手绘气泡的尾巴指向舞台上的一点,轮廓一笔画出并收在尾尖,纸色填充后逐字打出文字。一步一个气泡,上一个先退场。"
2143
+ "text": "对图的某处发表评论或呈现对话时使用:手绘气泡的尾巴指向舞台上的一点,轮廓一笔画出并收在尾尖,填充纸色后逐字打出文字。一步一个气泡,上一个气泡先退场。"
1922
2144
  }
1923
2145
  ]
1924
2146
  },
@@ -1928,7 +2150,12 @@
1928
2150
  "children": [
1929
2151
  {
1930
2152
  "type": "text",
1931
- "text": "参数:"
2153
+ "text": "参数:",
2154
+ "marks": [
2155
+ {
2156
+ "type": "bold"
2157
+ }
2158
+ ]
1932
2159
  },
1933
2160
  {
1934
2161
  "type": "text",
@@ -1941,7 +2168,7 @@
1941
2168
  },
1942
2169
  {
1943
2170
  "type": "text",
1944
- "text": " 每项气泡框 "
2171
+ "text": " 每项包含气泡框 "
1945
2172
  },
1946
2173
  {
1947
2174
  "type": "text",
@@ -1993,7 +2220,7 @@
1993
2220
  },
1994
2221
  {
1995
2222
  "type": "text",
1996
- "text": "、尾尖 "
2223
+ "text": ",尾尖 "
1997
2224
  },
1998
2225
  {
1999
2226
  "type": "text",
@@ -2019,7 +2246,7 @@
2019
2246
  },
2020
2247
  {
2021
2248
  "type": "text",
2022
- "text": "(都是舞台 %)和 "
2249
+ "text": "(都是舞台百分比)和 "
2023
2250
  },
2024
2251
  {
2025
2252
  "type": "text",
@@ -2032,7 +2259,7 @@
2032
2259
  },
2033
2260
  {
2034
2261
  "type": "text",
2035
- "text": ";底图参数同上。"
2262
+ "text": ";底图参数与马克笔标注相同。"
2036
2263
  }
2037
2264
  ]
2038
2265
  }
@@ -2057,7 +2284,7 @@
2057
2284
  "children": [
2058
2285
  {
2059
2286
  "type": "text",
2060
- "text": "逐行讲代码、逐项讲公式时用:画面其余部分压暗,柔边的圆角亮区贴合目标框,一步换一个目标,亮区滑过去(同一个物体换位置,不是切换),标签跟着换。"
2287
+ "text": "逐行讲代码、逐项讲公式时使用:画面其余部分压暗,柔边圆角亮区贴合目标框;每一步换一个目标,亮区滑过去(同一个亮区移动位置,而非切换),标签随之更换。"
2061
2288
  }
2062
2289
  ]
2063
2290
  },
@@ -2067,7 +2294,12 @@
2067
2294
  "children": [
2068
2295
  {
2069
2296
  "type": "text",
2070
- "text": "参数:"
2297
+ "text": "参数:",
2298
+ "marks": [
2299
+ {
2300
+ "type": "bold"
2301
+ }
2302
+ ]
2071
2303
  },
2072
2304
  {
2073
2305
  "type": "text",
@@ -2080,7 +2312,7 @@
2080
2312
  },
2081
2313
  {
2082
2314
  "type": "text",
2083
- "text": " 每项目标框 "
2315
+ "text": " 每项包含目标框 "
2084
2316
  },
2085
2317
  {
2086
2318
  "type": "text",
@@ -2132,7 +2364,7 @@
2132
2364
  },
2133
2365
  {
2134
2366
  "type": "text",
2135
- "text": "(舞台 %)和 "
2367
+ "text": "(舞台百分比)和 "
2136
2368
  },
2137
2369
  {
2138
2370
  "type": "text",
@@ -2158,7 +2390,17 @@
2158
2390
  },
2159
2391
  {
2160
2392
  "type": "text",
2161
- "text": " 压暗程度(0–1,默认 0.82);底图参数同上,默认是代码,第 k 行的框见开头的瞄准说明。"
2393
+ "text": " 是压暗程度(0 到 1,默认 0.82)。底图参数与马克笔标注相同,默认底图是代码:第 k 行的框从 y = 22 + 9(k − 1) 开始,高 9;第 c 列从 x = 20 + 1.56c 开始。"
2394
+ }
2395
+ ]
2396
+ },
2397
+ {
2398
+ "id": "mark-spotlight--notes--summary",
2399
+ "type": "paragraph",
2400
+ "children": [
2401
+ {
2402
+ "type": "text",
2403
+ "text": "从弹跳到聚光,本文的效果做的是同一件事:一次只留一个焦点,先做出指向的动作,再让结果跟上。选择时看要指的对象:一个选项或一行代码用动效强调,一句话或公式中的一项用手绘标注,图的局部用标注框或对话气泡,逐行讲解用聚光。"
2162
2404
  }
2163
2405
  ]
2164
2406
  }
@@ -2995,7 +3237,7 @@
2995
3237
  "content": [
2996
3238
  {
2997
3239
  "type": "text",
2998
- "text": "三个选项落下,落地时压扁再弹起。"
3240
+ "text": "题目问:哪一种排序是 n log n 的?三个选项落了下来。"
2999
3241
  }
3000
3242
  ]
3001
3243
  },
@@ -3004,7 +3246,7 @@
3004
3246
  "content": [
3005
3247
  {
3006
3248
  "type": "text",
3007
- "text": "冒泡排序是 O(n²),这个选项左右抖动并变红。"
3249
+ "text": "冒泡排序是 n 的平方,不对。它左右一抖,变成红色。"
3008
3250
  }
3009
3251
  ]
3010
3252
  },
@@ -3013,7 +3255,7 @@
3013
3255
  "content": [
3014
3256
  {
3015
3257
  "type": "text",
3016
- "text": "归并排序是对的,它跳动两次并变绿。"
3258
+ "text": "归并排序才是答案,它跳了两下,变成绿色。"
3017
3259
  }
3018
3260
  ]
3019
3261
  },
@@ -3022,7 +3264,7 @@
3022
3264
  "content": [
3023
3265
  {
3024
3266
  "type": "text",
3025
- "text": "下划线按自定义的缓动曲线划出,略微超过再回到原位。"
3267
+ "text": "最后在答案下面划一道线,稍稍冲过头,再弹回原位。"
3026
3268
  }
3027
3269
  ]
3028
3270
  },
@@ -3031,7 +3273,7 @@
3031
3273
  "content": [
3032
3274
  {
3033
3275
  "type": "text",
3034
- "text": "循环这两行把所有数加起来。"
3276
+ "text": "这段代码求平均值。循环这两行,把所有数加起来。"
3035
3277
  }
3036
3278
  ]
3037
3279
  },
@@ -3040,7 +3282,7 @@
3040
3282
  "content": [
3041
3283
  {
3042
3284
  "type": "text",
3043
- "text": "问题在 return 这一行:高亮条移过去,变红,抖一抖。"
3285
+ "text": "问题出在 return 这一行。高亮条移过去,变红,抖一下。"
3044
3286
  }
3045
3287
  ]
3046
3288
  },
@@ -3049,7 +3291,7 @@
3049
3291
  "content": [
3050
3292
  {
3051
3293
  "type": "text",
3052
- "text": "多减了一个 1。"
3294
+ "text": "分母多减了一个一,平均值就算错了。"
3053
3295
  }
3054
3296
  ]
3055
3297
  },
@@ -3058,7 +3300,7 @@
3058
3300
  "content": [
3059
3301
  {
3060
3302
  "type": "text",
3061
- "text": "四种学习范式。"
3303
+ "text": "机器学习有四种学习范式。"
3062
3304
  }
3063
3305
  ]
3064
3306
  },
@@ -3067,7 +3309,7 @@
3067
3309
  "content": [
3068
3310
  {
3069
3311
  "type": "text",
3070
- "text": "先讲强化学习:它放大,其余变模糊。"
3312
+ "text": "先讲强化学习。它放大,其余三张变模糊。"
3071
3313
  }
3072
3314
  ]
3073
3315
  },
@@ -3076,7 +3318,7 @@
3076
3318
  "content": [
3077
3319
  {
3078
3320
  "type": "text",
3079
- "text": "再讲自监督学习。"
3321
+ "text": "接下来讲自监督学习,焦点移到它身上。"
3080
3322
  }
3081
3323
  ]
3082
3324
  },
@@ -3085,7 +3327,7 @@
3085
3327
  "content": [
3086
3328
  {
3087
3329
  "type": "text",
3088
- "text": "领导者的心跳:放大缩小,重复四下。"
3330
+ "text": "领导者节点在发心跳:放大,缩小,一共四下。"
3089
3331
  }
3090
3332
  ]
3091
3333
  },
@@ -3094,7 +3336,7 @@
3094
3336
  "content": [
3095
3337
  {
3096
3338
  "type": "text",
3097
- "text": "广播:波纹一圈圈向外扩散,节点依次亮起。"
3339
+ "text": "接着它向外广播。波纹扩散到哪里,哪里的节点就亮起来。"
3098
3340
  }
3099
3341
  ]
3100
3342
  },
@@ -3103,7 +3345,7 @@
3103
3345
  "content": [
3104
3346
  {
3105
3347
  "type": "text",
3106
- "text": "客户端和服务器之间连着一条线路。"
3348
+ "text": "客户端和服务器之间,连着一条线路。"
3107
3349
  }
3108
3350
  ]
3109
3351
  },
@@ -3112,7 +3354,7 @@
3112
3354
  "content": [
3113
3355
  {
3114
3356
  "type": "text",
3115
- "text": "请求一次次发往服务器,响应一次次返回,服务器上的光圈不断扩散。"
3357
+ "text": "请求不断发过去,响应不断传回来,服务器周围的光圈一直在扩散。"
3116
3358
  }
3117
3359
  ]
3118
3360
  }