@biunow/agent-biutalk 1.1.8 → 2.0.1
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/_shared/lib/panel-llm.mjs +82 -0
- package/_shared/lib/panel-settings.mjs +16 -0
- package/bin/server.js +3 -2
- package/manifest.json +3 -3
- package/package.json +1 -1
- package/_shared/.tmp-panel-smoke/art/smoke.mp4 +0 -0
- package/_shared/.tmp-panel-smoke/art-pipe/out/biuart-01_cave-mwq5kfpm.mp4 +0 -0
- package/_shared/.tmp-panel-smoke/art-pipe/panel-delivery.json +0 -7
- package/_shared/.tmp-panel-smoke/reel-pipe/film/index.html +0 -7
- package/_shared/.tmp-panel-smoke/reel-pipe/film/main.js +0 -68
- package/_shared/.tmp-panel-smoke/reel-pipe/film/panel-beats.json +0 -20
- package/_shared/.tmp-panel-smoke/reel-pipe/style-demo/CREDITS +0 -20
- package/_shared/.tmp-panel-smoke/reel-pipe/style-demo/build.sh +0 -17
- package/_shared/.tmp-panel-smoke/reel-pipe/style-demo/ease.js +0 -43
- package/_shared/.tmp-panel-smoke/reel-pipe/style-demo/events.json +0 -1
- package/_shared/.tmp-panel-smoke/reel-pipe/style-demo/film.js +0 -533
- package/_shared/.tmp-panel-smoke/reel-pipe/style-demo/fonts/OFL-Archivo.txt +0 -93
- package/_shared/.tmp-panel-smoke/reel-pipe/style-demo/fonts/OFL-DMSerifDisplay.txt +0 -93
- package/_shared/.tmp-panel-smoke/reel-pipe/style-demo/fonts/OFL-UnifrakturMaguntia.txt +0 -94
- package/_shared/.tmp-panel-smoke/reel-pipe/style-demo/fonts/fonts.css +0 -3
- package/_shared/.tmp-panel-smoke/reel-pipe/style-demo/index.html +0 -6
- package/_shared/.tmp-panel-smoke/reel-pipe/style-demo/lines.json +0 -10
- package/_shared/.tmp-panel-smoke/reel-pipe/style-demo/main.js +0 -15
- package/_shared/.tmp-panel-smoke/reel-pipe/style-demo/mix.py +0 -116
- package/_shared/.tmp-panel-smoke/reel-pipe/style-demo/music/score.py +0 -168
- package/_shared/.tmp-panel-smoke/reel-pipe/style-demo/music/score_meta.json +0 -59
- package/_shared/.tmp-panel-smoke/reel-pipe/style-demo/score.json +0 -235
- package/_shared/.tmp-panel-smoke/reel-pipe/style-demo/stills/styleframe.jpg +0 -0
- package/_shared/.tmp-panel-smoke/reel-pipe/style-demo/tools/fonts.sh +0 -17
- package/_shared/.tmp-panel-smoke/reel-pipe/style-demo/tools/subs.py +0 -11
- package/_shared/.tmp-panel-smoke/reel-pipe/style-demo/tools/words.py +0 -20
- package/_shared/.tmp-panel-smoke/reel-pipe/style-demo/voices/dur.json +0 -10
- package/_shared/.tmp-panel-smoke/reel-pipe/style-demo/voices/words.json +0 -213
- package/_shared/.tmp-panel-smoke/reel-pipe/style-demo/voices/words_rel.json +0 -56
- package/_shared/.tmp-panel-smoke/reel-pipe/style-ref.json +0 -5
- package/_shared/.tmp-panel-smoke/reel-pipe2/film/index.html +0 -7
- package/_shared/.tmp-panel-smoke/reel-pipe2/film/main.js +0 -68
- package/_shared/.tmp-panel-smoke/reel-pipe2/film/panel-beats.json +0 -20
- package/_shared/.tmp-panel-smoke/reel-pipe2/out/video.mp4 +0 -0
- package/_shared/.tmp-panel-smoke/reel-pipe2/panel-delivery.json +0 -8
- package/_shared/.tmp-panel-smoke/reel-pipe2/style-demo/CREDITS +0 -20
- package/_shared/.tmp-panel-smoke/reel-pipe2/style-demo/build.sh +0 -17
- package/_shared/.tmp-panel-smoke/reel-pipe2/style-demo/ease.js +0 -43
- package/_shared/.tmp-panel-smoke/reel-pipe2/style-demo/events.json +0 -1
- package/_shared/.tmp-panel-smoke/reel-pipe2/style-demo/film.js +0 -533
- package/_shared/.tmp-panel-smoke/reel-pipe2/style-demo/fonts/OFL-Archivo.txt +0 -93
- package/_shared/.tmp-panel-smoke/reel-pipe2/style-demo/fonts/OFL-DMSerifDisplay.txt +0 -93
- package/_shared/.tmp-panel-smoke/reel-pipe2/style-demo/fonts/OFL-UnifrakturMaguntia.txt +0 -94
- package/_shared/.tmp-panel-smoke/reel-pipe2/style-demo/fonts/fonts.css +0 -3
- package/_shared/.tmp-panel-smoke/reel-pipe2/style-demo/index.html +0 -6
- package/_shared/.tmp-panel-smoke/reel-pipe2/style-demo/lines.json +0 -10
- package/_shared/.tmp-panel-smoke/reel-pipe2/style-demo/main.js +0 -15
- package/_shared/.tmp-panel-smoke/reel-pipe2/style-demo/mix.py +0 -116
- package/_shared/.tmp-panel-smoke/reel-pipe2/style-demo/music/score.py +0 -168
- package/_shared/.tmp-panel-smoke/reel-pipe2/style-demo/music/score_meta.json +0 -59
- package/_shared/.tmp-panel-smoke/reel-pipe2/style-demo/score.json +0 -235
- package/_shared/.tmp-panel-smoke/reel-pipe2/style-demo/stills/styleframe.jpg +0 -0
- package/_shared/.tmp-panel-smoke/reel-pipe2/style-demo/tools/fonts.sh +0 -17
- package/_shared/.tmp-panel-smoke/reel-pipe2/style-demo/tools/subs.py +0 -11
- package/_shared/.tmp-panel-smoke/reel-pipe2/style-demo/tools/words.py +0 -20
- package/_shared/.tmp-panel-smoke/reel-pipe2/style-demo/voices/dur.json +0 -10
- package/_shared/.tmp-panel-smoke/reel-pipe2/style-demo/voices/words.json +0 -213
- package/_shared/.tmp-panel-smoke/reel-pipe2/style-demo/voices/words_rel.json +0 -56
- package/_shared/.tmp-panel-smoke/reel-pipe2/style-ref.json +0 -5
- package/_shared/.tmp-panel-smoke/remo-pipe/brief.md +0 -2
- package/_shared/.tmp-panel-smoke/remo-pipe/remo-job.json +0 -4
- package/_shared/.tmp-panel-smoke/remo-pipe2/brief.md +0 -1
- package/_shared/.tmp-panel-smoke/remo-pipe2/out/final.mp4 +0 -0
- package/_shared/.tmp-panel-smoke/remo-pipe2/panel-delivery.json +0 -8
- package/_shared/.tmp-panel-smoke/remo-pipe2/remo-job.json +0 -4
- package/_shared/.tmp-panel-smoke/vibe-pipe-ok/ep00-demo.mp4 +0 -0
- package/_shared/.tmp-panel-smoke/vibe-pipe-ok/out/ep00-demo.mp4 +0 -0
- package/_shared/.tmp-panel-smoke/vibe-pipe-ok/panel-delivery.json +0 -7
- package/_shared/.tmp-panel-smoke/vibe-pipe-ok/publish.json +0 -10
- package/_shared/.tmp-panel-smoke/vibe-still.jpg +0 -0
- package/_shared/.tmp-panel-smoke/vibe-still.log +0 -6
- package/_shared/.tmp-panel-smoke/vibe-still.log.err +0 -0
- package/_shared/.tmp-panel-smoke/vibe-still2.log +0 -26
- package/_shared/.tmp-panel-smoke/vibe-still2.log.err +0 -0
|
@@ -1,235 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"bpm": 120,
|
|
3
|
-
"key": "A dorian",
|
|
4
|
-
"cols": [
|
|
5
|
-
"A",
|
|
6
|
-
"B",
|
|
7
|
-
"C",
|
|
8
|
-
"D",
|
|
9
|
-
"E",
|
|
10
|
-
"F#",
|
|
11
|
-
"G"
|
|
12
|
-
],
|
|
13
|
-
"midi": [
|
|
14
|
-
57,
|
|
15
|
-
59,
|
|
16
|
-
60,
|
|
17
|
-
62,
|
|
18
|
-
64,
|
|
19
|
-
66,
|
|
20
|
-
67
|
|
21
|
-
],
|
|
22
|
-
"note": "Poster grid = score. 7 columns = the 7 notes of A dorian (low to high, left to right). 16 rows = 16 eighth notes (2 bars), read top to bottom. A bar's top edge = onset, its length = duration. Picture (film.js) and music (music/score.py) both read this file.",
|
|
23
|
-
"stiff": {
|
|
24
|
-
"lead": [
|
|
25
|
-
[
|
|
26
|
-
0,
|
|
27
|
-
0,
|
|
28
|
-
1
|
|
29
|
-
],
|
|
30
|
-
[
|
|
31
|
-
1,
|
|
32
|
-
1,
|
|
33
|
-
1
|
|
34
|
-
],
|
|
35
|
-
[
|
|
36
|
-
2,
|
|
37
|
-
2,
|
|
38
|
-
1
|
|
39
|
-
],
|
|
40
|
-
[
|
|
41
|
-
3,
|
|
42
|
-
3,
|
|
43
|
-
1
|
|
44
|
-
],
|
|
45
|
-
[
|
|
46
|
-
0,
|
|
47
|
-
4,
|
|
48
|
-
1
|
|
49
|
-
],
|
|
50
|
-
[
|
|
51
|
-
1,
|
|
52
|
-
5,
|
|
53
|
-
1
|
|
54
|
-
],
|
|
55
|
-
[
|
|
56
|
-
2,
|
|
57
|
-
6,
|
|
58
|
-
1
|
|
59
|
-
],
|
|
60
|
-
[
|
|
61
|
-
3,
|
|
62
|
-
7,
|
|
63
|
-
1
|
|
64
|
-
],
|
|
65
|
-
[
|
|
66
|
-
0,
|
|
67
|
-
8,
|
|
68
|
-
1
|
|
69
|
-
],
|
|
70
|
-
[
|
|
71
|
-
1,
|
|
72
|
-
9,
|
|
73
|
-
1
|
|
74
|
-
],
|
|
75
|
-
[
|
|
76
|
-
2,
|
|
77
|
-
10,
|
|
78
|
-
1
|
|
79
|
-
],
|
|
80
|
-
[
|
|
81
|
-
3,
|
|
82
|
-
11,
|
|
83
|
-
1
|
|
84
|
-
],
|
|
85
|
-
[
|
|
86
|
-
0,
|
|
87
|
-
12,
|
|
88
|
-
1
|
|
89
|
-
],
|
|
90
|
-
[
|
|
91
|
-
1,
|
|
92
|
-
13,
|
|
93
|
-
1
|
|
94
|
-
],
|
|
95
|
-
[
|
|
96
|
-
2,
|
|
97
|
-
14,
|
|
98
|
-
1
|
|
99
|
-
],
|
|
100
|
-
[
|
|
101
|
-
3,
|
|
102
|
-
15,
|
|
103
|
-
1
|
|
104
|
-
]
|
|
105
|
-
],
|
|
106
|
-
"bass": [
|
|
107
|
-
[
|
|
108
|
-
0,
|
|
109
|
-
0,
|
|
110
|
-
16
|
|
111
|
-
]
|
|
112
|
-
],
|
|
113
|
-
"circle": [
|
|
114
|
-
5,
|
|
115
|
-
0
|
|
116
|
-
]
|
|
117
|
-
},
|
|
118
|
-
"final": {
|
|
119
|
-
"lead": [
|
|
120
|
-
[
|
|
121
|
-
0,
|
|
122
|
-
0,
|
|
123
|
-
4
|
|
124
|
-
],
|
|
125
|
-
[
|
|
126
|
-
1,
|
|
127
|
-
4,
|
|
128
|
-
1
|
|
129
|
-
],
|
|
130
|
-
[
|
|
131
|
-
2,
|
|
132
|
-
5,
|
|
133
|
-
1
|
|
134
|
-
],
|
|
135
|
-
[
|
|
136
|
-
3,
|
|
137
|
-
6,
|
|
138
|
-
4
|
|
139
|
-
],
|
|
140
|
-
[
|
|
141
|
-
4,
|
|
142
|
-
10,
|
|
143
|
-
1
|
|
144
|
-
],
|
|
145
|
-
[
|
|
146
|
-
5,
|
|
147
|
-
11,
|
|
148
|
-
1
|
|
149
|
-
],
|
|
150
|
-
[
|
|
151
|
-
6,
|
|
152
|
-
12,
|
|
153
|
-
4
|
|
154
|
-
]
|
|
155
|
-
],
|
|
156
|
-
"bass": [
|
|
157
|
-
[
|
|
158
|
-
0,
|
|
159
|
-
0,
|
|
160
|
-
8
|
|
161
|
-
],
|
|
162
|
-
[
|
|
163
|
-
2,
|
|
164
|
-
8,
|
|
165
|
-
4
|
|
166
|
-
],
|
|
167
|
-
[
|
|
168
|
-
3,
|
|
169
|
-
12,
|
|
170
|
-
4
|
|
171
|
-
]
|
|
172
|
-
],
|
|
173
|
-
"circle": [
|
|
174
|
-
-1.148,
|
|
175
|
-
12.5
|
|
176
|
-
],
|
|
177
|
-
"bleed": {
|
|
178
|
-
"0": "top",
|
|
179
|
-
"6": "right"
|
|
180
|
-
}
|
|
181
|
-
},
|
|
182
|
-
"circleDiameterCols": {
|
|
183
|
-
"stiff": 2,
|
|
184
|
-
"final": 4
|
|
185
|
-
},
|
|
186
|
-
"circlePitch": {
|
|
187
|
-
"stiff": "G5 (midi 79)",
|
|
188
|
-
"final": "A5 (midi 81), syncopated: onset row 12.5 = a sixteenth after the beat"
|
|
189
|
-
},
|
|
190
|
-
"timeline": {
|
|
191
|
-
"stiffRun16ths": [
|
|
192
|
-
18.0,
|
|
193
|
-
19.875
|
|
194
|
-
],
|
|
195
|
-
"stiffLoop": [
|
|
196
|
-
20.0,
|
|
197
|
-
24.0
|
|
198
|
-
],
|
|
199
|
-
"circleIn": 20.0,
|
|
200
|
-
"hesitate": 23.5,
|
|
201
|
-
"drumsOut": [
|
|
202
|
-
24.0,
|
|
203
|
-
26.0
|
|
204
|
-
],
|
|
205
|
-
"circleFlight": [
|
|
206
|
-
[
|
|
207
|
-
24.5,
|
|
208
|
-
25.0
|
|
209
|
-
],
|
|
210
|
-
[
|
|
211
|
-
25.25,
|
|
212
|
-
26.0
|
|
213
|
-
]
|
|
214
|
-
],
|
|
215
|
-
"land": 26.0,
|
|
216
|
-
"finalPhrase": [
|
|
217
|
-
26.0,
|
|
218
|
-
30.0
|
|
219
|
-
],
|
|
220
|
-
"breath": [
|
|
221
|
-
30.0,
|
|
222
|
-
32.0
|
|
223
|
-
],
|
|
224
|
-
"sweep": [
|
|
225
|
-
32.0,
|
|
226
|
-
36.0
|
|
227
|
-
],
|
|
228
|
-
"wallPhrase": [
|
|
229
|
-
36.0,
|
|
230
|
-
40.0
|
|
231
|
-
],
|
|
232
|
-
"endHit": 40.0,
|
|
233
|
-
"dur": 44.0
|
|
234
|
-
}
|
|
235
|
-
}
|
|
Binary file
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
# The fonts this page uses (SIL Open Font License 1.1, named in ../CREDITS) are not kept in git. This fetches each one into
|
|
3
|
-
# fonts/, the same files the film was made with: google/fonts pinned to one commit, or a versioned Google Fonts file.
|
|
4
|
-
# Files already there are kept; FORCE=1 fetches them again. build.sh runs it first.
|
|
5
|
-
set -e
|
|
6
|
-
D=$(cd "$(dirname "$0")/.." && pwd)/fonts; mkdir -p "$D"
|
|
7
|
-
GF=https://raw.githubusercontent.com/google/fonts/86aced91de05cd4f96a06838124cca45be337b2b
|
|
8
|
-
get() {
|
|
9
|
-
[ -s "$D/$1" ] && [ -z "$FORCE" ] && return 0
|
|
10
|
-
# into a plain name first: Git Bash on Windows hands curl a path with [ ] in it unconverted
|
|
11
|
-
curl -fsSL -g --retry 2 -o "$D/download.part" "$2" ||
|
|
12
|
-
{ rm -f "$D/download.part"; echo "✗ could not fetch fonts/$1 from $2 (offline, or behind a proxy? curl uses https_proxy)" >&2; exit 1; }
|
|
13
|
-
mv "$D/download.part" "$D/$1"; echo "fonts/$1"
|
|
14
|
-
}
|
|
15
|
-
get Archivo-VF.ttf "$GF/ofl/archivo/Archivo[wdth,wght].ttf"
|
|
16
|
-
get UnifrakturMaguntia-Regular.ttf "$GF/ofl/unifrakturmaguntia/UnifrakturMaguntia-Book.ttf"
|
|
17
|
-
get DMSerifDisplay-Regular.ttf "$GF/ofl/dmserifdisplay/DMSerifDisplay-Regular.ttf"
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"""Subtitle intervals (same rules as LAYOUT in film.js) → out/subs.json, for core/render/srt.py to export the .srt"""
|
|
2
|
-
import json, os
|
|
3
|
-
D = os.path.dirname(os.path.abspath(__file__)) + '/..'
|
|
4
|
-
END = {'l1': 7.8, 'l2': 11.8, 'l3': 15.8, 'l4': 19.85, 'l4b': 22.15, 'l5': 24.5, 'l5b': 27.4, 'l6': 39.95}
|
|
5
|
-
lines = json.load(open(f'{D}/lines.json')); dur = json.load(open(f'{D}/voices/dur.json'))
|
|
6
|
-
cues = []
|
|
7
|
-
for L in lines:
|
|
8
|
-
t1 = END[L['id']]
|
|
9
|
-
assert t1 - L['t'] >= max(1.8, dur[L['id']] + .6) - 1e-6, (L['id'], t1 - L['t'], dur[L['id']])
|
|
10
|
-
cues.append({'t0': L['t'], 't1': t1, 'text': L['text']})
|
|
11
|
-
os.makedirs(f'{D}/out', exist_ok=True); json.dump(cues, open(f'{D}/out/subs.json', 'w'), indent=1); print(len(cues), 'cues ok')
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"""whisper word timings → the moment each subtitle word appears (relative to the start of the line). python tools/words.py
|
|
2
|
-
When the subtitle word count differs from whisper's (type face / typeface), words are merged by aligning letters. The first word's time is clamped to 0 (asr_check's added silence gives −0.6)."""
|
|
3
|
-
import json, os, re
|
|
4
|
-
D = os.path.dirname(os.path.abspath(__file__)) + '/..'
|
|
5
|
-
lines = json.load(open(f'{D}/lines.json')); words = json.load(open(f'{D}/voices/words.json'))
|
|
6
|
-
norm = lambda s: re.sub(r'[^a-z0-9]', '', s.lower())
|
|
7
|
-
num = {'one': '1', 'two': '2', 'three': '3', 'four': '4', 'five': '5'}
|
|
8
|
-
out = {}
|
|
9
|
-
for L in lines:
|
|
10
|
-
sub = L['text'].split(); ws = words[L['id']]; res = []; j = 0
|
|
11
|
-
for w in sub:
|
|
12
|
-
target = norm(w); target2 = num.get(target, target); acc = ''; t0 = None
|
|
13
|
-
while j < len(ws) and acc not in (target, target2):
|
|
14
|
-
if t0 is None: t0 = max(0.0, ws[j][1])
|
|
15
|
-
acc += norm(ws[j][0]); j += 1
|
|
16
|
-
assert acc in (target, target2), (L['id'], w, acc)
|
|
17
|
-
res.append(round(t0, 3))
|
|
18
|
-
out[L['id']] = res
|
|
19
|
-
json.dump(out, open(f'{D}/voices/words_rel.json', 'w'), indent=0)
|
|
20
|
-
print(out)
|
|
@@ -1,213 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"l1": [
|
|
3
|
-
[
|
|
4
|
-
"Rule",
|
|
5
|
-
-0.6,
|
|
6
|
-
0.18
|
|
7
|
-
],
|
|
8
|
-
[
|
|
9
|
-
"1,",
|
|
10
|
-
0.18,
|
|
11
|
-
0.46
|
|
12
|
-
],
|
|
13
|
-
[
|
|
14
|
-
"build",
|
|
15
|
-
0.68,
|
|
16
|
-
0.86
|
|
17
|
-
],
|
|
18
|
-
[
|
|
19
|
-
"a",
|
|
20
|
-
0.86,
|
|
21
|
-
1.0
|
|
22
|
-
],
|
|
23
|
-
[
|
|
24
|
-
"grid.",
|
|
25
|
-
1.0,
|
|
26
|
-
1.24
|
|
27
|
-
]
|
|
28
|
-
],
|
|
29
|
-
"l2": [
|
|
30
|
-
[
|
|
31
|
-
"Rule",
|
|
32
|
-
-0.6,
|
|
33
|
-
0.16
|
|
34
|
-
],
|
|
35
|
-
[
|
|
36
|
-
"2,",
|
|
37
|
-
0.16,
|
|
38
|
-
0.44
|
|
39
|
-
],
|
|
40
|
-
[
|
|
41
|
-
"use",
|
|
42
|
-
0.72,
|
|
43
|
-
0.86
|
|
44
|
-
],
|
|
45
|
-
[
|
|
46
|
-
"one",
|
|
47
|
-
0.86,
|
|
48
|
-
1.08
|
|
49
|
-
],
|
|
50
|
-
[
|
|
51
|
-
"type",
|
|
52
|
-
1.08,
|
|
53
|
-
1.28
|
|
54
|
-
],
|
|
55
|
-
[
|
|
56
|
-
"face.",
|
|
57
|
-
1.28,
|
|
58
|
-
1.6
|
|
59
|
-
]
|
|
60
|
-
],
|
|
61
|
-
"l3": [
|
|
62
|
-
[
|
|
63
|
-
"Rule",
|
|
64
|
-
-0.6,
|
|
65
|
-
0.16
|
|
66
|
-
],
|
|
67
|
-
[
|
|
68
|
-
"3,",
|
|
69
|
-
0.16,
|
|
70
|
-
0.48
|
|
71
|
-
],
|
|
72
|
-
[
|
|
73
|
-
"leave",
|
|
74
|
-
0.76,
|
|
75
|
-
0.88
|
|
76
|
-
],
|
|
77
|
-
[
|
|
78
|
-
"space.",
|
|
79
|
-
0.88,
|
|
80
|
-
1.18
|
|
81
|
-
]
|
|
82
|
-
],
|
|
83
|
-
"l4": [
|
|
84
|
-
[
|
|
85
|
-
"Rule",
|
|
86
|
-
-0.6,
|
|
87
|
-
0.16
|
|
88
|
-
],
|
|
89
|
-
[
|
|
90
|
-
"4,",
|
|
91
|
-
0.16,
|
|
92
|
-
0.48
|
|
93
|
-
],
|
|
94
|
-
[
|
|
95
|
-
"Align",
|
|
96
|
-
0.78,
|
|
97
|
-
1.06
|
|
98
|
-
],
|
|
99
|
-
[
|
|
100
|
-
"Everything.",
|
|
101
|
-
1.06,
|
|
102
|
-
1.44
|
|
103
|
-
]
|
|
104
|
-
],
|
|
105
|
-
"l4b": [
|
|
106
|
-
[
|
|
107
|
-
"Perfect",
|
|
108
|
-
-0.6,
|
|
109
|
-
0.34
|
|
110
|
-
],
|
|
111
|
-
[
|
|
112
|
-
"and",
|
|
113
|
-
0.34,
|
|
114
|
-
0.68
|
|
115
|
-
],
|
|
116
|
-
[
|
|
117
|
-
"a",
|
|
118
|
-
0.68,
|
|
119
|
-
0.76
|
|
120
|
-
],
|
|
121
|
-
[
|
|
122
|
-
"little",
|
|
123
|
-
0.76,
|
|
124
|
-
0.88
|
|
125
|
-
],
|
|
126
|
-
[
|
|
127
|
-
"dull.",
|
|
128
|
-
0.88,
|
|
129
|
-
1.1
|
|
130
|
-
]
|
|
131
|
-
],
|
|
132
|
-
"l5": [
|
|
133
|
-
[
|
|
134
|
-
"Rule",
|
|
135
|
-
-0.6,
|
|
136
|
-
0.16
|
|
137
|
-
],
|
|
138
|
-
[
|
|
139
|
-
"5,",
|
|
140
|
-
0.16,
|
|
141
|
-
0.54
|
|
142
|
-
],
|
|
143
|
-
[
|
|
144
|
-
"break",
|
|
145
|
-
0.84,
|
|
146
|
-
0.94
|
|
147
|
-
],
|
|
148
|
-
[
|
|
149
|
-
"one",
|
|
150
|
-
0.94,
|
|
151
|
-
1.2
|
|
152
|
-
],
|
|
153
|
-
[
|
|
154
|
-
"rule.",
|
|
155
|
-
1.2,
|
|
156
|
-
1.44
|
|
157
|
-
]
|
|
158
|
-
],
|
|
159
|
-
"l5b": [
|
|
160
|
-
[
|
|
161
|
-
"Only",
|
|
162
|
-
-0.6,
|
|
163
|
-
0.26
|
|
164
|
-
],
|
|
165
|
-
[
|
|
166
|
-
"one.",
|
|
167
|
-
0.26,
|
|
168
|
-
0.48
|
|
169
|
-
]
|
|
170
|
-
],
|
|
171
|
-
"l6": [
|
|
172
|
-
[
|
|
173
|
-
"Same",
|
|
174
|
-
-0.6,
|
|
175
|
-
0.22
|
|
176
|
-
],
|
|
177
|
-
[
|
|
178
|
-
"five",
|
|
179
|
-
0.22,
|
|
180
|
-
0.48
|
|
181
|
-
],
|
|
182
|
-
[
|
|
183
|
-
"rules,",
|
|
184
|
-
0.48,
|
|
185
|
-
0.82
|
|
186
|
-
],
|
|
187
|
-
[
|
|
188
|
-
"a",
|
|
189
|
-
1.3,
|
|
190
|
-
1.42
|
|
191
|
-
],
|
|
192
|
-
[
|
|
193
|
-
"different",
|
|
194
|
-
1.42,
|
|
195
|
-
1.58
|
|
196
|
-
],
|
|
197
|
-
[
|
|
198
|
-
"song",
|
|
199
|
-
1.58,
|
|
200
|
-
1.86
|
|
201
|
-
],
|
|
202
|
-
[
|
|
203
|
-
"every",
|
|
204
|
-
1.86,
|
|
205
|
-
2.16
|
|
206
|
-
],
|
|
207
|
-
[
|
|
208
|
-
"time.",
|
|
209
|
-
2.16,
|
|
210
|
-
2.52
|
|
211
|
-
]
|
|
212
|
-
]
|
|
213
|
-
}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"l1": [
|
|
3
|
-
0.0,
|
|
4
|
-
0.18,
|
|
5
|
-
0.68,
|
|
6
|
-
0.86,
|
|
7
|
-
1.0
|
|
8
|
-
],
|
|
9
|
-
"l2": [
|
|
10
|
-
0.0,
|
|
11
|
-
0.16,
|
|
12
|
-
0.72,
|
|
13
|
-
0.86,
|
|
14
|
-
1.08
|
|
15
|
-
],
|
|
16
|
-
"l3": [
|
|
17
|
-
0.0,
|
|
18
|
-
0.16,
|
|
19
|
-
0.76,
|
|
20
|
-
0.88
|
|
21
|
-
],
|
|
22
|
-
"l4": [
|
|
23
|
-
0.0,
|
|
24
|
-
0.16,
|
|
25
|
-
0.78,
|
|
26
|
-
1.06
|
|
27
|
-
],
|
|
28
|
-
"l4b": [
|
|
29
|
-
0.0,
|
|
30
|
-
0.34,
|
|
31
|
-
0.68,
|
|
32
|
-
0.76,
|
|
33
|
-
0.88
|
|
34
|
-
],
|
|
35
|
-
"l5": [
|
|
36
|
-
0.0,
|
|
37
|
-
0.16,
|
|
38
|
-
0.84,
|
|
39
|
-
0.94,
|
|
40
|
-
1.2
|
|
41
|
-
],
|
|
42
|
-
"l5b": [
|
|
43
|
-
0.0,
|
|
44
|
-
0.26
|
|
45
|
-
],
|
|
46
|
-
"l6": [
|
|
47
|
-
0.0,
|
|
48
|
-
0.22,
|
|
49
|
-
0.48,
|
|
50
|
-
1.3,
|
|
51
|
-
1.42,
|
|
52
|
-
1.58,
|
|
53
|
-
1.86,
|
|
54
|
-
2.16
|
|
55
|
-
]
|
|
56
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
<!doctype html>
|
|
2
|
-
<html><head><meta charset="utf-8"><title>测试</title>
|
|
3
|
-
<style>html,body{margin:0;background:#0a0a0c;overflow:hidden}canvas{display:block}</style>
|
|
4
|
-
</head><body>
|
|
5
|
-
<canvas id="c" width="960" height="540"></canvas>
|
|
6
|
-
<script type="module" src="./main.js"></script>
|
|
7
|
-
</body></html>
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
// Panel kinetic film — rendered by lemo core/render/video.mjs
|
|
2
|
-
const W = 960, H = 540;
|
|
3
|
-
const BEATS = [
|
|
4
|
-
{
|
|
5
|
-
"id": "hook",
|
|
6
|
-
"headline": "测试",
|
|
7
|
-
"caption": "",
|
|
8
|
-
"durationSec": 2.5
|
|
9
|
-
},
|
|
10
|
-
{
|
|
11
|
-
"id": "body",
|
|
12
|
-
"headline": "Key point",
|
|
13
|
-
"caption": "一句话",
|
|
14
|
-
"durationSec": 3
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
"id": "cta",
|
|
18
|
-
"headline": "Next step",
|
|
19
|
-
"caption": "",
|
|
20
|
-
"durationSec": 2.5
|
|
21
|
-
}
|
|
22
|
-
];
|
|
23
|
-
const DUR = 8;
|
|
24
|
-
window.DUR = DUR;
|
|
25
|
-
const cv = document.getElementById('c');
|
|
26
|
-
const g = cv.getContext('2d');
|
|
27
|
-
const RED = '#e11d48', FG = '#f4f4f5', BG = '#0a0a0c', MUTE = '#a1a1aa';
|
|
28
|
-
|
|
29
|
-
function ease(t) { return t < 0.5 ? 2 * t * t : 1 - Math.pow(-2 * t + 2, 2) / 2; }
|
|
30
|
-
|
|
31
|
-
function beatAt(t) {
|
|
32
|
-
let acc = 0;
|
|
33
|
-
for (const b of BEATS) {
|
|
34
|
-
if (t < acc + b.durationSec) return { b, local: t - acc, p: (t - acc) / b.durationSec };
|
|
35
|
-
acc += b.durationSec;
|
|
36
|
-
}
|
|
37
|
-
const last = BEATS[BEATS.length - 1];
|
|
38
|
-
return { b: last, local: last.durationSec, p: 1 };
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
window.render = function render(t) {
|
|
42
|
-
const { b, p } = beatAt(Math.max(0, Math.min(DUR - 0.001, t)));
|
|
43
|
-
const a = ease(Math.min(1, p * 3));
|
|
44
|
-
g.fillStyle = BG;
|
|
45
|
-
g.fillRect(0, 0, W, H);
|
|
46
|
-
g.fillStyle = RED;
|
|
47
|
-
g.fillRect(0, 0, Math.max(4, W * 0.012), H);
|
|
48
|
-
g.save();
|
|
49
|
-
g.globalAlpha = 0.15 + 0.85 * a;
|
|
50
|
-
g.fillStyle = FG;
|
|
51
|
-
g.font = '700 ' + Math.round(H * 0.08) + 'px system-ui, sans-serif';
|
|
52
|
-
g.textBaseline = 'middle';
|
|
53
|
-
const hx = W * 0.08;
|
|
54
|
-
const hy = H * 0.42;
|
|
55
|
-
g.fillText(b.headline, hx, hy);
|
|
56
|
-
if (b.caption) {
|
|
57
|
-
g.fillStyle = MUTE;
|
|
58
|
-
g.font = '500 ' + Math.round(H * 0.035) + 'px system-ui, sans-serif';
|
|
59
|
-
g.fillText(b.caption, hx, hy + H * 0.1);
|
|
60
|
-
}
|
|
61
|
-
g.restore();
|
|
62
|
-
g.fillStyle = RED;
|
|
63
|
-
g.globalAlpha = 0.9;
|
|
64
|
-
g.fillRect(W * 0.08, H * 0.78, W * 0.35 * Math.min(1, p), Math.max(3, H * 0.006));
|
|
65
|
-
g.globalAlpha = 1;
|
|
66
|
-
};
|
|
67
|
-
|
|
68
|
-
window.READY = true;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"id": "hook",
|
|
4
|
-
"headline": "测试",
|
|
5
|
-
"caption": "",
|
|
6
|
-
"durationSec": 2.5
|
|
7
|
-
},
|
|
8
|
-
{
|
|
9
|
-
"id": "body",
|
|
10
|
-
"headline": "Key point",
|
|
11
|
-
"caption": "一句话",
|
|
12
|
-
"durationSec": 3
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
"id": "cta",
|
|
16
|
-
"headline": "Next step",
|
|
17
|
-
"caption": "",
|
|
18
|
-
"durationSec": 2.5
|
|
19
|
-
}
|
|
20
|
-
]
|
|
Binary file
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
Five Rules for a Poster — Swiss Motion Graphics · LemoLab × Claude Opus 5.5
|
|
2
|
-
|
|
3
|
-
Picture, typography, motion, score composition, foley: generated by code in this folder (original).
|
|
4
|
-
|
|
5
|
-
Fonts (SIL Open Font License 1.1):
|
|
6
|
-
- Archivo — The Archivo Project Authors (Omnibus-Type), https://github.com/Omnibus-Type/Archivo (fonts/OFL-Archivo.txt)
|
|
7
|
-
- UnifrakturMaguntia — j. 'mach' wust, Peter Wiegel (fonts/OFL-UnifrakturMaguntia.txt) — only in the "wrong typeface" gag
|
|
8
|
-
- DM Serif Display — Colophon Foundry / Google, based on Source Serif by Adobe (fonts/OFL-DMSerifDisplay.txt) — only in the "wrong typeface" gag
|
|
9
|
-
|
|
10
|
-
Music samples:
|
|
11
|
-
- Drums: "MuldjordKit" by Lars Muldjord (drumgizmo.org), FreePats version, licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/)
|
|
12
|
-
- Electric bass: FreePats project (freepats.zenvoid.org), CC0 1.0
|
|
13
|
-
- Glockenspiel: Versilian Community Sample Library (Versilian Studios), CC0 1.0
|
|
14
|
-
- Arpeggio synth, square lead, glide: numpy synthesis (original)
|
|
15
|
-
|
|
16
|
-
Voice: Kokoro-82M (Apache-2.0) via kokoro-onnx, voice af_sarah.
|
|
17
|
-
Speech check: faster-whisper (MIT).
|
|
18
|
-
|
|
19
|
-
ON SCREEN
|
|
20
|
-
The CC BY material above is credited on the end card, in fine print held at least 2.5 s: Drums MuldjordKit / Lars Muldjord · CC BY 4.0.
|