motion-hub 0.1.0
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/LICENSE +44 -0
- package/README.md +141 -0
- package/bin/install-skill.mjs +39 -0
- package/package.json +48 -0
- package/skill/motion-hub/SKILL.md +127 -0
- package/skill/motion-hub/effects/contour.html +279 -0
- package/skill/motion-hub/effects/dots-quiet.html +257 -0
- package/skill/motion-hub/effects/dots.html +263 -0
- package/skill/motion-hub/effects/flow.html +253 -0
- package/skill/motion-hub/effects/follow-tip.html +241 -0
- package/skill/motion-hub/effects/glow-card.html +236 -0
- package/skill/motion-hub/effects/grid.html +266 -0
- package/skill/motion-hub/effects/intro.html +302 -0
- package/skill/motion-hub/effects/pipeline.html +257 -0
- package/skill/motion-hub/effects/pull.html +373 -0
- package/skill/motion-hub/effects/scramble.html +248 -0
- package/skill/motion-hub/effects/sun-moon.html +235 -0
- package/skill/motion-hub/effects/theme-blinds.html +381 -0
- package/skill/motion-hub/effects/theme-circle.html +381 -0
- package/skill/motion-hub/effects/theme-dots.html +381 -0
- package/skill/motion-hub/effects/theme-fade.html +381 -0
- package/skill/motion-hub/effects/theme-flip.html +381 -0
- package/skill/motion-hub/effects/theme-halftone.html +381 -0
- package/skill/motion-hub/effects/theme-ink.html +381 -0
- package/skill/motion-hub/effects/theme-iris.html +381 -0
- package/skill/motion-hub/effects/theme-slice.html +381 -0
- package/skill/motion-hub/effects/theme-soft.html +381 -0
- package/skill/motion-hub/effects/theme-wave.html +381 -0
- package/skill/motion-hub/index.json +667 -0
|
@@ -0,0 +1,667 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "motion-hub",
|
|
3
|
+
"version": "23-201dee1b01",
|
|
4
|
+
"base": "https://motion.lijunyu.com.cn/skill/motion-hub/",
|
|
5
|
+
"preview": "https://motion.lijunyu.com.cn",
|
|
6
|
+
"count": 23,
|
|
7
|
+
"effects": [
|
|
8
|
+
{
|
|
9
|
+
"id": "contour",
|
|
10
|
+
"name": "等高线",
|
|
11
|
+
"cat": "背景",
|
|
12
|
+
"catEn": "Backgrounds",
|
|
13
|
+
"tech": "Canvas 2D · Perlin Noise · Marching Squares",
|
|
14
|
+
"desc": "地形缓慢漂移,鼠标处隆起一座小山,最高的几圈变成强调色;点击会荡开一圈圈波纹。",
|
|
15
|
+
"params": [
|
|
16
|
+
{
|
|
17
|
+
"k": "cell",
|
|
18
|
+
"label": "网格精度",
|
|
19
|
+
"type": "range",
|
|
20
|
+
"def": 14,
|
|
21
|
+
"min": 6,
|
|
22
|
+
"max": 28,
|
|
23
|
+
"unit": "px"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"k": "step",
|
|
27
|
+
"label": "等高距",
|
|
28
|
+
"type": "range",
|
|
29
|
+
"def": 0.12,
|
|
30
|
+
"min": 0.06,
|
|
31
|
+
"max": 0.3
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"k": "speed",
|
|
35
|
+
"label": "漂移速度",
|
|
36
|
+
"type": "range",
|
|
37
|
+
"def": 1,
|
|
38
|
+
"min": 0,
|
|
39
|
+
"max": 5,
|
|
40
|
+
"unit": "×"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"k": "hill",
|
|
44
|
+
"label": "隆起高度",
|
|
45
|
+
"type": "range",
|
|
46
|
+
"def": 0.9,
|
|
47
|
+
"min": 0,
|
|
48
|
+
"max": 2
|
|
49
|
+
}
|
|
50
|
+
],
|
|
51
|
+
"file": "effects/contour.html",
|
|
52
|
+
"url": "https://motion.lijunyu.com.cn/skill/motion-hub/effects/contour.html",
|
|
53
|
+
"sha256": "6beee17f425bdaa93b4f9b4abd0e36342317d5778fec698ed8f0f53c70bdfdd9"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"id": "dots",
|
|
57
|
+
"name": "磁性点阵",
|
|
58
|
+
"cat": "背景",
|
|
59
|
+
"catEn": "Backgrounds",
|
|
60
|
+
"tech": "Canvas 2D · Spring-Damper Physics",
|
|
61
|
+
"desc": "整屏点阵被鼠标推开再弹回,推开的点变大、变成强调色;点击发出一圈冲击波。",
|
|
62
|
+
"params": [
|
|
63
|
+
{
|
|
64
|
+
"k": "gap",
|
|
65
|
+
"label": "点间距",
|
|
66
|
+
"type": "range",
|
|
67
|
+
"def": 26,
|
|
68
|
+
"min": 12,
|
|
69
|
+
"max": 60,
|
|
70
|
+
"unit": "px"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"k": "radius",
|
|
74
|
+
"label": "推开半径",
|
|
75
|
+
"type": "range",
|
|
76
|
+
"def": 150,
|
|
77
|
+
"min": 40,
|
|
78
|
+
"max": 320,
|
|
79
|
+
"unit": "px"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"k": "spring",
|
|
83
|
+
"label": "弹簧刚度",
|
|
84
|
+
"type": "range",
|
|
85
|
+
"def": 0.06,
|
|
86
|
+
"min": 0.01,
|
|
87
|
+
"max": 0.2
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"k": "damping",
|
|
91
|
+
"label": "阻尼",
|
|
92
|
+
"type": "range",
|
|
93
|
+
"def": 0.82,
|
|
94
|
+
"min": 0.6,
|
|
95
|
+
"max": 0.95
|
|
96
|
+
}
|
|
97
|
+
],
|
|
98
|
+
"file": "effects/dots.html",
|
|
99
|
+
"url": "https://motion.lijunyu.com.cn/skill/motion-hub/effects/dots.html",
|
|
100
|
+
"sha256": "5c3bbfd679049b73ca45ca6f70e9e37544d18bf26a035815c94fd404952e2c6d"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"id": "dots-quiet",
|
|
104
|
+
"name": "安静点阵",
|
|
105
|
+
"cat": "背景",
|
|
106
|
+
"catEn": "Backgrounds",
|
|
107
|
+
"tech": "Canvas 2D · Spring-Damper Physics",
|
|
108
|
+
"desc": "同一套点阵的阅读版:点更淡、推开的范围和力度更小,没有冲击波,适合长文页面。",
|
|
109
|
+
"params": [
|
|
110
|
+
{
|
|
111
|
+
"k": "gap",
|
|
112
|
+
"label": "点间距",
|
|
113
|
+
"type": "range",
|
|
114
|
+
"def": 26,
|
|
115
|
+
"min": 12,
|
|
116
|
+
"max": 60,
|
|
117
|
+
"unit": "px"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"k": "radius",
|
|
121
|
+
"label": "推开半径",
|
|
122
|
+
"type": "range",
|
|
123
|
+
"def": 110,
|
|
124
|
+
"min": 40,
|
|
125
|
+
"max": 320,
|
|
126
|
+
"unit": "px"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"k": "spring",
|
|
130
|
+
"label": "弹簧刚度",
|
|
131
|
+
"type": "range",
|
|
132
|
+
"def": 0.06,
|
|
133
|
+
"min": 0.01,
|
|
134
|
+
"max": 0.2
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"k": "damping",
|
|
138
|
+
"label": "阻尼",
|
|
139
|
+
"type": "range",
|
|
140
|
+
"def": 0.82,
|
|
141
|
+
"min": 0.6,
|
|
142
|
+
"max": 0.95
|
|
143
|
+
}
|
|
144
|
+
],
|
|
145
|
+
"file": "effects/dots-quiet.html",
|
|
146
|
+
"url": "https://motion.lijunyu.com.cn/skill/motion-hub/effects/dots-quiet.html",
|
|
147
|
+
"sha256": "d4035f55ea6509c83e3776849c5adf20a8755796f1c821e229e53b9ab389d73a"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"id": "flow",
|
|
151
|
+
"name": "风场",
|
|
152
|
+
"cat": "背景",
|
|
153
|
+
"catEn": "Backgrounds",
|
|
154
|
+
"tech": "Canvas 2D · Particles · Noise Flow Field",
|
|
155
|
+
"desc": "几千个粒子顺着看不见的风流动,留下淡淡的拖尾;鼠标附近被卷成漩涡,经过的粒子变成强调色。",
|
|
156
|
+
"params": [
|
|
157
|
+
{
|
|
158
|
+
"k": "density",
|
|
159
|
+
"label": "粒子密度",
|
|
160
|
+
"type": "range",
|
|
161
|
+
"def": 1,
|
|
162
|
+
"min": 0.2,
|
|
163
|
+
"max": 3,
|
|
164
|
+
"unit": "×"
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"k": "speed",
|
|
168
|
+
"label": "流速",
|
|
169
|
+
"type": "range",
|
|
170
|
+
"def": 1.1,
|
|
171
|
+
"min": 0.2,
|
|
172
|
+
"max": 4
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"k": "fade",
|
|
176
|
+
"label": "拖尾消退",
|
|
177
|
+
"type": "range",
|
|
178
|
+
"def": 0.07,
|
|
179
|
+
"min": 0.02,
|
|
180
|
+
"max": 0.3
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"k": "swirl",
|
|
184
|
+
"label": "漩涡半径",
|
|
185
|
+
"type": "range",
|
|
186
|
+
"def": 180,
|
|
187
|
+
"min": 40,
|
|
188
|
+
"max": 400,
|
|
189
|
+
"unit": "px"
|
|
190
|
+
}
|
|
191
|
+
],
|
|
192
|
+
"file": "effects/flow.html",
|
|
193
|
+
"url": "https://motion.lijunyu.com.cn/skill/motion-hub/effects/flow.html",
|
|
194
|
+
"sha256": "6dd13e456b103b50d9c8490f7edb391b93c270b8b0e111e0e3d75e462a091124"
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"id": "grid",
|
|
198
|
+
"name": "坐标网格",
|
|
199
|
+
"cat": "背景",
|
|
200
|
+
"catEn": "Backgrounds",
|
|
201
|
+
"tech": "Canvas 2D · Heat Decay",
|
|
202
|
+
"desc": "坐标纸背景,鼠标拖出十字准线和实时坐标;经过的格子四角亮起强调色角标,再慢慢暗下去。",
|
|
203
|
+
"params": [
|
|
204
|
+
{
|
|
205
|
+
"k": "size",
|
|
206
|
+
"label": "格子大小",
|
|
207
|
+
"type": "range",
|
|
208
|
+
"def": 40,
|
|
209
|
+
"min": 16,
|
|
210
|
+
"max": 96,
|
|
211
|
+
"unit": "px"
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"k": "major",
|
|
215
|
+
"label": "粗线间隔",
|
|
216
|
+
"type": "range",
|
|
217
|
+
"def": 4,
|
|
218
|
+
"min": 2,
|
|
219
|
+
"max": 8,
|
|
220
|
+
"unit": "格"
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"k": "decay",
|
|
224
|
+
"label": "余热保留",
|
|
225
|
+
"type": "range",
|
|
226
|
+
"def": 0.955,
|
|
227
|
+
"min": 0.85,
|
|
228
|
+
"max": 0.99
|
|
229
|
+
}
|
|
230
|
+
],
|
|
231
|
+
"file": "effects/grid.html",
|
|
232
|
+
"url": "https://motion.lijunyu.com.cn/skill/motion-hub/effects/grid.html",
|
|
233
|
+
"sha256": "898ce9fcf097445820ee60a5a48f497f5eb20ad6c22c842089588349d6c796a1"
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"id": "theme-circle",
|
|
237
|
+
"name": "圆形揭开",
|
|
238
|
+
"cat": "过渡",
|
|
239
|
+
"catEn": "Theme Transitions",
|
|
240
|
+
"tech": "View Transitions API · WAAPI · clip-path",
|
|
241
|
+
"desc": "从点击处放大一个圆,盖住整页。 点画面任意位置触发。",
|
|
242
|
+
"params": [
|
|
243
|
+
{
|
|
244
|
+
"k": "dur",
|
|
245
|
+
"label": "时长",
|
|
246
|
+
"type": "range",
|
|
247
|
+
"def": 650,
|
|
248
|
+
"min": 200,
|
|
249
|
+
"max": 2400,
|
|
250
|
+
"unit": "ms"
|
|
251
|
+
}
|
|
252
|
+
],
|
|
253
|
+
"file": "effects/theme-circle.html",
|
|
254
|
+
"url": "https://motion.lijunyu.com.cn/skill/motion-hub/effects/theme-circle.html",
|
|
255
|
+
"sha256": "6fcff6e142727a372076ae1a80d815f82eec1fd7f2d044299c28f4c22cadfcae"
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"id": "theme-ink",
|
|
259
|
+
"name": "墨水晕开",
|
|
260
|
+
"cat": "过渡",
|
|
261
|
+
"catEn": "Theme Transitions",
|
|
262
|
+
"tech": "View Transitions API · WAAPI · clip-path",
|
|
263
|
+
"desc": "从点击处开始,边缘是圆润的不规则形,先快后慢,像墨滴洇开。 点画面任意位置触发。",
|
|
264
|
+
"params": [
|
|
265
|
+
{
|
|
266
|
+
"k": "dur",
|
|
267
|
+
"label": "时长",
|
|
268
|
+
"type": "range",
|
|
269
|
+
"def": 900,
|
|
270
|
+
"min": 200,
|
|
271
|
+
"max": 2400,
|
|
272
|
+
"unit": "ms"
|
|
273
|
+
}
|
|
274
|
+
],
|
|
275
|
+
"file": "effects/theme-ink.html",
|
|
276
|
+
"url": "https://motion.lijunyu.com.cn/skill/motion-hub/effects/theme-ink.html",
|
|
277
|
+
"sha256": "f2bae62408b101d0d59cb8cdf3c3983090cd56fb9b070adb75adcc88f9f7ac24"
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
"id": "theme-dots",
|
|
281
|
+
"name": "点阵扩散",
|
|
282
|
+
"cat": "过渡",
|
|
283
|
+
"catEn": "Theme Transitions",
|
|
284
|
+
"tech": "View Transitions API · CSS Mask · @property",
|
|
285
|
+
"desc": "前沿是一圈网点,后面才是实心,适合配点阵背景。 点画面任意位置触发。",
|
|
286
|
+
"params": [
|
|
287
|
+
{
|
|
288
|
+
"k": "dur",
|
|
289
|
+
"label": "时长",
|
|
290
|
+
"type": "range",
|
|
291
|
+
"def": 1000,
|
|
292
|
+
"min": 200,
|
|
293
|
+
"max": 2400,
|
|
294
|
+
"unit": "ms"
|
|
295
|
+
}
|
|
296
|
+
],
|
|
297
|
+
"file": "effects/theme-dots.html",
|
|
298
|
+
"url": "https://motion.lijunyu.com.cn/skill/motion-hub/effects/theme-dots.html",
|
|
299
|
+
"sha256": "54d27abbde70a80f7739420241add8664c5273019adcb5198e012750faccc775"
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"id": "theme-blinds",
|
|
303
|
+
"name": "百叶窗",
|
|
304
|
+
"cat": "过渡",
|
|
305
|
+
"catEn": "Theme Transitions",
|
|
306
|
+
"tech": "View Transitions API · CSS Mask · @property",
|
|
307
|
+
"desc": "一条条竖帘同时翻开,利落、有节奏。 点画面任意位置触发。",
|
|
308
|
+
"params": [
|
|
309
|
+
{
|
|
310
|
+
"k": "dur",
|
|
311
|
+
"label": "时长",
|
|
312
|
+
"type": "range",
|
|
313
|
+
"def": 700,
|
|
314
|
+
"min": 200,
|
|
315
|
+
"max": 2400,
|
|
316
|
+
"unit": "ms"
|
|
317
|
+
}
|
|
318
|
+
],
|
|
319
|
+
"file": "effects/theme-blinds.html",
|
|
320
|
+
"url": "https://motion.lijunyu.com.cn/skill/motion-hub/effects/theme-blinds.html",
|
|
321
|
+
"sha256": "a0f761e4828eb48f8877ff9ee2dc149f7abdcfa21206429d432ebee0e03a3490"
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
"id": "theme-slice",
|
|
325
|
+
"name": "斜切扫过",
|
|
326
|
+
"cat": "过渡",
|
|
327
|
+
"catEn": "Theme Transitions",
|
|
328
|
+
"tech": "View Transitions API · WAAPI · clip-path",
|
|
329
|
+
"desc": "一道斜边从点击的那一侧扫向另一侧。 点画面任意位置触发。",
|
|
330
|
+
"params": [
|
|
331
|
+
{
|
|
332
|
+
"k": "dur",
|
|
333
|
+
"label": "时长",
|
|
334
|
+
"type": "range",
|
|
335
|
+
"def": 750,
|
|
336
|
+
"min": 200,
|
|
337
|
+
"max": 2400,
|
|
338
|
+
"unit": "ms"
|
|
339
|
+
}
|
|
340
|
+
],
|
|
341
|
+
"file": "effects/theme-slice.html",
|
|
342
|
+
"url": "https://motion.lijunyu.com.cn/skill/motion-hub/effects/theme-slice.html",
|
|
343
|
+
"sha256": "04c83093866e8674b381c1c613a081c20a34225f884609dba351fff7dd884064"
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
"id": "theme-iris",
|
|
347
|
+
"name": "光圈快门",
|
|
348
|
+
"cat": "过渡",
|
|
349
|
+
"catEn": "Theme Transitions",
|
|
350
|
+
"tech": "View Transitions API · WAAPI · clip-path",
|
|
351
|
+
"desc": "六边形从点击处旋转着张开,像相机光圈。 点画面任意位置触发。",
|
|
352
|
+
"params": [
|
|
353
|
+
{
|
|
354
|
+
"k": "dur",
|
|
355
|
+
"label": "时长",
|
|
356
|
+
"type": "range",
|
|
357
|
+
"def": 800,
|
|
358
|
+
"min": 200,
|
|
359
|
+
"max": 2400,
|
|
360
|
+
"unit": "ms"
|
|
361
|
+
}
|
|
362
|
+
],
|
|
363
|
+
"file": "effects/theme-iris.html",
|
|
364
|
+
"url": "https://motion.lijunyu.com.cn/skill/motion-hub/effects/theme-iris.html",
|
|
365
|
+
"sha256": "6e5f8c92b3499dbb5e665a290ab444bb0a59858b75e91157947c10d48a938092"
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
"id": "theme-wave",
|
|
369
|
+
"name": "液面上涨",
|
|
370
|
+
"cat": "过渡",
|
|
371
|
+
"catEn": "Theme Transitions",
|
|
372
|
+
"tech": "View Transitions API · WAAPI · clip-path",
|
|
373
|
+
"desc": "新颜色像水一样从底部涨上来,水面起伏。 点画面任意位置触发。",
|
|
374
|
+
"params": [
|
|
375
|
+
{
|
|
376
|
+
"k": "dur",
|
|
377
|
+
"label": "时长",
|
|
378
|
+
"type": "range",
|
|
379
|
+
"def": 1100,
|
|
380
|
+
"min": 200,
|
|
381
|
+
"max": 2400,
|
|
382
|
+
"unit": "ms"
|
|
383
|
+
}
|
|
384
|
+
],
|
|
385
|
+
"file": "effects/theme-wave.html",
|
|
386
|
+
"url": "https://motion.lijunyu.com.cn/skill/motion-hub/effects/theme-wave.html",
|
|
387
|
+
"sha256": "c62a9f9f93c990682a5b585a7e309448508a2e8a2b1eecd04576825a9f90f386"
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
"id": "theme-halftone",
|
|
391
|
+
"name": "网点溶解",
|
|
392
|
+
"cat": "过渡",
|
|
393
|
+
"catEn": "Theme Transitions",
|
|
394
|
+
"tech": "View Transitions API · CSS Mask · @property",
|
|
395
|
+
"desc": "整屏同时长出印刷网点,越长越大,直到连成一片。 点画面任意位置触发。",
|
|
396
|
+
"params": [
|
|
397
|
+
{
|
|
398
|
+
"k": "dur",
|
|
399
|
+
"label": "时长",
|
|
400
|
+
"type": "range",
|
|
401
|
+
"def": 750,
|
|
402
|
+
"min": 200,
|
|
403
|
+
"max": 2400,
|
|
404
|
+
"unit": "ms"
|
|
405
|
+
}
|
|
406
|
+
],
|
|
407
|
+
"file": "effects/theme-halftone.html",
|
|
408
|
+
"url": "https://motion.lijunyu.com.cn/skill/motion-hub/effects/theme-halftone.html",
|
|
409
|
+
"sha256": "d541687cfde2e720f60f07d47c0f556c014c8606c7959f5477022f22ce34d997"
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
"id": "theme-soft",
|
|
413
|
+
"name": "柔光圆",
|
|
414
|
+
"cat": "过渡",
|
|
415
|
+
"catEn": "Theme Transitions",
|
|
416
|
+
"tech": "View Transitions API · CSS Mask · @property",
|
|
417
|
+
"desc": "和圆形揭开一样从点击处扩散,但边缘是一圈柔和的渐隐。 点画面任意位置触发。",
|
|
418
|
+
"params": [
|
|
419
|
+
{
|
|
420
|
+
"k": "dur",
|
|
421
|
+
"label": "时长",
|
|
422
|
+
"type": "range",
|
|
423
|
+
"def": 800,
|
|
424
|
+
"min": 200,
|
|
425
|
+
"max": 2400,
|
|
426
|
+
"unit": "ms"
|
|
427
|
+
}
|
|
428
|
+
],
|
|
429
|
+
"file": "effects/theme-soft.html",
|
|
430
|
+
"url": "https://motion.lijunyu.com.cn/skill/motion-hub/effects/theme-soft.html",
|
|
431
|
+
"sha256": "5107c98f9dd4ce7cbc3c335be323f751132387b0f3cdb02377c7fffe4a729af2"
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
"id": "theme-flip",
|
|
435
|
+
"name": "翻页",
|
|
436
|
+
"cat": "过渡",
|
|
437
|
+
"catEn": "Theme Transitions",
|
|
438
|
+
"tech": "View Transitions API · WAAPI · 3D Transform",
|
|
439
|
+
"desc": "整页像卡片一样绕竖轴翻过去,背面就是另一种颜色。 点画面任意位置触发。",
|
|
440
|
+
"params": [
|
|
441
|
+
{
|
|
442
|
+
"k": "dur",
|
|
443
|
+
"label": "时长",
|
|
444
|
+
"type": "range",
|
|
445
|
+
"def": 900,
|
|
446
|
+
"min": 200,
|
|
447
|
+
"max": 2400,
|
|
448
|
+
"unit": "ms"
|
|
449
|
+
}
|
|
450
|
+
],
|
|
451
|
+
"file": "effects/theme-flip.html",
|
|
452
|
+
"url": "https://motion.lijunyu.com.cn/skill/motion-hub/effects/theme-flip.html",
|
|
453
|
+
"sha256": "0eef9b41cb5c76dbe08cfe921de9127453047465b93fd828d417193028f5540b"
|
|
454
|
+
},
|
|
455
|
+
{
|
|
456
|
+
"id": "theme-fade",
|
|
457
|
+
"name": "淡入淡出",
|
|
458
|
+
"cat": "过渡",
|
|
459
|
+
"catEn": "Theme Transitions",
|
|
460
|
+
"tech": "View Transitions API · WAAPI · clip-path",
|
|
461
|
+
"desc": "最普通的渐变,作对照。 点画面任意位置触发。",
|
|
462
|
+
"params": [
|
|
463
|
+
{
|
|
464
|
+
"k": "dur",
|
|
465
|
+
"label": "时长",
|
|
466
|
+
"type": "range",
|
|
467
|
+
"def": 400,
|
|
468
|
+
"min": 200,
|
|
469
|
+
"max": 2400,
|
|
470
|
+
"unit": "ms"
|
|
471
|
+
}
|
|
472
|
+
],
|
|
473
|
+
"file": "effects/theme-fade.html",
|
|
474
|
+
"url": "https://motion.lijunyu.com.cn/skill/motion-hub/effects/theme-fade.html",
|
|
475
|
+
"sha256": "67d42bbc7454bbbe056291cfac72aa5c17039421c059a1611c77a5f669672bb8"
|
|
476
|
+
},
|
|
477
|
+
{
|
|
478
|
+
"id": "pull",
|
|
479
|
+
"name": "拉扯翻页",
|
|
480
|
+
"cat": "翻页",
|
|
481
|
+
"catEn": "Page Turn",
|
|
482
|
+
"tech": "DOM Slicing · Exponential Decay · Pointer Drag",
|
|
483
|
+
"desc": "往下翻,当前页的信息先被扯长,再整体拽走;往上翻,上一页从底部被拉上来。也可以按住拖动,拖过两成或甩得够快就翻页,否则弹回。",
|
|
484
|
+
"params": [
|
|
485
|
+
{
|
|
486
|
+
"k": "slides",
|
|
487
|
+
"label": "每页内容(一行一页:标题 | 说明)",
|
|
488
|
+
"type": "lines",
|
|
489
|
+
"def": "背景 | 等高线 · 点阵 · 风场 · 网格\n过渡 | 11 种深浅切换\n翻页 | 拉扯翻页\n交互 | 片头 · 开关 · 卡片 · 光标"
|
|
490
|
+
}
|
|
491
|
+
],
|
|
492
|
+
"file": "effects/pull.html",
|
|
493
|
+
"url": "https://motion.lijunyu.com.cn/skill/motion-hub/effects/pull.html",
|
|
494
|
+
"sha256": "460f56495c7fbb8429c05f4e336713594a412a488207bf978ef931e64b5487ca"
|
|
495
|
+
},
|
|
496
|
+
{
|
|
497
|
+
"id": "intro",
|
|
498
|
+
"name": "点阵拼字片头",
|
|
499
|
+
"cat": "片头",
|
|
500
|
+
"catEn": "Intro",
|
|
501
|
+
"tech": "Canvas 2D · Pure-Function Timeline · Text Sampling",
|
|
502
|
+
"desc": "网格点亮起,屏幕外的点飞进来拼成文字,字幕依次闪过并荡开波纹;播完定格。点一下重播。",
|
|
503
|
+
"params": [
|
|
504
|
+
{
|
|
505
|
+
"k": "text",
|
|
506
|
+
"label": "拼出的文字",
|
|
507
|
+
"type": "text",
|
|
508
|
+
"def": "LJY"
|
|
509
|
+
},
|
|
510
|
+
{
|
|
511
|
+
"k": "captions",
|
|
512
|
+
"label": "字幕(一行一条)",
|
|
513
|
+
"type": "lines",
|
|
514
|
+
"def": "背景\n过渡\n翻页\n交互"
|
|
515
|
+
},
|
|
516
|
+
{
|
|
517
|
+
"k": "gap",
|
|
518
|
+
"label": "点间距",
|
|
519
|
+
"type": "range",
|
|
520
|
+
"def": 22,
|
|
521
|
+
"min": 10,
|
|
522
|
+
"max": 40,
|
|
523
|
+
"unit": "px"
|
|
524
|
+
}
|
|
525
|
+
],
|
|
526
|
+
"file": "effects/intro.html",
|
|
527
|
+
"url": "https://motion.lijunyu.com.cn/skill/motion-hub/effects/intro.html",
|
|
528
|
+
"sha256": "1b631193d00988c84e33cafb8cb7c3d515189e05408c5013a81a93ab34242f41"
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
"id": "sun-moon",
|
|
532
|
+
"name": "太阳月亮开关",
|
|
533
|
+
"cat": "交互",
|
|
534
|
+
"catEn": "Interactions",
|
|
535
|
+
"tech": "SVG Mask · CSS Transform",
|
|
536
|
+
"desc": "深浅模式开关的图标:浅色时是月亮(点了变深色),深色时是太阳;切换时光芒收起、圆被咬掉一口变成月牙。",
|
|
537
|
+
"params": [
|
|
538
|
+
{
|
|
539
|
+
"k": "interval",
|
|
540
|
+
"label": "自动演示间隔",
|
|
541
|
+
"type": "range",
|
|
542
|
+
"def": 1800,
|
|
543
|
+
"min": 600,
|
|
544
|
+
"max": 5000,
|
|
545
|
+
"unit": "ms"
|
|
546
|
+
}
|
|
547
|
+
],
|
|
548
|
+
"file": "effects/sun-moon.html",
|
|
549
|
+
"url": "https://motion.lijunyu.com.cn/skill/motion-hub/effects/sun-moon.html",
|
|
550
|
+
"sha256": "97a026dd952a9dbd86f94e0e80458ea2f161ea9cb2f9a86dc4c54ea7b485fdbf"
|
|
551
|
+
},
|
|
552
|
+
{
|
|
553
|
+
"id": "glow-card",
|
|
554
|
+
"name": "边框高光卡片",
|
|
555
|
+
"cat": "交互",
|
|
556
|
+
"catEn": "Interactions",
|
|
557
|
+
"tech": "CSS Mask · mask-composite · 3D Tilt",
|
|
558
|
+
"desc": "指针在卡片上移动时,边框沿着指针亮起一段光,卡片同时朝指针方向轻轻倾斜。",
|
|
559
|
+
"params": [
|
|
560
|
+
{
|
|
561
|
+
"k": "tilt",
|
|
562
|
+
"label": "倾斜角度",
|
|
563
|
+
"type": "range",
|
|
564
|
+
"def": 10,
|
|
565
|
+
"min": 0,
|
|
566
|
+
"max": 25,
|
|
567
|
+
"unit": "°"
|
|
568
|
+
}
|
|
569
|
+
],
|
|
570
|
+
"file": "effects/glow-card.html",
|
|
571
|
+
"url": "https://motion.lijunyu.com.cn/skill/motion-hub/effects/glow-card.html",
|
|
572
|
+
"sha256": "5bc7fa47c89fa721ff10c210cdd13c0d1de9a8973a6fc0d9f5e1c4ce5cd9529f"
|
|
573
|
+
},
|
|
574
|
+
{
|
|
575
|
+
"id": "scramble",
|
|
576
|
+
"name": "乱码落定",
|
|
577
|
+
"cat": "交互",
|
|
578
|
+
"catEn": "Interactions",
|
|
579
|
+
"tech": "requestAnimationFrame · Text Scramble",
|
|
580
|
+
"desc": "指针经过时,文字先变成乱码,再从左到右一个个落回原字,适合导航和标题。",
|
|
581
|
+
"params": [
|
|
582
|
+
{
|
|
583
|
+
"k": "words",
|
|
584
|
+
"label": "文字(一行一条)",
|
|
585
|
+
"type": "lines",
|
|
586
|
+
"def": "MOTION HUB\n背景 · 过渡 · 翻页\nHELLO, LJY"
|
|
587
|
+
},
|
|
588
|
+
{
|
|
589
|
+
"k": "pool",
|
|
590
|
+
"label": "乱码字符",
|
|
591
|
+
"type": "text",
|
|
592
|
+
"def": "01#/<>+=*[]{}%$&"
|
|
593
|
+
},
|
|
594
|
+
{
|
|
595
|
+
"k": "step",
|
|
596
|
+
"label": "每字落定间隔",
|
|
597
|
+
"type": "range",
|
|
598
|
+
"def": 55,
|
|
599
|
+
"min": 15,
|
|
600
|
+
"max": 160,
|
|
601
|
+
"unit": "ms"
|
|
602
|
+
}
|
|
603
|
+
],
|
|
604
|
+
"file": "effects/scramble.html",
|
|
605
|
+
"url": "https://motion.lijunyu.com.cn/skill/motion-hub/effects/scramble.html",
|
|
606
|
+
"sha256": "a97d8739c02d03aba14f08a042c5567891ae7a17c80ef179e07ba3f83ac2cb2c"
|
|
607
|
+
},
|
|
608
|
+
{
|
|
609
|
+
"id": "follow-tip",
|
|
610
|
+
"name": "跟随信息卡",
|
|
611
|
+
"cat": "交互",
|
|
612
|
+
"catEn": "Interactions",
|
|
613
|
+
"tech": "Lerp · Pointer Tracking",
|
|
614
|
+
"desc": "悬停在某一行时,信息卡带着一点“拖拽感”跟随指针,靠近边缘会自动翻到另一侧。",
|
|
615
|
+
"params": [
|
|
616
|
+
{
|
|
617
|
+
"k": "lag",
|
|
618
|
+
"label": "跟随灵敏度",
|
|
619
|
+
"type": "range",
|
|
620
|
+
"def": 0.18,
|
|
621
|
+
"min": 0.04,
|
|
622
|
+
"max": 1
|
|
623
|
+
},
|
|
624
|
+
{
|
|
625
|
+
"k": "offset",
|
|
626
|
+
"label": "离指针距离",
|
|
627
|
+
"type": "range",
|
|
628
|
+
"def": 18,
|
|
629
|
+
"min": 0,
|
|
630
|
+
"max": 60,
|
|
631
|
+
"unit": "px"
|
|
632
|
+
}
|
|
633
|
+
],
|
|
634
|
+
"file": "effects/follow-tip.html",
|
|
635
|
+
"url": "https://motion.lijunyu.com.cn/skill/motion-hub/effects/follow-tip.html",
|
|
636
|
+
"sha256": "587bc7356f81100bbcc53a3ae09fc9095188d10a3e7886065f224bf5e46018f4"
|
|
637
|
+
},
|
|
638
|
+
{
|
|
639
|
+
"id": "pipeline",
|
|
640
|
+
"name": "校验链",
|
|
641
|
+
"cat": "交互",
|
|
642
|
+
"catEn": "Interactions",
|
|
643
|
+
"tech": "SVG · Staged Easing",
|
|
644
|
+
"desc": "一次操作依次经过多道检查:小点在每道关前减速、通过后点亮,适合解释流程或状态机。",
|
|
645
|
+
"params": [
|
|
646
|
+
{
|
|
647
|
+
"k": "gates",
|
|
648
|
+
"label": "关卡(一行一个)",
|
|
649
|
+
"type": "lines",
|
|
650
|
+
"def": "计划\n身份\n权限\n状态\n幂等\n限流\n审计"
|
|
651
|
+
},
|
|
652
|
+
{
|
|
653
|
+
"k": "period",
|
|
654
|
+
"label": "一轮时长",
|
|
655
|
+
"type": "range",
|
|
656
|
+
"def": 7000,
|
|
657
|
+
"min": 2000,
|
|
658
|
+
"max": 15000,
|
|
659
|
+
"unit": "ms"
|
|
660
|
+
}
|
|
661
|
+
],
|
|
662
|
+
"file": "effects/pipeline.html",
|
|
663
|
+
"url": "https://motion.lijunyu.com.cn/skill/motion-hub/effects/pipeline.html",
|
|
664
|
+
"sha256": "7aadf855759f4742ed6e7ef0bc4ee8ab2029b36d489371f56508e095198de5f5"
|
|
665
|
+
}
|
|
666
|
+
]
|
|
667
|
+
}
|