MILKDROP_PRESET_VERSION=201
PSVERSION=2
PSVERSION_WARP=2
PSVERSION_COMP=2
[preset00]
fRating=2.000000
fGammaAdj=1.560
fDecay=1.000
fVideoEchoZoom=0.362
fVideoEchoAlpha=0.000
nVideoEchoOrientation=1
nWaveMode=2
bAdditiveWaves=0
bWaveDots=0
bWaveThick=0
bModWaveAlphaByVolume=0
bMaximizeWaveColor=1
bTexWrap=0
bDarkenCenter=1
bRedBlueStereo=0
bBrighten=0
bDarken=1
bSolarize=0
bInvert=0
fWaveAlpha=3.222
fWaveScale=0.685
fWaveSmoothing=0.750
fWaveParam=0.000
fModWaveAlphaStart=0.750
fModWaveAlphaEnd=0.950
fWarpAnimSpeed=1.000
fWarpScale=1.000
fZoomExponent=2.21668
fShader=1.000
zoom=0.99990
rot=0.00000
cx=0.500
cy=0.500
dx=0.00001
dy=0.00001
warp=0.01000
sx=1.00000
sy=1.00000
wave_r=0.500
wave_g=0.500
wave_b=0.500
wave_x=0.500
wave_y=0.500
ob_size=0.050
ob_r=0.500
ob_g=0.500
ob_b=0.500
ob_a=0.000
ib_size=0.025
ib_r=0.000
ib_g=0.000
ib_b=0.000
ib_a=0.000
nMotionVectorsX=64.000
nMotionVectorsY=48.000
mv_dx=0.000
mv_dy=0.000
mv_l=5.000
mv_r=0.000
mv_g=1.000
mv_b=1.000
mv_a=0.000
b1n=0.000
b2n=0.000
b3n=0.000
b1x=1.000
b2x=1.000
b3x=1.000
b1ed=0.250
wavecode_0_enabled=0
wavecode_0_samples=512
wavecode_0_sep=0
wavecode_0_bSpectrum=0
wavecode_0_bUseDots=0
wavecode_0_bDrawThick=0
wavecode_0_bAdditive=0
wavecode_0_scaling=1.00000
wavecode_0_smoothing=0.50000
wavecode_0_r=1.000
wavecode_0_g=1.000
wavecode_0_b=1.000
wavecode_0_a=1.000
wavecode_1_enabled=0
wavecode_1_samples=512
wavecode_1_sep=0
wavecode_1_bSpectrum=0
wavecode_1_bUseDots=0
wavecode_1_bDrawThick=0
wavecode_1_bAdditive=0
wavecode_1_scaling=1.00000
wavecode_1_smoothing=0.50000
wavecode_1_r=1.000
wavecode_1_g=1.000
wavecode_1_b=1.000
wavecode_1_a=1.000
wavecode_2_enabled=0
wavecode_2_samples=512
wavecode_2_sep=0
wavecode_2_bSpectrum=0
wavecode_2_bUseDots=0
wavecode_2_bDrawThick=0
wavecode_2_bAdditive=0
wavecode_2_scaling=1.00000
wavecode_2_smoothing=0.50000
wavecode_2_r=1.000
wavecode_2_g=1.000
wavecode_2_b=1.000
wavecode_2_a=1.000
wavecode_3_enabled=0
wavecode_3_samples=512
wavecode_3_sep=0
wavecode_3_bSpectrum=0
wavecode_3_bUseDots=0
wavecode_3_bDrawThick=0
wavecode_3_bAdditive=0
wavecode_3_scaling=1.00000
wavecode_3_smoothing=0.50000
wavecode_3_r=1.000
wavecode_3_g=1.000
wavecode_3_b=1.000
wavecode_3_a=1.000
shapecode_0_enabled=1
shapecode_0_sides=100
shapecode_0_additive=1
shapecode_0_thickOutline=0
shapecode_0_textured=1
shapecode_0_num_inst=1
shapecode_0_x=0.500
shapecode_0_y=0.500
shapecode_0_rad=1.79142
shapecode_0_ang=0.00000
shapecode_0_tex_ang=0.06283
shapecode_0_tex_zoom=1.00000
shapecode_0_r=1.000
shapecode_0_g=1.000
shapecode_0_b=1.000
shapecode_0_a=0.080
shapecode_0_r2=1.000
shapecode_0_g2=1.000
shapecode_0_b2=1.000
shapecode_0_a2=0.080
shapecode_0_border_r=1.000
shapecode_0_border_g=1.000
shapecode_0_border_b=1.000
shapecode_0_border_a=0.000
shape_0_per_frame1=additive = q1;
shape_0_per_frame2=a = if(q1,1,a);
shape_0_per_frame3=a2 = a;
shape_0_per_frame4=r = q1;
shape_0_per_frame5=r2 =q1;
shape_0_per_frame6=tex_zoom = 3 - 3*bass;
shapecode_1_enabled=1
shapecode_1_sides=100
shapecode_1_additive=1
shapecode_1_thickOutline=0
shapecode_1_textured=1
shapecode_1_num_inst=1
shapecode_1_x=0.500
shapecode_1_y=0.500
shapecode_1_rad=1.79142
shapecode_1_ang=0.00000
shapecode_1_tex_ang=0.06283
shapecode_1_tex_zoom=1.00000
shapecode_1_r=1.000
shapecode_1_g=0.000
shapecode_1_b=1.000
shapecode_1_a=0.080
shapecode_1_r2=1.000
shapecode_1_g2=1.000
shapecode_1_b2=0.000
shapecode_1_a2=0.080
shapecode_1_border_r=1.000
shapecode_1_border_g=1.000
shapecode_1_border_b=1.000
shapecode_1_border_a=0.000
shape_1_per_frame1=additive = q1;
shape_1_per_frame2=a = if(q1,1,a);
shape_1_per_frame3=a2 = a;
shape_1_per_frame4=r = q1;
shape_1_per_frame5=r2 =q1;
shape_1_per_frame6=tex_zoom = 3 - 2*bass;
shapecode_2_enabled=1
shapecode_2_sides=100
shapecode_2_additive=0
shapecode_2_thickOutline=1
shapecode_2_textured=1
shapecode_2_num_inst=1
shapecode_2_x=0.500
shapecode_2_y=0.500
shapecode_2_rad=0.91974
shapecode_2_ang=0.00000
shapecode_2_tex_ang=0.62832
shapecode_2_tex_zoom=1.03030
shapecode_2_r=1.000
shapecode_2_g=1.000
shapecode_2_b=1.000
shapecode_2_a=1.000
shapecode_2_r2=1.000
shapecode_2_g2=1.000
shapecode_2_b2=1.000
shapecode_2_a2=1.000
shapecode_2_border_r=0.000
shapecode_2_border_g=0.000
shapecode_2_border_b=0.000
shapecode_2_border_a=0.000
shape_2_per_frame1=tex_zoom = q1+tex_zoom;
shape_2_per_frame2=a2 = 1;
shape_2_per_frame3=border_a = q1;
shapecode_3_enabled=1
shapecode_3_sides=100
shapecode_3_additive=0
shapecode_3_thickOutline=0
shapecode_3_textured=0
shapecode_3_num_inst=1
shapecode_3_x=0.500
shapecode_3_y=0.500
shapecode_3_rad=0.13887
shapecode_3_ang=0.00000
shapecode_3_tex_ang=0.00000
shapecode_3_tex_zoom=1.00000
shapecode_3_r=1.000
shapecode_3_g=0.000
shapecode_3_b=0.000
shapecode_3_a=0.050
shapecode_3_r2=0.000
shapecode_3_g2=1.000
shapecode_3_b2=0.000
shapecode_3_a2=0.050
shapecode_3_border_r=1.000
shapecode_3_border_g=1.000
shapecode_3_border_b=1.000
shapecode_3_border_a=0.000
shape_3_per_frame1=r = 0.5 + 0.49*sin(time*0.2754);
shape_3_per_frame2=b = 0.5 + 0.49*sin(time*0.6254);
shape_3_per_frame3=g = 0.5 + 0.49*sin(time*0.514);
shape_3_per_frame4=r2 = 0.5 + 0.49*sin(time*0.475);
shape_3_per_frame5=b2 = 0.5 + 0.49*sin(time*0.2107);
shape_3_per_frame6=g2 = 0.5 + 0.49*sin(time*0.7714);
per_frame_1=// -------------------------------- Beat Detective 007 ----------------------------------
per_frame_2=sure=if(equal(sure,0),.6,sure);
per_frame_3=interval=if(equal(interval,0),40,interval);
per_frame_4=lastbeat=if(equal(lastbeat,0),frame-FPS,lastbeat);
per_frame_5=dbass=(bass-pbass)/FPS;
per_frame_6=beat=above(dbass,.6*maxdbass)*above(frame-lastbeat,FPS/3);
per_frame_7=sure=if(beat*below(abs(frame-(interval+lastbeat)),FPS/5),
per_frame_8=min(.095+sure,1),beat*(sure-.095)+(1-beat)*sure*.9996);
per_frame_9=sure=max(.5,sure);
per_frame_10=cheat=if(above(frame,lastbeat+interval+ int(FPS/10))*above(sure,.91),1,cheat);
per_frame_11=beat=if(cheat,1,beat);
per_frame_12=sure=if(cheat,.95*sure,sure);
per_frame_13=maxdbass=max(maxdbass*.999,dbass);
per_frame_14=maxdbass=max(.012,maxdbass);
per_frame_15=maxdbass=min(.02,maxdbass);
per_frame_16=interval=if(beat, frame-lastbeat,interval);
per_frame_17=lastbeat=if(beat,frame-cheat*int(FPS/10),lastbeat);
per_frame_18=cheat=0;
per_frame_19=pbass=bass;
per_frame_20=// ----------------------------------------------------------------------------------------------
per_frame_21=
per_frame_22=wave_r = .8*abs(cos( .07*time+.532 + sin( .125*time+.789) ));
per_frame_23=wave_g = .8*abs(cos( .092*time+2.1 + sin( .045*time+1.52) ));
per_frame_24=wave_b = .8*abs(cos( .1*time+1.452 + sin( .112*time+2.98) ));
per_frame_25=q1=beat;
per_frame_26=ib_a=beat;
per_frame_27=ib_r=1-wave_r;ib_g=1-wave_g;ib_b=1-wave_b;
per_frame_28=wave_mystery = 1-1.5*min(((frame-lastBeat)/interval),1);
per_frame_29=wave_a=if(above((frame-lastBeat)/interval,1),0,1);
per_frame_30=phase=if(equal(frame%interval,0),phase+1,phase);
per_frame_31=phase=if(equal(phase%18,17),0,phase);
per_frame_32=midphase=min((frame-lastBeat)/interval,1);
per_frame_33=sx=if(equal(phase,15)*equal(frame%interval,0),-1,sx);
per_frame_34=sy=if(equal(phase,26)*equal(frame%interval,0),-1,sy);
per_frame_35=phase = if(equal(frame%interval,0)*below(cos(time/6), -.5), (phase+rand(13))%14+1,phase);
per_frame_36=q2=phase;
per_frame_37=q3=midphase;
per_frame_38=
per_pixel_1=zoom =1+.01*sin(13.28*rad);
per_pixel_2=//zoom right
per_pixel_3=zoom=zoom+equal(q2,1)*q3*.1*(x-.5);
per_pixel_4=// zoom left
per_pixel_5=zoom=zoom+equal(q2,2)*q3*.1*(.5-x);
per_pixel_6=// zoom top
per_pixel_7=zoom=zoom+equal(q2,5)*q3*.1*(.5-y);
per_pixel_8=// zoom bottom
per_pixel_9=zoom=zoom+equal(q2,4)*q3*.1*(y-.5);
per_pixel_10=// rotate left
per_pixel_11=rot=rot+equal(q2,3)*q3*.3;
per_pixel_12=// rotate right
per_pixel_13=rot=rot-equal(q2,6)*q3*.3;
per_pixel_14=// scale x
per_pixel_15=sx=sx+equal(q2,7)*q3*.2;
per_pixel_16=// squash y
per_pixel_17=sy=sy-equal(q2,8)*q3*.2;
per_pixel_18=// squash x
per_pixel_19=sx=sx-equal(q2,9)*q3*.2;
per_pixel_20=// scale y;
per_pixel_21=sy=sy+equal(q2,10)*q3*.2;
per_pixel_22=// transpose+ vertical
per_pixel_23=dy=dy+equal(q2,11)*abs(.5-x)*sign(.5-x)*q3*.2;
per_pixel_24=// transpose+ horiz
per_pixel_25=dx=dx+equal(q2,12)*abs(.5-y)*sign(.5-y)*q3*.2;
per_pixel_26=// transpose- horiz
per_pixel_27=dx=dx-equal(q2,14)*abs(.5-y)*sign(.5-y)*q3*.2;
per_pixel_28=// transpose- vertical
per_pixel_29=dy=dy-equal(q2,13)*abs(.5-x)*sign(.5-x)*q3*.2;
warp_1=`shader_body
warp_2=`{
warp_3=`    // sample previous frame
warp_4=`    ret.xyz = tex2D( sampler_main, uv ).xyz;
warp_5=`
warp_6=`      // take the difference between the crisp and blurred images,
warp_7=`      // then add it back into the image.  Creates spots and stripes over time.
warp_8=`      ret.xyz += (ret.xyz - GetBlur2(uv))*0.3;
warp_9=`      ret.xyz *= 0.9;
warp_10=`
warp_11=`      // add noise:
warp_12=`      float2 dither_uv = uv_orig*texsize.xy*texsize_noise_lq.zw * 0.4 + rand_frame.xy;
warp_13=`      ret.xyz += (tex2D(sampler_noise_lq, dither_uv).xyz-0.5)/256.0 * 122 * saturate(treb_att-1);
warp_14=`
warp_15=`      // desaturate over time, to keep the globs white
warp_16=`      ret.xyz = lerp(ret.xyz, lum(ret.xyz), 0.2);
warp_17=`}
comp_1=`float2 d, uv_y;
comp_2=`float3 dx, dy;
comp_3=`shader_body
comp_4=`{
comp_5=`
comp_6=`    d = texsize.zw*8;
comp_7=`    dx = ( GetBlur1(uv+float2(1,0)*d)-GetBlur1(uv-float2(1,0)*d) );
comp_8=`    dy = ( GetBlur1(uv+float2(0,1)*d)-GetBlur1(uv-float2(0,1)*d) );
comp_9=`
comp_10=`float3 base = GetPixel(uv);
comp_11=`float3 emboss = (-dx + dy + 1)*1.2;
comp_12=`
comp_13=`    d = texsize.zw*2;
comp_14=`    dx = ( GetBlur1(uv+float2(1,0)*d)-GetBlur1(uv-float2(1,0)*d) );
comp_15=`    dy = ( GetBlur1(uv+float2(0,1)*d)-GetBlur1(uv-float2(0,1)*d) );
comp_16=`
comp_17=`float grad = length(float2(dx.x,dy.x));
comp_18=`
comp_19=`ret = lerp( float3(0.5,0.4,0.6)*base.x*emboss.x,
comp_20=`            float3(8,5,2)*grad,
comp_21=`            grad*4.2
comp_22=`          ); 
comp_23=`ret = lerp(ret,4*ret,GetPixel(uv).y*0.5-GetBlur1(uv).z*0.3*float3(0.3,1,1));
comp_24=`
comp_25=`grad = length(float2(dx.z,dy.z));
comp_26=`ret = lerp(ret, float3(2,2,0), grad*0.7);
comp_27=`}
comp_28=`
