@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
|
@@ -12,7 +12,8 @@ export default animeScene(({ root, anime, at, color }) => {
|
|
|
12
12
|
const [cx, cy] = CENTERS[i % 3]
|
|
13
13
|
return [cx + gauss() * 120, cy + gauss() * 85] as [number, number]
|
|
14
14
|
})
|
|
15
|
-
|
|
15
|
+
// A cluster is an identity, not a status: the categorical colours, taken in order.
|
|
16
|
+
const palette = [color('category-1'), color('category-2'), color('category-3')]
|
|
16
17
|
const muted = color('muted')
|
|
17
18
|
// k-means, run up front: the assignments and centroid positions of each round.
|
|
18
19
|
let cents: Array<[number, number]> = [[150, 380], [300, 60], [700, 400]]
|
|
@@ -43,6 +43,7 @@
|
|
|
43
43
|
"title": "缓动与弹簧",
|
|
44
44
|
"level": 1,
|
|
45
45
|
"children": [
|
|
46
|
+
"easing--about",
|
|
46
47
|
"easing--intro"
|
|
47
48
|
],
|
|
48
49
|
"stepOrder": [
|
|
@@ -337,7 +338,8 @@
|
|
|
337
338
|
"children": [
|
|
338
339
|
"motion-cssvar--cssvar-scene",
|
|
339
340
|
"motion-cssvar--paragraph-1",
|
|
340
|
-
"motion-cssvar--paragraph-2"
|
|
341
|
+
"motion-cssvar--paragraph-2",
|
|
342
|
+
"motion-cssvar--closing"
|
|
341
343
|
],
|
|
342
344
|
"stepOrder": [
|
|
343
345
|
"motion-cssvar--step-0",
|
|
@@ -359,7 +361,7 @@
|
|
|
359
361
|
"children": [
|
|
360
362
|
{
|
|
361
363
|
"type": "text",
|
|
362
|
-
"text": "
|
|
364
|
+
"text": "缓动函数决定一段运动在时间上的快慢分布,弹簧用刚度、阻尼或回弹程度描述带惯性的运动。本组并排比较常见的缓动与弹簧参数,并演示怎样按弹簧的实际时长串联几段运动。"
|
|
363
365
|
}
|
|
364
366
|
]
|
|
365
367
|
}
|
|
@@ -384,7 +386,7 @@
|
|
|
384
386
|
"children": [
|
|
385
387
|
{
|
|
386
388
|
"type": "text",
|
|
387
|
-
"text": "
|
|
389
|
+
"text": "Anime.js 的十种缓动函数并排比较:每一行跑过同一段距离、用同样的时长,差别只在快慢的分布。"
|
|
388
390
|
}
|
|
389
391
|
]
|
|
390
392
|
}
|
|
@@ -400,7 +402,7 @@
|
|
|
400
402
|
"children": [
|
|
401
403
|
{
|
|
402
404
|
"type": "text",
|
|
403
|
-
"text": "
|
|
405
|
+
"text": "各行再反向跑回起点。快慢分布前后不对称的缓动,回程的观感与去程不同,两程对照才能看全它的特点。"
|
|
404
406
|
}
|
|
405
407
|
]
|
|
406
408
|
}
|
|
@@ -425,7 +427,7 @@
|
|
|
425
427
|
"children": [
|
|
426
428
|
{
|
|
427
429
|
"type": "text",
|
|
428
|
-
"text": "
|
|
430
|
+
"text": "Motion 的九种缓动并排比较:左边画出缓动曲线,右边的点按同样的缓动运动。所有点同时出发、同时到达,快慢分布各不相同:backOut 冲过终点再退回,anticipate 先后退再向前冲,steps 一格一格地跳。"
|
|
429
431
|
}
|
|
430
432
|
]
|
|
431
433
|
}
|
|
@@ -441,7 +443,7 @@
|
|
|
441
443
|
"children": [
|
|
442
444
|
{
|
|
443
445
|
"type": "text",
|
|
444
|
-
"text": "
|
|
446
|
+
"text": "各点再沿原路跑回起点,曲线与运动的对应关系在回程中再演示一遍。"
|
|
445
447
|
}
|
|
446
448
|
]
|
|
447
449
|
}
|
|
@@ -466,7 +468,7 @@
|
|
|
466
468
|
"children": [
|
|
467
469
|
{
|
|
468
470
|
"type": "text",
|
|
469
|
-
"text": "
|
|
471
|
+
"text": "Remotion 的七种缓动函数:七行小球从左跑到右,每行左边画出对应的曲线。前四行依次是匀速、两头慢、先快后慢和自定义贝塞尔曲线。"
|
|
470
472
|
}
|
|
471
473
|
]
|
|
472
474
|
}
|
|
@@ -482,7 +484,7 @@
|
|
|
482
484
|
"children": [
|
|
483
485
|
{
|
|
484
486
|
"type": "text",
|
|
485
|
-
"text": "
|
|
487
|
+
"text": "后三行会越过终点:back 与 elastic 冲过终点后退回,bounce 在终点处弹跳。"
|
|
486
488
|
}
|
|
487
489
|
]
|
|
488
490
|
}
|
|
@@ -507,7 +509,7 @@
|
|
|
507
509
|
"children": [
|
|
508
510
|
{
|
|
509
511
|
"type": "text",
|
|
510
|
-
"text": "
|
|
512
|
+
"text": "五个弹簧并排比较:前四个的回弹分别为 0、0.25、0.5、0.75,第五个用刚度与阻尼定义。视觉时长相同时,回弹越大,物体在终点附近来回晃动的次数越多,停稳得越晚。"
|
|
511
513
|
}
|
|
512
514
|
]
|
|
513
515
|
}
|
|
@@ -523,7 +525,7 @@
|
|
|
523
525
|
"children": [
|
|
524
526
|
{
|
|
525
527
|
"type": "text",
|
|
526
|
-
"text": "
|
|
528
|
+
"text": "各弹簧再弹回起点,反方向上回弹大的弹簧同样停得最晚。"
|
|
527
529
|
}
|
|
528
530
|
]
|
|
529
531
|
}
|
|
@@ -548,7 +550,7 @@
|
|
|
548
550
|
"children": [
|
|
549
551
|
{
|
|
550
552
|
"type": "text",
|
|
551
|
-
"text": "
|
|
553
|
+
"text": "串联几段弹簧运动时,下一段应在上一段停稳的那一帧开始。本例是五级流水线:取指、译码、执行、访存、写回五个方块依次落下,前一块停稳后下一块才开始。"
|
|
552
554
|
}
|
|
553
555
|
]
|
|
554
556
|
}
|
|
@@ -564,7 +566,7 @@
|
|
|
564
566
|
"children": [
|
|
565
567
|
{
|
|
566
568
|
"type": "text",
|
|
567
|
-
"text": "measureSpring
|
|
569
|
+
"text": "measureSpring 计算一次弹簧运动需要多少帧,五级的帧数相加就是整段动画的总时长。"
|
|
568
570
|
}
|
|
569
571
|
]
|
|
570
572
|
}
|
|
@@ -589,7 +591,7 @@
|
|
|
589
591
|
"children": [
|
|
590
592
|
{
|
|
591
593
|
"type": "text",
|
|
592
|
-
"text": "
|
|
594
|
+
"text": "反向播放弹簧,得到与入场对称的退场,适合表现候选被淘汰。本例是束搜索的一步:五个候选词带着各自的概率弹入。"
|
|
593
595
|
}
|
|
594
596
|
]
|
|
595
597
|
}
|
|
@@ -605,7 +607,7 @@
|
|
|
605
607
|
"children": [
|
|
606
608
|
{
|
|
607
609
|
"type": "text",
|
|
608
|
-
"text": "
|
|
610
|
+
"text": "束宽为 2,概率较低的三个候选按反向的弹簧退出,留下的猫和狗向中间靠拢。"
|
|
609
611
|
}
|
|
610
612
|
]
|
|
611
613
|
}
|
|
@@ -621,7 +623,7 @@
|
|
|
621
623
|
"children": [
|
|
622
624
|
{
|
|
623
625
|
"type": "text",
|
|
624
|
-
"text": "
|
|
626
|
+
"text": "关键帧规定画面在哪些时刻处于什么状态,定格让画面停在某一刻,一拍二让画面隔几帧才更新一次。本组演示这三种控制时间的方法。"
|
|
625
627
|
}
|
|
626
628
|
]
|
|
627
629
|
}
|
|
@@ -646,7 +648,7 @@
|
|
|
646
648
|
"children": [
|
|
647
649
|
{
|
|
648
650
|
"type": "text",
|
|
649
|
-
"text": "
|
|
651
|
+
"text": "百分比关键帧在一段动画内排出多个时刻的状态。本例用它排出小球每次弹起的高度,一次比一次低。"
|
|
650
652
|
}
|
|
651
653
|
]
|
|
652
654
|
}
|
|
@@ -662,7 +664,7 @@
|
|
|
662
664
|
"children": [
|
|
663
665
|
{
|
|
664
666
|
"type": "text",
|
|
665
|
-
"text": "
|
|
667
|
+
"text": "第二遍加入形变:小球每次触地先压扁,弹起时拉长,弹性因此更明显。"
|
|
666
668
|
}
|
|
667
669
|
]
|
|
668
670
|
}
|
|
@@ -687,7 +689,7 @@
|
|
|
687
689
|
"children": [
|
|
688
690
|
{
|
|
689
691
|
"type": "text",
|
|
690
|
-
"text": "
|
|
692
|
+
"text": "Freeze 让画面停在指定的一帧,讲解者可以在这一刻标出量的大小与方向。本例中小球斜抛出去,虚线画出它的轨迹。"
|
|
691
693
|
}
|
|
692
694
|
]
|
|
693
695
|
}
|
|
@@ -703,7 +705,7 @@
|
|
|
703
705
|
"children": [
|
|
704
706
|
{
|
|
705
707
|
"type": "text",
|
|
706
|
-
"text": "
|
|
708
|
+
"text": "画面定格在最高点:此时竖直速度为零,箭头只画出水平速度。"
|
|
707
709
|
}
|
|
708
710
|
]
|
|
709
711
|
}
|
|
@@ -728,7 +730,7 @@
|
|
|
728
730
|
"children": [
|
|
729
731
|
{
|
|
730
732
|
"type": "text",
|
|
731
|
-
"text": "
|
|
733
|
+
"text": "posterize 把连续的时间量化成整拍,画面只在拍点上更新,产生定格动画的顿挫感。本例中两个小球做同样的弹跳,左边逐帧平滑运动,右边每五帧才更新一次。"
|
|
732
734
|
}
|
|
733
735
|
]
|
|
734
736
|
}
|
|
@@ -760,7 +762,7 @@
|
|
|
760
762
|
"children": [
|
|
761
763
|
{
|
|
762
764
|
"type": "text",
|
|
763
|
-
"text": "
|
|
765
|
+
"text": "手工感的步骤动画,适合面向低龄观众或轻松题材的流程讲解。每一步是一张剪纸,被抛进来落在线上。整段只用一个量化的时钟 ts = floor(t·fps)/fps,画面只在这些拍点上变化:落地那一拍压扁,接着回弹、站稳;落地时火花闪三拍;停住后边缘“沸腾”,每两拍换一次抖动,像手绘逐帧。"
|
|
764
766
|
}
|
|
765
767
|
]
|
|
766
768
|
},
|
|
@@ -779,7 +781,7 @@
|
|
|
779
781
|
},
|
|
780
782
|
{
|
|
781
783
|
"type": "text",
|
|
782
|
-
"text": "labels(最多四步)、fps(8
|
|
784
|
+
"text": "labels(最多四步)、fps(8、10 或 12)、boil(停住时是否沸腾)。"
|
|
783
785
|
}
|
|
784
786
|
]
|
|
785
787
|
},
|
|
@@ -990,7 +992,7 @@
|
|
|
990
992
|
"children": [
|
|
991
993
|
{
|
|
992
994
|
"type": "text",
|
|
993
|
-
"text": "
|
|
995
|
+
"text": "元素的离开与结果的出现都要交代原因:被排除的选项先标出错误,再带着重量离开画面;达成的结果用一次庆祝标出。"
|
|
994
996
|
}
|
|
995
997
|
]
|
|
996
998
|
}
|
|
@@ -1006,7 +1008,7 @@
|
|
|
1006
1008
|
"children": [
|
|
1007
1009
|
{
|
|
1008
1010
|
"type": "text",
|
|
1009
|
-
"text": "
|
|
1011
|
+
"text": "讲排除法、错误选项或被淘汰的方案时使用。错误的卡片先被打叉,交代原因,然后带着动量离开画面,不淡出。退场方式有三种:抛出(先微微后仰,再沿抛物线飞出,越转越快)、坠落(先像铰链一样晃一下,再按重力加速下落)和侧滑(加速并沿运动方向拉长)。剩下的那张卡片移到中央、放大并打勾,始终是同一个物体。"
|
|
1010
1012
|
}
|
|
1011
1013
|
]
|
|
1012
1014
|
},
|
|
@@ -1025,7 +1027,7 @@
|
|
|
1025
1027
|
},
|
|
1026
1028
|
{
|
|
1027
1029
|
"type": "text",
|
|
1028
|
-
"text": "question、options、exits
|
|
1030
|
+
"text": "参数:question、options、exits(要排除的选项序号与退场方式 toss、drop 或 slide,按顺序退场)。"
|
|
1029
1031
|
}
|
|
1030
1032
|
]
|
|
1031
1033
|
},
|
|
@@ -1272,7 +1274,7 @@
|
|
|
1272
1274
|
"children": [
|
|
1273
1275
|
{
|
|
1274
1276
|
"type": "text",
|
|
1275
|
-
"text": "
|
|
1277
|
+
"text": "一个结果达成时庆祝一次,例如全部测试通过、实验成功或课程结束。徽章先弹入,庆祝时可以过冲约 20%;徽章落定时,两门礼炮从下方两角向内上方喷出彩纸。每片彩纸按带阻力和重力的解析式飞行:快速射出、减速,再以终端速度飘落,同时自转并翻面闪动。整场只用一次。"
|
|
1276
1278
|
}
|
|
1277
1279
|
]
|
|
1278
1280
|
},
|
|
@@ -1291,7 +1293,7 @@
|
|
|
1291
1293
|
},
|
|
1292
1294
|
{
|
|
1293
1295
|
"type": "text",
|
|
1294
|
-
"text": "text、count(彩纸数量)、seed
|
|
1296
|
+
"text": "text、count(彩纸数量)、seed(同一种子每次生成同一场彩纸)。彩纸颜色取自设计令牌中的强调、成功、警示、危险、紫与灯黄,属于画面内容。"
|
|
1295
1297
|
}
|
|
1296
1298
|
]
|
|
1297
1299
|
},
|
|
@@ -1310,7 +1312,7 @@
|
|
|
1310
1312
|
},
|
|
1311
1313
|
{
|
|
1312
1314
|
"type": "text",
|
|
1313
|
-
"text": "fx/remotion/pop-burst
|
|
1315
|
+
"text": "fx/remotion/pop-burst 用于一个新元素弹出;这里是规模更大、整场只用一次的庆祝。"
|
|
1314
1316
|
}
|
|
1315
1317
|
]
|
|
1316
1318
|
},
|
|
@@ -1521,7 +1523,7 @@
|
|
|
1521
1523
|
"children": [
|
|
1522
1524
|
{
|
|
1523
1525
|
"type": "text",
|
|
1524
|
-
"text": "
|
|
1526
|
+
"text": "画面中许多属性随同一个量变化时,用一个变量驱动它们,再用映射工具把这个量换算成高度、颜色与位置。"
|
|
1525
1527
|
}
|
|
1526
1528
|
]
|
|
1527
1529
|
}
|
|
@@ -1546,7 +1548,7 @@
|
|
|
1546
1548
|
"children": [
|
|
1547
1549
|
{
|
|
1548
1550
|
"type": "text",
|
|
1549
|
-
"text": "
|
|
1551
|
+
"text": "GSAP 的三个工具函数各做一种换算:mapRange 把数值换算成高度,interpolate 按数值在两种颜色之间混合,distribute 从中间向两边分配延迟。本例中十二根柱子从中间向两边依次长到各自的高度,延迟由 distribute 分配,高度由 mapRange 换算。"
|
|
1550
1552
|
}
|
|
1551
1553
|
]
|
|
1552
1554
|
}
|
|
@@ -1562,7 +1564,7 @@
|
|
|
1562
1564
|
"children": [
|
|
1563
1565
|
{
|
|
1564
1566
|
"type": "text",
|
|
1565
|
-
"text": "
|
|
1567
|
+
"text": "每根柱子的颜色由 interpolate 按数值混合,数值越大颜色越亮。"
|
|
1566
1568
|
}
|
|
1567
1569
|
]
|
|
1568
1570
|
}
|
|
@@ -1578,7 +1580,7 @@
|
|
|
1578
1580
|
"children": [
|
|
1579
1581
|
{
|
|
1580
1582
|
"type": "text",
|
|
1581
|
-
"text": "
|
|
1583
|
+
"text": "柱子移动到按大小排序后的位置,标签随柱子移动。"
|
|
1582
1584
|
}
|
|
1583
1585
|
]
|
|
1584
1586
|
}
|
|
@@ -1603,7 +1605,7 @@
|
|
|
1603
1605
|
"children": [
|
|
1604
1606
|
{
|
|
1605
1607
|
"type": "text",
|
|
1606
|
-
"text": "
|
|
1608
|
+
"text": "一个 CSS 变量表示数据集的分割点,训练集与测试集的宽度、分割线的位置和颜色深浅都由它计算,改动这一个变量,整个布局一起变化。本例中训练集的比例从一半扩大到 70%。"
|
|
1607
1609
|
}
|
|
1608
1610
|
]
|
|
1609
1611
|
}
|
|
@@ -1619,7 +1621,45 @@
|
|
|
1619
1621
|
"children": [
|
|
1620
1622
|
{
|
|
1621
1623
|
"type": "text",
|
|
1622
|
-
"text": "
|
|
1624
|
+
"text": "比例再扩大到 90%,分割线冲过目标一点再退回。"
|
|
1625
|
+
}
|
|
1626
|
+
]
|
|
1627
|
+
}
|
|
1628
|
+
]
|
|
1629
|
+
},
|
|
1630
|
+
"easing--about": {
|
|
1631
|
+
"id": "easing--about",
|
|
1632
|
+
"type": "text",
|
|
1633
|
+
"only": [
|
|
1634
|
+
"web"
|
|
1635
|
+
],
|
|
1636
|
+
"content": [
|
|
1637
|
+
{
|
|
1638
|
+
"id": "easing--about--p",
|
|
1639
|
+
"type": "paragraph",
|
|
1640
|
+
"children": [
|
|
1641
|
+
{
|
|
1642
|
+
"type": "text",
|
|
1643
|
+
"text": "本篇收录不依附于具体学科的动效技法,分四组:缓动与弹簧决定运动的快慢分布,关键帧与定格决定画面在哪些时刻变化,退场与庆祝处理元素的离开和结果的出现,变量与工具把一个数值映射到整个画面。这些技法服务于同一个目的:让观众看清因果,原因先出现,结果随后到来并停住。每页给出一种技法的用途、写法和逐步的画面。"
|
|
1644
|
+
}
|
|
1645
|
+
]
|
|
1646
|
+
}
|
|
1647
|
+
]
|
|
1648
|
+
},
|
|
1649
|
+
"motion-cssvar--closing": {
|
|
1650
|
+
"id": "motion-cssvar--closing",
|
|
1651
|
+
"type": "text",
|
|
1652
|
+
"only": [
|
|
1653
|
+
"web"
|
|
1654
|
+
],
|
|
1655
|
+
"content": [
|
|
1656
|
+
{
|
|
1657
|
+
"id": "motion-cssvar--closing--p",
|
|
1658
|
+
"type": "paragraph",
|
|
1659
|
+
"children": [
|
|
1660
|
+
{
|
|
1661
|
+
"type": "text",
|
|
1662
|
+
"text": "本篇的各种技法回答同一个问题:画面在什么时刻、以什么快慢变化,才能让原因先于结果被看见。缓动与弹簧安排快慢,关键帧与定格安排时刻,退场与庆祝交代去留,一个变量让所有相关属性同时响应。"
|
|
1623
1663
|
}
|
|
1624
1664
|
]
|
|
1625
1665
|
}
|
|
@@ -1634,6 +1674,10 @@
|
|
|
1634
1674
|
{
|
|
1635
1675
|
"blockId": "easing--intro",
|
|
1636
1676
|
"visible": true
|
|
1677
|
+
},
|
|
1678
|
+
{
|
|
1679
|
+
"blockId": "easing--about",
|
|
1680
|
+
"visible": false
|
|
1637
1681
|
}
|
|
1638
1682
|
],
|
|
1639
1683
|
"narrationIds": []
|
|
@@ -2273,6 +2317,10 @@
|
|
|
2273
2317
|
{
|
|
2274
2318
|
"blockId": "motion-cssvar--paragraph-2",
|
|
2275
2319
|
"visible": false
|
|
2320
|
+
},
|
|
2321
|
+
{
|
|
2322
|
+
"blockId": "motion-cssvar--closing",
|
|
2323
|
+
"visible": false
|
|
2276
2324
|
}
|
|
2277
2325
|
],
|
|
2278
2326
|
"narrationIds": [
|
|
@@ -2295,6 +2343,10 @@
|
|
|
2295
2343
|
{
|
|
2296
2344
|
"blockId": "motion-cssvar--paragraph-2",
|
|
2297
2345
|
"visible": false
|
|
2346
|
+
},
|
|
2347
|
+
{
|
|
2348
|
+
"blockId": "motion-cssvar--closing",
|
|
2349
|
+
"visible": false
|
|
2298
2350
|
}
|
|
2299
2351
|
],
|
|
2300
2352
|
"narrationIds": [
|
|
@@ -2308,7 +2360,7 @@
|
|
|
2308
2360
|
"content": [
|
|
2309
2361
|
{
|
|
2310
2362
|
"type": "text",
|
|
2311
|
-
"text": "
|
|
2363
|
+
"text": "距离一样,时长一样,每一行换一种缓动。差别只在什么时候快、什么时候慢。"
|
|
2312
2364
|
}
|
|
2313
2365
|
]
|
|
2314
2366
|
},
|
|
@@ -2317,7 +2369,7 @@
|
|
|
2317
2369
|
"content": [
|
|
2318
2370
|
{
|
|
2319
2371
|
"type": "text",
|
|
2320
|
-
"text": "
|
|
2372
|
+
"text": "再跑回来。前后不对称的缓动,回程看起来和去程不一样。"
|
|
2321
2373
|
}
|
|
2322
2374
|
]
|
|
2323
2375
|
},
|
|
@@ -2326,7 +2378,7 @@
|
|
|
2326
2378
|
"content": [
|
|
2327
2379
|
{
|
|
2328
2380
|
"type": "text",
|
|
2329
|
-
"text": "
|
|
2381
|
+
"text": "同时出发,同时到达,快慢却不一样。backOut 冲过头再回来,anticipate 先后退再冲,steps 一格一格跳。"
|
|
2330
2382
|
}
|
|
2331
2383
|
]
|
|
2332
2384
|
},
|
|
@@ -2335,7 +2387,7 @@
|
|
|
2335
2387
|
"content": [
|
|
2336
2388
|
{
|
|
2337
2389
|
"type": "text",
|
|
2338
|
-
"text": "
|
|
2390
|
+
"text": "再跑回来,对照左边的曲线,再看一遍每种缓动的快慢。"
|
|
2339
2391
|
}
|
|
2340
2392
|
]
|
|
2341
2393
|
},
|
|
@@ -2344,7 +2396,7 @@
|
|
|
2344
2396
|
"content": [
|
|
2345
2397
|
{
|
|
2346
2398
|
"type": "text",
|
|
2347
|
-
"text": "
|
|
2399
|
+
"text": "前四行:匀速、两头慢、先快后慢,还有一条自定义的贝塞尔曲线。"
|
|
2348
2400
|
}
|
|
2349
2401
|
]
|
|
2350
2402
|
},
|
|
@@ -2353,7 +2405,7 @@
|
|
|
2353
2405
|
"content": [
|
|
2354
2406
|
{
|
|
2355
2407
|
"type": "text",
|
|
2356
|
-
"text": "
|
|
2408
|
+
"text": "后三行会越过终点。back 和 elastic 冲过去再回来,bounce 在终点弹跳。"
|
|
2357
2409
|
}
|
|
2358
2410
|
]
|
|
2359
2411
|
},
|
|
@@ -2362,7 +2414,7 @@
|
|
|
2362
2414
|
"content": [
|
|
2363
2415
|
{
|
|
2364
2416
|
"type": "text",
|
|
2365
|
-
"text": "
|
|
2417
|
+
"text": "视觉时长一样,回弹越大,越要来回晃几下才停稳。"
|
|
2366
2418
|
}
|
|
2367
2419
|
]
|
|
2368
2420
|
},
|
|
@@ -2371,7 +2423,7 @@
|
|
|
2371
2423
|
"content": [
|
|
2372
2424
|
{
|
|
2373
2425
|
"type": "text",
|
|
2374
|
-
"text": "
|
|
2426
|
+
"text": "再弹回来,回弹大的还是停得最晚。"
|
|
2375
2427
|
}
|
|
2376
2428
|
]
|
|
2377
2429
|
},
|
|
@@ -2380,7 +2432,7 @@
|
|
|
2380
2432
|
"content": [
|
|
2381
2433
|
{
|
|
2382
2434
|
"type": "text",
|
|
2383
|
-
"text": "
|
|
2435
|
+
"text": "取指、译码、执行、访存、写回。一块停稳,下一块才落下。"
|
|
2384
2436
|
}
|
|
2385
2437
|
]
|
|
2386
2438
|
},
|
|
@@ -2389,7 +2441,7 @@
|
|
|
2389
2441
|
"content": [
|
|
2390
2442
|
{
|
|
2391
2443
|
"type": "text",
|
|
2392
|
-
"text": "measureSpring
|
|
2444
|
+
"text": "每块要落多久,measureSpring 算得出来。五段加起来,就是总时长。"
|
|
2393
2445
|
}
|
|
2394
2446
|
]
|
|
2395
2447
|
},
|
|
@@ -2398,7 +2450,7 @@
|
|
|
2398
2450
|
"content": [
|
|
2399
2451
|
{
|
|
2400
2452
|
"type": "text",
|
|
2401
|
-
"text": "
|
|
2453
|
+
"text": "束搜索的一步:五个候选词带着概率弹进来。"
|
|
2402
2454
|
}
|
|
2403
2455
|
]
|
|
2404
2456
|
},
|
|
@@ -2407,7 +2459,7 @@
|
|
|
2407
2459
|
"content": [
|
|
2408
2460
|
{
|
|
2409
2461
|
"type": "text",
|
|
2410
|
-
"text": "束宽是 2
|
|
2462
|
+
"text": "束宽是 2,只留两个。概率低的三个反着弹出去,留下猫和狗。"
|
|
2411
2463
|
}
|
|
2412
2464
|
]
|
|
2413
2465
|
},
|
|
@@ -2416,7 +2468,7 @@
|
|
|
2416
2468
|
"content": [
|
|
2417
2469
|
{
|
|
2418
2470
|
"type": "text",
|
|
2419
|
-
"text": "
|
|
2471
|
+
"text": "用百分比关键帧排出每次弹起的高度,一次比一次低,像真的球一样损失能量。"
|
|
2420
2472
|
}
|
|
2421
2473
|
]
|
|
2422
2474
|
},
|
|
@@ -2425,7 +2477,7 @@
|
|
|
2425
2477
|
"content": [
|
|
2426
2478
|
{
|
|
2427
2479
|
"type": "text",
|
|
2428
|
-
"text": "
|
|
2480
|
+
"text": "再落一次,这回触地时压扁,弹起时拉长,看起来更有弹性。"
|
|
2429
2481
|
}
|
|
2430
2482
|
]
|
|
2431
2483
|
},
|
|
@@ -2434,7 +2486,7 @@
|
|
|
2434
2486
|
"content": [
|
|
2435
2487
|
{
|
|
2436
2488
|
"type": "text",
|
|
2437
|
-
"text": "
|
|
2489
|
+
"text": "小球斜着抛出去,虚线记下它飞过的轨迹。"
|
|
2438
2490
|
}
|
|
2439
2491
|
]
|
|
2440
2492
|
},
|
|
@@ -2443,7 +2495,7 @@
|
|
|
2443
2495
|
"content": [
|
|
2444
2496
|
{
|
|
2445
2497
|
"type": "text",
|
|
2446
|
-
"text": "
|
|
2498
|
+
"text": "画面停在最高点。这一刻竖直速度是零,只剩水平速度。"
|
|
2447
2499
|
}
|
|
2448
2500
|
]
|
|
2449
2501
|
},
|
|
@@ -2452,7 +2504,7 @@
|
|
|
2452
2504
|
"content": [
|
|
2453
2505
|
{
|
|
2454
2506
|
"type": "text",
|
|
2455
|
-
"text": "
|
|
2507
|
+
"text": "同样的弹跳,左边每帧都动,右边每五帧才动一次,像定格动画。"
|
|
2456
2508
|
}
|
|
2457
2509
|
]
|
|
2458
2510
|
},
|
|
@@ -2461,7 +2513,7 @@
|
|
|
2461
2513
|
"content": [
|
|
2462
2514
|
{
|
|
2463
2515
|
"type": "text",
|
|
2464
|
-
"text": "
|
|
2516
|
+
"text": "时钟的指针每秒跳一格,用的也是同一个办法。"
|
|
2465
2517
|
}
|
|
2466
2518
|
]
|
|
2467
2519
|
},
|
|
@@ -2470,7 +2522,7 @@
|
|
|
2470
2522
|
"content": [
|
|
2471
2523
|
{
|
|
2472
2524
|
"type": "text",
|
|
2473
|
-
"text": "
|
|
2525
|
+
"text": "十二根柱子从中间向两边,一根接一根长到自己的高度。"
|
|
2474
2526
|
}
|
|
2475
2527
|
]
|
|
2476
2528
|
},
|
|
@@ -2479,7 +2531,7 @@
|
|
|
2479
2531
|
"content": [
|
|
2480
2532
|
{
|
|
2481
2533
|
"type": "text",
|
|
2482
|
-
"text": "
|
|
2534
|
+
"text": "颜色也跟着数值走:数值越大,颜色越亮。"
|
|
2483
2535
|
}
|
|
2484
2536
|
]
|
|
2485
2537
|
},
|
|
@@ -2488,7 +2540,7 @@
|
|
|
2488
2540
|
"content": [
|
|
2489
2541
|
{
|
|
2490
2542
|
"type": "text",
|
|
2491
|
-
"text": "
|
|
2543
|
+
"text": "最后按大小排好队,标签跟着柱子一起走。"
|
|
2492
2544
|
}
|
|
2493
2545
|
]
|
|
2494
2546
|
},
|
|
@@ -2497,7 +2549,7 @@
|
|
|
2497
2549
|
"content": [
|
|
2498
2550
|
{
|
|
2499
2551
|
"type": "text",
|
|
2500
|
-
"text": "
|
|
2552
|
+
"text": "整个布局都跟着一个变量走。训练集从一半扩到百分之七十。"
|
|
2501
2553
|
}
|
|
2502
2554
|
]
|
|
2503
2555
|
},
|
|
@@ -2506,7 +2558,7 @@
|
|
|
2506
2558
|
"content": [
|
|
2507
2559
|
{
|
|
2508
2560
|
"type": "text",
|
|
2509
|
-
"text": "
|
|
2561
|
+
"text": "再扩到百分之九十,分割线冲过头一点再回来。"
|
|
2510
2562
|
}
|
|
2511
2563
|
]
|
|
2512
2564
|
}
|