File: Rovastar - Harlequin's Dynamic Fractal 3.milk

package info (click to toggle)
projectm 2.1.0+dfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 32,348 kB
  • ctags: 13,907
  • sloc: cpp: 31,087; ansic: 26,914; sh: 816; makefile: 17
file content (115 lines) | stat: -rw-r--r-- 4,169 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
[preset00]
fRating=2
fGammaAdj=1
fDecay=0.96
fVideoEchoZoom=0.999609
fVideoEchoAlpha=0
nVideoEchoOrientation=0
nWaveMode=2
bAdditiveWaves=0
bWaveDots=0
bModWaveAlphaByVolume=0
bMaximizeWaveColor=1
bTexWrap=1
bDarkenCenter=0
bRedBlueStereo=0
bBrighten=0
bDarken=0
bSolarize=0
bInvert=0
fWaveAlpha=5.204482
fWaveScale=0.535238
fWaveSmoothing=0.27
fWaveParam=-0.4
fModWaveAlphaStart=0.75
fModWaveAlphaEnd=0.95
fWarpAnimSpeed=5.99579
fWarpScale=1.331
fZoomExponent=1.01
fShader=0
zoom=0.998531
rot=0.002
cx=0.5
cy=0.5
dx=0
dy=0
warp=0.01
sx=1
sy=1
wave_r=0.5
wave_g=0.5
wave_b=0.5
wave_x=0.1
wave_y=0.86
ob_size=0.01
ob_r=0
ob_g=0.9
ob_b=0.2
ob_a=0
ib_size=0
ib_r=0.5
ib_g=0.5
ib_b=0.5
ib_a=0
nMotionVectorsX=3.2
nMotionVectorsY=48
mv_l=3.5
mv_r=0.7
mv_g=0.7
mv_b=0.3
mv_a=1
per_frame_1=ob_r = 0.3 - 0.3*(0.5*sin(time*0.901)+ 0.3*cos(time*1.438));
per_frame_2=ob_g = 0.4- 0.4*sin(time*3.924);
per_frame_3=ob_b = 0.35 - 0.3*cos(time*2.816);
per_frame_4=cx = cx - 0.1*sin(time*0.342);
per_frame_5=cy = cy + 0.1*sin(time*0.453);
per_frame_6=warp =0;
per_frame_7=volume = 0.15*(bass_att+bass+mid+mid_att);
per_frame_8=beatrate = if(equal(beatrate,0),1,if(below(volume,0.01),1,beatrate));
per_frame_9=lastbeat = if(equal(lastbeat,0),time,lastbeat);
per_frame_10=meanbass_att = 0.1*(meanbass_att*9 + bass_att);
per_frame_11=peakbass_att = if(above(bass_att,peakbass_att),bass_att,peakbass_att);
per_frame_12=beat = if(above(volume,0.8),if(below(peakbass_att - bass_att, 0.05*peakbass_att),if(above(time - lastbeat,0.1+0.5*(beatrate-0.1)),1,0),0),0);
per_frame_13=beatrate = max(if(beat,if(below(time-lastbeat,2*beatrate),0.1*(beatrate*9 + time - lastbeat),beatrate),beatrate),0.1);
per_frame_14=peakbass_att = if(equal(beat,0),if(above(time - lastbeat,2*beatrate),peakbass_att*0.95,peakbass_att*0.995),bass_att);
per_frame_15=lastbeat = if(beat,time,lastbeat);
per_frame_16=peakbass_att = max(if(beat,bass_att,peakbass_att),1.1*meanbass_att);
per_frame_17=q5 = if(beat,0.1*rand(1000),oldq5);
per_frame_18=oldq5 = q5;
per_frame_19=q3 = if(beat,0.1*rand(1000),oldq3);
per_frame_20=oldq3 = q3;
per_frame_21=ib_size = 0.005 + 0.02*sin(time*0.963);
per_frame_22=ob_size = 0.02*abs(sin(time*0.7834));
per_frame_23=mv_r = mv_r + 0.3*sin(time*3.034);
per_frame_24=mv_g = mv_g + 0.3*sin(time*2.547);
per_frame_25=mv_b = mv_b - 0.3*sin(time*1.731);
per_frame_26=wave_r = wave_r + 0.5*sin(time*0.734);
per_frame_27=wave_b = wave_b + 0.5*sin(time*0.615);
per_frame_28=wave_b = wave_b + 0.5*sin(time*0.714);
per_frame_29=ib_r = ib_r + 0.5*sin(time*0.734);
per_frame_30=ib_g = ib_g + 0.5*sin(time*1.215);
per_frame_31=ib_b = ib_b + 0.5*sin(time*1.414);
per_frame_32=xamptarg = if(equal(frame%15,0),min(0.5*volume*bass_att,0.5),xamptarg);
per_frame_33=xamp = xamp + 0.5*(xamptarg-xamp);
per_frame_34=xdir = if(above(abs(xpos),xamp),-sign(xpos),if(below(abs(xspeed),0.1),2*above(xpos,0)-1,xdir));
per_frame_35=xaccel = xdir*xamp - xpos - xspeed*0.055*below(abs(xpos),xamp);
per_frame_36=xspeed = xspeed + xdir*xamp - xpos - xspeed*0.055*below(abs(xpos),xamp);
per_frame_37=xpos = xpos + 0.001*xspeed;
per_frame_38=dx = 0.1*xpos;
per_frame_39=q2 = xpos;
per_frame_40=yamptarg = if(equal(frame%15,0),min(0.3*volume*treb_att,0.5),yamptarg);
per_frame_41=yamp = yamp + 0.5*(yamptarg-yamp);
per_frame_42=ydir = if(above(abs(ypos),yamp),-sign(ypos),if(below(abs(yspeed),0.1),2*above(ypos,0)-1,ydir));
per_frame_43=yaccel = ydir*yamp - ypos - yspeed*0.055*below(abs(ypos),yamp);
per_frame_44=yspeed = yspeed + ydir*yamp - ypos - yspeed*0.055*below(abs(ypos),yamp);
per_frame_45=ypos = ypos + 0.001*yspeed;
per_frame_46=dy =0.1*ypos;
per_frame_47=q4 = ypos;
per_frame_48=ib_a = if(beat,1,0);
per_frame_49=ob_a = if(beat,1,0);
per_pixel_1=box =0.05+2*x%2+2*y%2;
per_pixel_2=q1 = 6.4+1.4*(sin(x+(0.6*time))-cos(y+(0.432*time)));
per_pixel_3=zoom = if(above(box,1),q1*0.1,zoom);
per_pixel_4=rot = if(above(box,1),3.5+ abs(sin(3*(q2+q4)))*(0.3*sin(0.385*time)+0.4*sin(time*0.254)+0.3*cos(time*0.311)),rot);
per_pixel_5=dx = if(above(box,1),q4*4,dx);
per_pixel_6=dy= if(above(box,1),q2*4,dy);