PageRenderTime 6ms CodeModel.GetById 1ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/xbmc/visualizations/XBMCProjectM/libprojectM/presets/Unchained - Cranked On Failure.milk

http://github.com/xbmc/xbmc
Unknown | 97 lines | 97 code | 0 blank | 0 comment | 0 complexity | dc2622dae0e1021be51eb3633dee4f20 MD5 | raw file
 1[preset00]
 2fRating=3.000000
 3fGammaAdj=2
 4fDecay=0.98
 5fVideoEchoZoom=0.998169
 6fVideoEchoAlpha=0.5
 7nVideoEchoOrientation=3
 8nWaveMode=0
 9bAdditiveWaves=0
10bWaveDots=0
11bModWaveAlphaByVolume=0
12bMaximizeWaveColor=1
13bTexWrap=1
14bDarkenCenter=0
15bMotionVectorsOn=0
16bRedBlueStereo=0
17nMotionVectorsX=12
18nMotionVectorsY=9
19bBrighten=0
20bDarken=0
21bSolarize=0
22bInvert=0
23fWaveAlpha=0.320553
24fWaveScale=1
25fWaveSmoothing=0.45
26fWaveParam=0
27fModWaveAlphaStart=0.75
28fModWaveAlphaEnd=0.95
29fWarpAnimSpeed=1
30fWarpScale=1.772
31fZoomExponent=1.96
32fShader=0.19
33zoom=0.999698
34rot=0
35cx=0.5
36cy=0.5
37dx=0
38dy=0
39warp=0.513
40sx=1
41sy=1
42wave_r=0.5
43wave_g=0.5
44wave_b=0.5
45wave_x=0.5
46wave_y=0.5
47ob_size=0.01
48ob_r=0
49ob_g=0
50ob_b=0
51ob_a=0.58
52ib_size=0.015
53ib_r=0.55
54ib_g=1
55ib_b=0.4999
56ib_a=1
57per_frame_1=warp=0;
58per_frame_2=old_bass_flop=bass_flop;
59per_frame_3=old_treb_flop=treb_flop;
60per_frame_4=old_mid_flop=mid_flop;
61per_frame_5=chaos=.9+.1*sin(pulse);
62per_frame_6=entropy=if(bnot(entropy),2,if(equal(pulse,-20),1+rand(3),entropy));
63per_frame_7=bass_thresh = above(bass_att,bass_thresh)*2 + (1-above(bass_att,bass_thresh))*((bass_thresh-1.3)*chaos+1.3);
64per_frame_8=bass_flop=abs(bass_flop-equal(bass_thresh,2));
65per_frame_9=treb_thresh=above(treb_att,treb_thresh)*2 + (1-above(treb_att,treb_thresh))*((treb_thresh-1.3)*chaos+1.3);
66per_frame_10=treb_flop=abs(treb_flop-equal(treb_thresh,2));
67per_frame_11=mid_thresh=above(mid_att,mid_thresh)*2 + (1-above(mid_att,mid_thresh))*((mid_thresh-1.3)*chaos+1.3);
68per_frame_12=mid_flop=abs(mid_flop-equal(mid_thresh,2));
69per_frame_13=bass_changed=bnot(equal(old_bass_flop,bass_flop));
70per_frame_14=mid_changed=bnot(equal(old_mid_flop,mid_flop));
71per_frame_15=treb_changed=bnot(equal(old_treb_flop,treb_flop));
72per_frame_16=bass_residual = bass_changed*sin(pulse*.1*entropy) + bnot(bass_changed)*bass_residual;
73per_frame_17=treb_residual = treb_changed*sin(pulse*.1*entropy) + bnot(treb_changed)*treb_residual;
74per_frame_18=mid_residual = mid_changed*sin(pulse*.1*entropy) + bnot(mid_changed)*mid_residual;
75per_frame_19=pulse=if(above(abs(pulse),20),-20,pulse+(bass_thresh+mid+thresh+treb_thresh)*.052+-(bass+treb+mid)*.01);
76per_frame_20=q1=mid_residual;
77per_frame_21=q2=bass_residual;
78per_frame_22=q3=treb_residual;
79per_frame_23=q4=sin(pulse);
80per_frame_24=q5=sin(pulse/2);
81per_frame_25=wave_r=wave_r+.5*bass_residual;
82per_frame_26=wave_r=wave_g+.5*mid_residual;
83per_frame_27=wave_r=wave_b+.5*treb_residual;
84per_frame_28=wave_mystery=mid_residual;
85per_frame_29=ob_r=if(bass_flop,treb_flop,wave_r);
86per_frame_30=ob_b=if(treb_flop,mid_flop,wave_b);
87per_frame_31=ob_g=if(mid_flop,bass_flop,wave_g);
88per_frame_32=ob_a=.05+.05*cos(wave_r+pulse*.03);
89per_frame_33=ob_size=.2+.2*treb_residual;
90per_frame_34=ib_r=if(bass_flop,ob_b,ob_g);
91per_frame_35=ib_b=if(treb_flop,ob_g,ob_r);
92per_frame_36=ib_g=if(mid_flop,ob_r,ob_b);
93per_frame_37=ib_size=ob_size*cos(wave_g+pulse*0.4)*.5;
94per_pixel_1=radix=if(above(q3,0),min(x,y),max(x,y));
95per_pixel_2=radix=if(above(q2,0),min(radix,rad),max(radix,rad));
96per_pixel_3=rot=if(above(q4,0),rad*.2*q5,rot+.3*sin(radix*3.14*(q1+q2+q3)));
97per_pixel_4=zoom=if(above(q2,0),zoom-cos(radix*3.14*q2)*.1,if(above(q3,0),1+q1*.05,1+.07*cos(radix*10*q1)));