MILKDROP_PRESET_VERSION=201
PSVERSION=3
PSVERSION_WARP=2
PSVERSION_COMP=3
[preset00]
fRating=1.000000
fGammaAdj=1.000
fDecay=0.964
fVideoEchoZoom=1.000
fVideoEchoAlpha=0.000
nVideoEchoOrientation=3
nWaveMode=0
bAdditiveWaves=1
bWaveDots=1
bWaveThick=1
bModWaveAlphaByVolume=0
bMaximizeWaveColor=0
bTexWrap=1
bDarkenCenter=1
bRedBlueStereo=0
bBrighten=0
bDarken=0
bSolarize=0
bInvert=0
fWaveAlpha=0.001
fWaveScale=0.527
fWaveSmoothing=0.000
fWaveParam=0.600
fModWaveAlphaStart=0.000
fModWaveAlphaEnd=1.320
fWarpAnimSpeed=1.459
fWarpScale=2.007
fZoomExponent=1.00000
fShader=0.000
zoom=1.00990
rot=0.00000
cx=0.500
cy=0.500
dx=0.00000
dy=0.00000
warp=0.01000
sx=0.99990
sy=1.00000
wave_r=1.000
wave_g=0.490
wave_b=1.000
wave_x=0.500
wave_y=0.500
ob_size=0.075
ob_r=0.000
ob_g=0.000
ob_b=0.000
ob_a=0.300
ib_size=0.010
ib_r=0.600
ib_g=0.400
ib_b=0.400
ib_a=0.000
nMotionVectorsX=64.000
nMotionVectorsY=48.000
mv_dx=0.000
mv_dy=0.000
mv_l=1.850
mv_r=0.500
mv_g=0.500
mv_b=0.500
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=1
wavecode_0_samples=200
wavecode_0_sep=90
wavecode_0_bSpectrum=0
wavecode_0_bUseDots=0
wavecode_0_bDrawThick=0
wavecode_0_bAdditive=0
wavecode_0_scaling=0.69073
wavecode_0_smoothing=0.10000
wavecode_0_r=0.000
wavecode_0_g=1.000
wavecode_0_b=1.000
wavecode_0_a=0.400
wave_0_per_frame1=r = 0.5+0.4*sin(time/7);
wave_0_per_frame2=g = 0.5+0.4*sin(time/3);
wave_0_per_frame3=b = 0.5+0.4*sin(time/5);
wave_0_per_frame4=
wave_0_per_frame5=t1 = 0.5 + (frame%2 - 0.5)*2*0.35/q32;
wave_0_per_point1=x = sample;
wave_0_per_point2=y = t1+value1;
wavecode_1_enabled=0
wavecode_1_samples=256
wavecode_1_sep=0
wavecode_1_bSpectrum=0
wavecode_1_bUseDots=1
wavecode_1_bDrawThick=0
wavecode_1_bAdditive=0
wavecode_1_scaling=0.89152
wavecode_1_smoothing=0.82000
wavecode_1_r=1.000
wavecode_1_g=1.000
wavecode_1_b=1.000
wavecode_1_a=0.900
wavecode_2_enabled=0
wavecode_2_samples=32
wavecode_2_sep=0
wavecode_2_bSpectrum=0
wavecode_2_bUseDots=0
wavecode_2_bDrawThick=1
wavecode_2_bAdditive=0
wavecode_2_scaling=0.89152
wavecode_2_smoothing=0.82000
wavecode_2_r=0.000
wavecode_2_g=0.200
wavecode_2_b=0.600
wavecode_2_a=1.000
wavecode_3_enabled=0
wavecode_3_samples=300
wavecode_3_sep=0
wavecode_3_bSpectrum=1
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=0
shapecode_0_sides=8
shapecode_0_additive=1
shapecode_0_thickOutline=0
shapecode_0_textured=0
shapecode_0_num_inst=256
shapecode_0_x=0.500
shapecode_0_y=0.500
shapecode_0_rad=0.03632
shapecode_0_ang=0.00000
shapecode_0_tex_ang=1.00531
shapecode_0_tex_zoom=1.53117
shapecode_0_r=1.000
shapecode_0_g=1.000
shapecode_0_b=1.000
shapecode_0_a=0.000
shapecode_0_r2=0.000
shapecode_0_g2=0.000
shapecode_0_b2=0.000
shapecode_0_a2=0.000
shapecode_0_border_r=0.000
shapecode_0_border_g=0.000
shapecode_0_border_b=0.000
shapecode_0_border_a=0.000
shapecode_1_enabled=1
shapecode_1_sides=4
shapecode_1_additive=1
shapecode_1_thickOutline=1
shapecode_1_textured=0
shapecode_1_num_inst=20
shapecode_1_x=0.260
shapecode_1_y=0.200
shapecode_1_rad=0.43430
shapecode_1_ang=0.00000
shapecode_1_tex_ang=0.00000
shapecode_1_tex_zoom=0.93550
shapecode_1_r=1.000
shapecode_1_g=0.000
shapecode_1_b=0.000
shapecode_1_a=1.000
shapecode_1_r2=0.000
shapecode_1_g2=0.000
shapecode_1_b2=0.000
shapecode_1_a2=0.200
shapecode_1_border_r=1.000
shapecode_1_border_g=0.000
shapecode_1_border_b=0.000
shapecode_1_border_a=1.000
shape_1_init1=n = 0;
shape_1_init2=loop (num_inst, 
shape_1_init3=megabuf(n*8) = rand(1)-0.5;
shape_1_init4=megabuf(n*8+1) = (rand(1)-0.5)*0.2;
shape_1_init5=megabuf(n*8+2) = rand(1);
shape_1_init6=megabuf(n*8+3) = rand(1);
shape_1_init7=megabuf(n*8+4) = rand(1);
shape_1_init8=n+= 1);
shape_1_per_frame1=trel = time/2;
shape_1_per_frame2=z = instance/num_inst-trel;
shape_1_per_frame3=z = (z - int(z))*13;
shape_1_per_frame4=
shape_1_per_frame5=
shape_1_per_frame6=x =  megabuf(instance*8)/z*(1+0.6*sin(time*1.8+instance));
shape_1_per_frame7=y = megabuf(instance*8+1)/z*(1+0.6*sin(time*3+instance));
shape_1_per_frame8=r1 = sqrt(0.25*pow(x/2,2)+pow(y,2));
shape_1_per_frame9=x += 0.5;
shape_1_per_frame10=y += 0.5;
shape_1_per_frame11=fac = min(1,0.008/abs(r1-0.1/treb_att))*mid_att;
shape_1_per_frame12=rad = 0.05/z*fac;
shape_1_per_frame13=rad = min(rad,0.4);
shape_1_per_frame14=border_r = megabuf(instance*8+2);
shape_1_per_frame15=border_g = megabuf(instance*8+3);
shape_1_per_frame16=border_b = megabuf(instance*8+4);
shape_1_per_frame17=r = megabuf(instance*8+2);
shape_1_per_frame18=g = megabuf(instance*8+3);
shape_1_per_frame19=b = megabuf(instance*8+4);
shape_1_per_frame20=
shape_1_per_frame21=
shape_1_per_frame22=a =fac*0.3; a2=0;border_a = a;
shape_1_per_frame23=
shapecode_2_enabled=1
shapecode_2_sides=4
shapecode_2_additive=0
shapecode_2_thickOutline=0
shapecode_2_textured=0
shapecode_2_num_inst=3
shapecode_2_x=0.650
shapecode_2_y=0.380
shapecode_2_rad=0.01220
shapecode_2_ang=0.00000
shapecode_2_tex_ang=0.00000
shapecode_2_tex_zoom=8.02539
shapecode_2_r=1.000
shapecode_2_g=0.000
shapecode_2_b=0.000
shapecode_2_a=0.700
shapecode_2_r2=0.000
shapecode_2_g2=0.000
shapecode_2_b2=0.000
shapecode_2_a2=0.000
shapecode_2_border_r=0.500
shapecode_2_border_g=0.500
shapecode_2_border_b=0.000
shapecode_2_border_a=0.000
shape_2_per_frame1=k1 = instance+time*0.23;
shape_2_per_frame2=x = .5 + .3*sin(instance+k1*4);
shape_2_per_frame3=y = .5 + .3 * sin(instance+k1*3);
shape_2_per_frame4=
shape_2_per_frame5=rad = .1;
shape_2_per_frame6=r=g=b=0;
shape_2_per_frame7=a = 0.5; a2 = 0;
shapecode_3_enabled=0
shapecode_3_sides=14
shapecode_3_additive=1
shapecode_3_thickOutline=1
shapecode_3_textured=1
shapecode_3_num_inst=11
shapecode_3_x=0.600
shapecode_3_y=0.550
shapecode_3_rad=0.59124
shapecode_3_ang=1.25664
shapecode_3_tex_ang=0.00000
shapecode_3_tex_zoom=0.34933
shapecode_3_r=0.000
shapecode_3_g=0.000
shapecode_3_b=0.800
shapecode_3_a=1.000
shapecode_3_r2=0.000
shapecode_3_g2=0.000
shapecode_3_b2=0.000
shapecode_3_a2=0.000
shapecode_3_border_r=0.200
shapecode_3_border_g=0.700
shapecode_3_border_b=0.500
shapecode_3_border_a=0.000
per_frame_init_1=n = -5000; loop (20000, megabuf(n)=0; gmegabuf(n)=0; n +=1; );
per_frame_init_2=
per_frame_init_3=MINBPM = 80; MAXBPM = 200; num_res = 80; num_sig=3;
per_frame_init_4=blocksize = num_res*12+12; 
per_frame_init_5=reg04 = blocksize;
per_frame_init_6=
per_frame_init_7=sig = 0;
per_frame_init_8=loop (num_sig,
per_frame_init_9=  index = 0;
per_frame_init_10=  loop (num_res,
per_frame_init_11=    n = blocksize*sig + 12*index;
per_frame_init_12=    BPM      = minbpm * pow(maxbpm/minbpm,index/num_res);
per_frame_init_13=    gmegabuf(n) = BPM;
per_frame_init_14=    index += 1;
per_frame_init_15=  );
per_frame_init_16=sig+=1);
per_frame_init_17=
per_frame_init_18=pi = 3.1416;
per_frame_init_19=OCTAVE = (num_res) * log(2) / log (MAXBPM / MINBPM);
per_frame_init_20=
per_frame_init_21=prog = 0;
per_frame_init_22=bindex = rand(8);
per_frame_init_23=count5 = rand(8);
per_frame_1=dt = min (1/fps,0.1) ; //Stability !
per_frame_2=dec_f = 0.8; dec_m = 1 - 4*dt; dec_s = 1 - dt;
per_frame_3=
per_frame_4=beat = max (max (bass, mid), treb); 
per_frame_5=avg = avg*dec_s + beat*(1-dec_s);
per_frame_6=is_beat = above(beat, .5+avg+peak) * above (time, t0+.25);
per_frame_7=t0 = is_beat*time + (1-is_beat)*t0;
per_frame_8=peak = is_beat * beat + (1-is_beat)*peak*dec_m;
per_frame_9=bindex = (bindex + is_beat) %8;
per_frame_10=bindex2 += is_beat*!bindex;
per_frame_11=q24 = is_beat;
per_frame_12=
per_frame_13=
per_frame_14=//Vol delay chain 
per_frame_15=vol = (bass+mid+treb);
per_frame_16=tr2  += vol*dt;
per_frame_17=q6 = tr2;
per_frame_18=
per_frame_19=vol_=vol_*0.8 + 0.2*vol;
per_frame_20=tvol = tvol*0.8 + 0.2*(vol-vol_);
per_frame_21=n = 50100; loop (100, gmegabuf (n) = gmegabuf (n-1); n -= 1; ); gmegabuf (50000) = tvol;
per_frame_22=q1 = vol-vol_;
per_frame_23=
per_frame_24=q5 = 0.025*sin(time*0.17);
per_frame_25=monitor = q6;
per_frame_26=
per_frame_27=
per_frame_28=q8 = sin(tr2*0.078);
per_frame_29=q9 = sin(tr2*0.019);
per_frame_30=
per_frame_31=wx += q8*dt/2;
per_frame_32=wy += (1+q9)*dt/2;
per_frame_33=q18 = wx;
per_frame_34=q19 = wy;
per_frame_35=q32=aspecty;
per_pixel_1=warp = .0; rot = .0;
per_pixel_2=
per_pixel_3=zoom = 0.99+ 0.06*abs(pow(gmegabuf(50000+rad*30),1));
per_pixel_4=zoom -= -q5*((sin(ang*3+q6*0.2)<0)-0.5);
per_pixel_5=
per_pixel_6=dx = q8*(1-rad*2)*0.003;
per_pixel_7=dy = q9*(1-rad*2)*0.003;
warp_1=`shader_body
warp_2=`{
warp_3=`float2 dither_uv = uv_orig*texsize.xy*texsize_noise_lq.zw + rand_frame.xy;
warp_4=`float2 udith = tex2D(sampler_noise_lq,uv*4+rand_frame)-0.5;
warp_5=`ret= tex2D( sampler_main, uv + udith*0.002);
warp_6=`
warp_7=`ret += (ret.xyz - GetBlur1(uv))*0.4;
warp_8=`ret *= 0.91;
warp_9=`
warp_10=`ret += (tex2D(sampler_noise_lq, dither_uv).xyz-0.5).r*0.02 * saturate(1-treb_att);
warp_11=`
warp_12=`ret = lerp(ret.xyz, 1*lum(ret.xyz), 0.03)*(0.92-0.2*lum(GetBlur1(uv)));
warp_13=`
warp_14=`//ret = 0;
warp_15=`}
comp_1=`#define sat saturate
comp_2=`float z, z0, w0, radi;
comp_3=`float2 uv1, uv2;
comp_4=`static const int anz = 30;
comp_5=`static const float2 ver = texsize.zw*float2(q8*0.1,1);
comp_6=`
comp_7=`shader_body {
comp_8=`//WASSER
comp_9=`uv1 = uv-float2(0.5,0.6);
comp_10=`float z = .3/(uv1.y);
comp_11=`float2 rs0 = float2 (uv1.x * z, z);
comp_12=`float2 rs = (rs0 + float2 (0,time));
comp_13=`float3 water = tex2D(sampler_noise_hq,rs)+tex2D(sampler_noise_hq,rs*2+time*0.3)/2-0.75;
comp_14=`float2 uv_wat = uv+water*0.03/z;
comp_15=`
comp_16=`float mask = saturate(2/z)*(rand_preset.x > 0.3);
comp_17=`
comp_18=`uv = lerp (uv,uv_wat,mask);
comp_19=`float3 shine = GetPixel(uv); radi = 1;
comp_20=`
comp_21=`for (int n=1; n <= anz;  n++)
comp_22=`{ 
comp_23=`  shine = shine+0.5*(1-1.0*n/anz)*GetBlur1(frac(uv+radi*ver));
comp_24=`radi += 8;
comp_25=`}
comp_26=`ret = pow(shine/1.5*(1-mask*0.7),.8);
comp_27=`
comp_28=`
comp_29=`}
comp_30=`written by martin
comp_31=`END
