PARABLE
parable.dmt · 96 BPM · 30 s · 960×600
model-made2d
notes
One mirror, many paths, one light: a parabolic dish gathers parallel rays into a single burning focus while the sky turns from indigo dusk to ember.
| music | ambient: heartbeat kick, seed-noise ticks, FM sub bass, breathing SVF pad, FM bell arp through cross-fed delay and reverb |
|---|---|
| visual | a parabolic mirror gathers parallel rays into a burning focus; pure Euclidean geometry, timeline-ramped rays, dusk-to-ember palette, converging feedback, a crawling moral line |
| file | parable.dmt |
|---|---|
| duration | 0:30 |
| video | 960×600 · 30 fps · h264 + audio · 2.7 MB |
| song | 96 BPM · speed 6 · rpb 4 · 5 channels |
| loop | 0 |
| render | scale 1 · dither on · master 0.62 |
| uniforms | phase rayN kickE bellE seedE padE warm intro breathe |
| model | DeepSeek V4 Pro |
| collection | Written by the models |
| tags | model-made2d |
| source | 310 lines · 10 KB · download |
anatomy
8VM programs
6patterns
2palettes
12timeline events
2text / sample / texture
310source lines
5inst
0chan
1master
1frame
1pixel
0post
2fn
line composition
pattern 39%pixel 24%inst 11%fn 7%palette 6%timeline 5%frame 4%master 3%text 1%title 0%song 0%order 0%pan 0%uniform 0%
play order
011232412355
order list · 12 entries
palettes
dusk7 keys · lines 24–32
ember6 keys · lines 33–40
timeline
| at | event | value | source | |
|---|---|---|---|---|
| 0:00 | rays | 2.0 | L43 | |
| 0:03 | rays | 3.2 | L44 | |
| 0:05 | rays | 4.4 | L45 | |
| 0:08 | rays | 5.6 | L46 | |
| 0:10 | rays | 6.8 | L47 | |
| 0:13 | rays | 8.0 | L48 | |
| 0:15 | rays | 9.2 | L49 | |
| 0:18 | rays | 10.4 | L50 | |
| 0:20 | rays | 11.0 | L51 | |
| 0:23 | rays | 12.0 | L52 | |
| 0:25 | rays | 12.0 | L53 | |
| 0:28 | rays | 12.0 | L54 |
Event times are derived from the order list, pattern lengths, BPM and RPB.
resources
| kind | name | info | value |
|---|---|---|---|
| text | title | 7 | PARABLE |
| text | scroll | 127 | MANY PATHS ... ONE LIGHT ... EVERY PARABLE GATHERS ITS DUST TO A SINGLE POINT ... ALL THE WANDERERS MEET AT THE FIRE ... |
source
1# @description One mirror, many paths, one light: a parabolic dish gathers parallel rays into a single burning focus while the sky turns from indigo dusk to ember.
2# @tags 2d
3# @model DeepSeek V4 Pro
4# @collection Written by the models
5# @music ambient: heartbeat kick, seed-noise ticks, FM sub bass, breathing SVF pad, FM bell arp through cross-fed delay and reverb
6# @visual a parabolic mirror gathers parallel rays into a burning focus; pure Euclidean geometry, timeline-ramped rays, dusk-to-ember palette, converging feedback, a crawling moral line
7# @duration 30
8# parable.dmt - one mirror, many paths, one light.
9# A contemplative geometry demo: a parabolic dish gathers parallel rays into a
10# single burning focus. The rays arrive one pair at a time across a twelve-bar
11# arc, the sky turns from indigo dusk to ember, an expanding ring speaks the
12# return path, and the word PARABLE hangs above while a one-line moral crawls
13# underneath. Everything is pixel-space geometry (a real parabola + reflected
14# rays), palette-mapped, with a converging afterimage in the feedback buffer.
16title PARABLE
17song bpm=96 speed=6 rpb=4 channels=5 loop=0 volume=0.62 dither=1
18order 0 1 1 2 3 2 4 1 2 3 5 5
19pan 0.42 0.58 0.50 0.46 0.62
21text title "PARABLE"
22text scroll " MANY PATHS ... ONE LIGHT ... EVERY PARABLE GATHERS ITS DUST TO A SINGLE POINT ... ALL THE WANDERERS MEET AT THE FIRE ... "
24palette dusk {
25 0.00 0.012 0.010 0.070
26 0.30 0.075 0.055 0.220
27 0.55 0.320 0.160 0.330
28 0.72 0.760 0.340 0.300
29 0.86 0.990 0.660 0.330
30 0.96 1.000 0.940 0.760
31 1.00 0.012 0.010 0.070
32}
33palette ember {
34 0.00 0.028 0.006 0.012
35 0.30 0.320 0.045 0.030
36 0.55 0.720 0.150 0.060
37 0.75 0.990 0.350 0.090
38 0.90 1.000 0.820 0.420
39 1.00 0.028 0.006 0.012
40}
42timeline {
43 0:00 rays=2.0
44 1:00 rays=3.2
45 2:00 rays=4.4
46 3:00 rays=5.6
47 4:00 rays=6.8
48 5:00 rays=8.0
49 6:00 rays=9.2
50 7:00 rays=10.4
51 8:00 rays=11.0
52 9:00 rays=12.0
53 10:00 rays=12.0
54 11:00 rays=12.0
55}
57# ------------------------------------------------------------------ instruments
58inst heart {
59 f = 46 + 300 * exp(-t * 36)
60 $p = $p + f / sr
61 thump = sin($p * tau) * exp(-t * 7)
62 air = lp(noise(), 900) * exp(-t * 40)
63 out(dist(thump * 1.8 + air * 0.10, 1.4) * 0.55)
64}
65inst seed {
66 n = hp(noise(), 7400)
67 out(n * exp(-t * (34 + 60 * (1 - vel))) * 0.16)
68}
69inst root {
70 e = env(0.012, 0.28, 0.55, 0.30)
71 sub = sin(ph * tau)
72 wood = svf(tri(ph) * 0.9 + saw(ph) * 0.22, 150 + 500 * e, 0.28)
73 out((sub * 0.55 + wood * 0.20) * e * 0.5)
74}
75inst pad {
76 e = env(0.5, 0.8, 0.72, 1.0)
77 a = sin(ph * tau + 0.6 * sin(ph * tau * 0.5 + t * 0.22))
78 b = saw(ph + 0.0016 * t) + saw(ph - 0.0021 * t)
79 s = svf(a * 0.7 + b * 0.24, 420 + 260 * sin(t * 0.27) + p0 * 700, 0.20)
80 out(s * e * 0.22)
81}
82inst bell {
83 e = exp(-t * 2.1)
84 m = sin(ph * tau * 2.05) * exp(-t * 3.2) * 1.6
85 s = sin(ph * tau + m) + sin(ph * tau * 2.01 + m * 0.35) * 0.30
86 out(s * e * 0.24)
87}
89master {
90 dl = dly(l, 0.46875, 0.38)
91 dr = dly(r, 0.625, 0.34)
92 vl = verb(l + dr * 0.24, 0.72, 0.50)
93 vr = verb(r + dl * 0.24, 0.72, 0.50)
94 out(dist(l + dr * 0.26 + vl * 0.20, 1.15), dist(r + dl * 0.26 + vr * 0.20, 1.15))
95}
97# ------------------------------------------------------------------ patterns
98# channels: 0 heart 1 seed 2 root 3 pad 4 bell
99pattern 0 rows=16 {
100 00: . | . | . | A-3 4 30 | A-5 5 18
101 01: .
102 02: .
103 03: .
104 04: . | . | . | . | E-5 5 14
105 05: .
106 06: .
107 07: .
108 08: . | . | A-1 3 28 | . | C-5 5 16
109 09: .
110 10: .
111 11: .
112 12: . | . | . | . | A-4 5 12
113 13: .
114 14: .
115 15: .
116}
117pattern 1 rows=16 {
118 00: C-2 1 30 | . | A-1 3 30 | . | A-4 5 20
119 01: .
120 02: . | C-6 2 0C | . | . | C-5 5 16
121 03: .
122 04: C-2 1 30 | . | . | . | E-5 5 18
123 05: .
124 06: . | C-6 2 0C | . | . | A-5 5 14
125 07: .
126 08: C-2 1 30 | . | . | . | E-5 5 18
127 09: .
128 10: . | C-6 2 0C | . | . | C-5 5 16
129 11: .
130 12: C-2 1 30 | . | A-2 3 28 | . | A-4 5 20
131 13: .
132 14: . | C-6 2 10 | . | . | .
133 15: .
134}
135pattern 2 rows=16 {
136 00: C-2 1 30 | . | F-1 3 30 | . | F-4 5 20
137 01: .
138 02: . | C-6 2 0C | . | . | A-4 5 16
139 03: .
140 04: C-2 1 30 | . | . | . | C-5 5 18
141 05: .
142 06: . | C-6 2 0C | . | . | F-5 5 14
143 07: .
144 08: C-2 1 30 | . | . | . | C-5 5 18
145 09: .
146 10: . | C-6 2 0C | . | . | A-4 5 16
147 11: .
148 12: C-2 1 30 | . | F-2 3 28 | . | F-4 5 20
149 13: .
150 14: . | C-6 2 10 | . | . | .
151 15: .
152}
153pattern 3 rows=16 {
154 00: C-2 1 32 | . | C-2 3 30 | . | C-5 5 20
155 01: .
156 02: . | C-6 2 0E | . | . | G-5 5 16
157 03: .
158 04: C-2 1 32 | C-6 2 10 | . | . | E-5 5 18
159 05: .
160 06: . | C-6 2 0E | . | . | B-4 5 14
161 07: .
162 08: C-2 1 32 | C-6 2 10 | G-1 3 30 | . | G-4 5 20
163 09: .
164 10: . | C-6 2 0E | . | . | B-4 5 16
165 11: .
166 12: C-2 1 32 | C-6 2 10 | . | . | D-5 5 18
167 13: .
168 14: . | C-6 2 12 | . | . | .
169 15: .
170}
171pattern 4 rows=16 {
172 00: . | . | F-2 3 28 | F-3 4 26 | A-4 5 14
173 01: .
174 02: . | C-6 2 06 | . | . | C-5 5 12
175 03: .
176 04: . | . | . | . | E-5 5 14
177 05: .
178 06: . | C-6 2 06 | . | . | A-4 5 10
179 07: .
180 08: . | . | C-2 3 26 | . | F-5 5 14
181 09: .
182 10: . | C-6 2 06 | . | . | C-5 5 12
183 11: .
184 12: . | . | . | . | A-5 5 12
185 13: .
186 14: . | C-6 2 08 | . | . | .
187 15: .
188}
189pattern 5 rows=16 {
190 00: C-2 1 34 | . | A-1 3 30 | . | E-5 5 20
191 01: .
192 02: . | C-6 2 0E | . | . | A-5 5 18
193 03: .
194 04: C-2 1 34 | C-6 2 10 | . | . | C-6 5 18
195 05: .
196 06: . | C-6 2 0E | . | . | E-6 5 16
197 07: .
198 08: C-2 1 34 | C-6 2 10 | A-2 3 28 | . | A-5 5 20
199 09: .
200 10: . | C-6 2 0E | . | . | C-6 5 18
201 11: .
202 12: C-2 1 34 | C-6 2 10 | . | . | E-6 5 16
203 13: .
204 14: C-2 1 20 | C-6 2 12 | . | . | A-5 5 14
205 15: .
206}
208# ------------------------------------------------------------------ helpers
209fn textline(s, px, py, sz) {
210 cx = (u - px) / sz
211 cy = (py - v) / sz
212 i = floor(cx)
213 return glyph(str(s, i), fract(cx), fract(cy)) * step(0, cx) * step(cx, strlen(s)) * step(0, cy) * step(cy, 1)
214}
215fn crawl(s, base, sz, spd) {
216 per = strlen(s) * sz
217 px = aspect - fract(time * spd / per) * per
218 cx = (u - px) / sz
219 i = floor(cx)
220 cy = (base - v) / sz
221 g = glyph(str(s, i), fract(cx), fract(cy)) * step(0, cx) * step(cx, strlen(s)) * step(0, cy) * step(cy, 1)
222 cx2 = (u - px - per) / sz
223 i2 = floor(cx2)
224 cy2 = (base - v) / sz
225 g2 = glyph(str(s, i2), fract(cx2), fract(cy2)) * step(0, cx2) * step(cx2, strlen(s)) * step(0, cy2) * step(cy2, 1)
226 return max(g, g2)
227}
229# ------------------------------------------------------------------ visuals
230uniform phase rayN kickE bellE seedE padE warm intro breathe
232frame {
233 rayN = evtl(rays)
234 kickE = exp(-trig(0) * 7)
235 bellE = exp(-trig(4) * 5)
236 seedE = exp(-trig(1) * 14)
237 padE = cenv(3)
238 phase = lbeat / llen
239 warm = smooth(0.58, 0.92, phase)
240 intro = 1 - smooth(0.0, 0.10, phase)
241 breathe = 0.90 + 0.10 * sin(beat * 0.32)
242}
244pixel {
245 f = 0.6
246 fy = -0.15
247 fdx = len(u, v - fy)
249 # Sky: indigo at the top, warm near the ground and around the focus.
250 ky = v * 0.5 + 0.5
251 tone = 0.04 + 0.30 * (1 - ky) + 0.22 * exp(-fdx * fdx * 2.4) + 0.03 * sin(time * 0.13)
252 tone = tone + 0.20 * padE * exp(-fdx * fdx * 1.2)
253 pal(dusk, tone)
254 mixpal(ember, tone + 0.18, warm * 0.85)
256 # The mirror itself: a parabola v = fy + u^2/(4f) opening upward.
257 ymir = fy + u * u / (4 * f)
258 dish = step(abs(u), 1.5) * step(fy, v) * exp(-((v - ymir) * (v - ymir)) / 0.00045)
260 # The focus point, burning with the music.
261 focus = exp(-fdx * fdx / 0.0011) * (0.35 + 2.0 * kickE + 1.4 * bellE + 0.5 * seedE)
263 lum = max(dish * 0.55, focus)
265 # Rays: pairs appear symmetric around the axis, walking outward as rayN grows.
266 repeat i 12 {
267 wt = clamp(rayN - i, 0, 1)
268 half = floor((i + 1) / 2)
269 side = 1 - 2 * (i % 2)
270 xr = side * (0.22 + 0.19 * half)
271 ym = fy + xr * xr / (4 * f)
272 di = abs(u - xr)
273 above = step(ym, v) * step(v, 1.0)
274 segIn = above * exp(-(di * di) / 0.0004)
275 sx = 0 - xr
276 syy = fy - ym
277 l2 = sx * sx + syy * syy
278 tt = clamp(((u - xr) * sx + (v - ym) * syy) / l2, 0, 1)
279 pxx = xr + tt * sx
280 pyy = ym + tt * syy
281 dr = len(u - pxx, v - pyy)
282 segRefl = exp(-(dr * dr) / 0.00062) * (0.22 + 1.85 * (1 - tt))
283 lum = max(lum, wt * (segIn * 0.22 + segRefl))
284 }
286 # The return path: an expanding ring that speaks on the beat near the end.
287 ringR = 0.12 + 0.55 * phase
288 ring = exp(-abs(fdx - ringR) * 18) * warm * (0.25 + 0.9 * kickE)
289 lum = lum + ring
291 # Colour the gathered light: warm core with a cool violet halo.
292 cadd(lum, lum * 0.76, lum * 0.40)
293 cadd(lum * 0.12, lum * 0.20, lum * 0.34)
295 # The word and the moral.
296 tg = textline(title, 0.0, 0.66, 0.46) * intro
297 cadd(tg * 0.9, tg * 0.82, tg * 0.62)
298 sg = crawl(scroll, -0.80, 0.13, 0.7) * 0.45
299 cadd(sg * 0.5, sg * 0.65, sg * 0.8)
301 # A converging afterimage: the previous frame crawls toward the focus.
302 xf = 0.5
303 yf = 0.5 + fy / 2
304 sx0 = xf + (x - xf) * 0.986
305 sy0 = yf + (y - yf) * 0.986
306 cprev(sx0, sy0, 0.62 * (0.55 + 0.45 * warm))
308 rr = len(u, v)
309 cmul((1 - 0.30 * rr * rr) * breathe)
310}
Click a line number to link to that line.