dmscene Demos & source

SIGNAL

signal.dmt · 100 BPM · 38 s · 960×600

model-madecinematicspace

notes

A carrier from nowhere arrives at a ring standing in a black sea. One pixel program draws the starfield, the ring, the beam and the water that reflects them.

musicsub-heavy FM kick, long FM sonar bell with NNA tails, sub, filtered radio static, 7-saw pad through an SVF, theremin lead, metallic data ticks; ping-pong delay and long reverb
visuala listening ring on a black sea: a carrier thread of light opens the aperture into two-source moiré interference, rays and lens flare, a rippled reflection, an oscilloscope trace in the sky and a HUD flipping ACQUIRING to CARRIER LOCKED before the SIGNAL wordmark; bloom, chromatic split and grain
filesignal.dmt
duration0:38
video960×600 · 30 fps · h264 + audio · 12 MB
song100 BPM · speed 6 · rpb 4 · 7 channels
loop0
renderscale 1 · master 0.56
uniformssig ringA ap wavA tilt titleA hudA climax kickE pingE hue lock
modelDeepSeek V4.1 Flash
collectionWritten by the models
tagsmodel-madecinematicspace
source525 lines · 28 KB · download

anatomy

11VM programs
9patterns
1palettes
94timeline events
4text / sample / texture
525source lines
7inst
0chan
1master
1frame
1pixel
1post
2fn

line composition

pattern 34%pixel 32%inst 10%post 9%timeline 4%frame 3%fn 3%master 2%palette 1%text 1%title 0%song 0%order 0%pan 0%uniform 0%

play order

0112334455667788

order list · 16 entries

palettes

deep5 keys · lines 25–31

timeline

0:00 0:10 0:19 0:29 0:38 bsig bsig=0.05 at 0:00 bsig=0.22 at 0:02 bsig=0.36 at 0:05 bsig=0.52 at 0:07 bsig=0.66 at 0:10 bsig=0.78 at 0:12 bsig=0.88 at 0:14 bsig=0.95 at 0:17 bsig=1 at 0:19 bsig=1 at 0:22 bsig=0.96 at 0:24 bsig=0.82 at 0:26 bsig=0.56 at 0:29 bsig=0.42 at 0:31 bsig=0.55 at 0:34 bsig=0.95 at 0:36 bring bring=0.12 at 0:00 bring=0.28 at 0:02 bring=0.42 at 0:05 bring=0.56 at 0:07 bring=0.68 at 0:10 bring=0.8 at 0:12 bring=0.9 at 0:14 bring=0.96 at 0:17 bring=1 at 0:19 bring=1 at 0:22 bring=1 at 0:24 bring=0.94 at 0:26 bring=0.76 at 0:29 bring=0.64 at 0:31 bring=0.74 at 0:34 bring=0.95 at 0:36 bap bap=0 at 0:00 bap=0.06 at 0:02 bap=0.18 at 0:05 bap=0.34 at 0:07 bap=0.48 at 0:10 bap=0.6 at 0:12 bap=0.72 at 0:14 bap=0.82 at 0:17 bap=0.92 at 0:19 bap=1 at 0:22 bap=1 at 0:24 bap=0.82 at 0:26 bap=0.45 at 0:29 bap=0.22 at 0:31 bap=0.3 at 0:34 bap=0.65 at 0:36 bwav bwav=0.05 at 0:00 bwav=0.18 at 0:02 bwav=0.3 at 0:05 bwav=0.44 at 0:07 bwav=0.56 at 0:10 bwav=0.66 at 0:12 bwav=0.76 at 0:14 bwav=0.84 at 0:17 bwav=0.92 at 0:19 bwav=1 at 0:22 bwav=0.96 at 0:24 bwav=0.82 at 0:26 bwav=0.56 at 0:29 bwav=0.4 at 0:31 bwav=0.5 at 0:34 bwav=0.8 at 0:36 btilt btilt=-0.06 at 0:00 btilt=-0.045 at 0:02 btilt=-0.03 at 0:05 btilt=-0.02 at 0:07 bttl bttl=0 at 0:00 bttl=0 at 0:29 bttl=0.35 at 0:31 bttl=0.85 at 0:34 bttl=1 at 0:36 bhud bhud=0 at 0:00 bhud=0.55 at 0:02 bhud=0.55 at 0:05 bhud=0.55 at 0:07 bhud=0.4 at 0:10 bhud=0 at 0:12 bclim bclim=0 at 0:00 bclim=0.05 at 0:10 bclim=0.2 at 0:12 bclim=0.45 at 0:14 bclim=0.7 at 0:17 bclim=0.9 at 0:19 bclim=1 at 0:22 bclim=1 at 0:24 bclim=0.82 at 0:26 bclim=0.45 at 0:29 bclim=0.2 at 0:31 bclim=0.25 at 0:34 bclim=0.55 at 0:36 block block=0 at 0:00 block=1 at 0:10
ateventvaluesource
0:00 bsig 0.05 L36
0:00 bring 0.12 L36
0:00 bap 0.00 L36
0:00 bwav 0.05 L36
0:00 btilt -0.060 L36
0:00 bttl 0.00 L36
0:00 bhud 0.00 L36
0:00 bclim 0.00 L36
0:00 block 0.00 L36
0:02 bsig 0.22 L37
0:02 bring 0.28 L37
0:02 bap 0.06 L37
0:02 bwav 0.18 L37
0:02 btilt -0.045 L37
0:02 bhud 0.55 L37
0:05 bsig 0.36 L38
0:05 bring 0.42 L38
0:05 bap 0.18 L38
0:05 bwav 0.30 L38
0:05 btilt -0.030 L38
0:05 bhud 0.55 L38
0:07 bsig 0.52 L39
0:07 bring 0.56 L39
0:07 bap 0.34 L39
0:07 bwav 0.44 L39
0:07 btilt -0.020 L39
0:07 bhud 0.55 L39
0:10 bsig 0.66 L40
0:10 bring 0.68 L40
0:10 bap 0.48 L40
0:10 bwav 0.56 L40
0:10 bhud 0.40 L40
0:10 bclim 0.05 L40
0:10 block 1.00 L40
0:12 bsig 0.78 L41
0:12 bring 0.80 L41
0:12 bap 0.60 L41
0:12 bwav 0.66 L41
0:12 bhud 0.00 L41
0:12 bclim 0.20 L41
0:14 bsig 0.88 L42
0:14 bring 0.90 L42
0:14 bap 0.72 L42
0:14 bwav 0.76 L42
0:14 bclim 0.45 L42
0:17 bsig 0.95 L43
0:17 bring 0.96 L43
0:17 bap 0.82 L43
0:17 bwav 0.84 L43
0:17 bclim 0.70 L43
0:19 bsig 1.00 L44
0:19 bring 1.00 L44
0:19 bap 0.92 L44
0:19 bwav 0.92 L44
0:19 bclim 0.90 L44
0:22 bsig 1.00 L45
0:22 bring 1.00 L45
0:22 bap 1.00 L45
0:22 bwav 1.00 L45
0:22 bclim 1.00 L45
0:24 bsig 0.96 L46
0:24 bring 1.00 L46
0:24 bap 1.00 L46
0:24 bwav 0.96 L46
0:24 bclim 1.00 L46
0:26 bsig 0.82 L47
0:26 bring 0.94 L47
0:26 bap 0.82 L47
0:26 bwav 0.82 L47
0:26 bclim 0.82 L47
0:29 bsig 0.56 L48
0:29 bring 0.76 L48
0:29 bap 0.45 L48
0:29 bwav 0.56 L48
0:29 bclim 0.45 L48
0:29 bttl 0.00 L48
0:31 bsig 0.42 L49
0:31 bring 0.64 L49
0:31 bap 0.22 L49
0:31 bwav 0.40 L49
0:31 bttl 0.35 L49
0:31 bclim 0.20 L49
0:34 bsig 0.55 L50
0:34 bring 0.74 L50
0:34 bap 0.30 L50
0:34 bwav 0.50 L50
0:34 bttl 0.85 L50
0:34 bclim 0.25 L50
0:36 bsig 0.95 L51
0:36 bring 0.95 L51
0:36 bap 0.65 L51
0:36 bwav 0.80 L51
0:36 bttl 1.00 L51
0:36 bclim 0.55 L51

