PageRenderTime 11ms CodeModel.GetById 9ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/xbmc/visualizations/XBMCProjectM/libprojectM/presets/Rovastar - Harlequin's Dynamic Fractal 2.milk

http://github.com/xbmc/xbmc
Unknown | 110 lines | 110 code | 0 blank | 0 comment | 0 complexity | 8c158cc60ed706c81cb3661e95831780 MD5 | raw file
  1[preset00]
  2fRating=3.000000
  3fGammaAdj=1.000000
  4fDecay=1.000000
  5fVideoEchoZoom=0.999609
  6fVideoEchoAlpha=0.000000
  7nVideoEchoOrientation=0
  8nWaveMode=2
  9bAdditiveWaves=0
 10bWaveDots=0
 11bModWaveAlphaByVolume=0
 12bMaximizeWaveColor=1
 13bTexWrap=1
 14bDarkenCenter=0
 15bRedBlueStereo=0
 16bBrighten=0
 17bDarken=0
 18bSolarize=0
 19bInvert=0
 20fWaveAlpha=5.204482
 21fWaveScale=0.535238
 22fWaveSmoothing=0.270000
 23fWaveParam=-0.400000
 24fModWaveAlphaStart=0.750000
 25fModWaveAlphaEnd=0.950000
 26fWarpAnimSpeed=5.995790
 27fWarpScale=1.331000
 28fZoomExponent=1.010000
 29fShader=0.000000
 30zoom=0.998531
 31rot=0.002000
 32cx=0.500000
 33cy=0.500000
 34dx=0.000000
 35dy=0.000000
 36warp=0.010000
 37sx=1.000000
 38sy=1.000000
 39wave_r=0.500000
 40wave_g=0.500000
 41wave_b=0.500000
 42wave_x=0.100000
 43wave_y=0.860000
 44ob_size=0.010000
 45ob_r=0.000000
 46ob_g=0.900000
 47ob_b=0.200000
 48ob_a=1.000000
 49ib_size=0.000000
 50ib_r=0.500000
 51ib_g=0.500000
 52ib_b=0.500000
 53ib_a=1.000000
 54nMotionVectorsX=0.000000
 55nMotionVectorsY=48.000000
 56mv_l=5.000000
 57mv_r=1.000000
 58mv_g=1.000000
 59mv_b=1.000000
 60mv_a=0.000000
 61per_frame_1=ob_r = 0.3 - 0.3*(0.5*sin(time*0.901)+ 0.3*cos(time*1.438));
 62per_frame_2=ob_g = 0.4- 0.4*sin(time*3.924);
 63per_frame_3=ob_b = 0.35 - 0.3*cos(time*2.816);
 64per_frame_4=cx = cx - 0.1*sin(time*0.342);
 65per_frame_5=cy = cy + 0.1*sin(time*0.453);
 66per_frame_6=warp =0;
 67per_frame_7=volume = 0.15*(bass_att+bass+mid+mid_att);
 68per_frame_8=beatrate = if(equal(beatrate,0),1,if(below(volume,0.01),1,beatrate));
 69per_frame_9=lastbeat = if(equal(lastbeat,0),time,lastbeat);
 70per_frame_10=meanbass_att = 0.1*(meanbass_att*9 + bass_att);
 71per_frame_11=peakbass_att = if(above(bass_att,peakbass_att),bass_att,peakbass_att);
 72per_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);
 73per_frame_13=beatrate = max(if(beat,if(below(time-lastbeat,2*beatrate),0.1*(beatrate*9 + time - lastbeat),beatrate),beatrate),0.1);
 74per_frame_14=peakbass_att = if(equal(beat,0),if(above(time - lastbeat,2*beatrate),peakbass_att*0.95,peakbass_att*0.995),bass_att);
 75per_frame_15=lastbeat = if(beat,time,lastbeat);
 76per_frame_16=peakbass_att = max(if(beat,bass_att,peakbass_att),1.1*meanbass_att);
 77per_frame_17=q5 = if(beat,0.1*rand(1000),oldq5);
 78per_frame_18=oldq5 = q5;
 79per_frame_19=q3 = if(beat,0.1*rand(1000),oldq3);
 80per_frame_20=oldq3 = q3;
 81per_frame_21=ib_size = 0.005 + 0.02*sin(time*0.963);
 82per_frame_22=ob_size = 0.005+ 0.02*abs(sin(time*0.7834));
 83per_frame_23=ib_r = 0.8*(1- ob_r)+0.2;
 84per_frame_24=ib_g = 0.7*(1- ob_g)+0.3;
 85per_frame_25=ib_b = ib_b - 0.5*sin(time*1.731);
 86per_frame_26=wave_r = wave_r + 0.5*sin(time*0.734);
 87per_frame_27=wave_b = wave_b + 0.5*sin(time*0.615);
 88per_frame_28=wave_b = wave_b + 0.5*sin(time*0.714);
 89per_frame_29=xamptarg = if(equal(frame%15,0),min(0.5*volume*bass_att,0.5),xamptarg);
 90per_frame_30=xamp = xamp + 0.5*(xamptarg-xamp);
 91per_frame_31=xdir = if(above(abs(xpos),xamp),-sign(xpos),if(below(abs(xspeed),0.1),2*above(xpos,0)-1,xdir));
 92per_frame_32=xaccel = xdir*xamp - xpos - xspeed*0.055*below(abs(xpos),xamp);
 93per_frame_33=xspeed = xspeed + xdir*xamp - xpos - xspeed*0.055*below(abs(xpos),xamp);
 94per_frame_34=xpos = xpos + 0.001*xspeed;
 95per_frame_35=dx = 0.1*xpos;
 96per_frame_36=q2 = xpos;
 97per_frame_37=yamptarg = if(equal(frame%15,0),min(0.3*volume*treb_att,0.5),yamptarg);
 98per_frame_38=yamp = yamp + 0.5*(yamptarg-yamp);
 99per_frame_39=ydir = if(above(abs(ypos),yamp),-sign(ypos),if(below(abs(yspeed),0.1),2*above(ypos,0)-1,ydir));
100per_frame_40=yaccel = ydir*yamp - ypos - yspeed*0.055*below(abs(ypos),yamp);
101per_frame_41=yspeed = yspeed + ydir*yamp - ypos - yspeed*0.055*below(abs(ypos),yamp);
102per_frame_42=ypos = ypos + 0.001*yspeed;
103per_frame_43=dy =0.1*ypos;
104per_frame_44=q4 = ypos;
105per_pixel_1=box =0.12+2*x%2+2*y%2;
106per_pixel_2=q1 = 6.4+1.2*(sin(x+(0.6*time))-cos(y+(0.432*time)));
107per_pixel_3=zoom = if(above(box,1),q1*0.1,zoom);
108per_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);
109per_pixel_5=dx = if(above(box,1),q4*3,dx);
110per_pixel_6=dy= if(above(box,1),q2*3,dy);