Score & director總譜與導演
A day of sky as segment lengths: two cuts, a hold, cues, a segment that can crash.有結構的演出:「一天的天空」只寫一次段落長度;導演為每段跑一個模組,?cut=<id> 選版本,空白鍵放行 hold。
Try these three things試試這三件事
- Press Space: the standby waits at its end (a hold). Press Space again to release it.
- Open ?cut=short: the same show, half as long, from the same score.
- Open ?break=dusk: the dusk module throws on purpose, the desk shows a warning and the show carries on; R brings the module back.
- 按空白鍵:待命段停在結尾(hold),再按一次空白鍵放行。
- 打開 ?cut=short:同一份總譜,同一場演出,長度減半。
- 打開 ?break=dusk:dusk 的模組故意出錯,控台顯示警告,演出照常進行;按 R 把模組救回來。
No hardware needed. On-screen piano · QWERTY keys.不需要硬體。螢幕鋼琴、電腦鍵盤。
Read these lines讀這幾行
main.js:80–91 A cut is a list of segments with lengths, never absolute seconds.一個 cut 是一串有長度的段落,絕不寫絕對秒數。main.js:145–149 The score and its segment modules go into createShow().總譜與段落模組一起交給 createShow()。
In the docs文件裡: Score & Director總譜與導演
Next: 21 p5 record a video →下一個:21 p5 錄成影片 →
All examples所有範例