Event times are derived from the order list, pattern lengths, BPM and RPB.

resources

kindnameinfovalue
textttl6SIGNAL
texthza121420.405 MHZ
texthzb14CARRIER LOCKED
texthzc9ACQUIRING

source

download .dmt
1# @description A carrier from nowhere arrives at a ring standing in a black sea. One pixel program draws the starfield, the ring, the beam and the water that reflects them.
2# @tags space, cinematic
3# @model DeepSeek V4.1 Flash
4# @collection Written by the models
5# @music sub-heavy FM kick, long FM sonar bell with NNA tails, sub, filtered radio static, 7-saw pad through an SVF, theremin lead, metallic data ticks; ping-pong delay and long reverb
6# @visual a listening ring on a black sea: a carrier thread of light opens the aperture into two-source moiré interference, rays and lens flare, a rippled reflection, an oscilloscope trace in the sky and a HUD flipping ACQUIRING to CARRIER LOCKED before the SIGNAL wordmark; bloom, chromatic split and grain
7# @duration 38
8# signal.dmt - a carrier from nowhere, arriving at a ring standing in a black sea.
9# 100 BPM, half-time, D minor. 16 patterns of 16 rows = 38.4 seconds.
10# One pixel program draws the whole frame: a starfield, the ring, the beam,
11# the carrier trace, and the water that reflects all of it.
13title SIGNAL
14song bpm=100 speed=6 rpb=4 channels=7 loop=0 volume=0.56
15order 0 1 1 2 3 3 4 4 5 5 6 6 7 7 8 8
16pan 0.50 0.42 0.50 0.64 0.44 0.56 0.68
18text ttl "SIGNAL"
19text hza "1420.405 MHZ"
20text hzb "CARRIER LOCKED"
21text hzc "ACQUIRING"
23# ------------------------------------------------------------------ palettes
24# cold machine blues with one warm signal
25palette deep {
26 0.00 0.000 0.004 0.010
27 0.30 0.004 0.020 0.045
28 0.60 0.010 0.065 0.110
29 0.82 0.060 0.220 0.290
30 1.00 0.320 0.720 0.780
33# ------------------------------------------------------------------ timeline
34# order:row, so it loops with the song. evtl() ramps every value.
35timeline {
36 0:00 bsig=0.05 bring=0.12 bap=0.00 bwav=0.05 btilt=-0.060 bttl=0.00 bhud=0.00 bclim=0.00 block=0.00
37 1:00 bsig=0.22 bring=0.28 bap=0.06 bwav=0.18 btilt=-0.045 bhud=0.55
38 2:00 bsig=0.36 bring=0.42 bap=0.18 bwav=0.30 btilt=-0.030 bhud=0.55
39 3:00 bsig=0.52 bring=0.56 bap=0.34 bwav=0.44 btilt=-0.020 bhud=0.55
40 4:00 bsig=0.66 bring=0.68 bap=0.48 bwav=0.56 bhud=0.40 bclim=0.05 block=1.00
41 5:00 bsig=0.78 bring=0.80 bap=0.60 bwav=0.66 bhud=0.00 bclim=0.20
42 6:00 bsig=0.88 bring=0.90 bap=0.72 bwav=0.76 bclim=0.45
43 7:00 bsig=0.95 bring=0.96 bap=0.82 bwav=0.84 bclim=0.70
44 8:00 bsig=1.00 bring=1.00 bap=0.92 bwav=0.92 bclim=0.90
45 9:00 bsig=1.00 bring=1.00 bap=1.00 bwav=1.00 bclim=1.00
46 10:00 bsig=0.96 bring=1.00 bap=1.00 bwav=0.96 bclim=1.00
47 11:00 bsig=0.82 bring=0.94 bap=0.82 bwav=0.82 bclim=0.82
48 12:00 bsig=0.56 bring=0.76 bap=0.45 bwav=0.56 bclim=0.45 bttl=0.00
49 13:00 bsig=0.42 bring=0.64 bap=0.22 bwav=0.40 bttl=0.35 bclim=0.20
50 14:00 bsig=0.55 bring=0.74 bap=0.30 bwav=0.50 bttl=0.85 bclim=0.25
51 15:00 bsig=0.95 bring=0.95 bap=0.65 bwav=0.80 bttl=1.00 bclim=0.55
54# ------------------------------------------------------------------ instruments
55inst kick {
56 f = 56 + 460 * exp(-t * 40)
57 $p = $p + f / sr
58 body = sin($p * tau) * exp(-t * 6.0)
59 low = sin($p * tau * 0.5) * exp(-t * 3.4) * 0.16
60 click = hp(noise(), 2200) * exp(-t * 150) * 0.45
61 out(dist((body + low) * 1.7 + click, 1.6) * 0.74)
64inst ping nna=continue {
65 # the carrier: an FM bell that rings far longer than its note
66 e = exp(-t * 0.95)
67 m = sin(ph * tau * 2.41 + sin(t * 0.55) * 0.5) * 2.0 * exp(-t * 1.7)
68 s = sin(ph * tau + m) + sin(ph * tau * 3.01 + m * 0.5) * 0.26
69 out(s * e * 0.42)
72inst sub {
73 e = env(0.08, 0.55, 0.80, 1.1)
74 s = sin(ph * tau) * 0.85 + sin(ph * tau * 2.0) * 0.24 + sin(ph * tau * 3.0) * 0.08
75 s = lp(s, 150 + 300 * e)
76 out(dist(s, 1.2) * e * 0.24)
79inst radio {
80 e = env(0.02, 0.22, 0.45, 0.35)
81 n = hp(noise(), 1100)
82 bp = svf(n, 620 + 2400 * e + 520 * sin(t * 3.1), 0.62)
83 crack = step(0.88, hash(floor(t * 96) + 7.3)) * exp(-t * 34)
84 out((bp * 0.85 + crack * 0.5) * e * 0.30)
87inst pad nna=continue {
88 e = env(0.55, 1.1, 0.78, 1.9)
89 s = usaw(freq, 0.13)
90 s = s + sin(freq * tau * t * 1.0) * 0.10
91 s = svf(s, 520 + 1150 * e + 140 * sin(t * 0.21), 0.28)
92 out(s * e * 0.24)
95inst lead nna=continue {
96 e = env(0.22, 0.35, 0.86, 0.9)
97 vib = sin(t * 5.1) * 0.006
98 m = sin(ph * tau * 2.0 + 0.6 * sin(t * 1.3)) * 1.15
99 s = sin(ph * tau + vib * tau + m) + sin(ph * tau * 2.005) * 0.20
100 s = lp(s, 900 + 2200 * e)
101 out(s * e * 0.32)
104inst tick {
105 # data: a short metallic chirp with a resonant tail
106 e = exp(-t * 26)
107 n = hp(noise(), 4200)
108 bp = svf(noise(), 5200 + 2400 * sin(t * 70), 0.92)
109 out((n * 0.4 + r2 * 1.5) * e * 0.34)
112# ------------------------------------------------------------------ master
113master {
114 dl = dly(l, 0.45, 0.44)
115 dr = dly(r, 0.60, 0.44)
116 vl = verb(l + dr * 0.26, 0.87, 0.38)
117 vr = verb(r + dl * 0.26, 0.87, 0.38)
118 out(dist(l + dr * 0.30 + vl * 0.26, 1.12),
119 dist(r + dl * 0.30 + vr * 0.26, 1.12))
122# ------------------------------------------------------------------ patterns
123# channels: 0 kick 1 ping 2 sub 3 radio 4 pad 5 lead 6 tick
125pattern 0 rows=16 {
126 D-1 3 24 ... | D-5 2 18 ... | D-3 5 15 ... | D-2 4 9 ... | . | . | .
127 . | A-5 2 11 ... | . | . | . | . | .
128 . | . | . | C-2 4 9 ... | . | . | .
129 . | . | . | . | . | . | .
130 . | . | . | . | . | . | .
131 . | . | . | . | . | . | .
132 . | . | . | . | . | . | .
133 . | . | . | . | . | . | .
134 D-1 3 20 ... | F-5 2 12 ... | . | . | . | . | .
135 . | . | . | . | . | . | .
136 . | . | . | . | . | . | .
137 . | . | . | . | . | . | .
138 . | D-6 2 10 ... | . | D-2 4 12 ... | . | . | .
139 . | . | . | . | . | . | .
140 . | . | . | . | . | . | .
141 . | . | . | . | . | . | .
144pattern 1 rows=16 {
145 D-1 3 28 ... | A-4 2 20 ... | D-3 5 16 ... | D-2 4 13 ... | . | . | .
146 . | . | . | . | . | . | .
147 . | . | . | . | . | . | .
148 . | . | . | . | . | . | .
149 C-2 1 20 ... | C-5 2 18 ... | . | F-2 4 14 ... | . | . | .
150 . | . | . | . | . | . | .
151 . | . | . | . | . | . | C-6 6 14 ...
152 . | . | . | . | . | . | .
153 D-1 3 30 ... | F-5 2 18 ... | . | D-2 4 15 ... | . | . | .
154 . | . | . | . | . | . | .
155 . | . | . | . | . | . | C-6 6 10 ...
156 . | . | . | . | . | . | .
157 C-2 1 18 ... | E-5 2 16 ... | . | A-1 4 16 ... | . | . | .
158 . | . | . | . | . | . | .
159 . | . | . | . | . | . | .
160 . | D-5 2 10 ... | . | . | . | . | .
163pattern 2 rows=16 {
164 D-1 3 36 ... | A-4 2 22 ... | . | D-2 4 18 ... | D-3 5 20 ... | . | .
165 . | . | . | . | . | . | .
166 D-1 1 14 ... | . | . | . | . | . | .
167 . | . | . | . | . | . | .
168 C-2 1 30 ... | . | . | F-2 4 14 ... | . | . | C-6 6 18 ...
169 . | . | . | . | . | . | .
170 . | . | . | . | . | . | .
171 . | . | . | . | . | . | .
172 D-1 3 34 ... | F-5 2 22 ... | . | D-2 4 16 ... | . | . | .
173 . | . | . | . | . | . | .
174 . | . | . | . | . | . | C-6 6 12 ...
175 . | . | . | . | . | . | .
176 C-2 1 30 ... | C-5 2 18 ... | . | A-1 4 16 ... | . | . | .
177 . | . | . | . | . | . | .
178 D-1 1 12 ... | . | . | . | . | . | .
179 . | . | . | . | . | . | .
182pattern 3 rows=16 {
183 D-1 3 34 ... | D-5 2 22 ... | D-3 5 20 ... | D-2 4 16 ... | . | . | C-6 6 16 ...
184 . | . | . | . | . | . | .
185 C-1 1 26 ... | F-5 2 18 ... | . | F-2 4 12 ... | . | . | C-6 6 11 ...
186 . | A-5 2 14 ... | . | . | . | . | .
187 D-1 3 32 ... | C-6 2 18 ... | . | D-2 4 15 ... | . | . | C-6 6 14 ...
188 . | . | . | . | . | . | C-6 6 8 ...
189 C-1 1 24 ... | A-5 2 16 ... | . | A-1 4 13 ... | . | . | C-6 6 12 ...
190 . | . | . | . | . | . | .
191 D-1 3 34 ... | F-5 2 20 ... | . | D-2 4 16 ... | . | . | C-6 6 15 ...
192 . | . | . | . | . | . | .
193 C-1 1 26 ... | D-6 2 18 ... | . | F-2 4 12 ... | . | . | C-6 6 10 ...
194 . | C-6 2 12 ... | . | . | . | . | .
195 D-1 3 32 ... | A-5 2 18 ... | . | D-2 4 15 ... | . | . | C-6 6 13 ...
196 . | . | . | . | . | . | C-6 6 9 ...
197 C-1 1 24 ... | F-5 2 14 ... | . | A-1 4 13 ... | . | . | C-6 6 11 ...
198 . | . | . | . | . | . | .
201pattern 4 rows=16 {
202 D-1 3 36 ... | Bb4 2 20 ... | Bb2 5 22 ... | Bb1 4 18 ... | . | . | C-6 6 14 ...
203 . | . | . | . | . | . | .
204 C-1 1 30 ... | F-5 2 16 ... | . | F-2 4 12 ... | . | . | C-6 6 10 ...
205 . | . | . | . | . | . | .
206 D-1 3 32 ... | D-5 2 18 ... | . | Bb1 4 14 ... | . | . | C-6 6 12 ...
207 . | . | . | . | . | . | .
208 C-1 1 30 ... | F-5 2 16 ... | . | F-2 4 12 ... | . | . | C-6 6 10 ...
209 . | . | . | . | . | . | C-6 6 7 ...
210 D-1 3 36 ... | Bb5 2 20 ... | . | Bb1 4 18 ... | F-2 5 22 ... | . | C-6 6 14 ...
211 . | . | . | . | . | . | .
212 C-1 1 30 ... | F-5 2 16 ... | . | F-2 4 12 ... | . | . | C-6 6 10 ...
213 . | . | . | . | . | . | .
214 D-1 3 32 ... | D-6 2 18 ... | . | Bb1 4 14 ... | . | . | C-6 6 12 ...
215 . | . | . | . | . | . | C-6 6 8 ...
216 C-1 1 30 ... | F-5 2 16 ... | . | F-2 4 12 ... | . | . | C-6 6 10 ...
217 . | . | . | . | . | . | .
220pattern 5 rows=16 {
221 D-1 3 38 ... | G-4 2 22 ... | G-2 5 24 ... | G-1 4 18 ... | . | D-4 5 24 ... | C-6 6 16 ...
222 . | . | . | . | . | . | C-6 6 8 ...
223 D-1 3 36 ... | D-5 2 18 ... | . | G-1 4 12 ... | . | . | C-6 6 12 ...
224 . | . | . | . | . | . | .
225 C-1 1 32 ... | Bb4 2 20 ... | . | D-2 4 15 ... | . | . | C-6 6 14 ...
226 . | . | . | . | . | . | C-6 6 9 ...
227 D-1 3 34 ... | G-5 2 20 ... | . | G-1 4 13 ... | . | . | C-6 6 11 ...
228 . | . | . | . | . | . | .
229 D-1 3 38 ... | A-4 2 22 ... | A-2 5 24 ... | A-1 4 18 ... | . | E-4 5 22 ... | C-6 6 16 ...
230 . | . | . | . | . | D-5 5 18 ... | C-6 6 8 ...
231 D-1 3 36 ... | E-5 2 18 ... | . | A-1 4 12 ... | . | . | C-6 6 12 ...
232 . | . | . | . | . | . | .
233 C-1 1 32 ... | C-5 2 20 ... | . | D-2 4 15 ... | . | . | C-6 6 14 ...
234 . | . | . | . | . | . | C-6 6 9 ...
235 D-1 3 34 ... | A-5 2 20 ... | . | A-1 4 13 ... | . | . | C-6 6 11 ...
236 . | . | . | . | . | . | .
239pattern 6 rows=16 {
240 D-1 3 40 ... | D-5 2 24 ... | D-2 5 26 ... | D-2 4 20 ... | . | A-4 5 26 ... | C-6 6 18 ...
241 . | . | . | . | . | . | C-6 6 10 ...
242 D-1 3 38 ... | A-5 2 20 ... | . | D-2 4 14 ... | . | D-5 5 20 ... | C-6 6 13 ...
243 . | . | . | . | . | . | C-6 6 8 ...
244 C-1 1 36 ... | F-5 2 22 ... | . | Bb1 4 17 ... | . | F-5 5 22 ... | C-6 6 15 ...
245 . | . | . | . | . | . | C-6 6 10 ...
246 D-1 3 36 ... | D-6 2 20 ... | . | D-2 4 15 ... | . | A-5 5 20 ... | C-6 6 12 ...
247 . | . | . | . | . | . | .
248 D-1 3 40 ... | Bb5 2 24 ... | Bb2 5 26 ... | Bb1 4 20 ... | . | D-6 5 26 ... | C-6 6 18 ...
249 . | . | . | . | . | . | C-6 6 10 ...
250 D-1 3 38 ... | F-5 2 20 ... | . | Bb1 4 14 ... | . | Bb5 5 22 ... | C-6 6 13 ...
251 . | . | . | . | . | . | C-6 6 8 ...
252 C-1 1 36 ... | D-6 2 22 ... | . | F-2 4 17 ... | . | F-5 5 22 ... | C-6 6 15 ...
253 . | . | . | . | . | . | C-6 6 10 ...
254 D-1 3 36 ... | Bb5 2 20 ... | . | Bb1 4 15 ... | . | D-6 5 20 ... | C-6 6 12 ...
255 . | . | . | . | . | . | .
258pattern 7 rows=16 {
259 D-2 3 36 ... | D-5 2 22 ... | D-3 5 24 ... | D-2 4 16 ... | . | F-4 5 24 ... | .
260 . | . | . | . | . | . | .
261 . | A-5 2 16 ... | . | . | . | . | C-6 6 9 ...
262 . | . | . | . | . | . | .
263 . | . | . | F-2 4 12 ... | . | . | .
264 . | F-5 2 14 ... | . | . | . | . | C-6 6 7 ...
265 . | . | . | . | . | . | .
266 . | . | . | . | . | . | .
267 D-2 3 38 ... | Bb5 2 24 ... | Bb2 5 24 ... | Bb1 4 18 ... | . | D-5 5 24 ... | .
268 . | . | . | . | . | . | C-6 6 9 ...
269 . | D-6 2 16 ... | . | . | . | . | .
270 . | . | . | F-2 4 12 ... | . | . | .
271 . | . | . | . | . | . | C-6 6 7 ...
272 . | F-5 2 14 ... | . | . | . | . | .
273 . | . | . | . | . | . | .
274 . | . | . | . | . | . | .
277pattern 8 rows=16 {
278 D-1 3 38 ... | D-6 2 30 ... | D-3 5 32 ... | D-2 4 16 ... | . | A-5 5 20 ... | .
279 . | . | . | . | . | . | .
280 . | . | . | . | . | . | C-6 6 8 ...
281 . | A-5 2 14 ... | . | . | . | . | .
282 . | . | . | F-2 4 12 ... | . | . | .
283 . | . | . | . | . | . | .
284 . | F-5 2 16 ... | . | . | . | D-5 5 18 ... | .
285 . | . | . | . | . | . | .
286 . | . | . | D-2 4 14 ... | . | . | .
287 . | D-6 2 18 ... | . | . | . | . | C-6 6 7 ...
288 . | . | . | . | . | . | .
289 . | . | . | . | . | . | .
290 . | A-5 2 14 ... | . | . | . | A-4 5 16 ... | .
291 . | . | . | . | . | . | .
292 . | . | . | . | . | . | C-6 6 6 ...
293 . | D-6 2 20 ... | . | . | . | . | .
296# ------------------------------------------------------------------ visuals
297uniform sig ringA ap wavA tilt titleA hudA climax kickE pingE hue lock
299fn ringd(px, py, cx, cy, rr, sq, tw) {
300 q = rot(px - cx, py - cy, tw)
301 qy = r1 * sq
302 return len(q, qy) - rr
304fn textline(s, ox, oy, hgt, sp) {
305 cw = hgt * 0.47 * (1 + sp)
306 cx = (u - ox) / cw
307 cy = (oy - v) / hgt
308 i = floor(cx)
309 return glyph(str(s, i), fract(cx), fract(cy)) * step(0, cx) * step(cx, strlen(s)) * step(0, cy) * step(cy, 1)
312frame {
313 sig = evtl(bsig)
314 ringA = evtl(bring)
315 ap = evtl(bap)
316 wavA = evtl(bwav)
317 tilt = evtl(btilt) + 0.015 * sin(beat * 0.07)
318 titleA = evtl(bttl)
319 hudA = evtl(bhud)
320 lock = evtl(block)
321 climax = evtl(bclim)
322 kickE = exp(-trig(0) * 6)
323 pingE = exp(-trig(1) * 1.7)
324 hue = 0.5 + 0.5 * sin(time * 0.06)
327pixel {
328 # ---------------- camera: a slow dolly toward the ring
329 zm = 1 + 0.16 * climax + 0.018 * sin(beat * 0.05)
330 cx0 = 0.020 * sin(beat * 0.031)
331 cy0 = 0.12
332 roll = 0.008 * sin(beat * 0.037) + 0.002 * sin(beat * 0.11)
333 rl = rot(u, v, roll)
334 px = rl * zm + cx0 * (1 - zm)
335 py = (r1 - cy0) * zm + cy0
336 gy = (-0.34 - cy0) * zm + cy0 # world horizon, transformed
338 # ---------------- sky: dark cloud and a sparse star grid
339 nb = fbm(px * 1.05 + 4.0, py * 1.05 - 2.0, 3)
340 hs = hash(floor(px * 48 + 11.0) * 1.73 + floor(py * 48 + 7.0) * 97.31)
341 h2 = hash(hs * 37.0 + 5.0)
342 h3 = hash(hs * 91.0 + 17.0)
343 sx = fract(px * 48 + 11.0) - 0.5 - (h2 - 0.5) * 0.62
344 sy = fract(py * 48 + 7.0) - 0.5 - (h3 - 0.5) * 0.62
345 star = step(0.972, hs) * exp(-(sx * sx + sy * sy) * 95) * (0.20 + 0.80 * h2)
346 star = star * (0.60 + 0.40 * sin(time * 1.6 + hs * 60))
348 # soft airglow lifting the top of the sky
349 aur = exp(-(py - 0.95) * (py - 0.95) * 2.4) * (0.20 + 0.35 * ringA)
351 # dust motes hanging in the beam
352 mxc = fract(px * 40 + 3.0) - 0.5
353 myc = fract(py * 40 + 1.0 - time * 0.06) - 0.5
354 mh = hash(floor(px * 40 + 3.0) * 3.7 + floor(py * 40 + 1.0 - time * 0.06) * 11.3)
355 mote = step(0.984, mh) * exp(-(mxc * mxc + myc * myc) * 80) * exp(-abs(px) * 4.5)
357 # ---------------- the ring: a machined band, edge lights and struts
358 RR = 0.40 + 0.004 * sin(time * 0.9)
359 q = rot(px, py - 0.16, tilt)
360 qx = q
361 qy = r1 * (0.95 + 0.02 * sin(time * 0.37))
362 rad = len(qx, qy)
363 ang = atan2(qy, qx)
364 d = rad - RR
365 band = smooth(-0.018, -0.007, d) * (1 - smooth(0.007, 0.018, d))
366 e1 = 1 - smooth(0.0010, 0.0032, abs(d + 0.011))
367 e2 = 1 - smooth(0.0010, 0.0032, abs(d - 0.011))
368 edge = e1 + e2
369 arb = abs(fract(ang * 8 / tau + 0.5) - 0.5) * (tau / 8) * rad
370 spar = exp(-arb * arb * 3200) * smooth(RR * 0.60, RR * 0.65, rad) * (1 - smooth(RR * 0.94, RR * 0.99, rad))
371 tic = abs(fract(ang * 24 / tau + 0.5) - 0.5) * (tau / 24) * rad
372 crown = exp(-tic * tic * 2400) * smooth(RR * 1.03, RR * 1.06, rad) * (1 - smooth(RR * 1.09, RR * 1.12, rad))
373 scan = 0.62 + 0.38 * sin(ang - time * 0.8)
374 ring = (band * 0.55 + edge * 1.15 + spar * 0.55 + crown * 0.40) * scan * (0.10 + 0.90 * ringA)
375 glow = exp(-abs(d) * 13) * (0.10 + 0.18 * ap)
377 # ---------------- the aperture: a disc of standing interference
378 apR = RR * (0.52 + 0.16 * ap)
379 disc = 1 - smooth(apR - 0.004, apR + 0.002, rad)
380 aring = (1 - smooth(0.0012, 0.0036, abs(rad - apR))) * (0.10 + 0.90 * ap)
381 c1 = 0.020 * sin(time * 0.6)
382 a1 = len(qx - c1, qy)
383 a2 = len(qx + c1, qy + 0.004)
384 mo = (0.5 + 0.5 * sin(a1 * 86 - time * 2.9)) * (0.5 + 0.5 * sin(a2 * 86 + time * 2.2))
385 swp = 0.5 + 0.5 * sin(ang * 5 + rad * 30 - time * 1.4)
386 holo = disc * ap * (mo * 0.70 + swp * 0.30)
388 # rays thrown outward while the aperture is open
389 raya = abs(fract(ang * 12 / tau + 0.5) - 0.5) * (tau / 12) * rad
390 ray = exp(-raya * raya * 700) * smooth(RR * 1.04, RR * 1.55, rad) * (1 - smooth(1.5, 2.5, rad))
391 ray = ray * ap * (0.05 + 0.04 * sin(ang * 3 + time * 0.5))
392 flh = exp(-abs(py - 0.16) * 320) * exp(-abs(px) * 1.15) * (0.02 + 0.09 * ap)
393 flv = exp(-abs(px) * 340) * exp(-abs(py - 0.16) * 2.2) * 0.05 * ap
395 # ---------------- the beam: a thread of warm light from above
396 bw = 0.003 + 0.009 * (1 - sig) + 0.0015 * sin(time * 8)
397 bcore = exp(-abs(px) / bw)
398 bglow = exp(-abs(px) * 11)
399 bmask = step(py, 0.175) * (0.55 + 0.55 * sig)
400 flick = 0.86 + 0.10 * sin(time * 63) + 0.04 * sin(time * 141)
401 beam = (bcore * (0.40 + 0.95 * sig) + bglow * 0.07 * sig) * bmask * flick
402 hot = exp(-rad * rad * 1400) * ap * (0.50 + 0.90 * sig)
403 blaze = exp(-rad * rad * 240) * ap * ap * (0.30 + 0.35 * sig)
405 # ---------------- carrier trace: an oscilloscope across the sky
406 amp = 0.006 + 0.030 * sig + 0.018 * kickE
407 ty = 0.50 + 0.042 * sin(px * 1.9 + time * 0.7) + 0.022 * sin(px * 4.3 - time * 1.1)
408 ty = ty + amp * (0.55 * sin(px * 16 - time * 8.0) + 0.28 * sin(px * 29 + time * 12.0))
409 tl = exp(-abs(py - ty) * 620) * (0.22 + 0.62 * sig)
410 tg = exp(-abs(py - ty) * 40) * 0.07 * sig
412 # a second receiver far off on the left, only a spark at this distance
413 mrd = len(px + 0.98, py + 0.075) - 0.040
414 mini = (1 - smooth(0.0014, 0.0040, abs(mrd))) * (0.16 + 0.55 * ringA)
416 # ---------------- water
417 wm = step(py, gy)
418 rfy = 2 * gy - py
419 wob = 0.0035 * sin(py * 300 + time * 2.6) + 0.005 * (fbm(px * 2.6, py * 70.0, 2) - 0.5)
420 rfx = px + wob
421 rq = rot(rfx, rfy - 0.16, tilt)
422 rqx = rq
423 rqy = r1 * 0.95
424 rrad = len(rqx, rqy)
425 rd = rrad - RR
426 rip = 0.10 + 0.90 * smooth(0.22, 0.80, fbm(px * 9.0, (gy - py) * 34.0 + time * 0.8, 2))
427 rband = smooth(-0.030, -0.010, rd) * (1 - smooth(0.010, 0.030, rd))
428 rline = (1 - smooth(0.0025, 0.0110, abs(rd))) * rip
429 fade = exp(-max(0, gy - py) * 2.1)
431 dys = (gy - py) * 3.4
432 wd = len(px, dys)
433 wfa = exp(-abs(wd - fract(time * 0.14) * 2.8) * 44)
434 wfb = exp(-abs(wd - fract(time * 0.14 + 0.5) * 2.8) * 44)
435 wf = (wfa + wfb) * wavA * fade * wm * 0.10
437 wtex = fbm(px * 2.4 + 2.0, py * 55.0 + time * 0.03, 2)
438 streak = exp(-abs(sin((gy - py) * 62 + wtex * 4.0)) * 12) * 0.045 * fade * wm
439 fog = exp(-abs(py - gy) * 8) * (0.025 + 0.05 * ringA)
441 # ---------------- assemble
442 baseR = 0.0050 + 0.014 * nb
443 baseG = 0.0080 + 0.023 * nb
444 baseB = 0.0150 + 0.045 * nb
445 baseR = mix(baseR, 0.0030 + 0.010 * wtex, wm)
446 baseG = mix(baseG, 0.0070 + 0.026 * wtex, wm)
447 baseB = mix(baseB, 0.0170 + 0.050 * wtex, wm)
448 vis = (1 - wm) * (1 - disc) * (1 - min(1, edge))
450 rgb(baseR + star * 0.70 * vis, baseG + star * 0.78 * vis, baseB + star * 0.90 * vis + fog * 0.10)
451 cadd(fog * 0.30, fog * 0.55, fog * 0.80)
453 # structure, cold
454 cadd(ring * 0.26, ring * 0.62, ring * 0.78)
455 cadd(glow * 0.10, glow * 0.30, glow * 0.40)
456 cadd(glow * 0.12 * ap, glow * 0.26 * ap, glow * 0.34 * ap)
457 cadd(aring * 0.28, aring * 0.62, aring * 0.72)
458 cadd(holo * 0.24, holo * 0.62, holo * 0.80)
459 cadd(aur * 0.020 * (1 - wm), aur * 0.045 * (1 - wm), aur * 0.11 * (1 - wm))
460 cadd(mini * 0.22, mini * 0.55, mini * 0.68)
461 cadd(mote * 0.55 * sig, mote * 0.62 * sig, mote * 0.72 * sig)
462 cadd(ray * 0.16, ray * 0.34, ray * 0.46)
463 cadd(flh * 0.72, flh * 0.62, flh * 0.50)
464 cadd(flv * 0.18, flv * 0.26, flv * 0.34)
466 # signal, warm
467 cadd(beam * 1.00, beam * 0.86, beam * 0.58)
468 cadd(hot * 1.00, hot * 0.90, hot * 0.70)
469 cadd(blaze * 0.42, blaze * 0.54, blaze * 0.56)
470 cadd(tl * 0.60 + tg * 0.50, tl * 0.90 + tg * 0.50, tl * 1.00 + tg * 0.45)
472 # reflection
473 cadd(rband * 0.07 * fade * ringA, rband * 0.20 * fade * ringA, rband * 0.26 * fade * ringA)
474 cadd(rline * 0.13 * fade * ringA, rline * 0.32 * fade * ringA, rline * 0.40 * fade * ringA)
475 cadd(beam * wm * fade * 0.18, beam * wm * fade * 0.15, beam * wm * fade * 0.10)
476 cadd(wf * 0.28, wf * 0.66, wf * 0.82)
477 cadd(streak * 0.30, streak * 0.58, streak * 0.70)
479 dd = len(u * 0.62, v)
480 cmul(max(0.52, 1 - 0.30 * dd * dd))
483post {
484 # bloom, a ping-driven chromatic split, scanlines, grain, and the type
485 bl = tap(-2, 0) + tap(2, 0) + tap(0, -2) + tap(0, 2)
486 bl = bl + tap(-1, -1) + tap(1, 1) + tap(-1, 1) + tap(1, -1)
487 bl = bl * 0.125
488 sh = floor(3 * pingE)
489 ar = tap(-2 - sh, 0)
490 ab = tap(2 + sh, 1)
491 rgb(cget(0) * 0.96 + bl * 0.50 + ar * 0.10,
492 cget(1) * 0.98 + bl * 0.56,
493 cget(2) * 0.98 + bl * 0.64 + ab * 0.10)
495 cmul(1.04)
496 gr = (hash(x * w * 0.71 + y * h * 0.37 + frame * 13.7) - 0.5) * 0.028
497 cadd(gr, gr, gr)
499 # title: the field dims and a wide wordmark takes the frame
500 ta = titleA
501 cmul(1 - 0.40 * ta)
502 t1 = textline(ttl, -0.76, -0.42, 0.42, 0.24)
503 tg = textline(ttl, -0.748, -0.414, 0.42, 0.24) + textline(ttl, -0.772, -0.426, 0.42, 0.24)
504 tg = tg + textline(ttl, -0.76, -0.400, 0.42, 0.24) + textline(ttl, -0.76, -0.440, 0.42, 0.24)
505 cmul(1 - 0.62 * t1 * ta)
506 cadd(t1 * ta * 0.80 + tg * ta * 0.14,
507 t1 * ta * 0.94 + tg * ta * 0.20,
508 t1 * ta * 1.00 + tg * ta * 0.24)
509 # a thin rule under the wordmark
510 ur = (1 - smooth(0.0008, 0.0022, abs(v + 0.245))) * step(abs(u), 0.86) * ta
511 cadd(ur * 0.16, ur * 0.30, ur * 0.36)
513 # hud readouts
514 ha = hudA
515 h1 = textline(hza, -1.48, 0.84, 0.070, 0.10)
516 lk = step(0.5, lock)
517 h2 = textline(hzb, 0.74, 0.84, 0.070, 0.10) * lk
518 h3 = textline(hzc, 0.95, 0.84, 0.070, 0.10) * (1 - lk)
519 cadd(h1 * ha * 0.42 + h2 * ha * 0.36 + h3 * ha * 0.34,
520 h1 * ha * 0.72 + h2 * ha * 0.66 + h3 * ha * 0.64,
521 h1 * ha * 0.80 + h2 * ha * 0.74 + h3 * ha * 0.72)
522 # corner ticks that frame the readouts
523 tkr = (1 - smooth(0.0008, 0.0020, abs(v - 0.90))) * step(abs(u), 1.52) * ha
524 cadd(tkr * 0.12, tkr * 0.24, tkr * 0.30)

Click a line number to link to that line.