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

/xbmc/visualizations/XBMCProjectM/libprojectM/presets/Unchained - Shaping The Grid.milk

http://github.com/xbmc/xbmc
Unknown | 273 lines | 273 code | 0 blank | 0 comment | 0 complexity | a2aff23b791e386e6acac852e236ac01 MD5 | raw file
  1[preset00]
  2fRating=3.000000
  3fGammaAdj=1.000000
  4fDecay=0.985000
  5fVideoEchoZoom=1.000000
  6fVideoEchoAlpha=0.500000
  7nVideoEchoOrientation=3
  8nWaveMode=0
  9bAdditiveWaves=0
 10bWaveDots=0
 11bWaveThick=1
 12bModWaveAlphaByVolume=0
 13bMaximizeWaveColor=0
 14bTexWrap=1
 15bDarkenCenter=0
 16bRedBlueStereo=0
 17bBrighten=0
 18bDarken=1
 19bSolarize=1
 20bInvert=0
 21fWaveAlpha=0.625316
 22fWaveScale=1.187274
 23fWaveSmoothing=0.000000
 24fWaveParam=0.000000
 25fModWaveAlphaStart=0.710000
 26fModWaveAlphaEnd=1.300000
 27fWarpAnimSpeed=1.000000
 28fWarpScale=1.331000
 29fZoomExponent=0.999700
 30fShader=0.030000
 31zoom=0.960496
 32rot=0.000000
 33cx=0.500000
 34cy=0.500000
 35dx=0.000000
 36dy=0.000000
 37warp=0.010000
 38sx=1.000000
 39sy=1.000000
 40wave_r=0.500000
 41wave_g=0.500000
 42wave_b=0.500000
 43wave_x=0.500000
 44wave_y=0.500000
 45ob_size=0.500000
 46ob_r=0.500000
 47ob_g=0.500000
 48ob_b=0.500000
 49ob_a=0.000000
 50ib_size=0.500000
 51ib_r=0.500000
 52ib_g=0.500000
 53ib_b=0.500000
 54ib_a=0.000000
 55nMotionVectorsX=64.000000
 56nMotionVectorsY=48.000000
 57mv_dx=0.000000
 58mv_dy=0.000000
 59mv_l=0.850000
 60mv_r=0.499900
 61mv_g=0.499900
 62mv_b=0.499900
 63mv_a=0.500000
 64wavecode_0_enabled=0
 65wavecode_0_samples=512
 66wavecode_0_sep=0
 67wavecode_0_bSpectrum=0
 68wavecode_0_bUseDots=0
 69wavecode_0_bDrawThick=0
 70wavecode_0_bAdditive=0
 71wavecode_0_scaling=1.000000
 72wavecode_0_smoothing=0.500000
 73wavecode_0_r=1.000000
 74wavecode_0_g=1.000000
 75wavecode_0_b=1.000000
 76wavecode_0_a=1.000000
 77wavecode_1_enabled=0
 78wavecode_1_samples=512
 79wavecode_1_sep=0
 80wavecode_1_bSpectrum=0
 81wavecode_1_bUseDots=0
 82wavecode_1_bDrawThick=0
 83wavecode_1_bAdditive=0
 84wavecode_1_scaling=1.000000
 85wavecode_1_smoothing=0.500000
 86wavecode_1_r=1.000000
 87wavecode_1_g=1.000000
 88wavecode_1_b=1.000000
 89wavecode_1_a=1.000000
 90wavecode_2_enabled=0
 91wavecode_2_samples=512
 92wavecode_2_sep=0
 93wavecode_2_bSpectrum=0
 94wavecode_2_bUseDots=0
 95wavecode_2_bDrawThick=0
 96wavecode_2_bAdditive=0
 97wavecode_2_scaling=1.000000
 98wavecode_2_smoothing=0.500000
 99wavecode_2_r=1.000000
