MILKDROP_PRESET_VERSION=201 PSVERSION=3 PSVERSION_WARP=2 PSVERSION_COMP=3 [preset00] fRating=4.000 fGammaAdj=2.000 fDecay=0.990 fVideoEchoZoom=2.000 fVideoEchoAlpha=0.000 nVideoEchoOrientation=0 nWaveMode=0 bAdditiveWaves=0 bWaveDots=0 bWaveThick=1 bModWaveAlphaByVolume=0 bMaximizeWaveColor=0 bTexWrap=0 bDarkenCenter=0 bRedBlueStereo=0 bBrighten=0 bDarken=0 bSolarize=0 bInvert=0 fWaveAlpha=0.000 fWaveScale=2.630 fWaveSmoothing=0.630 fWaveParam=0.000 fModWaveAlphaStart=1.000 fModWaveAlphaEnd=1.100 fWarpAnimSpeed=1.000 fWarpScale=1.331 fZoomExponent=1.22019 fShader=0.000 zoom=1.05049 rot=0.00000 cx=0.500 cy=0.500 dx=0.00000 dy=0.00000 warp=0.01000 sx=1.00000 sy=1.00000 wave_r=1.000 wave_g=1.000 wave_b=1.000 wave_x=0.500 wave_y=0.500 ob_size=0.500 ob_r=0.010 ob_g=0.000 ob_b=0.000 ob_a=0.000 ib_size=0.260 ib_r=0.250 ib_g=0.250 ib_b=0.250 ib_a=0.000 nMotionVectorsX=12.000 nMotionVectorsY=9.000 mv_dx=1.000 mv_dy=1.000 mv_l=5.000 mv_r=1.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=1 wavecode_0_samples=128 wavecode_0_sep=0 wavecode_0_bSpectrum=0 wavecode_0_bUseDots=0 wavecode_0_bDrawThick=1 wavecode_0_bAdditive=0 wavecode_0_scaling=0.50000 wavecode_0_smoothing=0.50000 wavecode_0_r=0.000 wavecode_0_g=0.000 wavecode_0_b=0.000 wavecode_0_a=1.000 wave_0_per_point1=x=sample*0.48; wave_0_per_point2=y=0.5+(value1*0.5); wave_0_per_point3=g=above(0.20,abs(y-0.5)); wave_0_per_point4=r=below(0.10,abs(y-0.5)); wavecode_1_enabled=1 wavecode_1_samples=128 wavecode_1_sep=0 wavecode_1_bSpectrum=0 wavecode_1_bUseDots=0 wavecode_1_bDrawThick=1 wavecode_1_bAdditive=0 wavecode_1_scaling=0.50000 wavecode_1_smoothing=0.50000 wavecode_1_r=0.000 wavecode_1_g=0.000 wavecode_1_b=0.000 wavecode_1_a=1.000 wave_1_per_point1=x=0.52+(sample*0.48); wave_1_per_point2=y=0.5+(value2*0.5); wave_1_per_point3=g=above(0.20,abs(y-0.5)); wave_1_per_point4=r=below(0.10,abs(y-0.5)); 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=1 wavecode_3_samples=512 wavecode_3_sep=1 wavecode_3_bSpectrum=0 wavecode_3_bUseDots=0 wavecode_3_bDrawThick=1 wavecode_3_bAdditive=1 wavecode_3_scaling=1.00000 wavecode_3_smoothing=0.05000 wavecode_3_r=0.000 wavecode_3_g=0.000 wavecode_3_b=0.000 wavecode_3_a=1.000 wave_3_per_frame1=samples = 256 + 150*sin(time*.939493949); wave_3_per_frame2=vol = (bass_att +treb+mid+bass +mid_att + treb_att)*.333333; wave_3_per_frame3=vol_avg = .1*(vol_avg*9 + vol); wave_3_per_frame4=vg = vol_avg*.1; wave_3_per_frame5=t1 = if(above(vg,1.8),1.8,vg)*.23; wave_3_per_frame6=t5=samples; wave_3_per_point1=//is=sample*t5; is4=below((is/4)-int(is/4),1/4);is2=below((is/2)-int(is/2),1/2);is3=below(is/3-int(is/3),1/3); is9=int(is/9-int(is/9)*10); wave_3_per_point2=//div9=1/is9; wave_3_per_point3=//div0=0.5-div9; div1=1/div0; wave_3_per_point4=qx=x-.5; wave_3_per_point5=is=sample*t5; is4=below((is/4)-int(is/4),1/4); is2=below((is/2)-int(is/2),1/2); is3=below(is/3-int(is/3),1/3); wave_3_per_point6=is9=int(10*((is*9)-int(is*9))); div9=is/is9; div0=0.5-div9; div1=1/div0; isy=above(treb*(is/(bass+mid+mid_att)),9/y); //is9=int(((is*.9)-int(is*.9))*10); wave_3_per_point7=v1=value1+.5; v2=value2+.5; vol=1/(v1+v2);bal=qx+v2-v1;qqy=bal+max(y,(1-y))+vol; wave_3_per_point8=qqy-=int(qqy); voly=vol*.7+.13*(1-abs(y-.5)+max(qqy,1-qqy)); wave_3_per_point9=r=1+is2*2-b-is3*cos(bass_att)*1/(1+abs(is4*sin(bass+is9)));r*=3-b; wave_3_per_point10=g=1+is3*2-r-is4*cos(mid_att)*1/(1+abs(is4*sin(mid+is9)));g*=3-r; wave_3_per_point11=b=1+is4*2-g-is3*cos(treb_att) *1/(1+abs(is2*sin(treb+is9)));b*=3-g; wave_3_per_point12=//x=sample*2-1*.5+.5; size=size+(2.5*x); wave_3_per_point13=s=int(is)/2;even=equal(is/2,s); s/=t5/2; div=even*2-1; wave_3_per_point14=x2x=(s-int(s))*2-1+bal*voly; wave_3_per_point15=x2x*=.35; wave_3_per_point16=//y=y+q1; wave_3_per_point17=//y=y-q2; wave_3_per_point18=//y=y+((0.1*is4)-(0.1*is9)-(0.1*is3))*0.3; wave_3_per_point19=g-=int(g*1.3+b*div)+b;b-=int(b*1.3+r*div)+r;r-int(r*1.3+g*div)+b; wave_3_per_point20=y=vol*1/t1-((r+g*div+b)/(100+28*abs(qx)*div)); wave_3_per_point21=//y=y*0.0001; wave_3_per_point22=y+=5.3+.35*div;y*=.38+.02*qqy; y-=int(y);y*=.58; y+=.2; wave_3_per_point23=a=y*2-int(y*2);a-=int(a);a=max(a,1-a)-.5;a*=.2+.1*sin(isy); wave_3_per_point24=x=x2x+.5; shapecode_0_enabled=1 shapecode_0_sides=20 shapecode_0_additive=0 shapecode_0_thickOutline=1 shapecode_0_textured=0 shapecode_0_num_inst=1 shapecode_0_x=0.500 shapecode_0_y=0.500 shapecode_0_rad=0.04983 shapecode_0_ang=0.00000 shapecode_0_tex_ang=0.00000 shapecode_0_tex_zoom=1.00000 shapecode_0_r=0.000 shapecode_0_g=0.000 shapecode_0_b=0.000 shapecode_0_a=1.000 shapecode_0_r2=0.000 shapecode_0_g2=0.000 shapecode_0_b2=0.000 shapecode_0_a2=1.000 shapecode_0_border_r=0.000 shapecode_0_border_g=0.000 shapecode_0_border_b=1.000 shapecode_0_border_a=1.000 shape_0_per_frame1=myband = mid; shape_0_per_frame2=yscale=if(int(rand(2)),.003,-.003); shape_0_per_frame3=xscale=if(int(rand(2)),.003,-.003); shape_0_per_frame4=yvol=myband*yscale; shape_0_per_frame5=xvol=myband*xscale; shape_0_per_frame6=y=.5+yvol; shape_0_per_frame7=x=.5+xvol; shape_0_per_frame8= shape_0_per_frame9=rad=0.05+(myband*0.1); shape_0_per_frame10=r=above(myband,1.2); shape_0_per_frame11=r2=r; shape_0_per_frame12=g=below(myband,1.5); shape_0_per_frame13=g2=g; shape_0_per_frame14= shapecode_1_enabled=1 shapecode_1_sides=20 shapecode_1_additive=0 shapecode_1_thickOutline=1 shapecode_1_textured=0 shapecode_1_num_inst=1 shapecode_1_x=0.500 shapecode_1_y=0.700 shapecode_1_rad=0.04983 shapecode_1_ang=0.00000 shapecode_1_tex_ang=0.00000 shapecode_1_tex_zoom=1.00000 shapecode_1_r=0.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=1.000 shapecode_1_border_r=0.000 shapecode_1_border_g=0.000 shapecode_1_border_b=1.000 shapecode_1_border_a=1.000 shape_1_per_frame1=myband = treb; shape_1_per_frame2=yscale=if(int(rand(2)),.003,-.003); shape_1_per_frame3=xscale=if(int(rand(2)),.003,-.003); shape_1_per_frame4=yvol=myband*yscale; shape_1_per_frame5=xvol=myband*xscale; shape_1_per_frame6=y=.75+yvol; shape_1_per_frame7=x=.5+xvol; shape_1_per_frame8= shape_1_per_frame9=rad=0.05+(myband*0.1); shape_1_per_frame10=r=above(myband,1.2); shape_1_per_frame11=r2=r; shape_1_per_frame12=g=below(myband,1.5); shape_1_per_frame13=g2=g; shape_1_per_frame14= shape_1_per_frame15= shapecode_2_enabled=1 shapecode_2_sides=20 shapecode_2_additive=0 shapecode_2_thickOutline=1 shapecode_2_textured=0 shapecode_2_num_inst=1 shapecode_2_x=0.500 shapecode_2_y=0.300 shapecode_2_rad=0.04983 shapecode_2_ang=0.00000 shapecode_2_tex_ang=0.00000 shapecode_2_tex_zoom=1.00000 shapecode_2_r=0.000 shapecode_2_g=0.000 shapecode_2_b=0.000 shapecode_2_a=1.000 shapecode_2_r2=0.000 shapecode_2_g2=0.000 shapecode_2_b2=0.000 shapecode_2_a2=1.000 shapecode_2_border_r=0.000 shapecode_2_border_g=0.000 shapecode_2_border_b=1.000 shapecode_2_border_a=1.000 shape_2_per_frame1=myband = bass; shape_2_per_frame2=yscale=if(int(rand(2)),.003,-.003); shape_2_per_frame3=xscale=if(int(rand(2)),.003,-.003); shape_2_per_frame4=yvol=myband*yscale; shape_2_per_frame5=xvol=myband*xscale; shape_2_per_frame6=y=.25+yvol; shape_2_per_frame7=x=.5+xvol; shape_2_per_frame8= shape_2_per_frame9=rad=0.05+(myband*0.1); shape_2_per_frame10=r=above(myband,1.2); shape_2_per_frame11=r2=r; shape_2_per_frame12=g=below(myband,1.5); shape_2_per_frame13=g2=g; shape_2_per_frame14= shapecode_3_enabled=1 shapecode_3_sides=12 shapecode_3_additive=1 shapecode_3_thickOutline=1 shapecode_3_textured=0 shapecode_3_num_inst=70 shapecode_3_x=0.800 shapecode_3_y=0.500 shapecode_3_rad=0.03469 shapecode_3_ang=1.57070 shapecode_3_tex_ang=1.25664 shapecode_3_tex_zoom=3.07260 shapecode_3_r=1.000 shapecode_3_g=1.000 shapecode_3_b=1.000 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=1.000 shapecode_3_border_g=0.000 shapecode_3_border_b=0.000 shapecode_3_border_a=0.000 shape_3_init1=pie=22/7; reg17=time; reg16=time; reg19=frame;pks=0; shape_3_init2=num_inst=rand(num_inst)+rand(num_inst)-rand(num_inst/2)+num_inst; shape_3_init3=num=num_inst; shape_3_per_frame1=pie=22/7; shape_3_per_frame2=pi2=pie*2; shape_3_per_frame3=volt=((1+bass)*(1+mid)*(1+treb)); shape_3_per_frame4=vol=((1+bass_att)*(1+mid_att)*(1+treb_att)); shape_3_per_frame5=vol=sqrt(vol); volt=sqrt(volt); shape_3_per_frame6=t1 = tim - int (tim); pye=(pie*2)*cos(vol); shape_3_per_frame7= shape_3_per_frame8=sample = (instance+1)/num_inst; that=above(this,0); shape_3_per_frame9= shape_3_per_frame10=frm=((volt/(vol*1.028)))/4*pi2; tim=time-reg17; shape_3_per_frame11= shape_3_per_frame12=sfg=sample/frm*pye; shape_3_per_frame13= shape_3_per_frame14=t_abs = sample*3; t_rel = sample-time/frm; shape_3_per_frame15= shape_3_per_frame16=bts=above(volt*.96,vol)*below(treb_att,max(bass_att,mid_att))*above(vol+volt,pi2); shape_3_per_frame17= shape_3_per_frame18=bar+=if(that,bts,0); bar*=above(64,bar); shape_3_per_frame19=//reg88=bts;//int(this*4);//gate;this;//bts=if(below(that,0),0,bts); shape_3_per_frame20= shape_3_per_frame21=ampl = 2*t_abs/8*vol*.5; shape_3_per_frame22=this=time-reg16; shape_3_per_frame23= shape_3_per_frame24=//that1=that+max(this,that ; //oldreg=reg16-reg17;//tim; shape_3_per_frame25=reg16+=if(bts,this+.212,0); newreg=reg16-reg17; shape_3_per_frame26= shape_3_per_frame27= shape_3_per_frame28=this=time-reg16; shape_3_per_frame29=tz=tim+this+ shape_3_per_frame30=reg88=int(frm);// shape_3_per_frame31=//mon=mon+this;oldreg-//reg88=bar;//oldreg-oldreg;//oldreg-reg16+reg17;//reg16-reg17/newreg;//oldreg;//memthis;//sum;//volt/vol; shape_3_per_frame32= shape_3_per_frame33=//gate=1-max(((vol+volt))/pye,0);//pks=if(above(pm,pks*1.05),(pks-pks)+pm,pks);pm=(this)*60; shape_3_per_frame34=pwee=1/frm*sfg; shape_3_per_frame35=k1=sin(time/13); shape_3_per_frame36=k2=sin(time/(17+sfg)); shape_3_per_frame37=ox = ampl*sin (t_abs*(k1))*sin(this+tim/25)*(1-t_abs)*0.4; shape_3_per_frame38=oy = ampl*cos (t_abs*(27.5*k2)); shape_3_per_frame39=oz = -1 ; shape_3_per_frame40= shape_3_per_frame41=r = sqr(sin(t_rel*pye));g = sqr(sin(t_rel*pye));b = sqr (cos(t_rel*1.8)); shape_3_per_frame42= shape_3_per_frame43=//a=(0.1*(sin(t_abs*3)) + 0.6*q3*below (abs(1-t_abs-t1 ),0.3))*a; shape_3_per_frame44= shape_3_per_frame45=xang = time/9.78+t1; shape_3_per_frame46=yang = 0*time/7-this; shape_3_per_frame47=zang = -time/17.72-pye; shape_3_per_frame48=fov = 0.5; shape_3_per_frame49= shape_3_per_frame50= shape_3_per_frame51=// Rotation um x,y,z shape_3_per_frame52= shape_3_per_frame53=mx = ox*cos(zang) - oy*sin(zang); shape_3_per_frame54=my = ox*sin(zang) + oy*cos(zang); shape_3_per_frame55= shape_3_per_frame56=ox = mx; shape_3_per_frame57=oy = my; shape_3_per_frame58=mx = ox*cos(yang) + oz*sin(yang); shape_3_per_frame59=mz = - ox*sin(yang) + oz*cos(yang); shape_3_per_frame60=ox = mx; shape_3_per_frame61=oz = mz; shape_3_per_frame62=my = oy*cos(xang) - oz*sin(xang); shape_3_per_frame63=mz = oy*sin(xang) + oz*cos(xang); shape_3_per_frame64=oy = my; shape_3_per_frame65=oz = mz; shape_3_per_frame66= shape_3_per_frame67=oz = oz - 6; shape_3_per_frame68=x = ox*fov/oz +0.5; shape_3_per_frame69=//x = (x-.5)*0.75 + 0.5; shape_3_per_frame70=y = oy*fov/oz + 0.5; shape_3_per_frame71= per_frame_1=monitor=reg88; per_frame_2= per_frame_3=dx=.02*reg44; per_frame_4=zoom=zoom-.31*reg45; per_pixel_1=dx*=rad;zoom=zoom*((1-rad)+.5)-.061; warp_1=`sampler sampler_rand02; warp_2=`float4 texsize_rand02; // ...it's smart enough to get it from just this. warp_3=`shader_body warp_4=`{ warp_5=` // sample previous frame warp_6=` uv = uv_orig; warp_7=` float3 main = tex2D( sampler_main, uv ).xyz; warp_8=` warp_9=` float zoom = 1+main.x*.1; warp_10=` float rot = (main.y-main.z)*.1; warp_11=` float2 zcr = float2(.5,.5); warp_12=` float2 cr = float2(.5+q7*.3,.5+q6*.3); warp_13=` float2 newuv = uv; warp_14=` warp_15=` ///////////////////rotation//////////////// warp_16=` newuv = uv - cr; warp_17=` float s = sin(rot); warp_18=` float c = cos(rot); warp_19=` newuv = float2( (uv.x-cr.x)*c-(uv.y-cr.y)*s , (uv.x-cr.x)*s+(uv.y-cr.y)*c ); warp_20=` newuv = newuv + cr; warp_21=` ///////////////////rotation//////////////// warp_22=` warp_23=` ///////////////////zoom//////////////// warp_24=` newuv = newuv-zcr; warp_25=` newuv = newuv * zoom; warp_26=` newuv= newuv+zcr; warp_27=` ///////////////////zoom//////////////// warp_28=` warp_29=` warp_30=` float3 colorwarp = tex2D( sampler_main, newuv ).xyz *1.02; warp_31=` warp_32=` float3 color = tex2D(sampler_rand02, (uv-0.5)*0.2 + 0.5 ).xyz; warp_33=` ret = ( ( colorwarp ) ); warp_34=` // darken (decay) over time warp_35=` ret *= 0.98; //or try: ret -= 0.004; warp_36=`} comp_1=`sampler sampler_pw_noise_lq; comp_2=` comp_3=`float2 rs, rss, rss0, tmp, uvo; comp_4=`float3 noise; comp_5=` comp_6=`float2 complex_div(float2 numerator, float2 denominator){ comp_7=` return float2( numerator.x*denominator.x + numerator.y*denominator.y, comp_8=` numerator.y*denominator.x - numerator.x*denominator.y)/ comp_9=` (denominator.x*denominator.x + denominator.y*denominator.y); comp_10=`} comp_11=` comp_12=`float2 uv_polar(float2 domain, float2 center){ comp_13=` float2 c = domain - center; comp_14=` float rad_hq = length(c); comp_15=` float ang_hq = atan2(c.x,c.y); comp_16=` return float2(ang_hq, rad_hq); comp_17=`} comp_18=` comp_19=`float2 uv_polar_logarithmic(float2 domain, float2 center, int fins, float log_factor, float2 coord){ comp_20=` float2 polar = uv_polar(domain, center); comp_21=` return float2(polar.x*fins+coord.x, log_factor*log(polar.y) + coord.y); comp_22=`} comp_23=` comp_24=`float2 uv_moebius_transformation(float2 domain, float2 zeroPoint, float2 infinityPoint,float zoom){ comp_25=` return complex_div((domain - zeroPoint)*zoom, domain - infinityPoint)+0.5; comp_26=`} comp_27=` comp_28=`float2 uv_bipolar_logarithmic(float2 domain, float2 northPole, float2 southPole, int fins, float log_factor, float2 coord){ comp_29=` float2 help_uv = uv_moebius_transformation(domain, northPole, southPole, 1); comp_30=` return uv_polar_logarithmic(help_uv,0.5,fins,log_factor,coord)*float2(M_INV_PI_2,1); comp_31=`} comp_32=` comp_33=`float2 uv_scale(float2 domain, float2 center, float2 scale){ comp_34=` return center + (domain-center)*scale; comp_35=`} comp_36=`float2 uv_lens_half_sphere(float2 domain, float2 position, float radius, float refractivity){ comp_37=` float2 polar = uv_polar(domain, position); comp_38=` float cone = saturate(1-polar.y/radius); comp_39=` float halfsphere = sqrt(1-pow(cone-1,2)); comp_40=` float w = atan2(1-cone,halfsphere); comp_41=` float refrac_w = w-asin(sin(w)/refractivity); comp_42=` float refrac_d = 1-cone - sin(refrac_w)*halfsphere/cos(refrac_w); comp_43=` float2 refrac_uv =position+float2(sin(polar.x),cos(polar.x))*refrac_d*radius; comp_44=` bool mask =(length(domain-position)= 0); comp_58=` tmp = abs(frac(rss*8)-.5); comp_59=` float3 dots = saturate(.04/length(tmp)) *noise; comp_60=` rss = float2 (rss0.x,rss0.y+(time+o)/4); comp_61=` rss = mul(rss,float2x2(.7,.7,-.7,.7)); comp_62=` noise = (tex2D(sampler_pw_noise_lq,rss/32)-.5 >= 0); comp_63=` tmp = abs(frac(rss*8)-.5); comp_64=` dots += saturate(.02/length(tmp)) * noise; comp_65=` dots *= saturate(.2/abs(rss0.y)); comp_66=` return dots*dots; comp_67=`return 0; comp_68=`} comp_69=` comp_70=` comp_71=` comp_72=` comp_73=` comp_74=` comp_75=`shader_body comp_76=`{ comp_77=`uv = 0.5 + (uv-0.5)*aspect.wz; comp_78=`time *= 0.4; comp_79=` comp_80=`float2 pole1 =float2(0.1,0.5); comp_81=`float2 pole2 =float2(0.9,0.5); comp_82=` comp_83=`float stars = hardcore_stars(uv,pole1,0) + hardcore_stars(uv,pole2,2); comp_84=` comp_85=`uv = uv_bipolar_logarithmic(uv, pole1, pole2, 2, 0.3, float2(q26,q27)*float2(8,1)); comp_86=`uv = 0.5 + (1.0 - abs( frac( uv * 0.5 ) * 2 - 1.0 )-0.5)*0.98; // Eo.S. mirror code with cutted borders comp_87=`uv = uv.yx; comp_88=` comp_89=`float2 uv1 = uv; comp_90=`float2 d = texsize.zw*3; comp_91=`float3 dx = GetBlur1(uv1 + float2(1,0)*d) - GetBlur1(uv1 - float2(1,0)*d); comp_92=`float3 dy = GetBlur1(uv1 + float2(0,1)*d) - GetBlur1(uv1 - float2(0,1)*d); comp_93=`uv1 = uv+float2(dx.x,dy.x)*texsize.zw*32; comp_94=` ret = GetPixel(uv1).x*float3(1,0,0)*0.5; comp_95=` comp_96=`ret.x += (+dx.x - dy.x)*0.4; comp_97=`ret.x = pow(ret.x,0.8)*1.2; comp_98=` comp_99=`ret = lerp(ret,float3(1,1,1),GetPixel(uv1).z); comp_100=` comp_101=`//ret = lerp(ret,1-GetPixel(uv)*1.5,stars); comp_102=`} comp_103=` comp_104=`