dmscene Demos & source

SIERPINSKI

sierpinski.dmt · 132 BPM · 30 s · 960×600

fractaltechno

notes

Minimal techno over folding kaleidoscopic IFS geometry.

musicminimal techno: kick, rumble, clicks, bleeps into delay
visualfolding KIFS geometry, inverted flash every four bars
filesierpinski.dmt
duration0:30
video960×600 · 30 fps · h264 + audio · 12 MB
song132 BPM · speed 6 · rpb 4 · 5 channels
loop0
renderscale 1 · master 0.55
uniformsspin scale kickE bleepE invert hue zoom
collectionDemos
tagsfractaltechno
source123 lines · 5 KB · download

anatomy

8VM programs
3patterns
0palettes
0timeline events
0text / sample / texture
123source lines
5inst
0chan
1master
1frame
1pixel
0post
0fn

line composition

pattern 49%inst 19%pixel 16%frame 8%master 5%title 1%song 1%order 1%uniform 1%

play order

00110212

order list · 8 entries

timeline

This demo has no timeline events; it is driven by the tracker clock and per-frame programs.

resources

No external text, samples, textures or envelopes.

source

download .dmt
1# @description Minimal techno over folding kaleidoscopic IFS geometry.
2# @tags techno, fractal
3# @collection Demos
4# @music minimal techno: kick, rumble, clicks, bleeps into delay
5# @visual folding KIFS geometry, inverted flash every four bars
6# sierpinski.dmt - minimal techno over folding kaleidoscopic IFS geometry
7title SIERPINSKI
8song bpm=132 speed=6 rpb=4 channels=5 loop=0 volume=0.55
9order 0 0 1 1 0 2 1 2
11inst kick {
12 f = 48 + 500 * exp(-t * 40)
13 $p = $p + f / sr
14 out(dist(sin($p * tau) * exp(-t * 6) * 2.5, 1.5) * 0.85)
16inst rumble {
17 e = env(0.01, 0.4, 0.3, 0.2)
18 s = svf(noise() * 0.5 + sin(ph * tau) * 0.8, 120 + 200 * e, 0.7)
19 out(s * e * 0.5)
21inst click {
22 out(hp(noise(), 4000 + 6000 * vel) * exp(-t * 200) * 0.6 + sin(tau * 3000 * t) * exp(-t * 400) * 0.3)
24inst bleep {
25 e = env(0.001, 0.08, 0.0, 0.03)
26 s = sin(ph * tau) + sin(ph * tau * 2.01) * 0.4 * e
27 out(crush(s, 32) * e * 0.3)
29inst hat {
30 out(hp(noise(), 9000) * exp(-t * (50 + 100 * (1 - vel))) * 0.22)
33master {
34 d = dly(l * 0.5 + r * 0.5, 0.3409, 0.5)
35 d = svf(d, 2500, 0.2)
36 out(dist(l + d * 0.3, 1.3), dist(r - d * 0.3, 1.3))
39# channels: 0 kick 1 rumble 2 clicks 3 bleep 4 hats
40pattern 0 rows=16 {
41 C-2 1 40 | C-1 2 30 | . | . | .
42 . | . | C-4 3 20 | . | .
43 . | . | . | . | C-6 5 28
44 . | . | C-4 3 36 | . | .
45 C-2 1 40 | . | . | . | .
46 . | . | C-4 3 20 | . | .
47 . | . | . | . | C-6 5 28
48 . | . | C-4 3 12 | . | .
49 C-2 1 40 | C-1 2 30 | . | . | .
50 . | . | C-4 3 20 | . | .
51 . | . | . | . | C-6 5 28
52 . | . | C-4 3 36 | . | .
53 C-2 1 40 | . | . | . | .
54 . | . | C-4 3 20 | . | .
55 . | . | . | . | C-6 5 28
56 . | . | C-4 3 12 | . | C-6 5 14
58pattern 1 rows=16 {
59 C-2 1 40 | C-1 2 30 | . | A-4 4 30 | .
60 . | . | C-4 3 20 | . | .
61 . | . | . | . | C-6 5 28
62 . | . | C-4 3 36 | E-5 4 24 | .
63 C-2 1 40 | . | . | . | .
64 . | . | C-4 3 20 | . | .
65 . | . | . | A-5 4 20 | C-6 5 28
66 . | . | C-4 3 12 | . | .
67 C-2 1 40 | C-1 2 30 | . | . | .
68 . | . | C-4 3 20 | G-4 4 30 | .
69 . | . | . | . | C-6 5 28
70 . | . | C-4 3 36 | . | .
71 C-2 1 40 | . | . | D-5 4 24 | .
72 . | . | C-4 3 20 | . | .
73 . | . | . | . | C-6 5 28
74 . | . | C-4 3 12 | B-4 4 20 | C-6 5 14
76pattern 2 rows=16 {
77 C-2 1 40 | C-1 2 30 | . | A-4 4 30 | .
78 . | . | C-4 3 20 | A-5 4 20 | .
79 . | . | . | . | C-6 5 28
80 . | . | C-4 3 36 | E-5 4 24 | .
81 C-2 1 40 | . | . | E-6 4 16 | .
82 . | . | C-4 3 20 | . | .
83 . | . | . | A-5 4 20 | C-6 5 28
84 . | . | C-4 3 12 | . | .
85 C-2 1 40 | C-1 2 30 | . | G-4 4 30 | .
86 . | . | C-4 3 20 | G-5 4 20 | .
87 . | . | . | . | C-6 5 28
88 . | . | C-4 3 36 | D-5 4 24 | .
89 C-2 1 40 | . | . | D-6 4 16 | .
90 C-2 1 30 | . | C-4 3 20 | . | .
91 C-2 1 34 | . | . | B-4 4 20 | C-6 5 28
92 C-2 1 40 | . | C-4 3 40 | B-5 4 20 | C-6 5 30
95uniform spin scale kickE bleepE invert hue zoom
97frame {
98 kickE = exp(-trig(0) * 12)
99 bleepE = exp(-trig(3) * 7)
100 spin = beat * 0.03 + 0.3 * sin(beat * 0.09)
101 scale = 1.66 + 0.12 * sin(beat * 0.0625 * pi) + kickE * 0.03
102 invert = step(0.6, kickE) * step(fract(bar * 0.25), 0.05) # one inverted flash every 4 bars
103 hue = bar * 0.05
104 zoom = 1.0 + 0.15 * sin(beat * 0.17)
106pixel {
107 px = rot(u, v, spin) * zoom
108 py = r1 * zoom
109 de = kifs(px * 0.5, py * 0.5, scale, 0.32 + 0.14 * sin(beat * 0.05), 10)
110 trap = r1
111 edge = exp(-de * 120)
112 fill = step(de, 0.0015)
113 shade = exp(-trap * 1.5)
114 hsv(hue + trap * 0.15, 0.6, 1)
115 cmul(edge * (0.6 + 0.6 * kickE) + shade * 0.5 * bleepE)
116 cadd(fill * kickE * 0.9, fill * kickE * 0.9, fill * kickE * 0.9)
117 # invert every 4 bars
118 rr = cget(0)
119 gg = cget(1)
120 bb = cget(2)
121 rgb(mix(rr, 1 - rr, invert), mix(gg, 1 - gg, invert), mix(bb, 1 - bb, invert))
122 cprev(0.5 + (x - 0.5) * 1.01, 0.5 + (y - 0.5) * 1.01, 0.4)

Click a line number to link to that line.

← RAZORWIRE