100wavecode_2_g=1.000000
101wavecode_2_b=1.000000
102wavecode_2_a=1.000000
103wavecode_3_enabled=0
104wavecode_3_samples=512
105wavecode_3_sep=0
106wavecode_3_bSpectrum=0
107wavecode_3_bUseDots=0
108wavecode_3_bDrawThick=0
109wavecode_3_bAdditive=0
110wavecode_3_scaling=1.000000
111wavecode_3_smoothing=0.500000
112wavecode_3_r=1.000000
113wavecode_3_g=1.000000
114wavecode_3_b=1.000000
115wavecode_3_a=1.000000
116shapecode_0_enabled=1
117shapecode_0_sides=3
118shapecode_0_additive=0
119shapecode_0_thickOutline=1
120shapecode_0_textured=0
121shapecode_0_x=0.650000
122shapecode_0_y=0.500000
123shapecode_0_rad=0.605500
124shapecode_0_ang=0.000000
125shapecode_0_tex_ang=0.628319
126shapecode_0_tex_zoom=1.816695
127shapecode_0_r=1.000000
128shapecode_0_g=0.000000
129shapecode_0_b=0.000000
130shapecode_0_a=1.000000
131shapecode_0_r2=0.000000
132shapecode_0_g2=1.000000
133shapecode_0_b2=0.000000
134shapecode_0_a2=0.000000
135shapecode_0_border_r=0.000000
136shapecode_0_border_g=0.000000
137shapecode_0_border_b=0.000000
138shapecode_0_border_a=1.000000
139shape_0_per_frame1=ang=3.14+3.14*q1;
140shape_0_per_frame2=x=.5+.1*q2;
141shape_0_per_frame3=y=.5+.1*q3;
142shape_0_per_frame4=sides=3+q6;
143shape_0_per_frame5=rad=.5+.5*q4;
144shape_0_per_frame6=textured=above(q6,3);
145shape_0_per_frame7=border_r=1-rad;
146shape_0_per_frame8=border_b=rad-.01*sides;
147shapecode_1_enabled=0
148shapecode_1_sides=4
149shapecode_1_additive=0
150shapecode_1_thickOutline=0
151shapecode_1_textured=0
152shapecode_1_x=0.500000
153shapecode_1_y=0.500000
154shapecode_1_rad=0.100000
155shapecode_1_ang=0.000000
156shapecode_1_tex_ang=0.000000
157shapecode_1_tex_zoom=1.000000
158shapecode_1_r=1.000000
159shapecode_1_g=0.000000
160shapecode_1_b=0.000000
161shapecode_1_a=1.000000
162shapecode_1_r2=0.000000
163shapecode_1_g2=1.000000
164shapecode_1_b2=0.000000
165shapecode_1_a2=0.000000
166shapecode_1_border_r=1.000000
167shapecode_1_border_g=1.000000
168shapecode_1_border_b=1.000000
169shapecode_1_border_a=0.100000
170shapecode_2_enabled=0
171shapecode_2_sides=4
172shapecode_2_additive=0
173shapecode_2_thickOutline=0
174shapecode_2_textured=0
175shapecode_2_x=0.500000
176shapecode_2_y=0.500000
177shapecode_2_rad=0.100000
178shapecode_2_ang=0.000000
179shapecode_2_tex_ang=0.000000
180shapecode_2_tex_zoom=1.000000
181shapecode_2_r=1.000000
182shapecode_2_g=0.000000
183shapecode_2_b=0.000000
184shapecode_2_a=1.000000
185shapecode_2_r2=0.000000
186shapecode_2_g2=1.000000
187shapecode_2_b2=0.000000
188shapecode_2_a2=0.000000
189shapecode_2_border_r=1.000000
190shapecode_2_border_g=1.000000
191shapecode_2_border_b=1.000000
192shapecode_2_border_a=0.100000
193shapecode_3_enabled=0
194shapecode_3_sides=4
195shapecode_3_additive=0
196shapecode_3_thickOutline=0
197shapecode_3_textured=0
198shapecode_3_x=0.500000
199shapecode_3_y=0.500000
200shapecode_3_rad=0.100000
201shapecode_3_ang=0.000000
202shapecode_3_tex_ang=0.000000
203shapecode_3_tex_zoom=1.000000
204shapecode_3_r=1.000000
205shapecode_3_g=0.000000
206shapecode_3_b=0.000000
207shapecode_3_a=1.000000
208shapecode_3_r2=0.000000
209shapecode_3_g2=1.000000
210shapecode_3_b2=0.000000
211shapecode_3_a2=0.000000
212shapecode_3_border_r=1.000000
213shapecode_3_border_g=1.000000
214shapecode_3_border_b=1.000000
215shapecode_3_border_a=0.100000
216per_frame_init_1=entropy=2;
217per_frame_1=warp=0;
218per_frame_2=old_bass_flop=bass_flop;
219per_frame_3=old_treb_flop=treb_flop;
220per_frame_4=old_mid_flop=mid_flop;
221per_frame_5=chaos=.1+.1*sin(pulse);
222per_frame_6=bass_thresh =if(above(bass_att,bass_thresh),3,bass_thresh-chaos);
223per_frame_7=bass_flop=abs(bass_flop-equal(bass_thresh,3));
224per_frame_8=treb_thresh=if(above(treb_att,treb_thresh),3,treb_thresh-chaos);
225per_frame_9=treb_flop=abs(treb_flop-equal(treb_thresh,3));
226per_frame_10=mid_thresh=if(above(mid_att,mid_thresh),3,mid_thresh-chaos);
227per_frame_11=mid_flop=abs(mid_flop-equal(mid_thresh,3));
228per_frame_12=bass_changed=bnot(equal(old_bass_flop,bass_flop));
229per_frame_13=mid_changed=bnot(equal(old_mid_flop,mid_flop));
230per_frame_14=treb_changed=bnot(equal(old_treb_flop,treb_flop));
231per_frame_15=bass_residual = bass_changed*sin(pulse*3) + bnot(bass_changed)*bass_residual;
232per_frame_16=treb_residual = treb_changed*sin(pulse*3) + bnot(treb_changed)*treb_residual;
233per_frame_17=mid_residual = mid_changed*sin(pulse*3) + bnot(mid_changed)*mid_residual;
234per_frame_18=pulse=if(above(abs(pulse),3.14),-3.14,pulse+(bass_thresh+mid_thresh+treb_thresh)*.032);
235per_frame_19=entropy=if(equal(pulse,-3.14),bass_flop+mid_flop+treb_flop+rand(5),entropy);
236per_frame_20=q1=mid_residual;
237per_frame_21=q2=bass_residual;
238per_frame_22=q3=treb_residual;
239per_frame_23=q4=sin(pulse);
240per_frame_24=q5=cos(pulse/2+q1);
241per_frame_25=q6=above(q1,0)+above(q2,0)+above(q3,0)+above(q3,0)*treb_flop+above(q2,0)*bass_flop+above(q1,0)*mid_flop;
242per_frame_26=q7=entropy;
243per_frame_27=q8=sin(q6*q1+q7*q2);
244per_frame_28=zoom=zoom+.02*q8;
245per_frame_29=wave_mystery=sin(q1+q5);
246per_frame_30=wave_r=wave_r+.5*sin(q1+q2*2+q4*2.1);
247per_frame_31=wave_b=wave_b+.5*sin(q2+q3*2+q4*2.2);
248per_frame_32=wave_g=wave_g+.5*sin(q3+q1*2+q4*2.3);
249per_frame_33=ob_r=if(bass_flop,ob_r+.5*sin(q1+q3*1.14+q2),wave_b);
250per_frame_34=ob_b=if(treb_flop,ob_b+.5*sin(q2+q1*1.14+q3),wave_g);
251per_frame_35=ob_g=if(mid_flop,ob_g+.5*sin(q3+q2*1.14+q1),wave_r);
252per_frame_36=ib_r=if(bass_flop,ob_b,ib_r+.5*cos(q5+q1*2.14));
253per_frame_37=ib_b=if(treb_flop,ob_g,ib_b+.5*cos(q5+q2*2.14));
254per_frame_38=ib_g=if(mid_flop,ob_r,ib_g+.5*cos(q5+q3*2.14));
255per_frame_39=mv_r=mv_r+.5*sin(q4+q5*1.14*q1);
256per_frame_40=mv_b=mv_b+.5*sin(q4+q5*1.14*q2);
257per_frame_41=mv_g=mv_g+.5*sin(q5+q5*1.14*q3);
258per_frame_42=ob_a=.25+.25*sin(q2+q3*2.14);
259per_frame_43=ib_a=.5+.5*sin(q2*2.14+q3);
260per_frame_44=mv_a=mv_a+mv_a*sin(q3*2.14+q2);
261per_frame_45=ob_size=.1+.1*sin(q3*3+q1);
262per_frame_46=ib_size=ib_size*.5+ib_size*.25*sin(q1*3+q3);
263per_frame_47=wave_mode=q6+above(q4,0)+above(q5,0);
264per_frame_48=wave_mystery=sin(q3*1.14+q1*1.14+q2);
265per_frame_49=mv_l=(q6*q7)*q2;
266per_frame_50=wave_x=wave_x+.1*q7*q4;
267per_frame_51=wave_y=wave_y+.1*q6*q5;
268per_frame_52=mv_x=q6*q7;
269per_frame_53=mv_y=q6*q7;
270per_frame_54=monitor=q1;
271per_pixel_1=grid=(x*q7*3)%2+above(y,.5+.25)*above(q6,4);
272per_pixel_2=zoom=zoom+.07*cos(sin(rad*2.14*q3+abs(rad-.1*grid))*2.14+rad*sin(q4*2.14+q1))*bnot(grid);
273per_pixel_3=rot=.05*equal(grid,0)*cos(rad*2.14*q2+q3)*(q2+q3);