@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.
- package/README.md +1 -1
- package/package.json +2 -3
- package/skills/index.json +9 -18
- package/skills/presmium-animate/SKILL.md +4 -2
- package/skills/presmium-animate/gallery/algorithms/lecture.json +171 -115
- package/skills/presmium-animate/gallery/anime/scenes/kmeans-seeded.ts +2 -1
- package/skills/presmium-animate/gallery/craft/lecture.json +109 -57
- package/skills/presmium-animate/gallery/data/lecture.json +711 -175
- package/skills/presmium-animate/gallery/emphasis/lecture.json +321 -79
- package/skills/presmium-animate/gallery/films/lecture.json +36 -10
- package/skills/presmium-animate/gallery/lengths/lecture.json +23 -88
- package/skills/presmium-animate/gallery/math-ml/lecture.json +238 -159
- package/skills/presmium-animate/gallery/paths-3d/lecture.json +74 -64
- package/skills/presmium-animate/gallery/product/lecture.json +27 -3
- package/skills/presmium-animate/gallery/story/lecture.json +23 -90
- package/skills/presmium-animate/gallery/structure/lecture.json +104 -65
- package/skills/presmium-animate/gallery/text/lecture.json +115 -63
- package/skills/presmium-animate/gallery/timeline/lecture.json +106 -187
- package/skills/presmium-animate/gallery/timeline/scenes/bubble.ts +1 -1
- package/skills/presmium-animate/gallery/transitions/lecture.json +103 -52
- package/skills/presmium-animate/references/lengths.md +1 -1
- package/skills/presmium-animate/references/libraries.md +12 -6
- package/skills/presmium-animate/references/procedural.md +1 -0
- package/skills/presmium-animate/references/story.md +21 -7
- package/skills/presmium-animate/references/team.md +176 -0
- package/skills/presmium-author/SKILL.md +53 -19
- package/skills/presmium-author/references/assistance.md +3 -1
- package/skills/{presmium-present → presmium-author}/references/classroom.md +2 -2
- package/skills/presmium-author/references/document.md +1 -1
- package/skills/{presmium-present → presmium-author}/references/lecture.md +3 -1
- package/skills/presmium-author/references/publishing.md +161 -13
- package/skills/presmium-author/references/writing.md +170 -7
- package/src/cli.ts +4 -4
- package/src/install.ts +42 -5
- package/src/messages.ts +5 -5
- package/src/resources.ts +5 -4
- package/skills/presmium-present/SKILL.md +0 -35
- package/skills/presmium-present/references/delivery.md +0 -122
|
@@ -678,13 +678,23 @@
|
|
|
678
678
|
"id": "numbers--intro",
|
|
679
679
|
"type": "text",
|
|
680
680
|
"content": [
|
|
681
|
+
{
|
|
682
|
+
"id": "numbers--intro--claim",
|
|
683
|
+
"type": "paragraph",
|
|
684
|
+
"children": [
|
|
685
|
+
{
|
|
686
|
+
"type": "text",
|
|
687
|
+
"text": "数据动画要让读者看清一组数据在怎样变化。本文的效果都按同一种做法组织:每一步只改变一件事,可能是一个数、一组数据、一种布局或一个视野;每一帧都由数据、比例尺或布局插值得出,所以任意一步都能准确重现,也能倒着播放。"
|
|
688
|
+
}
|
|
689
|
+
]
|
|
690
|
+
},
|
|
681
691
|
{
|
|
682
692
|
"id": "numbers--intro--p",
|
|
683
693
|
"type": "paragraph",
|
|
684
694
|
"children": [
|
|
685
695
|
{
|
|
686
696
|
"type": "text",
|
|
687
|
-
"text": "
|
|
697
|
+
"text": "第一组效果突出一个数的大小,或它占整体的比例:数字滚动、进度环与仪表。"
|
|
688
698
|
}
|
|
689
699
|
]
|
|
690
700
|
}
|
|
@@ -709,7 +719,7 @@
|
|
|
709
719
|
"children": [
|
|
710
720
|
{
|
|
711
721
|
"type": "text",
|
|
712
|
-
"text": "
|
|
722
|
+
"text": "几个指标在同一过程中一起变化时,可以让它们同步滚动。前五轮训练中,轮数按整数增加,损失从 2.30 迅速下降,准确率升到 81%。"
|
|
713
723
|
}
|
|
714
724
|
]
|
|
715
725
|
}
|
|
@@ -725,7 +735,7 @@
|
|
|
725
735
|
"children": [
|
|
726
736
|
{
|
|
727
737
|
"type": "text",
|
|
728
|
-
"text": "
|
|
738
|
+
"text": "再训练五轮,损失降到 0.12,准确率升到 97%,两者的变化幅度越来越小。"
|
|
729
739
|
}
|
|
730
740
|
]
|
|
731
741
|
}
|
|
@@ -750,7 +760,7 @@
|
|
|
750
760
|
"children": [
|
|
751
761
|
{
|
|
752
762
|
"type": "text",
|
|
753
|
-
"text": "GPT 有 1.17 亿个参数。"
|
|
763
|
+
"text": "比较相差几个数量级的数时,用滚动的数字配合按对数刻度增长的柱子。GPT 有 1.17 亿个参数。"
|
|
754
764
|
}
|
|
755
765
|
]
|
|
756
766
|
}
|
|
@@ -766,7 +776,7 @@
|
|
|
766
776
|
"children": [
|
|
767
777
|
{
|
|
768
778
|
"type": "text",
|
|
769
|
-
"text": "GPT-2
|
|
779
|
+
"text": "GPT-2 有 15 亿个参数,多了一个数量级。"
|
|
770
780
|
}
|
|
771
781
|
]
|
|
772
782
|
}
|
|
@@ -782,7 +792,7 @@
|
|
|
782
792
|
"children": [
|
|
783
793
|
{
|
|
784
794
|
"type": "text",
|
|
785
|
-
"text": "GPT-3
|
|
795
|
+
"text": "GPT-3 有 1750 亿个参数,柱子只有按对数刻度才放得下。"
|
|
786
796
|
}
|
|
787
797
|
]
|
|
788
798
|
}
|
|
@@ -807,7 +817,7 @@
|
|
|
807
817
|
"children": [
|
|
808
818
|
{
|
|
809
819
|
"type": "text",
|
|
810
|
-
"text": "
|
|
820
|
+
"text": "同一面板上的数字可以有不同的变化方式:轮数按整数逐格跳动,损失和准确率连续变化。前十轮,损失从 2.31 迅速降到 1.12,准确率升到六成。"
|
|
811
821
|
}
|
|
812
822
|
]
|
|
813
823
|
}
|
|
@@ -823,7 +833,7 @@
|
|
|
823
833
|
"children": [
|
|
824
834
|
{
|
|
825
835
|
"type": "text",
|
|
826
|
-
"text": "
|
|
836
|
+
"text": "再训练四十轮,损失下降得越来越慢,最终停在 0.42,准确率为 91.3%。"
|
|
827
837
|
}
|
|
828
838
|
]
|
|
829
839
|
}
|
|
@@ -848,7 +858,7 @@
|
|
|
848
858
|
"children": [
|
|
849
859
|
{
|
|
850
860
|
"type": "text",
|
|
851
|
-
"text": "GPT-1 有一亿多个参数。"
|
|
861
|
+
"text": "让一个数单独占据画面时,用大号数字滚动,下方的对数刻度条表示数量级。GPT-1 有一亿多个参数。"
|
|
852
862
|
}
|
|
853
863
|
]
|
|
854
864
|
}
|
|
@@ -864,7 +874,7 @@
|
|
|
864
874
|
"children": [
|
|
865
875
|
{
|
|
866
876
|
"type": "text",
|
|
867
|
-
"text": "GPT-2
|
|
877
|
+
"text": "GPT-2 有十五亿个参数,是 GPT-1 的十几倍。"
|
|
868
878
|
}
|
|
869
879
|
]
|
|
870
880
|
}
|
|
@@ -880,7 +890,7 @@
|
|
|
880
890
|
"children": [
|
|
881
891
|
{
|
|
882
892
|
"type": "text",
|
|
883
|
-
"text": "GPT-3
|
|
893
|
+
"text": "GPT-3 有一千七百五十亿个参数,又增大了一百多倍,对数刻度条走到尽头。"
|
|
884
894
|
}
|
|
885
895
|
]
|
|
886
896
|
}
|
|
@@ -905,7 +915,7 @@
|
|
|
905
915
|
"children": [
|
|
906
916
|
{
|
|
907
917
|
"type": "text",
|
|
908
|
-
"text": "
|
|
918
|
+
"text": "进度环表示一项多阶段任务完成了多少。下载数据完成后,进度为 25%。"
|
|
909
919
|
}
|
|
910
920
|
]
|
|
911
921
|
}
|
|
@@ -921,7 +931,7 @@
|
|
|
921
931
|
"children": [
|
|
922
932
|
{
|
|
923
933
|
"type": "text",
|
|
924
|
-
"text": "
|
|
934
|
+
"text": "预处理和训练完成后,进度为 72%。"
|
|
925
935
|
}
|
|
926
936
|
]
|
|
927
937
|
}
|
|
@@ -937,7 +947,7 @@
|
|
|
937
947
|
"children": [
|
|
938
948
|
{
|
|
939
949
|
"type": "text",
|
|
940
|
-
"text": "
|
|
950
|
+
"text": "评估完成后,进度环走满并变成绿色。"
|
|
941
951
|
}
|
|
942
952
|
]
|
|
943
953
|
}
|
|
@@ -953,7 +963,7 @@
|
|
|
953
963
|
"children": [
|
|
954
964
|
{
|
|
955
965
|
"type": "text",
|
|
956
|
-
"text": "
|
|
966
|
+
"text": "仪表展示一个数以及它占整体的比例,例如准确率、使用率、完成度。先画出空的刻度,让读者知道满分是多少;再用同一个进度同时驱动弧(或横条)的填充和数字的计数,两者始终一致。数值不过冲,落定时从弧的末端扩散一圈作为反应,最后出处淡入并停住。"
|
|
957
967
|
}
|
|
958
968
|
]
|
|
959
969
|
},
|
|
@@ -972,7 +982,94 @@
|
|
|
972
982
|
},
|
|
973
983
|
{
|
|
974
984
|
"type": "text",
|
|
975
|
-
"text": "value
|
|
985
|
+
"text": "value",
|
|
986
|
+
"marks": [
|
|
987
|
+
{
|
|
988
|
+
"type": "code"
|
|
989
|
+
}
|
|
990
|
+
]
|
|
991
|
+
},
|
|
992
|
+
{
|
|
993
|
+
"type": "text",
|
|
994
|
+
"text": "、"
|
|
995
|
+
},
|
|
996
|
+
{
|
|
997
|
+
"type": "text",
|
|
998
|
+
"text": "max",
|
|
999
|
+
"marks": [
|
|
1000
|
+
{
|
|
1001
|
+
"type": "code"
|
|
1002
|
+
}
|
|
1003
|
+
]
|
|
1004
|
+
},
|
|
1005
|
+
{
|
|
1006
|
+
"type": "text",
|
|
1007
|
+
"text": "、"
|
|
1008
|
+
},
|
|
1009
|
+
{
|
|
1010
|
+
"type": "text",
|
|
1011
|
+
"text": "decimals",
|
|
1012
|
+
"marks": [
|
|
1013
|
+
{
|
|
1014
|
+
"type": "code"
|
|
1015
|
+
}
|
|
1016
|
+
]
|
|
1017
|
+
},
|
|
1018
|
+
{
|
|
1019
|
+
"type": "text",
|
|
1020
|
+
"text": "、"
|
|
1021
|
+
},
|
|
1022
|
+
{
|
|
1023
|
+
"type": "text",
|
|
1024
|
+
"text": "unit",
|
|
1025
|
+
"marks": [
|
|
1026
|
+
{
|
|
1027
|
+
"type": "code"
|
|
1028
|
+
}
|
|
1029
|
+
]
|
|
1030
|
+
},
|
|
1031
|
+
{
|
|
1032
|
+
"type": "text",
|
|
1033
|
+
"text": "、"
|
|
1034
|
+
},
|
|
1035
|
+
{
|
|
1036
|
+
"type": "text",
|
|
1037
|
+
"text": "label",
|
|
1038
|
+
"marks": [
|
|
1039
|
+
{
|
|
1040
|
+
"type": "code"
|
|
1041
|
+
}
|
|
1042
|
+
]
|
|
1043
|
+
},
|
|
1044
|
+
{
|
|
1045
|
+
"type": "text",
|
|
1046
|
+
"text": "、"
|
|
1047
|
+
},
|
|
1048
|
+
{
|
|
1049
|
+
"type": "text",
|
|
1050
|
+
"text": "source",
|
|
1051
|
+
"marks": [
|
|
1052
|
+
{
|
|
1053
|
+
"type": "code"
|
|
1054
|
+
}
|
|
1055
|
+
]
|
|
1056
|
+
},
|
|
1057
|
+
{
|
|
1058
|
+
"type": "text",
|
|
1059
|
+
"text": "(出处,必须填写)、"
|
|
1060
|
+
},
|
|
1061
|
+
{
|
|
1062
|
+
"type": "text",
|
|
1063
|
+
"text": "shape",
|
|
1064
|
+
"marks": [
|
|
1065
|
+
{
|
|
1066
|
+
"type": "code"
|
|
1067
|
+
}
|
|
1068
|
+
]
|
|
1069
|
+
},
|
|
1070
|
+
{
|
|
1071
|
+
"type": "text",
|
|
1072
|
+
"text": "(arc 为圆弧,bar 为横条)。默认显示 GPT-4 在 MMLU 上的准确率 86.4%。"
|
|
976
1073
|
}
|
|
977
1074
|
]
|
|
978
1075
|
},
|
|
@@ -982,7 +1079,7 @@
|
|
|
982
1079
|
"children": [
|
|
983
1080
|
{
|
|
984
1081
|
"type": "text",
|
|
985
|
-
"text": "
|
|
1082
|
+
"text": "相近效果:",
|
|
986
1083
|
"marks": [
|
|
987
1084
|
{
|
|
988
1085
|
"type": "bold"
|
|
@@ -991,7 +1088,7 @@
|
|
|
991
1088
|
},
|
|
992
1089
|
{
|
|
993
1090
|
"type": "text",
|
|
994
|
-
"text": "
|
|
1091
|
+
"text": "只有一个数字、要强调变化幅度时,用 fx/gsap/odometer;仪表强调的是占比。"
|
|
995
1092
|
}
|
|
996
1093
|
]
|
|
997
1094
|
},
|
|
@@ -1202,7 +1299,7 @@
|
|
|
1202
1299
|
"children": [
|
|
1203
1300
|
{
|
|
1204
1301
|
"type": "text",
|
|
1205
|
-
"text": "
|
|
1302
|
+
"text": "第二组是统计图表:柱状图、折线图、面积图、饼图、直方图与热力图,以及数据进入、更新与退出时的过渡。"
|
|
1206
1303
|
}
|
|
1207
1304
|
]
|
|
1208
1305
|
}
|
|
@@ -1227,7 +1324,7 @@
|
|
|
1227
1324
|
"children": [
|
|
1228
1325
|
{
|
|
1229
1326
|
"type": "text",
|
|
1230
|
-
"text": "
|
|
1327
|
+
"text": "柱状图换一组数据时,每根柱子从旧高度过渡到新高度,读者能看出哪些值变了。图中八个月的柱子从左到右依次长出,顶部的数字同时从零计到各自的值。"
|
|
1231
1328
|
}
|
|
1232
1329
|
]
|
|
1233
1330
|
}
|
|
@@ -1243,7 +1340,7 @@
|
|
|
1243
1340
|
"children": [
|
|
1244
1341
|
{
|
|
1245
1342
|
"type": "text",
|
|
1246
|
-
"text": "
|
|
1343
|
+
"text": "换成下一年的数据后,每根柱子从原来的高度变到新高度,数字随之变化。"
|
|
1247
1344
|
}
|
|
1248
1345
|
]
|
|
1249
1346
|
}
|
|
@@ -1259,7 +1356,7 @@
|
|
|
1259
1356
|
"children": [
|
|
1260
1357
|
{
|
|
1261
1358
|
"type": "text",
|
|
1262
|
-
"text": "
|
|
1359
|
+
"text": "五月的销量最高,这根柱子换成强调色,其余柱子变淡。"
|
|
1263
1360
|
}
|
|
1264
1361
|
]
|
|
1265
1362
|
}
|
|
@@ -1284,7 +1381,7 @@
|
|
|
1284
1381
|
"children": [
|
|
1285
1382
|
{
|
|
1286
1383
|
"type": "text",
|
|
1287
|
-
"text": "
|
|
1384
|
+
"text": "展示一个概率分布时,让柱子错开长出。图中是温度为 1 时五个词的 softmax 概率。"
|
|
1288
1385
|
}
|
|
1289
1386
|
]
|
|
1290
1387
|
}
|
|
@@ -1300,7 +1397,7 @@
|
|
|
1300
1397
|
"children": [
|
|
1301
1398
|
{
|
|
1302
1399
|
"type": "text",
|
|
1303
|
-
"text": "
|
|
1400
|
+
"text": "温度降到 0.4 后分布变尖:the 的概率增大,其余词的概率都变小。"
|
|
1304
1401
|
}
|
|
1305
1402
|
]
|
|
1306
1403
|
}
|
|
@@ -1323,6 +1420,10 @@
|
|
|
1323
1420
|
"id": "d3-axis-zoom--paragraph-1--text-0",
|
|
1324
1421
|
"type": "paragraph",
|
|
1325
1422
|
"children": [
|
|
1423
|
+
{
|
|
1424
|
+
"type": "text",
|
|
1425
|
+
"text": "放大一段数据区间时,只需改变比例尺,数据不变。"
|
|
1426
|
+
},
|
|
1326
1427
|
{
|
|
1327
1428
|
"type": "text",
|
|
1328
1429
|
"text": "scaleLinear",
|
|
@@ -1334,7 +1435,7 @@
|
|
|
1334
1435
|
},
|
|
1335
1436
|
{
|
|
1336
1437
|
"type": "text",
|
|
1337
|
-
"text": "
|
|
1438
|
+
"text": " 把数据映射到画面坐标,"
|
|
1338
1439
|
},
|
|
1339
1440
|
{
|
|
1340
1441
|
"type": "text",
|
|
@@ -1360,7 +1461,7 @@
|
|
|
1360
1461
|
},
|
|
1361
1462
|
{
|
|
1362
1463
|
"type": "text",
|
|
1363
|
-
"text": "
|
|
1464
|
+
"text": " 根据比例尺画出坐标轴,数据点依次出现。"
|
|
1364
1465
|
}
|
|
1365
1466
|
]
|
|
1366
1467
|
}
|
|
@@ -1376,7 +1477,7 @@
|
|
|
1376
1477
|
"children": [
|
|
1377
1478
|
{
|
|
1378
1479
|
"type": "text",
|
|
1379
|
-
"text": "
|
|
1480
|
+
"text": "缩放就是更换比例尺的定义域:"
|
|
1380
1481
|
},
|
|
1381
1482
|
{
|
|
1382
1483
|
"type": "text",
|
|
@@ -1389,7 +1490,7 @@
|
|
|
1389
1490
|
},
|
|
1390
1491
|
{
|
|
1391
1492
|
"type": "text",
|
|
1392
|
-
"text": "
|
|
1493
|
+
"text": " 对两个轴的定义域插值,刻度每一帧按新的比例尺重画。"
|
|
1393
1494
|
}
|
|
1394
1495
|
]
|
|
1395
1496
|
}
|
|
@@ -1405,7 +1506,7 @@
|
|
|
1405
1506
|
"children": [
|
|
1406
1507
|
{
|
|
1407
1508
|
"type": "text",
|
|
1408
|
-
"text": "
|
|
1509
|
+
"text": "同一个数值再交给两个比例尺:"
|
|
1409
1510
|
},
|
|
1410
1511
|
{
|
|
1411
1512
|
"type": "text",
|
|
@@ -1418,7 +1519,7 @@
|
|
|
1418
1519
|
},
|
|
1419
1520
|
{
|
|
1420
1521
|
"type": "text",
|
|
1421
|
-
"text": "
|
|
1522
|
+
"text": " 把它映射为颜色,"
|
|
1422
1523
|
},
|
|
1423
1524
|
{
|
|
1424
1525
|
"type": "text",
|
|
@@ -1431,7 +1532,7 @@
|
|
|
1431
1532
|
},
|
|
1432
1533
|
{
|
|
1433
1534
|
"type": "text",
|
|
1434
|
-
"text": "
|
|
1535
|
+
"text": " 把它映射为半径。"
|
|
1435
1536
|
}
|
|
1436
1537
|
]
|
|
1437
1538
|
}
|
|
@@ -1454,6 +1555,10 @@
|
|
|
1454
1555
|
"id": "d3-data-join--paragraph-1--text-0",
|
|
1455
1556
|
"type": "paragraph",
|
|
1456
1557
|
"children": [
|
|
1558
|
+
{
|
|
1559
|
+
"type": "text",
|
|
1560
|
+
"text": "数据项有增有删时,数据连接让新增、保留、删除三种情况各有动作。"
|
|
1561
|
+
},
|
|
1457
1562
|
{
|
|
1458
1563
|
"type": "text",
|
|
1459
1564
|
"text": "selection.data(数据, 键)",
|
|
@@ -1465,7 +1570,7 @@
|
|
|
1465
1570
|
},
|
|
1466
1571
|
{
|
|
1467
1572
|
"type": "text",
|
|
1468
|
-
"text": "
|
|
1573
|
+
"text": " 按键把字母和元素一一对应;第一个词的字母都属于 enter,从上方落下。"
|
|
1469
1574
|
}
|
|
1470
1575
|
]
|
|
1471
1576
|
}
|
|
@@ -1481,7 +1586,7 @@
|
|
|
1481
1586
|
"children": [
|
|
1482
1587
|
{
|
|
1483
1588
|
"type": "text",
|
|
1484
|
-
"text": "
|
|
1589
|
+
"text": "换成新词后,键相同的字母属于 update,滑到新位置;新出现的键属于 enter,以绿色落下;消失的键属于 exit,以红色掉出。"
|
|
1485
1590
|
}
|
|
1486
1591
|
]
|
|
1487
1592
|
}
|
|
@@ -1497,7 +1602,7 @@
|
|
|
1497
1602
|
"children": [
|
|
1498
1603
|
{
|
|
1499
1604
|
"type": "text",
|
|
1500
|
-
"text": "
|
|
1605
|
+
"text": "再换一个词,三种情况同样出现。"
|
|
1501
1606
|
}
|
|
1502
1607
|
]
|
|
1503
1608
|
}
|
|
@@ -1513,7 +1618,7 @@
|
|
|
1513
1618
|
"children": [
|
|
1514
1619
|
{
|
|
1515
1620
|
"type": "text",
|
|
1516
|
-
"text": "
|
|
1621
|
+
"text": "最后一个词只剩 e、x、i、t 四个字母。"
|
|
1517
1622
|
}
|
|
1518
1623
|
]
|
|
1519
1624
|
}
|
|
@@ -1536,6 +1641,10 @@
|
|
|
1536
1641
|
"id": "d3-line-draw--paragraph-1--text-0",
|
|
1537
1642
|
"type": "paragraph",
|
|
1538
1643
|
"children": [
|
|
1644
|
+
{
|
|
1645
|
+
"type": "text",
|
|
1646
|
+
"text": "时间序列先描出折线,再读数,最后填充面积,读者依次看到走势和具体数值。"
|
|
1647
|
+
},
|
|
1539
1648
|
{
|
|
1540
1649
|
"type": "text",
|
|
1541
1650
|
"text": "scaleTime",
|
|
@@ -1547,7 +1656,7 @@
|
|
|
1547
1656
|
},
|
|
1548
1657
|
{
|
|
1549
1658
|
"type": "text",
|
|
1550
|
-
"text": "
|
|
1659
|
+
"text": " 与 "
|
|
1551
1660
|
},
|
|
1552
1661
|
{
|
|
1553
1662
|
"type": "text",
|
|
@@ -1573,7 +1682,7 @@
|
|
|
1573
1682
|
},
|
|
1574
1683
|
{
|
|
1575
1684
|
"type": "text",
|
|
1576
|
-
"text": " 设为 1
|
|
1685
|
+
"text": " 设为 1 后用虚线偏移从左到右描出。"
|
|
1577
1686
|
}
|
|
1578
1687
|
]
|
|
1579
1688
|
}
|
|
@@ -1653,7 +1762,7 @@
|
|
|
1653
1762
|
},
|
|
1654
1763
|
{
|
|
1655
1764
|
"type": "text",
|
|
1656
|
-
"text": "
|
|
1765
|
+
"text": " 用同一组数据点画出面积,以浅色填充。"
|
|
1657
1766
|
}
|
|
1658
1767
|
]
|
|
1659
1768
|
}
|
|
@@ -1678,7 +1787,7 @@
|
|
|
1678
1787
|
"children": [
|
|
1679
1788
|
{
|
|
1680
1789
|
"type": "text",
|
|
1681
|
-
"text": "
|
|
1790
|
+
"text": "多个对象的排名随时间变化时,用条形图竞赛。第一年的条形从左向右长出,按数值排好名次。"
|
|
1682
1791
|
}
|
|
1683
1792
|
]
|
|
1684
1793
|
}
|
|
@@ -1694,7 +1803,7 @@
|
|
|
1694
1803
|
"children": [
|
|
1695
1804
|
{
|
|
1696
1805
|
"type": "text",
|
|
1697
|
-
"text": "
|
|
1806
|
+
"text": "进入下一年时,数值与名次都在两年之间插值:超过别人的条形从下方穿上去,横轴的定义域每一帧跟随最大值。"
|
|
1698
1807
|
}
|
|
1699
1808
|
]
|
|
1700
1809
|
}
|
|
@@ -1710,7 +1819,7 @@
|
|
|
1710
1819
|
"children": [
|
|
1711
1820
|
{
|
|
1712
1821
|
"type": "text",
|
|
1713
|
-
"text": "
|
|
1822
|
+
"text": "再下一年,跌出前七名的条形淡出,进入前七名的条形淡入。"
|
|
1714
1823
|
}
|
|
1715
1824
|
]
|
|
1716
1825
|
}
|
|
@@ -1726,7 +1835,7 @@
|
|
|
1726
1835
|
"children": [
|
|
1727
1836
|
{
|
|
1728
1837
|
"type": "text",
|
|
1729
|
-
"text": "
|
|
1838
|
+
"text": "后面几年依次播放,左下角的年份随数值一起前进。"
|
|
1730
1839
|
}
|
|
1731
1840
|
]
|
|
1732
1841
|
}
|
|
@@ -1742,7 +1851,7 @@
|
|
|
1742
1851
|
"children": [
|
|
1743
1852
|
{
|
|
1744
1853
|
"type": "text",
|
|
1745
|
-
"text": "
|
|
1854
|
+
"text": "到最后一年,名次确定。"
|
|
1746
1855
|
}
|
|
1747
1856
|
]
|
|
1748
1857
|
}
|
|
@@ -1767,7 +1876,7 @@
|
|
|
1767
1876
|
"children": [
|
|
1768
1877
|
{
|
|
1769
1878
|
"type": "text",
|
|
1770
|
-
"text": "
|
|
1879
|
+
"text": "讲分布的形状时,用直方图和核密度曲线。样本逐个到来,"
|
|
1771
1880
|
},
|
|
1772
1881
|
{
|
|
1773
1882
|
"type": "text",
|
|
@@ -1780,7 +1889,7 @@
|
|
|
1780
1889
|
},
|
|
1781
1890
|
{
|
|
1782
1891
|
"type": "text",
|
|
1783
|
-
"text": "
|
|
1892
|
+
"text": " 每一帧对前 n 个样本重新分箱,底部的短线标出每个样本的位置。"
|
|
1784
1893
|
}
|
|
1785
1894
|
]
|
|
1786
1895
|
}
|
|
@@ -1825,7 +1934,7 @@
|
|
|
1825
1934
|
},
|
|
1826
1935
|
{
|
|
1827
1936
|
"type": "text",
|
|
1828
|
-
"text": "
|
|
1937
|
+
"text": " 对每个位置求和),密度曲线描在直方图上,两个峰清晰可见。"
|
|
1829
1938
|
}
|
|
1830
1939
|
]
|
|
1831
1940
|
}
|
|
@@ -1848,6 +1957,10 @@
|
|
|
1848
1957
|
"id": "d3-stack-stream--paragraph-1--text-0",
|
|
1849
1958
|
"type": "paragraph",
|
|
1850
1959
|
"children": [
|
|
1960
|
+
{
|
|
1961
|
+
"type": "text",
|
|
1962
|
+
"text": "展示多个类别的构成随时间的变化时,用堆叠面积图或河流图。"
|
|
1963
|
+
},
|
|
1851
1964
|
{
|
|
1852
1965
|
"type": "text",
|
|
1853
1966
|
"text": "d3.stack",
|
|
@@ -1859,7 +1972,7 @@
|
|
|
1859
1972
|
},
|
|
1860
1973
|
{
|
|
1861
1974
|
"type": "text",
|
|
1862
|
-
"text": "
|
|
1975
|
+
"text": " 算出每层的上下边界,各层从下面一层的顶部依次长起。"
|
|
1863
1976
|
}
|
|
1864
1977
|
]
|
|
1865
1978
|
}
|
|
@@ -1901,7 +2014,7 @@
|
|
|
1901
2014
|
},
|
|
1902
2015
|
{
|
|
1903
2016
|
"type": "text",
|
|
1904
|
-
"text": "
|
|
2017
|
+
"text": " 就得到河流图:两种布局按键对应,每个点的上下边界逐点插值。"
|
|
1905
2018
|
}
|
|
1906
2019
|
]
|
|
1907
2020
|
}
|
|
@@ -1917,7 +2030,7 @@
|
|
|
1917
2030
|
"children": [
|
|
1918
2031
|
{
|
|
1919
2032
|
"type": "text",
|
|
1920
|
-
"text": "
|
|
2033
|
+
"text": "突出「语音」一层时,其余各层变淡,标签放在它最宽的位置。"
|
|
1921
2034
|
}
|
|
1922
2035
|
]
|
|
1923
2036
|
}
|
|
@@ -1940,6 +2053,10 @@
|
|
|
1940
2053
|
"id": "d3-pie-arcs--paragraph-1--text-0",
|
|
1941
2054
|
"type": "paragraph",
|
|
1942
2055
|
"children": [
|
|
2056
|
+
{
|
|
2057
|
+
"type": "text",
|
|
2058
|
+
"text": "比例发生变化时,饼图插值每段弧的角度。"
|
|
2059
|
+
},
|
|
1943
2060
|
{
|
|
1944
2061
|
"type": "text",
|
|
1945
2062
|
"text": "d3.pie",
|
|
@@ -1980,7 +2097,7 @@
|
|
|
1980
2097
|
"children": [
|
|
1981
2098
|
{
|
|
1982
2099
|
"type": "text",
|
|
1983
|
-
"text": "
|
|
2100
|
+
"text": "内半径、段间空隙与圆角一起长出,饼图变成环图,百分比标在每段弧的中间。"
|
|
1984
2101
|
}
|
|
1985
2102
|
]
|
|
1986
2103
|
}
|
|
@@ -1996,7 +2113,7 @@
|
|
|
1996
2113
|
"children": [
|
|
1997
2114
|
{
|
|
1998
2115
|
"type": "text",
|
|
1999
|
-
"text": "
|
|
2116
|
+
"text": "数据变化时,插值的是每段弧的起止角,再交给 "
|
|
2000
2117
|
},
|
|
2001
2118
|
{
|
|
2002
2119
|
"type": "text",
|
|
@@ -2009,7 +2126,7 @@
|
|
|
2009
2126
|
},
|
|
2010
2127
|
{
|
|
2011
2128
|
"type": "text",
|
|
2012
|
-
"text": "
|
|
2129
|
+
"text": " 重画;直接插值路径字符串会让扇形变形。"
|
|
2013
2130
|
}
|
|
2014
2131
|
]
|
|
2015
2132
|
}
|
|
@@ -2032,6 +2149,10 @@
|
|
|
2032
2149
|
"id": "d3-heatmap-scales--paragraph-1--text-0",
|
|
2033
2150
|
"type": "paragraph",
|
|
2034
2151
|
"children": [
|
|
2152
|
+
{
|
|
2153
|
+
"type": "text",
|
|
2154
|
+
"text": "颜色比例尺按数据的性质选择:只有大小之分用顺序色,有正负之分用发散色,需要分级时用分级色。"
|
|
2155
|
+
},
|
|
2035
2156
|
{
|
|
2036
2157
|
"type": "text",
|
|
2037
2158
|
"text": "scaleSequential",
|
|
@@ -2056,7 +2177,7 @@
|
|
|
2056
2177
|
},
|
|
2057
2178
|
{
|
|
2058
2179
|
"type": "text",
|
|
2059
|
-
"text": "
|
|
2180
|
+
"text": " 是顺序色,格子沿对角线依次填色,下方是图例与坐标轴。"
|
|
2060
2181
|
}
|
|
2061
2182
|
]
|
|
2062
2183
|
}
|
|
@@ -2070,10 +2191,6 @@
|
|
|
2070
2191
|
"id": "d3-heatmap-scales--paragraph-2--text-0",
|
|
2071
2192
|
"type": "paragraph",
|
|
2072
2193
|
"children": [
|
|
2073
|
-
{
|
|
2074
|
-
"type": "text",
|
|
2075
|
-
"text": "换成 "
|
|
2076
|
-
},
|
|
2077
2194
|
{
|
|
2078
2195
|
"type": "text",
|
|
2079
2196
|
"text": "scaleDiverging",
|
|
@@ -2098,7 +2215,7 @@
|
|
|
2098
2215
|
},
|
|
2099
2216
|
{
|
|
2100
2217
|
"type": "text",
|
|
2101
|
-
"text": "
|
|
2218
|
+
"text": " 是发散色:零为白色,正负各用一种颜色,格子的颜色在 Lab 空间中过渡。"
|
|
2102
2219
|
}
|
|
2103
2220
|
]
|
|
2104
2221
|
}
|
|
@@ -2139,7 +2256,7 @@
|
|
|
2139
2256
|
"children": [
|
|
2140
2257
|
{
|
|
2141
2258
|
"type": "text",
|
|
2142
|
-
"text": "
|
|
2259
|
+
"text": "一张小图讲一个数时使用:先给出读法(标题、零基线、网格、类别名),再按阅读顺序长出数据,最后其余数据退成浅灰,要强调的一项变成强调色并弹出数值标签。"
|
|
2143
2260
|
}
|
|
2144
2261
|
]
|
|
2145
2262
|
},
|
|
@@ -2149,7 +2266,51 @@
|
|
|
2149
2266
|
"children": [
|
|
2150
2267
|
{
|
|
2151
2268
|
"type": "text",
|
|
2152
|
-
"text": "
|
|
2269
|
+
"text": "节奏:",
|
|
2270
|
+
"marks": [
|
|
2271
|
+
{
|
|
2272
|
+
"type": "bold"
|
|
2273
|
+
}
|
|
2274
|
+
]
|
|
2275
|
+
},
|
|
2276
|
+
{
|
|
2277
|
+
"type": "text",
|
|
2278
|
+
"text": "frame",
|
|
2279
|
+
"marks": [
|
|
2280
|
+
{
|
|
2281
|
+
"type": "code"
|
|
2282
|
+
}
|
|
2283
|
+
]
|
|
2284
|
+
},
|
|
2285
|
+
{
|
|
2286
|
+
"type": "text",
|
|
2287
|
+
"text": " 1 秒,标题出现,基线和网格从左往右画出,类别名依次出现;"
|
|
2288
|
+
},
|
|
2289
|
+
{
|
|
2290
|
+
"type": "text",
|
|
2291
|
+
"text": "build",
|
|
2292
|
+
"marks": [
|
|
2293
|
+
{
|
|
2294
|
+
"type": "code"
|
|
2295
|
+
}
|
|
2296
|
+
]
|
|
2297
|
+
},
|
|
2298
|
+
{
|
|
2299
|
+
"type": "text",
|
|
2300
|
+
"text": " 1.8 秒,各项数据错开 80 毫秒、各用约 1 秒长出(三次缓入缓出,数据不过冲),柱顶数字同步计数;"
|
|
2301
|
+
},
|
|
2302
|
+
{
|
|
2303
|
+
"type": "text",
|
|
2304
|
+
"text": "emphasis",
|
|
2305
|
+
"marks": [
|
|
2306
|
+
{
|
|
2307
|
+
"type": "code"
|
|
2308
|
+
}
|
|
2309
|
+
]
|
|
2310
|
+
},
|
|
2311
|
+
{
|
|
2312
|
+
"type": "text",
|
|
2313
|
+
"text": " 2.2 秒,其余数据退为浅灰,强调项变色,数值标签弹出,至少静止 1.5 秒。"
|
|
2153
2314
|
}
|
|
2154
2315
|
]
|
|
2155
2316
|
},
|
|
@@ -2159,7 +2320,103 @@
|
|
|
2159
2320
|
"children": [
|
|
2160
2321
|
{
|
|
2161
2322
|
"type": "text",
|
|
2162
|
-
"text": "参数:
|
|
2323
|
+
"text": "参数:",
|
|
2324
|
+
"marks": [
|
|
2325
|
+
{
|
|
2326
|
+
"type": "bold"
|
|
2327
|
+
}
|
|
2328
|
+
]
|
|
2329
|
+
},
|
|
2330
|
+
{
|
|
2331
|
+
"type": "text",
|
|
2332
|
+
"text": "kind",
|
|
2333
|
+
"marks": [
|
|
2334
|
+
{
|
|
2335
|
+
"type": "code"
|
|
2336
|
+
}
|
|
2337
|
+
]
|
|
2338
|
+
},
|
|
2339
|
+
{
|
|
2340
|
+
"type": "text",
|
|
2341
|
+
"text": "(bars 柱状、line 折线、donut 环形、progress 进度条)、"
|
|
2342
|
+
},
|
|
2343
|
+
{
|
|
2344
|
+
"type": "text",
|
|
2345
|
+
"text": "data",
|
|
2346
|
+
"marks": [
|
|
2347
|
+
{
|
|
2348
|
+
"type": "code"
|
|
2349
|
+
}
|
|
2350
|
+
]
|
|
2351
|
+
},
|
|
2352
|
+
{
|
|
2353
|
+
"type": "text",
|
|
2354
|
+
"text": "、"
|
|
2355
|
+
},
|
|
2356
|
+
{
|
|
2357
|
+
"type": "text",
|
|
2358
|
+
"text": "labels",
|
|
2359
|
+
"marks": [
|
|
2360
|
+
{
|
|
2361
|
+
"type": "code"
|
|
2362
|
+
}
|
|
2363
|
+
]
|
|
2364
|
+
},
|
|
2365
|
+
{
|
|
2366
|
+
"type": "text",
|
|
2367
|
+
"text": "、"
|
|
2368
|
+
},
|
|
2369
|
+
{
|
|
2370
|
+
"type": "text",
|
|
2371
|
+
"text": "emphasize",
|
|
2372
|
+
"marks": [
|
|
2373
|
+
{
|
|
2374
|
+
"type": "code"
|
|
2375
|
+
}
|
|
2376
|
+
]
|
|
2377
|
+
},
|
|
2378
|
+
{
|
|
2379
|
+
"type": "text",
|
|
2380
|
+
"text": "、"
|
|
2381
|
+
},
|
|
2382
|
+
{
|
|
2383
|
+
"type": "text",
|
|
2384
|
+
"text": "title",
|
|
2385
|
+
"marks": [
|
|
2386
|
+
{
|
|
2387
|
+
"type": "code"
|
|
2388
|
+
}
|
|
2389
|
+
]
|
|
2390
|
+
},
|
|
2391
|
+
{
|
|
2392
|
+
"type": "text",
|
|
2393
|
+
"text": "、"
|
|
2394
|
+
},
|
|
2395
|
+
{
|
|
2396
|
+
"type": "text",
|
|
2397
|
+
"text": "unit",
|
|
2398
|
+
"marks": [
|
|
2399
|
+
{
|
|
2400
|
+
"type": "code"
|
|
2401
|
+
}
|
|
2402
|
+
]
|
|
2403
|
+
},
|
|
2404
|
+
{
|
|
2405
|
+
"type": "text",
|
|
2406
|
+
"text": "、"
|
|
2407
|
+
},
|
|
2408
|
+
{
|
|
2409
|
+
"type": "text",
|
|
2410
|
+
"text": "source",
|
|
2411
|
+
"marks": [
|
|
2412
|
+
{
|
|
2413
|
+
"type": "code"
|
|
2414
|
+
}
|
|
2415
|
+
]
|
|
2416
|
+
},
|
|
2417
|
+
{
|
|
2418
|
+
"type": "text",
|
|
2419
|
+
"text": "(默认为“示意数据”,使用实际数据时写明出处)。柱与面积从零开始。"
|
|
2163
2420
|
}
|
|
2164
2421
|
]
|
|
2165
2422
|
}
|
|
@@ -2184,7 +2441,7 @@
|
|
|
2184
2441
|
"children": [
|
|
2185
2442
|
{
|
|
2186
2443
|
"type": "text",
|
|
2187
|
-
"text": "
|
|
2444
|
+
"text": "第三组展示层次与关系:树、矩形树图、圆堆积、旭日图、力导向图与弦图。"
|
|
2188
2445
|
}
|
|
2189
2446
|
]
|
|
2190
2447
|
}
|
|
@@ -2207,6 +2464,10 @@
|
|
|
2207
2464
|
"id": "d3-tree-morph--paragraph-1--text-0",
|
|
2208
2465
|
"type": "paragraph",
|
|
2209
2466
|
"children": [
|
|
2467
|
+
{
|
|
2468
|
+
"type": "text",
|
|
2469
|
+
"text": "同一份层次数据可以在几种树形布局之间过渡,读者能追踪每个节点的去向。"
|
|
2470
|
+
},
|
|
2210
2471
|
{
|
|
2211
2472
|
"type": "text",
|
|
2212
2473
|
"text": "d3.hierarchy",
|
|
@@ -2231,7 +2492,7 @@
|
|
|
2231
2492
|
},
|
|
2232
2493
|
{
|
|
2233
2494
|
"type": "text",
|
|
2234
|
-
"text": "
|
|
2495
|
+
"text": " 算出整齐树,每一层从父节点的位置长出,连线用 "
|
|
2235
2496
|
},
|
|
2236
2497
|
{
|
|
2237
2498
|
"type": "text",
|
|
@@ -2273,7 +2534,7 @@
|
|
|
2273
2534
|
},
|
|
2274
2535
|
{
|
|
2275
2536
|
"type": "text",
|
|
2276
|
-
"text": "
|
|
2537
|
+
"text": " 后,叶子都排到最右一列,节点位置在两种布局之间插值。"
|
|
2277
2538
|
}
|
|
2278
2539
|
]
|
|
2279
2540
|
}
|
|
@@ -2341,7 +2602,7 @@
|
|
|
2341
2602
|
},
|
|
2342
2603
|
{
|
|
2343
2604
|
"type": "text",
|
|
2344
|
-
"text": "
|
|
2605
|
+
"text": " 的路径都由 M 加 C 命令构成,"
|
|
2345
2606
|
},
|
|
2346
2607
|
{
|
|
2347
2608
|
"type": "text",
|
|
@@ -2354,7 +2615,7 @@
|
|
|
2354
2615
|
},
|
|
2355
2616
|
{
|
|
2356
2617
|
"type": "text",
|
|
2357
|
-
"text": "
|
|
2618
|
+
"text": " 可以直接混合两者。"
|
|
2358
2619
|
}
|
|
2359
2620
|
]
|
|
2360
2621
|
}
|
|
@@ -2377,6 +2638,10 @@
|
|
|
2377
2638
|
"id": "d3-treemap-tiling--paragraph-1--text-0",
|
|
2378
2639
|
"type": "paragraph",
|
|
2379
2640
|
"children": [
|
|
2641
|
+
{
|
|
2642
|
+
"type": "text",
|
|
2643
|
+
"text": "矩形树图用面积表示数量,适合展示层次中各部分的占比。"
|
|
2644
|
+
},
|
|
2380
2645
|
{
|
|
2381
2646
|
"type": "text",
|
|
2382
2647
|
"text": "d3.treemap",
|
|
@@ -2388,7 +2653,7 @@
|
|
|
2388
2653
|
},
|
|
2389
2654
|
{
|
|
2390
2655
|
"type": "text",
|
|
2391
|
-
"text": "
|
|
2656
|
+
"text": " 默认使用 "
|
|
2392
2657
|
},
|
|
2393
2658
|
{
|
|
2394
2659
|
"type": "text",
|
|
@@ -2430,7 +2695,7 @@
|
|
|
2430
2695
|
},
|
|
2431
2696
|
{
|
|
2432
2697
|
"type": "text",
|
|
2433
|
-
"text": "
|
|
2698
|
+
"text": " 后一层横切、一层竖切,每个矩形在两种布局之间插值。"
|
|
2434
2699
|
}
|
|
2435
2700
|
]
|
|
2436
2701
|
}
|
|
@@ -2446,7 +2711,7 @@
|
|
|
2446
2711
|
"children": [
|
|
2447
2712
|
{
|
|
2448
2713
|
"type": "text",
|
|
2449
|
-
"text": "
|
|
2714
|
+
"text": "放大到「机器学习」:两个线性比例尺的定义域收缩到这一组的边界,所有矩形按新的比例尺重新放置。"
|
|
2450
2715
|
}
|
|
2451
2716
|
]
|
|
2452
2717
|
}
|
|
@@ -2469,6 +2734,10 @@
|
|
|
2469
2734
|
"id": "d3-pack-zoom--paragraph-1--text-0",
|
|
2470
2735
|
"type": "paragraph",
|
|
2471
2736
|
"children": [
|
|
2737
|
+
{
|
|
2738
|
+
"type": "text",
|
|
2739
|
+
"text": "圆堆积适合在层次之间推进镜头。"
|
|
2740
|
+
},
|
|
2472
2741
|
{
|
|
2473
2742
|
"type": "text",
|
|
2474
2743
|
"text": "d3.pack",
|
|
@@ -2505,7 +2774,7 @@
|
|
|
2505
2774
|
},
|
|
2506
2775
|
{
|
|
2507
2776
|
"type": "text",
|
|
2508
|
-
"text": "
|
|
2777
|
+
"text": " 在两个视野之间插值,镜头推进「人工智能」,小圆的名字随着圆变大而显示。"
|
|
2509
2778
|
}
|
|
2510
2779
|
]
|
|
2511
2780
|
}
|
|
@@ -2521,7 +2790,7 @@
|
|
|
2521
2790
|
"children": [
|
|
2522
2791
|
{
|
|
2523
2792
|
"type": "text",
|
|
2524
|
-
"text": "
|
|
2793
|
+
"text": "从一个子圆移到另一个子圆时,插值先拉远再推近,形成飞越的效果。"
|
|
2525
2794
|
}
|
|
2526
2795
|
]
|
|
2527
2796
|
}
|
|
@@ -2544,6 +2813,10 @@
|
|
|
2544
2813
|
"id": "d3-sunburst-zoom--paragraph-1--text-0",
|
|
2545
2814
|
"type": "paragraph",
|
|
2546
2815
|
"children": [
|
|
2816
|
+
{
|
|
2817
|
+
"type": "text",
|
|
2818
|
+
"text": "旭日图在极坐标下展示层次,放大时把一个分支沿角度展开。"
|
|
2819
|
+
},
|
|
2547
2820
|
{
|
|
2548
2821
|
"type": "text",
|
|
2549
2822
|
"text": "d3.partition",
|
|
@@ -2568,7 +2841,7 @@
|
|
|
2568
2841
|
},
|
|
2569
2842
|
{
|
|
2570
2843
|
"type": "text",
|
|
2571
|
-
"text": "
|
|
2844
|
+
"text": " 画出每一段,一圈圈扫开。"
|
|
2572
2845
|
}
|
|
2573
2846
|
]
|
|
2574
2847
|
}
|
|
@@ -2584,7 +2857,7 @@
|
|
|
2584
2857
|
"children": [
|
|
2585
2858
|
{
|
|
2586
2859
|
"type": "text",
|
|
2587
|
-
"text": "
|
|
2860
|
+
"text": "放大「人工智能」:角度比例尺的定义域收缩到它的起止角,半径比例尺向外推一圈,它的子节点占满整圈。"
|
|
2588
2861
|
}
|
|
2589
2862
|
]
|
|
2590
2863
|
}
|
|
@@ -2600,7 +2873,7 @@
|
|
|
2600
2873
|
"children": [
|
|
2601
2874
|
{
|
|
2602
2875
|
"type": "text",
|
|
2603
|
-
"text": "
|
|
2876
|
+
"text": "退回全图时,同一组比例尺回到原来的定义域,整个过程可以倒着播放。"
|
|
2604
2877
|
}
|
|
2605
2878
|
]
|
|
2606
2879
|
}
|
|
@@ -2625,7 +2898,7 @@
|
|
|
2625
2898
|
"children": [
|
|
2626
2899
|
{
|
|
2627
2900
|
"type": "text",
|
|
2628
|
-
"text": "
|
|
2901
|
+
"text": "力导向图展示网络的连接结构,布局稳定后可以在上面演示路径。节点先出现在 "
|
|
2629
2902
|
},
|
|
2630
2903
|
{
|
|
2631
2904
|
"type": "text",
|
|
@@ -2638,7 +2911,7 @@
|
|
|
2638
2911
|
},
|
|
2639
2912
|
{
|
|
2640
2913
|
"type": "text",
|
|
2641
|
-
"text": "
|
|
2914
|
+
"text": " 的初始位置,即向日葵式的叶序螺旋。"
|
|
2642
2915
|
}
|
|
2643
2916
|
]
|
|
2644
2917
|
}
|
|
@@ -2654,7 +2927,7 @@
|
|
|
2654
2927
|
"children": [
|
|
2655
2928
|
{
|
|
2656
2929
|
"type": "text",
|
|
2657
|
-
"text": "
|
|
2930
|
+
"text": "力导向布局逐步稳定:模拟在构建时停止自动运行,预先跑满两百步,播放时每一帧在相邻两步之间插值。"
|
|
2658
2931
|
}
|
|
2659
2932
|
]
|
|
2660
2933
|
}
|
|
@@ -2693,6 +2966,10 @@
|
|
|
2693
2966
|
"id": "d3-chord--paragraph-1--text-0",
|
|
2694
2967
|
"type": "paragraph",
|
|
2695
2968
|
"children": [
|
|
2969
|
+
{
|
|
2970
|
+
"type": "text",
|
|
2971
|
+
"text": "弦图展示若干对象之间的双向流量。"
|
|
2972
|
+
},
|
|
2696
2973
|
{
|
|
2697
2974
|
"type": "text",
|
|
2698
2975
|
"text": "d3.chord",
|
|
@@ -2704,7 +2981,7 @@
|
|
|
2704
2981
|
},
|
|
2705
2982
|
{
|
|
2706
2983
|
"type": "text",
|
|
2707
|
-
"text": "
|
|
2984
|
+
"text": " 把流量矩阵变成每座城市的弧,弧长等于流出总量,外圈依次扫开并标上城市名。"
|
|
2708
2985
|
}
|
|
2709
2986
|
]
|
|
2710
2987
|
}
|
|
@@ -2729,7 +3006,7 @@
|
|
|
2729
3006
|
},
|
|
2730
3007
|
{
|
|
2731
3008
|
"type": "text",
|
|
2732
|
-
"text": "
|
|
3009
|
+
"text": " 画出城市之间的丝带,每条丝带从起点弧的中间张开,连到终点弧。"
|
|
2733
3010
|
}
|
|
2734
3011
|
]
|
|
2735
3012
|
}
|
|
@@ -2745,7 +3022,7 @@
|
|
|
2745
3022
|
"children": [
|
|
2746
3023
|
{
|
|
2747
3024
|
"type": "text",
|
|
2748
|
-
"text": "
|
|
3025
|
+
"text": "突出上海时,与它相连的丝带保留,其余丝带淡去。"
|
|
2749
3026
|
}
|
|
2750
3027
|
]
|
|
2751
3028
|
}
|
|
@@ -2761,7 +3038,7 @@
|
|
|
2761
3038
|
"children": [
|
|
2762
3039
|
{
|
|
2763
3040
|
"type": "text",
|
|
2764
|
-
"text": "
|
|
3041
|
+
"text": "第四组展示空间与信号:平面划分、密度估计、最近邻查找、地图投影与波形。"
|
|
2765
3042
|
}
|
|
2766
3043
|
]
|
|
2767
3044
|
}
|
|
@@ -2786,7 +3063,7 @@
|
|
|
2786
3063
|
"children": [
|
|
2787
3064
|
{
|
|
2788
3065
|
"type": "text",
|
|
2789
|
-
"text": "
|
|
3066
|
+
"text": "Delaunay 三角网与 Voronoi 图按点划分平面。七十个随机点依次出现,随机数由种子固定的 "
|
|
2790
3067
|
},
|
|
2791
3068
|
{
|
|
2792
3069
|
"type": "text",
|
|
@@ -2799,7 +3076,7 @@
|
|
|
2799
3076
|
},
|
|
2800
3077
|
{
|
|
2801
3078
|
"type": "text",
|
|
2802
|
-
"text": "
|
|
3079
|
+
"text": " 生成。"
|
|
2803
3080
|
}
|
|
2804
3081
|
]
|
|
2805
3082
|
}
|
|
@@ -2824,7 +3101,7 @@
|
|
|
2824
3101
|
},
|
|
2825
3102
|
{
|
|
2826
3103
|
"type": "text",
|
|
2827
|
-
"text": "
|
|
3104
|
+
"text": " 做三角剖分,"
|
|
2828
3105
|
},
|
|
2829
3106
|
{
|
|
2830
3107
|
"type": "text",
|
|
@@ -2878,7 +3155,7 @@
|
|
|
2878
3155
|
"children": [
|
|
2879
3156
|
{
|
|
2880
3157
|
"type": "text",
|
|
2881
|
-
"text": "Lloyd
|
|
3158
|
+
"text": "Lloyd 松弛反复把每个点移到自己单元的重心("
|
|
2882
3159
|
},
|
|
2883
3160
|
{
|
|
2884
3161
|
"type": "text",
|
|
@@ -2891,7 +3168,7 @@
|
|
|
2891
3168
|
},
|
|
2892
3169
|
{
|
|
2893
3170
|
"type": "text",
|
|
2894
|
-
"text": "
|
|
3171
|
+
"text": "),共四十次,单元越来越接近大小相同的六边形。"
|
|
2895
3172
|
}
|
|
2896
3173
|
]
|
|
2897
3174
|
}
|
|
@@ -2916,7 +3193,7 @@
|
|
|
2916
3193
|
"children": [
|
|
2917
3194
|
{
|
|
2918
3195
|
"type": "text",
|
|
2919
|
-
"text": "
|
|
3196
|
+
"text": "散点过密、难以看清分布时,用等值线表示二维密度。四百二十个点来自三个高斯分布。"
|
|
2920
3197
|
}
|
|
2921
3198
|
]
|
|
2922
3199
|
}
|
|
@@ -2954,7 +3231,7 @@
|
|
|
2954
3231
|
},
|
|
2955
3232
|
{
|
|
2956
3233
|
"type": "text",
|
|
2957
|
-
"text": "
|
|
3234
|
+
"text": " 把它们画出来,从外到内用 "
|
|
2958
3235
|
},
|
|
2959
3236
|
{
|
|
2960
3237
|
"type": "text",
|
|
@@ -2983,7 +3260,7 @@
|
|
|
2983
3260
|
"children": [
|
|
2984
3261
|
{
|
|
2985
3262
|
"type": "text",
|
|
2986
|
-
"text": "带宽从 26
|
|
3263
|
+
"text": "带宽从 26 缩小到 9:带宽大时三团连成一片,变小后各自分开,细节也增多。"
|
|
2987
3264
|
}
|
|
2988
3265
|
]
|
|
2989
3266
|
}
|
|
@@ -3006,6 +3283,10 @@
|
|
|
3006
3283
|
"id": "d3-quadtree-find--paragraph-1--text-0",
|
|
3007
3284
|
"type": "paragraph",
|
|
3008
3285
|
"children": [
|
|
3286
|
+
{
|
|
3287
|
+
"type": "text",
|
|
3288
|
+
"text": "四叉树递归地划分平面,用来快速查找最近的点。"
|
|
3289
|
+
},
|
|
3009
3290
|
{
|
|
3010
3291
|
"type": "text",
|
|
3011
3292
|
"text": "d3.quadtree",
|
|
@@ -3017,7 +3298,7 @@
|
|
|
3017
3298
|
},
|
|
3018
3299
|
{
|
|
3019
3300
|
"type": "text",
|
|
3020
|
-
"text": "
|
|
3301
|
+
"text": " 每插入一个点,所在方格满了就一分为四,"
|
|
3021
3302
|
},
|
|
3022
3303
|
{
|
|
3023
3304
|
"type": "text",
|
|
@@ -3055,7 +3336,7 @@
|
|
|
3055
3336
|
},
|
|
3056
3337
|
{
|
|
3057
3338
|
"type": "text",
|
|
3058
|
-
"text": "
|
|
3339
|
+
"text": " 查找最近邻:探针沿曲线移动,红线与虚线圆连到当前最近的点。"
|
|
3059
3340
|
}
|
|
3060
3341
|
]
|
|
3061
3342
|
}
|
|
@@ -3078,6 +3359,10 @@
|
|
|
3078
3359
|
"id": "d3-globe--paragraph-1--text-0",
|
|
3079
3360
|
"type": "paragraph",
|
|
3080
3361
|
"children": [
|
|
3362
|
+
{
|
|
3363
|
+
"type": "text",
|
|
3364
|
+
"text": "讲地理位置与航线时,用投影后的地球。"
|
|
3365
|
+
},
|
|
3081
3366
|
{
|
|
3082
3367
|
"type": "text",
|
|
3083
3368
|
"text": "geoOrthographic",
|
|
@@ -3089,7 +3374,7 @@
|
|
|
3089
3374
|
},
|
|
3090
3375
|
{
|
|
3091
3376
|
"type": "text",
|
|
3092
|
-
"text": "
|
|
3377
|
+
"text": " 投影加上 "
|
|
3093
3378
|
},
|
|
3094
3379
|
{
|
|
3095
3380
|
"type": "text",
|
|
@@ -3115,7 +3400,7 @@
|
|
|
3115
3400
|
},
|
|
3116
3401
|
{
|
|
3117
3402
|
"type": "text",
|
|
3118
|
-
"text": "
|
|
3403
|
+
"text": " 让地球转动,城市用 "
|
|
3119
3404
|
},
|
|
3120
3405
|
{
|
|
3121
3406
|
"type": "text",
|
|
@@ -3153,7 +3438,7 @@
|
|
|
3153
3438
|
},
|
|
3154
3439
|
{
|
|
3155
3440
|
"type": "text",
|
|
3156
|
-
"text": "
|
|
3441
|
+
"text": " 沿大圆插值,航线从北京描到伦敦,红点沿航线飞行,绕到地球背面时隐去。"
|
|
3157
3442
|
}
|
|
3158
3443
|
]
|
|
3159
3444
|
}
|
|
@@ -3178,7 +3463,7 @@
|
|
|
3178
3463
|
},
|
|
3179
3464
|
{
|
|
3180
3465
|
"type": "text",
|
|
3181
|
-
"text": " 混合正射与等距圆柱两个原始投影,裁剪角从 90°
|
|
3466
|
+
"text": " 混合正射与等距圆柱两个原始投影,裁剪角从 90° 增大到 180°,地球展开成平面地图。"
|
|
3182
3467
|
}
|
|
3183
3468
|
]
|
|
3184
3469
|
}
|
|
@@ -3194,7 +3479,7 @@
|
|
|
3194
3479
|
"children": [
|
|
3195
3480
|
{
|
|
3196
3481
|
"type": "text",
|
|
3197
|
-
"text": "
|
|
3482
|
+
"text": "比较各地区的同一个数时使用:每个地区一个等大的方格,小地区和大地区一样显眼,也不需要地图数据。图例上的指针从低值扫到高值,方格在指针经过自己的值时上色,最后只留前几名并列出数值。"
|
|
3198
3483
|
}
|
|
3199
3484
|
]
|
|
3200
3485
|
},
|
|
@@ -3204,7 +3489,51 @@
|
|
|
3204
3489
|
"children": [
|
|
3205
3490
|
{
|
|
3206
3491
|
"type": "text",
|
|
3207
|
-
"text": "
|
|
3492
|
+
"text": "节奏:",
|
|
3493
|
+
"marks": [
|
|
3494
|
+
{
|
|
3495
|
+
"type": "bold"
|
|
3496
|
+
}
|
|
3497
|
+
]
|
|
3498
|
+
},
|
|
3499
|
+
{
|
|
3500
|
+
"type": "text",
|
|
3501
|
+
"text": "grid",
|
|
3502
|
+
"marks": [
|
|
3503
|
+
{
|
|
3504
|
+
"type": "code"
|
|
3505
|
+
}
|
|
3506
|
+
]
|
|
3507
|
+
},
|
|
3508
|
+
{
|
|
3509
|
+
"type": "text",
|
|
3510
|
+
"text": " 1.5 秒,方格从中心向外以波的方式出现(总错开 0.6 秒),随后出现标题与图例;"
|
|
3511
|
+
},
|
|
3512
|
+
{
|
|
3513
|
+
"type": "text",
|
|
3514
|
+
"text": "fill",
|
|
3515
|
+
"marks": [
|
|
3516
|
+
{
|
|
3517
|
+
"type": "code"
|
|
3518
|
+
}
|
|
3519
|
+
]
|
|
3520
|
+
},
|
|
3521
|
+
{
|
|
3522
|
+
"type": "text",
|
|
3523
|
+
"text": " 2.5 秒,指针用 1.6 秒扫过图例,方格依次上色,地图从低值地区填到高值地区,再停 0.9 秒;"
|
|
3524
|
+
},
|
|
3525
|
+
{
|
|
3526
|
+
"type": "text",
|
|
3527
|
+
"text": "focus",
|
|
3528
|
+
"marks": [
|
|
3529
|
+
{
|
|
3530
|
+
"type": "code"
|
|
3531
|
+
}
|
|
3532
|
+
]
|
|
3533
|
+
},
|
|
3534
|
+
{
|
|
3535
|
+
"type": "text",
|
|
3536
|
+
"text": " 2.5 秒,其余地区暗到三分之一,前三名描边,右侧排名列表依次浮现,停留至少 1.5 秒。"
|
|
3208
3537
|
}
|
|
3209
3538
|
]
|
|
3210
3539
|
},
|
|
@@ -3214,7 +3543,90 @@
|
|
|
3214
3543
|
"children": [
|
|
3215
3544
|
{
|
|
3216
3545
|
"type": "text",
|
|
3217
|
-
"text": "参数:
|
|
3546
|
+
"text": "参数:",
|
|
3547
|
+
"marks": [
|
|
3548
|
+
{
|
|
3549
|
+
"type": "bold"
|
|
3550
|
+
}
|
|
3551
|
+
]
|
|
3552
|
+
},
|
|
3553
|
+
{
|
|
3554
|
+
"type": "text",
|
|
3555
|
+
"text": "tiles",
|
|
3556
|
+
"marks": [
|
|
3557
|
+
{
|
|
3558
|
+
"type": "code"
|
|
3559
|
+
}
|
|
3560
|
+
]
|
|
3561
|
+
},
|
|
3562
|
+
{
|
|
3563
|
+
"type": "text",
|
|
3564
|
+
"text": "([名称, 列, 行] 的列表,默认为中国 34 个省级行政区)、"
|
|
3565
|
+
},
|
|
3566
|
+
{
|
|
3567
|
+
"type": "text",
|
|
3568
|
+
"text": "values",
|
|
3569
|
+
"marks": [
|
|
3570
|
+
{
|
|
3571
|
+
"type": "code"
|
|
3572
|
+
}
|
|
3573
|
+
]
|
|
3574
|
+
},
|
|
3575
|
+
{
|
|
3576
|
+
"type": "text",
|
|
3577
|
+
"text": "(名称到数值的映射)、"
|
|
3578
|
+
},
|
|
3579
|
+
{
|
|
3580
|
+
"type": "text",
|
|
3581
|
+
"text": "unit",
|
|
3582
|
+
"marks": [
|
|
3583
|
+
{
|
|
3584
|
+
"type": "code"
|
|
3585
|
+
}
|
|
3586
|
+
]
|
|
3587
|
+
},
|
|
3588
|
+
{
|
|
3589
|
+
"type": "text",
|
|
3590
|
+
"text": "、"
|
|
3591
|
+
},
|
|
3592
|
+
{
|
|
3593
|
+
"type": "text",
|
|
3594
|
+
"text": "title",
|
|
3595
|
+
"marks": [
|
|
3596
|
+
{
|
|
3597
|
+
"type": "code"
|
|
3598
|
+
}
|
|
3599
|
+
]
|
|
3600
|
+
},
|
|
3601
|
+
{
|
|
3602
|
+
"type": "text",
|
|
3603
|
+
"text": "、"
|
|
3604
|
+
},
|
|
3605
|
+
{
|
|
3606
|
+
"type": "text",
|
|
3607
|
+
"text": "source",
|
|
3608
|
+
"marks": [
|
|
3609
|
+
{
|
|
3610
|
+
"type": "code"
|
|
3611
|
+
}
|
|
3612
|
+
]
|
|
3613
|
+
},
|
|
3614
|
+
{
|
|
3615
|
+
"type": "text",
|
|
3616
|
+
"text": "(默认为“示意数据”)、"
|
|
3617
|
+
},
|
|
3618
|
+
{
|
|
3619
|
+
"type": "text",
|
|
3620
|
+
"text": "top",
|
|
3621
|
+
"marks": [
|
|
3622
|
+
{
|
|
3623
|
+
"type": "code"
|
|
3624
|
+
}
|
|
3625
|
+
]
|
|
3626
|
+
},
|
|
3627
|
+
{
|
|
3628
|
+
"type": "text",
|
|
3629
|
+
"text": "。没有数值的地区画成斜线,并在图例中注明“无数据”。"
|
|
3218
3630
|
}
|
|
3219
3631
|
]
|
|
3220
3632
|
}
|
|
@@ -3239,7 +3651,7 @@
|
|
|
3239
3651
|
"children": [
|
|
3240
3652
|
{
|
|
3241
3653
|
"type": "text",
|
|
3242
|
-
"text": "
|
|
3654
|
+
"text": "讲信号、频率与采样时使用:光点按时基从左扫到右,荧光余辉留下波形并按指数衰减;随后频率升高,同一屏中的周期变多。"
|
|
3243
3655
|
}
|
|
3244
3656
|
]
|
|
3245
3657
|
},
|
|
@@ -3249,7 +3661,51 @@
|
|
|
3249
3661
|
"children": [
|
|
3250
3662
|
{
|
|
3251
3663
|
"type": "text",
|
|
3252
|
-
"text": "
|
|
3664
|
+
"text": "节奏:",
|
|
3665
|
+
"marks": [
|
|
3666
|
+
{
|
|
3667
|
+
"type": "bold"
|
|
3668
|
+
}
|
|
3669
|
+
]
|
|
3670
|
+
},
|
|
3671
|
+
{
|
|
3672
|
+
"type": "text",
|
|
3673
|
+
"text": "screen",
|
|
3674
|
+
"marks": [
|
|
3675
|
+
{
|
|
3676
|
+
"type": "code"
|
|
3677
|
+
}
|
|
3678
|
+
]
|
|
3679
|
+
},
|
|
3680
|
+
{
|
|
3681
|
+
"type": "text",
|
|
3682
|
+
"text": " 1.2 秒,刻度网格从中线向外出现,读数栏随之出现(横轴为时间,纵轴为电压);"
|
|
3683
|
+
},
|
|
3684
|
+
{
|
|
3685
|
+
"type": "text",
|
|
3686
|
+
"text": "trace",
|
|
3687
|
+
"marks": [
|
|
3688
|
+
{
|
|
3689
|
+
"type": "code"
|
|
3690
|
+
}
|
|
3691
|
+
]
|
|
3692
|
+
},
|
|
3693
|
+
{
|
|
3694
|
+
"type": "text",
|
|
3695
|
+
"text": " 2.5 秒,光点以每格 0.1 秒的速度扫描,余辉亮度按 exp(−age/τ) 衰减,光点移动慢的地方更亮;"
|
|
3696
|
+
},
|
|
3697
|
+
{
|
|
3698
|
+
"type": "text",
|
|
3699
|
+
"text": "change",
|
|
3700
|
+
"marks": [
|
|
3701
|
+
{
|
|
3702
|
+
"type": "code"
|
|
3703
|
+
}
|
|
3704
|
+
]
|
|
3705
|
+
},
|
|
3706
|
+
{
|
|
3707
|
+
"type": "text",
|
|
3708
|
+
"text": " 2.5 秒,频率在 1.2 秒内从 from 升到 to,读数同步计数,之后扫出的波形变密,其余时间持续扫描。"
|
|
3253
3709
|
}
|
|
3254
3710
|
]
|
|
3255
3711
|
},
|
|
@@ -3259,7 +3715,87 @@
|
|
|
3259
3715
|
"children": [
|
|
3260
3716
|
{
|
|
3261
3717
|
"type": "text",
|
|
3262
|
-
"text": "参数:
|
|
3718
|
+
"text": "参数:",
|
|
3719
|
+
"marks": [
|
|
3720
|
+
{
|
|
3721
|
+
"type": "bold"
|
|
3722
|
+
}
|
|
3723
|
+
]
|
|
3724
|
+
},
|
|
3725
|
+
{
|
|
3726
|
+
"type": "text",
|
|
3727
|
+
"text": "waveform",
|
|
3728
|
+
"marks": [
|
|
3729
|
+
{
|
|
3730
|
+
"type": "code"
|
|
3731
|
+
}
|
|
3732
|
+
]
|
|
3733
|
+
},
|
|
3734
|
+
{
|
|
3735
|
+
"type": "text",
|
|
3736
|
+
"text": "(sine、square、triangle)、"
|
|
3737
|
+
},
|
|
3738
|
+
{
|
|
3739
|
+
"type": "text",
|
|
3740
|
+
"text": "from",
|
|
3741
|
+
"marks": [
|
|
3742
|
+
{
|
|
3743
|
+
"type": "code"
|
|
3744
|
+
}
|
|
3745
|
+
]
|
|
3746
|
+
},
|
|
3747
|
+
{
|
|
3748
|
+
"type": "text",
|
|
3749
|
+
"text": "、"
|
|
3750
|
+
},
|
|
3751
|
+
{
|
|
3752
|
+
"type": "text",
|
|
3753
|
+
"text": "to",
|
|
3754
|
+
"marks": [
|
|
3755
|
+
{
|
|
3756
|
+
"type": "code"
|
|
3757
|
+
}
|
|
3758
|
+
]
|
|
3759
|
+
},
|
|
3760
|
+
{
|
|
3761
|
+
"type": "text",
|
|
3762
|
+
"text": "(Hz)、"
|
|
3763
|
+
},
|
|
3764
|
+
{
|
|
3765
|
+
"type": "text",
|
|
3766
|
+
"text": "amplitude",
|
|
3767
|
+
"marks": [
|
|
3768
|
+
{
|
|
3769
|
+
"type": "code"
|
|
3770
|
+
}
|
|
3771
|
+
]
|
|
3772
|
+
},
|
|
3773
|
+
{
|
|
3774
|
+
"type": "text",
|
|
3775
|
+
"text": "(格)、"
|
|
3776
|
+
},
|
|
3777
|
+
{
|
|
3778
|
+
"type": "text",
|
|
3779
|
+
"text": "persistence",
|
|
3780
|
+
"marks": [
|
|
3781
|
+
{
|
|
3782
|
+
"type": "code"
|
|
3783
|
+
}
|
|
3784
|
+
]
|
|
3785
|
+
},
|
|
3786
|
+
{
|
|
3787
|
+
"type": "text",
|
|
3788
|
+
"text": "(τ,毫秒)。每次扫描在信号下一次上升过零时触发,所以波形不会漂移;相位是频率的积分,按分段闭式计算。"
|
|
3789
|
+
}
|
|
3790
|
+
]
|
|
3791
|
+
},
|
|
3792
|
+
{
|
|
3793
|
+
"id": "dc-oscilloscope--notes--summary",
|
|
3794
|
+
"type": "paragraph",
|
|
3795
|
+
"children": [
|
|
3796
|
+
{
|
|
3797
|
+
"type": "text",
|
|
3798
|
+
"text": "从数字滚动到示波器,本文的效果遵循同一种做法:每一步只改变一件事,画面由数据、比例尺或布局插值得出。选择效果时先看数据的形态:一个数用滚动、进度环或仪表,一组数用统计图表,层次与关系用树、矩形树图或网络图,位置与信号用空间图和波形。"
|
|
3263
3799
|
}
|
|
3264
3800
|
]
|
|
3265
3801
|
}
|
|
@@ -5509,7 +6045,7 @@
|
|
|
5509
6045
|
"content": [
|
|
5510
6046
|
{
|
|
5511
6047
|
"type": "text",
|
|
5512
|
-
"text": "
|
|
6048
|
+
"text": "前五轮训练,损失从二点三零快速下降,准确率升到百分之八十一。"
|
|
5513
6049
|
}
|
|
5514
6050
|
]
|
|
5515
6051
|
},
|
|
@@ -5518,7 +6054,7 @@
|
|
|
5518
6054
|
"content": [
|
|
5519
6055
|
{
|
|
5520
6056
|
"type": "text",
|
|
5521
|
-
"text": "
|
|
6057
|
+
"text": "再训练五轮,损失只降到零点一二,准确率到百分之九十七。越往后,变化越小。"
|
|
5522
6058
|
}
|
|
5523
6059
|
]
|
|
5524
6060
|
},
|
|
@@ -5527,7 +6063,7 @@
|
|
|
5527
6063
|
"content": [
|
|
5528
6064
|
{
|
|
5529
6065
|
"type": "text",
|
|
5530
|
-
"text": "GPT
|
|
6066
|
+
"text": "第一代 GPT,有一点一七亿个参数。"
|
|
5531
6067
|
}
|
|
5532
6068
|
]
|
|
5533
6069
|
},
|
|
@@ -5536,7 +6072,7 @@
|
|
|
5536
6072
|
"content": [
|
|
5537
6073
|
{
|
|
5538
6074
|
"type": "text",
|
|
5539
|
-
"text": "GPT
|
|
6075
|
+
"text": "到 GPT 2,是十五亿,多了一个数量级。"
|
|
5540
6076
|
}
|
|
5541
6077
|
]
|
|
5542
6078
|
},
|
|
@@ -5545,7 +6081,7 @@
|
|
|
5545
6081
|
"content": [
|
|
5546
6082
|
{
|
|
5547
6083
|
"type": "text",
|
|
5548
|
-
"text": "GPT
|
|
6084
|
+
"text": "GPT 3 有一千七百五十亿。差距这么大,柱子只能按对数刻度来画。"
|
|
5549
6085
|
}
|
|
5550
6086
|
]
|
|
5551
6087
|
},
|
|
@@ -5554,7 +6090,7 @@
|
|
|
5554
6090
|
"content": [
|
|
5555
6091
|
{
|
|
5556
6092
|
"type": "text",
|
|
5557
|
-
"text": "
|
|
6093
|
+
"text": "前十轮,损失下降很快,从二点三一降到一点一二,准确率升到六成。"
|
|
5558
6094
|
}
|
|
5559
6095
|
]
|
|
5560
6096
|
},
|
|
@@ -5563,7 +6099,7 @@
|
|
|
5563
6099
|
"content": [
|
|
5564
6100
|
{
|
|
5565
6101
|
"type": "text",
|
|
5566
|
-
"text": "
|
|
6102
|
+
"text": "再训练四十轮,损失越降越慢,最后停在零点四二,准确率百分之九十一点三。"
|
|
5567
6103
|
}
|
|
5568
6104
|
]
|
|
5569
6105
|
},
|
|
@@ -5572,7 +6108,7 @@
|
|
|
5572
6108
|
"content": [
|
|
5573
6109
|
{
|
|
5574
6110
|
"type": "text",
|
|
5575
|
-
"text": "GPT
|
|
6111
|
+
"text": "先看 GPT 1,它有一亿多个参数。"
|
|
5576
6112
|
}
|
|
5577
6113
|
]
|
|
5578
6114
|
},
|
|
@@ -5581,7 +6117,7 @@
|
|
|
5581
6117
|
"content": [
|
|
5582
6118
|
{
|
|
5583
6119
|
"type": "text",
|
|
5584
|
-
"text": "GPT
|
|
6120
|
+
"text": "GPT 2 是十五亿,一下翻了十几倍。"
|
|
5585
6121
|
}
|
|
5586
6122
|
]
|
|
5587
6123
|
},
|
|
@@ -5590,7 +6126,7 @@
|
|
|
5590
6126
|
"content": [
|
|
5591
6127
|
{
|
|
5592
6128
|
"type": "text",
|
|
5593
|
-
"text": "GPT
|
|
6129
|
+
"text": "GPT 3 是一千七百五十亿,又大了一百多倍,刻度条已经走到头。"
|
|
5594
6130
|
}
|
|
5595
6131
|
]
|
|
5596
6132
|
},
|
|
@@ -5599,7 +6135,7 @@
|
|
|
5599
6135
|
"content": [
|
|
5600
6136
|
{
|
|
5601
6137
|
"type": "text",
|
|
5602
|
-
"text": "
|
|
6138
|
+
"text": "下载数据完成,进度百分之二十五。"
|
|
5603
6139
|
}
|
|
5604
6140
|
]
|
|
5605
6141
|
},
|
|
@@ -5608,7 +6144,7 @@
|
|
|
5608
6144
|
"content": [
|
|
5609
6145
|
{
|
|
5610
6146
|
"type": "text",
|
|
5611
|
-
"text": "
|
|
6147
|
+
"text": "预处理和训练也完成了,进度到百分之七十二。"
|
|
5612
6148
|
}
|
|
5613
6149
|
]
|
|
5614
6150
|
},
|
|
@@ -5617,7 +6153,7 @@
|
|
|
5617
6153
|
"content": [
|
|
5618
6154
|
{
|
|
5619
6155
|
"type": "text",
|
|
5620
|
-
"text": "
|
|
6156
|
+
"text": "最后评估完成,环走满,变成绿色,四个任务全部结束。"
|
|
5621
6157
|
}
|
|
5622
6158
|
]
|
|
5623
6159
|
},
|
|
@@ -5626,7 +6162,7 @@
|
|
|
5626
6162
|
"content": [
|
|
5627
6163
|
{
|
|
5628
6164
|
"type": "text",
|
|
5629
|
-
"text": "
|
|
6165
|
+
"text": "八个月的销量,柱子一根接一根长出来,顶上的数字跟着往上数。"
|
|
5630
6166
|
}
|
|
5631
6167
|
]
|
|
5632
6168
|
},
|
|
@@ -5635,7 +6171,7 @@
|
|
|
5635
6171
|
"content": [
|
|
5636
6172
|
{
|
|
5637
6173
|
"type": "text",
|
|
5638
|
-
"text": "
|
|
6174
|
+
"text": "换成下一年的数据。每根柱子从旧高度直接变到新高度,哪个月涨、哪个月跌,一眼就能看出。"
|
|
5639
6175
|
}
|
|
5640
6176
|
]
|
|
5641
6177
|
},
|
|
@@ -5644,7 +6180,7 @@
|
|
|
5644
6180
|
"content": [
|
|
5645
6181
|
{
|
|
5646
6182
|
"type": "text",
|
|
5647
|
-
"text": "
|
|
6183
|
+
"text": "五月最高,所以只把它换成强调色,其他柱子退到后面。"
|
|
5648
6184
|
}
|
|
5649
6185
|
]
|
|
5650
6186
|
},
|
|
@@ -5653,7 +6189,7 @@
|
|
|
5653
6189
|
"content": [
|
|
5654
6190
|
{
|
|
5655
6191
|
"type": "text",
|
|
5656
|
-
"text": "
|
|
6192
|
+
"text": "这是温度为一的时候,五个词的概率分布。"
|
|
5657
6193
|
}
|
|
5658
6194
|
]
|
|
5659
6195
|
},
|
|
@@ -5662,7 +6198,7 @@
|
|
|
5662
6198
|
"content": [
|
|
5663
6199
|
{
|
|
5664
6200
|
"type": "text",
|
|
5665
|
-
"text": "
|
|
6201
|
+
"text": "把温度降到零点四,分布变尖。the 这个词的概率更大,其他词都变小了。"
|
|
5666
6202
|
}
|
|
5667
6203
|
]
|
|
5668
6204
|
},
|
|
@@ -5671,7 +6207,7 @@
|
|
|
5671
6207
|
"content": [
|
|
5672
6208
|
{
|
|
5673
6209
|
"type": "text",
|
|
5674
|
-
"text": "
|
|
6210
|
+
"text": "九十个点画在线性比例尺上,坐标轴也由同一个比例尺画出。"
|
|
5675
6211
|
}
|
|
5676
6212
|
]
|
|
5677
6213
|
},
|
|
@@ -5680,7 +6216,7 @@
|
|
|
5680
6216
|
"content": [
|
|
5681
6217
|
{
|
|
5682
6218
|
"type": "text",
|
|
5683
|
-
"text": "
|
|
6219
|
+
"text": "放大,其实只是把定义域换成一段更窄的区间。刻度每一帧跟着重画,所以缩放是连续的。"
|
|
5684
6220
|
}
|
|
5685
6221
|
]
|
|
5686
6222
|
},
|
|
@@ -5689,7 +6225,7 @@
|
|
|
5689
6225
|
"content": [
|
|
5690
6226
|
{
|
|
5691
6227
|
"type": "text",
|
|
5692
|
-
"text": "
|
|
6228
|
+
"text": "同一个数值还能交给另外两个比例尺,一个决定颜色,一个决定半径。"
|
|
5693
6229
|
}
|
|
5694
6230
|
]
|
|
5695
6231
|
},
|
|
@@ -5698,7 +6234,7 @@
|
|
|
5698
6234
|
"content": [
|
|
5699
6235
|
{
|
|
5700
6236
|
"type": "text",
|
|
5701
|
-
"text": "
|
|
6237
|
+
"text": "数据连接按键把字母和元素对上。第一个词的字母全是新来的,从上方落下。"
|
|
5702
6238
|
}
|
|
5703
6239
|
]
|
|
5704
6240
|
},
|
|
@@ -5707,7 +6243,7 @@
|
|
|
5707
6243
|
"content": [
|
|
5708
6244
|
{
|
|
5709
6245
|
"type": "text",
|
|
5710
|
-
"text": "
|
|
6246
|
+
"text": "换一个词。留下的字母叫 update,滑到新位置;新字母叫 enter,绿色落下;删掉的叫 exit,红色掉出去。"
|
|
5711
6247
|
}
|
|
5712
6248
|
]
|
|
5713
6249
|
},
|
|
@@ -5716,7 +6252,7 @@
|
|
|
5716
6252
|
"content": [
|
|
5717
6253
|
{
|
|
5718
6254
|
"type": "text",
|
|
5719
|
-
"text": "
|
|
6255
|
+
"text": "再换一次,还是这三种情况。"
|
|
5720
6256
|
}
|
|
5721
6257
|
]
|
|
5722
6258
|
},
|
|
@@ -5734,7 +6270,7 @@
|
|
|
5734
6270
|
"content": [
|
|
5735
6271
|
{
|
|
5736
6272
|
"type": "text",
|
|
5737
|
-
"text": "
|
|
6273
|
+
"text": "折线从左到右描出来,先让人看到整体走势。"
|
|
5738
6274
|
}
|
|
5739
6275
|
]
|
|
5740
6276
|
},
|
|
@@ -5743,7 +6279,7 @@
|
|
|
5743
6279
|
"content": [
|
|
5744
6280
|
{
|
|
5745
6281
|
"type": "text",
|
|
5746
|
-
"text": "
|
|
6282
|
+
"text": "读数线扫过去,每到一处,就找到离它最近的数据点,显示日期和数值。"
|
|
5747
6283
|
}
|
|
5748
6284
|
]
|
|
5749
6285
|
},
|
|
@@ -5752,7 +6288,7 @@
|
|
|
5752
6288
|
"content": [
|
|
5753
6289
|
{
|
|
5754
6290
|
"type": "text",
|
|
5755
|
-
"text": "
|
|
6291
|
+
"text": "最后用同一组点画出面积,淡淡地填上颜色。"
|
|
5756
6292
|
}
|
|
5757
6293
|
]
|
|
5758
6294
|
},
|
|
@@ -5761,7 +6297,7 @@
|
|
|
5761
6297
|
"content": [
|
|
5762
6298
|
{
|
|
5763
6299
|
"type": "text",
|
|
5764
|
-
"text": "
|
|
6300
|
+
"text": "十种编程语言,第一年的条形长出来,按数值排好名次。"
|
|
5765
6301
|
}
|
|
5766
6302
|
]
|
|
5767
6303
|
},
|
|
@@ -5770,7 +6306,7 @@
|
|
|
5770
6306
|
"content": [
|
|
5771
6307
|
{
|
|
5772
6308
|
"type": "text",
|
|
5773
|
-
"text": "
|
|
6309
|
+
"text": "到下一年,数值和名次一起过渡。谁超过了别人,就从下面穿上去。横轴也跟着最大值伸缩。"
|
|
5774
6310
|
}
|
|
5775
6311
|
]
|
|
5776
6312
|
},
|
|
@@ -5779,7 +6315,7 @@
|
|
|
5779
6315
|
"content": [
|
|
5780
6316
|
{
|
|
5781
6317
|
"type": "text",
|
|
5782
|
-
"text": "
|
|
6318
|
+
"text": "再下一年,掉出前七的淡出,挤进前七的淡入。"
|
|
5783
6319
|
}
|
|
5784
6320
|
]
|
|
5785
6321
|
},
|
|
@@ -5788,7 +6324,7 @@
|
|
|
5788
6324
|
"content": [
|
|
5789
6325
|
{
|
|
5790
6326
|
"type": "text",
|
|
5791
|
-
"text": "
|
|
6327
|
+
"text": "继续往后比,左下角的年份跟着往前走。"
|
|
5792
6328
|
}
|
|
5793
6329
|
]
|
|
5794
6330
|
},
|
|
@@ -5797,7 +6333,7 @@
|
|
|
5797
6333
|
"content": [
|
|
5798
6334
|
{
|
|
5799
6335
|
"type": "text",
|
|
5800
|
-
"text": "
|
|
6336
|
+
"text": "到最后一年,名次定了下来。"
|
|
5801
6337
|
}
|
|
5802
6338
|
]
|
|
5803
6339
|
},
|
|
@@ -5806,7 +6342,7 @@
|
|
|
5806
6342
|
"content": [
|
|
5807
6343
|
{
|
|
5808
6344
|
"type": "text",
|
|
5809
|
-
"text": "
|
|
6345
|
+
"text": "五百个样本一个个到来,直方图每一帧重新分箱,慢慢长高。"
|
|
5810
6346
|
}
|
|
5811
6347
|
]
|
|
5812
6348
|
},
|
|
@@ -5815,7 +6351,7 @@
|
|
|
5815
6351
|
"content": [
|
|
5816
6352
|
{
|
|
5817
6353
|
"type": "text",
|
|
5818
|
-
"text": "
|
|
6354
|
+
"text": "箱宽从二点五换成十。箱子变宽,细节变少,形状更平滑。"
|
|
5819
6355
|
}
|
|
5820
6356
|
]
|
|
5821
6357
|
},
|
|
@@ -5824,7 +6360,7 @@
|
|
|
5824
6360
|
"content": [
|
|
5825
6361
|
{
|
|
5826
6362
|
"type": "text",
|
|
5827
|
-
"text": "
|
|
6363
|
+
"text": "最后用高斯核估计密度,画出一条曲线,能看到两个峰。"
|
|
5828
6364
|
}
|
|
5829
6365
|
]
|
|
5830
6366
|
},
|
|
@@ -5833,7 +6369,7 @@
|
|
|
5833
6369
|
"content": [
|
|
5834
6370
|
{
|
|
5835
6371
|
"type": "text",
|
|
5836
|
-
"text": "
|
|
6372
|
+
"text": "六个研究方向的面积一层层叠上去,每层都从下一层的顶上长起来。"
|
|
5837
6373
|
}
|
|
5838
6374
|
]
|
|
5839
6375
|
},
|
|
@@ -5842,7 +6378,7 @@
|
|
|
5842
6378
|
"content": [
|
|
5843
6379
|
{
|
|
5844
6380
|
"type": "text",
|
|
5845
|
-
"text": "
|
|
6381
|
+
"text": "换成河流图,图形变得上下对称。每个点的边界逐点过渡,所以能看出每一层移到了哪里。"
|
|
5846
6382
|
}
|
|
5847
6383
|
]
|
|
5848
6384
|
},
|
|
@@ -5851,7 +6387,7 @@
|
|
|
5851
6387
|
"content": [
|
|
5852
6388
|
{
|
|
5853
6389
|
"type": "text",
|
|
5854
|
-
"text": "
|
|
6390
|
+
"text": "突出语音这一层,其他层都变淡。"
|
|
5855
6391
|
}
|
|
5856
6392
|
]
|
|
5857
6393
|
},
|
|
@@ -5860,7 +6396,7 @@
|
|
|
5860
6396
|
"content": [
|
|
5861
6397
|
{
|
|
5862
6398
|
"type": "text",
|
|
5863
|
-
"text": "
|
|
6399
|
+
"text": "算力分配的饼图,按角度从零扫开。"
|
|
5864
6400
|
}
|
|
5865
6401
|
]
|
|
5866
6402
|
},
|
|
@@ -5869,7 +6405,7 @@
|
|
|
5869
6405
|
"content": [
|
|
5870
6406
|
{
|
|
5871
6407
|
"type": "text",
|
|
5872
|
-
"text": "
|
|
6408
|
+
"text": "中间挖空,段与段之间留出空隙,饼图变成了环图。"
|
|
5873
6409
|
}
|
|
5874
6410
|
]
|
|
5875
6411
|
},
|
|
@@ -5878,7 +6414,7 @@
|
|
|
5878
6414
|
"content": [
|
|
5879
6415
|
{
|
|
5880
6416
|
"type": "text",
|
|
5881
|
-
"text": "
|
|
6417
|
+
"text": "换成两年后的数据,每段弧转到新的角度。插值的是角度,所以扇形在过渡中不会变形。"
|
|
5882
6418
|
}
|
|
5883
6419
|
]
|
|
5884
6420
|
},
|
|
@@ -5887,7 +6423,7 @@
|
|
|
5887
6423
|
"content": [
|
|
5888
6424
|
{
|
|
5889
6425
|
"type": "text",
|
|
5890
|
-
"text": "
|
|
6426
|
+
"text": "先用顺序色。值越大,颜色越亮,格子沿对角线一格格填上。"
|
|
5891
6427
|
}
|
|
5892
6428
|
]
|
|
5893
6429
|
},
|
|
@@ -5896,7 +6432,7 @@
|
|
|
5896
6432
|
"content": [
|
|
5897
6433
|
{
|
|
5898
6434
|
"type": "text",
|
|
5899
|
-
"text": "
|
|
6435
|
+
"text": "数据有正有负,就换成发散色:零是白色,正数和负数各用一种颜色。"
|
|
5900
6436
|
}
|
|
5901
6437
|
]
|
|
5902
6438
|
},
|
|
@@ -5905,7 +6441,7 @@
|
|
|
5905
6441
|
"content": [
|
|
5906
6442
|
{
|
|
5907
6443
|
"type": "text",
|
|
5908
|
-
"text": "
|
|
6444
|
+
"text": "最后把连续的值分成七级,图例变成七个色块。"
|
|
5909
6445
|
}
|
|
5910
6446
|
]
|
|
5911
6447
|
},
|
|
@@ -5914,7 +6450,7 @@
|
|
|
5914
6450
|
"content": [
|
|
5915
6451
|
{
|
|
5916
6452
|
"type": "text",
|
|
5917
|
-
"text": "
|
|
6453
|
+
"text": "计算机学科的层次,一层层长成一棵树,每层都从父节点长出来。"
|
|
5918
6454
|
}
|
|
5919
6455
|
]
|
|
5920
6456
|
},
|
|
@@ -5923,7 +6459,7 @@
|
|
|
5923
6459
|
"content": [
|
|
5924
6460
|
{
|
|
5925
6461
|
"type": "text",
|
|
5926
|
-
"text": "
|
|
6462
|
+
"text": "换成聚类树,所有叶子对齐到最右边一列。"
|
|
5927
6463
|
}
|
|
5928
6464
|
]
|
|
5929
6465
|
},
|
|
@@ -5932,7 +6468,7 @@
|
|
|
5932
6468
|
"content": [
|
|
5933
6469
|
{
|
|
5934
6470
|
"type": "text",
|
|
5935
|
-
"text": "
|
|
6471
|
+
"text": "再弯成径向树,根在中心。两种连线的路径结构相同,所以能直接平滑过渡。"
|
|
5936
6472
|
}
|
|
5937
6473
|
]
|
|
5938
6474
|
},
|
|
@@ -5941,7 +6477,7 @@
|
|
|
5941
6477
|
"content": [
|
|
5942
6478
|
{
|
|
5943
6479
|
"type": "text",
|
|
5944
|
-
"text": "
|
|
6480
|
+
"text": "矩形树图用面积表示大小。先切出大组,再切出叶子,每块尽量接近正方形。"
|
|
5945
6481
|
}
|
|
5946
6482
|
]
|
|
5947
6483
|
},
|
|
@@ -5950,7 +6486,7 @@
|
|
|
5950
6486
|
"content": [
|
|
5951
6487
|
{
|
|
5952
6488
|
"type": "text",
|
|
5953
|
-
"text": "
|
|
6489
|
+
"text": "换一种切法:一层横切,一层竖切,每个矩形滑到新位置。"
|
|
5954
6490
|
}
|
|
5955
6491
|
]
|
|
5956
6492
|
},
|
|
@@ -5959,7 +6495,7 @@
|
|
|
5959
6495
|
"content": [
|
|
5960
6496
|
{
|
|
5961
6497
|
"type": "text",
|
|
5962
|
-
"text": "
|
|
6498
|
+
"text": "放大到机器学习这一组。比例尺缩到它的边界,它就占满了整个画面。"
|
|
5963
6499
|
}
|
|
5964
6500
|
]
|
|
5965
6501
|
},
|
|
@@ -5968,7 +6504,7 @@
|
|
|
5968
6504
|
"content": [
|
|
5969
6505
|
{
|
|
5970
6506
|
"type": "text",
|
|
5971
|
-
"text": "
|
|
6507
|
+
"text": "嵌套的圆从外层到内层依次出现,圆的大小代表数值。"
|
|
5972
6508
|
}
|
|
5973
6509
|
]
|
|
5974
6510
|
},
|
|
@@ -5977,7 +6513,7 @@
|
|
|
5977
6513
|
"content": [
|
|
5978
6514
|
{
|
|
5979
6515
|
"type": "text",
|
|
5980
|
-
"text": "
|
|
6516
|
+
"text": "镜头推进人工智能,小圆变大,名字也显示出来。"
|
|
5981
6517
|
}
|
|
5982
6518
|
]
|
|
5983
6519
|
},
|
|
@@ -5986,7 +6522,7 @@
|
|
|
5986
6522
|
"content": [
|
|
5987
6523
|
{
|
|
5988
6524
|
"type": "text",
|
|
5989
|
-
"text": "
|
|
6525
|
+
"text": "从这里去系统,镜头先拉远,再推近,像飞过去一样。"
|
|
5990
6526
|
}
|
|
5991
6527
|
]
|
|
5992
6528
|
},
|
|
@@ -5995,7 +6531,7 @@
|
|
|
5995
6531
|
"content": [
|
|
5996
6532
|
{
|
|
5997
6533
|
"type": "text",
|
|
5998
|
-
"text": "
|
|
6534
|
+
"text": "层次的环一圈圈扫开,越往外,层级越深。"
|
|
5999
6535
|
}
|
|
6000
6536
|
]
|
|
6001
6537
|
},
|
|
@@ -6004,7 +6540,7 @@
|
|
|
6004
6540
|
"content": [
|
|
6005
6541
|
{
|
|
6006
6542
|
"type": "text",
|
|
6007
|
-
"text": "
|
|
6543
|
+
"text": "点进人工智能,它从一小段弧展开成整整一圈。"
|
|
6008
6544
|
}
|
|
6009
6545
|
]
|
|
6010
6546
|
},
|
|
@@ -6013,7 +6549,7 @@
|
|
|
6013
6549
|
"content": [
|
|
6014
6550
|
{
|
|
6015
6551
|
"type": "text",
|
|
6016
|
-
"text": "
|
|
6552
|
+
"text": "再退回去。用的还是同一组比例尺,所以能原路倒放。"
|
|
6017
6553
|
}
|
|
6018
6554
|
]
|
|
6019
6555
|
},
|
|
@@ -6022,7 +6558,7 @@
|
|
|
6022
6558
|
"content": [
|
|
6023
6559
|
{
|
|
6024
6560
|
"type": "text",
|
|
6025
|
-
"text": "
|
|
6561
|
+
"text": "三十四个节点,从一个向日葵式的螺旋出发。"
|
|
6026
6562
|
}
|
|
6027
6563
|
]
|
|
6028
6564
|
},
|
|
@@ -6031,7 +6567,7 @@
|
|
|
6031
6567
|
"content": [
|
|
6032
6568
|
{
|
|
6033
6569
|
"type": "text",
|
|
6034
|
-
"text": "
|
|
6570
|
+
"text": "在力的作用下,节点散开,慢慢稳定。这两百步是预先算好的,所以可以随时跳转、倒放。"
|
|
6035
6571
|
}
|
|
6036
6572
|
]
|
|
6037
6573
|
},
|
|
@@ -6040,7 +6576,7 @@
|
|
|
6040
6576
|
"content": [
|
|
6041
6577
|
{
|
|
6042
6578
|
"type": "text",
|
|
6043
|
-
"text": "
|
|
6579
|
+
"text": "然后找出从起点到最远节点的最短路,红点沿着它走一遍。"
|
|
6044
6580
|
}
|
|
6045
6581
|
]
|
|
6046
6582
|
},
|
|
@@ -6049,7 +6585,7 @@
|
|
|
6049
6585
|
"content": [
|
|
6050
6586
|
{
|
|
6051
6587
|
"type": "text",
|
|
6052
|
-
"text": "
|
|
6588
|
+
"text": "五座城市,每座一段弧。弧越长,流出的总量越大。"
|
|
6053
6589
|
}
|
|
6054
6590
|
]
|
|
6055
6591
|
},
|
|
@@ -6058,7 +6594,7 @@
|
|
|
6058
6594
|
"content": [
|
|
6059
6595
|
{
|
|
6060
6596
|
"type": "text",
|
|
6061
|
-
"text": "
|
|
6597
|
+
"text": "丝带连接两座城市,从起点张开,一直连到终点。"
|
|
6062
6598
|
}
|
|
6063
6599
|
]
|
|
6064
6600
|
},
|
|
@@ -6067,7 +6603,7 @@
|
|
|
6067
6603
|
"content": [
|
|
6068
6604
|
{
|
|
6069
6605
|
"type": "text",
|
|
6070
|
-
"text": "
|
|
6606
|
+
"text": "突出上海,只留下和它相连的丝带。"
|
|
6071
6607
|
}
|
|
6072
6608
|
]
|
|
6073
6609
|
},
|
|
@@ -6076,7 +6612,7 @@
|
|
|
6076
6612
|
"content": [
|
|
6077
6613
|
{
|
|
6078
6614
|
"type": "text",
|
|
6079
|
-
"text": "
|
|
6615
|
+
"text": "七十个随机点依次出现。种子是固定的,所以每次都一样。"
|
|
6080
6616
|
}
|
|
6081
6617
|
]
|
|
6082
6618
|
},
|
|
@@ -6085,7 +6621,7 @@
|
|
|
6085
6621
|
"content": [
|
|
6086
6622
|
{
|
|
6087
6623
|
"type": "text",
|
|
6088
|
-
"text": "
|
|
6624
|
+
"text": "把相邻的点连起来,就得到 Delaunay 三角网。"
|
|
6089
6625
|
}
|
|
6090
6626
|
]
|
|
6091
6627
|
},
|
|
@@ -6094,7 +6630,7 @@
|
|
|
6094
6630
|
"content": [
|
|
6095
6631
|
{
|
|
6096
6632
|
"type": "text",
|
|
6097
|
-
"text": "
|
|
6633
|
+
"text": "再给每个点划出离它最近的区域,这就是 Voronoi 图。"
|
|
6098
6634
|
}
|
|
6099
6635
|
]
|
|
6100
6636
|
},
|
|
@@ -6103,7 +6639,7 @@
|
|
|
6103
6639
|
"content": [
|
|
6104
6640
|
{
|
|
6105
6641
|
"type": "text",
|
|
6106
|
-
"text": "
|
|
6642
|
+
"text": "每个点反复移到自己区域的重心。四十次以后,区域变得差不多大,接近六边形。"
|
|
6107
6643
|
}
|
|
6108
6644
|
]
|
|
6109
6645
|
},
|
|
@@ -6112,7 +6648,7 @@
|
|
|
6112
6648
|
"content": [
|
|
6113
6649
|
{
|
|
6114
6650
|
"type": "text",
|
|
6115
|
-
"text": "
|
|
6651
|
+
"text": "四百二十个点,来自三个高斯分布。"
|
|
6116
6652
|
}
|
|
6117
6653
|
]
|
|
6118
6654
|
},
|
|
@@ -6121,7 +6657,7 @@
|
|
|
6121
6657
|
"content": [
|
|
6122
6658
|
{
|
|
6123
6659
|
"type": "text",
|
|
6124
|
-
"text": "
|
|
6660
|
+
"text": "估计出密度,画成等值线,从外圈到内圈依次上色。"
|
|
6125
6661
|
}
|
|
6126
6662
|
]
|
|
6127
6663
|
},
|
|
@@ -6130,7 +6666,7 @@
|
|
|
6130
6666
|
"content": [
|
|
6131
6667
|
{
|
|
6132
6668
|
"type": "text",
|
|
6133
|
-
"text": "
|
|
6669
|
+
"text": "带宽从二十六缩到九。带宽大,三团连成一片;带宽小,它们就各自分开。"
|
|
6134
6670
|
}
|
|
6135
6671
|
]
|
|
6136
6672
|
},
|
|
@@ -6139,7 +6675,7 @@
|
|
|
6139
6675
|
"content": [
|
|
6140
6676
|
{
|
|
6141
6677
|
"type": "text",
|
|
6142
|
-
"text": "
|
|
6678
|
+
"text": "点一个个加入。一个方格装满了,就一分为四。"
|
|
6143
6679
|
}
|
|
6144
6680
|
]
|
|
6145
6681
|
},
|
|
@@ -6148,7 +6684,7 @@
|
|
|
6148
6684
|
"content": [
|
|
6149
6685
|
{
|
|
6150
6686
|
"type": "text",
|
|
6151
|
-
"text": "
|
|
6687
|
+
"text": "探针移动时,四叉树随时找出离它最近的点,用红线连起来。"
|
|
6152
6688
|
}
|
|
6153
6689
|
]
|
|
6154
6690
|
},
|
|
@@ -6157,7 +6693,7 @@
|
|
|
6157
6693
|
"content": [
|
|
6158
6694
|
{
|
|
6159
6695
|
"type": "text",
|
|
6160
|
-
"text": "
|
|
6696
|
+
"text": "地球带着经纬网转动,城市标在上面。"
|
|
6161
6697
|
}
|
|
6162
6698
|
]
|
|
6163
6699
|
},
|
|
@@ -6166,7 +6702,7 @@
|
|
|
6166
6702
|
"content": [
|
|
6167
6703
|
{
|
|
6168
6704
|
"type": "text",
|
|
6169
|
-
"text": "
|
|
6705
|
+
"text": "从北京到伦敦,航线沿着大圆走,这是球面上最短的路。"
|
|
6170
6706
|
}
|
|
6171
6707
|
]
|
|
6172
6708
|
},
|
|
@@ -6175,7 +6711,7 @@
|
|
|
6175
6711
|
"content": [
|
|
6176
6712
|
{
|
|
6177
6713
|
"type": "text",
|
|
6178
|
-
"text": "
|
|
6714
|
+
"text": "最后地球展开,从球面平滑过渡到一张平面地图。"
|
|
6179
6715
|
}
|
|
6180
6716
|
]
|
|
6181
6717
|
}
|