491 lines
16 KiB
Plaintext
491 lines
16 KiB
Plaintext
|
MILKDROP_PRESET_VERSION=201
|
||
|
PSVERSION=2
|
||
|
PSVERSION_WARP=2
|
||
|
PSVERSION_COMP=2
|
||
|
[preset00]
|
||
|
fRating=5.000000
|
||
|
fGammaAdj=1.000
|
||
|
fDecay=0.980
|
||
|
fVideoEchoZoom=2.000
|
||
|
fVideoEchoAlpha=0.000
|
||
|
nVideoEchoOrientation=0
|
||
|
nWaveMode=0
|
||
|
bAdditiveWaves=0
|
||
|
bWaveDots=0
|
||
|
bWaveThick=1
|
||
|
bModWaveAlphaByVolume=0
|
||
|
bMaximizeWaveColor=0
|
||
|
bTexWrap=1
|
||
|
bDarkenCenter=0
|
||
|
bRedBlueStereo=0
|
||
|
bBrighten=0
|
||
|
bDarken=0
|
||
|
bSolarize=0
|
||
|
bInvert=0
|
||
|
fWaveAlpha=0.004
|
||
|
fWaveScale=0.037
|
||
|
fWaveSmoothing=0.000
|
||
|
fWaveParam=-0.440
|
||
|
fModWaveAlphaStart=1.000
|
||
|
fModWaveAlphaEnd=1.000
|
||
|
fWarpAnimSpeed=9.861
|
||
|
fWarpScale=16.217
|
||
|
fZoomExponent=1.50374
|
||
|
fShader=0.000
|
||
|
zoom=1.00000
|
||
|
rot=0.00000
|
||
|
cx=0.500
|
||
|
cy=0.500
|
||
|
dx=0.00000
|
||
|
dy=0.00000
|
||
|
warp=1.00000
|
||
|
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.040
|
||
|
ob_size=0.010
|
||
|
ob_r=1.000
|
||
|
ob_g=0.100
|
||
|
ob_b=0.000
|
||
|
ob_a=1.000
|
||
|
ib_size=0.050
|
||
|
ib_r=0.000
|
||
|
ib_g=0.000
|
||
|
ib_b=0.000
|
||
|
ib_a=1.000
|
||
|
nMotionVectorsX=64.000
|
||
|
nMotionVectorsY=48.000
|
||
|
mv_dx=0.000
|
||
|
mv_dy=0.000
|
||
|
mv_l=0.000
|
||
|
mv_r=1.000
|
||
|
mv_g=1.000
|
||
|
mv_b=0.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=1
|
||
|
wavecode_0_bDrawThick=0
|
||
|
wavecode_0_bAdditive=0
|
||
|
wavecode_0_scaling=2.44415
|
||
|
wavecode_0_smoothing=0.00000
|
||
|
wavecode_0_r=1.000
|
||
|
wavecode_0_g=1.000
|
||
|
wavecode_0_b=1.000
|
||
|
wavecode_0_a=0.000
|
||
|
wave_0_init1=t2 = 0;
|
||
|
wave_0_init2=t3 = 0;
|
||
|
wave_0_init3=t4 = 0;
|
||
|
wave_0_init4=cl = 0;
|
||
|
wave_0_per_frame1=t1 = 0;
|
||
|
wave_0_per_frame2=v = 0.01;
|
||
|
wave_0_per_frame3=j = j + (bass)*0.01;
|
||
|
wave_0_per_frame4=j2 = j2 + (mid_att)*0.01;
|
||
|
wave_0_per_frame5=j3 = j3 + (treb_att)*0.01;
|
||
|
wave_0_per_frame6=t2 = j;
|
||
|
wave_0_per_frame7=t3 = j2;
|
||
|
wave_0_per_frame8=t4 = j3;
|
||
|
wave_0_per_frame9=//t5 = 0;
|
||
|
wave_0_per_frame10=k = k*0.99 + 10*mid/fps;
|
||
|
wave_0_per_frame11=t5 = -k;
|
||
|
wave_0_per_frame12=
|
||
|
wave_0_per_frame13=cl1 = cl1 + 0.002;
|
||
|
wave_0_per_frame14=cl1 = if(above(cl1,1),0,cl1);
|
||
|
wave_0_per_frame15=cl1 = if(below(cl1,0),1,cl1);
|
||
|
wave_0_per_frame16=t8 = cl1;
|
||
|
wave_0_per_frame17=
|
||
|
wave_0_per_frame18=cl2 = cl2 -1*q1;
|
||
|
wave_0_per_frame19=cl2 = if(above(cl2,1),0,cl2);
|
||
|
wave_0_per_frame20=cl2 = if(below(cl2,0),1,cl2);
|
||
|
wave_0_per_frame21=t7 = cl2;
|
||
|
wave_0_per_frame22=
|
||
|
wave_0_per_frame23=cl3 = cl3 +0.001;
|
||
|
wave_0_per_frame24=cl3 = if(above(cl3,1),0,cl3);
|
||
|
wave_0_per_frame25=cl3 = if(below(cl3,0),1,cl3);
|
||
|
wave_0_per_frame26=t6 = cl3;
|
||
|
wave_0_per_point1=xx = ((sample*0983624912364)%10000000+100)/10000000;
|
||
|
wave_0_per_point2=yy = ((xx*1896575575)%10000000+100)/10000000;
|
||
|
wave_0_per_point3=zz = ((yy*58652340875)%10000000+100)/10000000;
|
||
|
wave_0_per_point4=
|
||
|
wave_0_per_point5=
|
||
|
wave_0_per_point6=d = sqrt(sqr(xx)+sqr(yy)+sqr(zz));
|
||
|
wave_0_per_point7=
|
||
|
wave_0_per_point8=zz = zz + t8 - if(above(zz+t8,1),1,0) - 0.5;
|
||
|
wave_0_per_point9=xx = xx + t7 - if(above(xx+t7,1),1,0) - 0.5;
|
||
|
wave_0_per_point10=yy = yy + t6 - if(above(yy+t6,1),1,0) - 0.5;
|
||
|
wave_0_per_point11=
|
||
|
wave_0_per_point12=v = 0.001;
|
||
|
wave_0_per_point13=
|
||
|
wave_0_per_point14=w = 1;// (sample*sin(time*0.3)*0.01-1);
|
||
|
wave_0_per_point15=bb = d*d*0.5;
|
||
|
wave_0_per_point16=n= 0.3;
|
||
|
wave_0_per_point17=s1 = sin(sin(t2*w+bb)*n);
|
||
|
wave_0_per_point18=s2 = sin(sin(t3*w+bb)*n);
|
||
|
wave_0_per_point19=s3 = sin(sin(t4*w+bb)*n);
|
||
|
wave_0_per_point20=c1 = cos(sin(t2*w+bb)*n);
|
||
|
wave_0_per_point21=c2 = cos(sin(t3*w+bb)*n);
|
||
|
wave_0_per_point22=c3 = cos(sin(t4*w+bb)*n);
|
||
|
wave_0_per_point23=
|
||
|
wave_0_per_point24=z = (c3*s1*c2 + s3*s2)*xx - (c3*s1*s2-s3*c2)*yy + c3*c1*zz;
|
||
|
wave_0_per_point25=x1 = (c1*c2*xx + c1*s2*yy - s1*zz);
|
||
|
wave_0_per_point26=y1 = ((s3*s1*c2 - c3*s2)*xx + (s3*s1*s2+c3*c2)*yy + s3*c1*zz);
|
||
|
wave_0_per_point27=
|
||
|
wave_0_per_point28=zoom = .5*(1/(z+0.5));
|
||
|
wave_0_per_point29=x = 0.5 + zoom*x1 + sin(time*0.1)*0.;;
|
||
|
wave_0_per_point30=y = 0.5 + zoom*y1 + cos(time*0.16801)*0.;
|
||
|
wave_0_per_point31=
|
||
|
wave_0_per_point32=pi3 = 3.1415*2*0.3333;
|
||
|
wave_0_per_point33=t = z*2+t2*1;
|
||
|
wave_0_per_point34=c=3;
|
||
|
wave_0_per_point35=//r = sin(t)*c;
|
||
|
wave_0_per_point36=
|
||
|
wave_0_per_point37=//g = sin(t+pi3)*c;
|
||
|
wave_0_per_point38=
|
||
|
wave_0_per_point39=//b = sin(t-pi3)*c;
|
||
|
wave_0_per_point40=
|
||
|
wave_0_per_point41=
|
||
|
wave_0_per_point42=r = if(above(r,1),1,r);
|
||
|
wave_0_per_point43=r = if(below(r,0),0,r);
|
||
|
wave_0_per_point44=g = if(above(g,1),1,g);
|
||
|
wave_0_per_point45=g = if(below(g,0),0,g);
|
||
|
wave_0_per_point46=b = if(above(b,1),1,b);
|
||
|
wave_0_per_point47=b = if(below(b,0),0,b);
|
||
|
wave_0_per_point48=
|
||
|
wave_0_per_point49=a = 0.4;
|
||
|
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=7.75180
|
||
|
wavecode_1_smoothing=0.00000
|
||
|
wavecode_1_r=1.000
|
||
|
wavecode_1_g=1.000
|
||
|
wavecode_1_b=1.000
|
||
|
wavecode_1_a=1.000
|
||
|
wave_1_init1=t2 = 0;
|
||
|
wave_1_init2=t3 = 0;
|
||
|
wave_1_init3=t4 = 0;
|
||
|
wave_1_init4=cl = 0;
|
||
|
wave_1_per_frame1=t8 = 1;
|
||
|
wave_1_per_frame2=
|
||
|
wave_1_per_frame3=t1 = 0.5;
|
||
|
wave_1_per_frame4=t2 = 0.9;
|
||
|
wave_1_per_point1=d = d*0.85 + (value1)*1;
|
||
|
wave_1_per_point2=
|
||
|
wave_1_per_point3=x = 0.5 + d*sample*(1-sample);
|
||
|
wave_1_per_point4=y = 0.9 - sample*0.8;
|
||
|
wavecode_2_enabled=0
|
||
|
wavecode_2_samples=512
|
||
|
wavecode_2_sep=0
|
||
|
wavecode_2_bSpectrum=0
|
||
|
wavecode_2_bUseDots=0
|
||
|
wavecode_2_bDrawThick=1
|
||
|
wavecode_2_bAdditive=1
|
||
|
wavecode_2_scaling=5.92556
|
||
|
wavecode_2_smoothing=0.00000
|
||
|
wavecode_2_r=0.000
|
||
|
wavecode_2_g=1.000
|
||
|
wavecode_2_b=0.000
|
||
|
wavecode_2_a=1.000
|
||
|
wave_2_per_frame1=t1 = q1;
|
||
|
wave_2_per_frame2=t2 = q2;
|
||
|
wave_2_per_frame3=t3 = q3;
|
||
|
wave_2_per_frame4=t4 = q4;
|
||
|
wave_2_per_frame5=t5 = q5;
|
||
|
wave_2_per_frame6=t6 = q6;
|
||
|
wave_2_per_frame7=t7 = q7;
|
||
|
wave_2_per_frame8=t8 = q8;
|
||
|
wave_2_per_point1=sample = 1-sample;
|
||
|
wave_2_per_point2=xxx = xx;
|
||
|
wave_2_per_point3=yyy = yy;
|
||
|
wave_2_per_point4=xx = pow(sample,5)*t1 + 5*pow(sample,4)*(1-sample)*t1 + 10*pow(sample,3)*sqr(1-sample)*t2
|
||
|
wave_2_per_point5=+ 10*sqr(sample)*pow(1-sample,3)*t3 + 5*pow(1-sample,4)*sample*t4 + pow(1-sample,5)*t4;
|
||
|
wave_2_per_point6=
|
||
|
wave_2_per_point7=yy = pow(sample,5)*t5 + 5*pow(sample,4)*(1-sample)*t5 + 10*pow(sample,3)*sqr(1-sample)*t6
|
||
|
wave_2_per_point8=+ 10*sqr(sample)*pow(1-sample,3)*t7 + 5*pow(1-sample,4)*sample*t8 + pow(1-sample,5)*t8;
|
||
|
wave_2_per_point9=
|
||
|
wave_2_per_point10=d = 1/sqrt(sqr(xx-xxx)+sqr(yy-yyy));
|
||
|
wave_2_per_point11=dd = dd*0.95 + (value1);
|
||
|
wave_2_per_point12=ddd = dd*sample*(1-sample)*d;
|
||
|
wave_2_per_point13=
|
||
|
wave_2_per_point14=x = xx + (yy-yyy)*ddd;
|
||
|
wave_2_per_point15=y = yy - (xx-xxx)*ddd;
|
||
|
wave_2_per_point16=
|
||
|
wave_2_per_point17=
|
||
|
wave_2_per_point18=x = 0.5 + (x-0.5)*q9;
|
||
|
wave_2_per_point19=y = 0.5 + (y-0.5)*q10;
|
||
|
wave_2_per_point20=
|
||
|
wavecode_3_enabled=0
|
||
|
wavecode_3_samples=512
|
||
|
wavecode_3_sep=0
|
||
|
wavecode_3_bSpectrum=0
|
||
|
wavecode_3_bUseDots=0
|
||
|
wavecode_3_bDrawThick=1
|
||
|
wavecode_3_bAdditive=1
|
||
|
wavecode_3_scaling=5.92556
|
||
|
wavecode_3_smoothing=0.00000
|
||
|
wavecode_3_r=1.000
|
||
|
wavecode_3_g=0.000
|
||
|
wavecode_3_b=0.000
|
||
|
wavecode_3_a=0.340
|
||
|
wave_3_init1=t2 = 0
|
||
|
wave_3_per_frame1=t1 = q1;
|
||
|
wave_3_per_frame2=t2 = q2;
|
||
|
wave_3_per_frame3=t3 = q3;
|
||
|
wave_3_per_frame4=t4 = q4;
|
||
|
wave_3_per_frame5=t5 = q5;
|
||
|
wave_3_per_frame6=t6 = q6;
|
||
|
wave_3_per_frame7=t7 = q7;
|
||
|
wave_3_per_frame8=t8 = q8;
|
||
|
wave_3_per_point1=sample = 1-sample;
|
||
|
wave_3_per_point2=xxx = xx;
|
||
|
wave_3_per_point3=yyy = yy;
|
||
|
wave_3_per_point4=xx = pow(sample,5)*t1 + 5*pow(sample,4)*(1-sample)*t1 + 10*pow(sample,3)*sqr(1-sample)*t2
|
||
|
wave_3_per_point5=+ 10*sqr(sample)*pow(1-sample,3)*t3 + 5*pow(1-sample,4)*sample*t4 + pow(1-sample,5)*t4;
|
||
|
wave_3_per_point6=
|
||
|
wave_3_per_point7=yy = pow(sample,5)*t5 + 5*pow(sample,4)*(1-sample)*t5 + 10*pow(sample,3)*sqr(1-sample)*t6
|
||
|
wave_3_per_point8=+ 10*sqr(sample)*pow(1-sample,3)*t7 + 5*pow(1-sample,4)*sample*t8 + pow(1-sample,5)*t8;
|
||
|
wave_3_per_point9=
|
||
|
wave_3_per_point10=d = 1/sqrt(sqr(xx-xxx)+sqr(yy-yyy));
|
||
|
wave_3_per_point11=dd = dd*0.95 + (value1);
|
||
|
wave_3_per_point12=ddd = dd*sample*(1-sample)*d;
|
||
|
wave_3_per_point13=ddd = sample*(1-sample)*sin(sample*120)*d*0.1;
|
||
|
wave_3_per_point14=x = xx + (yy-yyy)*ddd;
|
||
|
wave_3_per_point15=y = yy - (xx-xxx)*ddd;
|
||
|
wave_3_per_point16=
|
||
|
wave_3_per_point17=x = 0.5 + (x-0.5)*q9;
|
||
|
wave_3_per_point18=y = 0.5 + (y-0.5)*q10;
|
||
|
wave_3_per_point19=
|
||
|
shapecode_0_enabled=0
|
||
|
shapecode_0_sides=100
|
||
|
shapecode_0_additive=1
|
||
|
shapecode_0_thickOutline=1
|
||
|
shapecode_0_textured=0
|
||
|
shapecode_0_num_inst=1
|
||
|
shapecode_0_x=0.500
|
||
|
shapecode_0_y=0.750
|
||
|
shapecode_0_rad=0.07201
|
||
|
shapecode_0_ang=0.00000
|
||
|
shapecode_0_tex_ang=0.00000
|
||
|
shapecode_0_tex_zoom=0.73458
|
||
|
shapecode_0_r=1.000
|
||
|
shapecode_0_g=0.500
|
||
|
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=0.000
|
||
|
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_init1=vx = 0
|
||
|
shape_0_per_frame1=x = q4;
|
||
|
shape_0_per_frame2=y = q8;
|
||
|
shapecode_1_enabled=0
|
||
|
shapecode_1_sides=100
|
||
|
shapecode_1_additive=1
|
||
|
shapecode_1_thickOutline=1
|
||
|
shapecode_1_textured=0
|
||
|
shapecode_1_num_inst=1
|
||
|
shapecode_1_x=0.500
|
||
|
shapecode_1_y=0.750
|
||
|
shapecode_1_rad=0.04208
|
||
|
shapecode_1_ang=0.00000
|
||
|
shapecode_1_tex_ang=0.00000
|
||
|
shapecode_1_tex_zoom=0.73458
|
||
|
shapecode_1_r=0.000
|
||
|
shapecode_1_g=1.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.000
|
||
|
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_init1=vx = 0
|
||
|
shape_1_per_frame1=x = q3;
|
||
|
shape_1_per_frame2=y = q7;
|
||
|
shapecode_2_enabled=0
|
||
|
shapecode_2_sides=100
|
||
|
shapecode_2_additive=1
|
||
|
shapecode_2_thickOutline=1
|
||
|
shapecode_2_textured=0
|
||
|
shapecode_2_num_inst=1
|
||
|
shapecode_2_x=0.500
|
||
|
shapecode_2_y=0.750
|
||
|
shapecode_2_rad=0.04208
|
||
|
shapecode_2_ang=0.00000
|
||
|
shapecode_2_tex_ang=0.00000
|
||
|
shapecode_2_tex_zoom=0.73458
|
||
|
shapecode_2_r=0.000
|
||
|
shapecode_2_g=1.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=0.000
|
||
|
shapecode_2_border_r=1.000
|
||
|
shapecode_2_border_g=1.000
|
||
|
shapecode_2_border_b=1.000
|
||
|
shapecode_2_border_a=0.000
|
||
|
shape_2_init1=vx = 0
|
||
|
shape_2_per_frame1=x = q2;
|
||
|
shape_2_per_frame2=y = q6;
|
||
|
shapecode_3_enabled=0
|
||
|
shapecode_3_sides=100
|
||
|
shapecode_3_additive=1
|
||
|
shapecode_3_thickOutline=1
|
||
|
shapecode_3_textured=0
|
||
|
shapecode_3_num_inst=1
|
||
|
shapecode_3_x=0.500
|
||
|
shapecode_3_y=0.750
|
||
|
shapecode_3_rad=0.07059
|
||
|
shapecode_3_ang=0.00000
|
||
|
shapecode_3_tex_ang=0.00000
|
||
|
shapecode_3_tex_zoom=0.73458
|
||
|
shapecode_3_r=1.000
|
||
|
shapecode_3_g=0.500
|
||
|
shapecode_3_b=0.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=1.000
|
||
|
shapecode_3_border_b=1.000
|
||
|
shapecode_3_border_a=0.000
|
||
|
shape_3_init1=vx = 0
|
||
|
shape_3_per_frame1=x = q1;
|
||
|
shape_3_per_frame2=y = q5;
|
||
|
per_frame_1=warp = 0;
|
||
|
per_frame_2=volume = 0.3*(bass+mid+att);
|
||
|
per_frame_3=xamptarg = if(equal(frame%15,0),min(0.25*volume*bass_att,0.5),xamptarg);
|
||
|
per_frame_4=xamp = xamp + 0.5*(xamptarg-xamp);
|
||
|
per_frame_5=xdir = if(above(abs(xpos),xamp),-sign(xpos),if(below(abs(xspeed),0.1),2*above(xpos,0)-1,xdir));
|
||
|
per_frame_6=xspeed = xspeed + xdir*xamp - xpos - xspeed*0.055*below(abs(xpos),xamp);
|
||
|
per_frame_7=xpos = xpos + 0.001*xspeed;
|
||
|
per_frame_8=yamptarg = if(equal(frame%15,0),min(0.15*volume*treb_att,0.5),yamptarg);
|
||
|
per_frame_9=yamp = yamp + 0.5*(yamptarg-yamp);
|
||
|
per_frame_10=ydir = if(above(abs(ypos),yamp),-sign(ypos),if(below(abs(yspeed),0.1),2*above(ypos,0)-1,ydir));
|
||
|
per_frame_11=yspeed = yspeed + ydir*yamp - ypos - yspeed*0.055*below(abs(ypos),yamp);
|
||
|
per_frame_12=ypos = ypos + 0.001*yspeed;
|
||
|
per_frame_13=beatrate = equal(beatrate,0) + (1-equal(beatrate,0))*(below(volume,0.01) + (1-below(volume,0.01))*beatrate);
|
||
|
per_frame_14=lastbeat = lastbeat + equal(lastbeat,0)*time;
|
||
|
per_frame_15=meanbass_att = 0.1*(meanbass_att*9 + bass_att);
|
||
|
per_frame_16=peakbass_att = max(bass_att,peakbass_att);
|
||
|
per_frame_17=beat = above(volume,0.8)*below(peakbass_att - bass_att, 0.05*peakbass_att)*above(time - lastbeat, 0.1 + 0.5*(beatrate - 0.1));
|
||
|
per_frame_18=beatrate = max(if(beat,if(below(time-lastbeat,2*beatrate),0.1*(beatrate*9 + time - lastbeat),beatrate),beatrate),0.1);
|
||
|
per_frame_19=peakbass_att = beat*bass_att + (1-beat)*peakbass_att*(above(time - lastbeat, 2*beatrate)*0.95 + (1-above(time - lastbeat, 2*beatrate))*0.995);
|
||
|
per_frame_20=lastbeat = beat*time + (1-beat)*lastbeat;
|
||
|
per_frame_21=peakbass_att = max(peakbass_att,1.1*meanbass_att);
|
||
|
per_frame_22=wave_x = xpos + 0.5;
|
||
|
per_frame_23=wave_y = 1-(ypos + 0.5);
|
||
|
per_frame_24=wave_r = 0.5 + 0.499*( 0.60*sin(0.980*time) + 0.40*sin(1.047*time) );
|
||
|
per_frame_25=wave_g = 0.5 + 0.499*( 0.60*sin(0.835*time) + 0.40*sin(1.081*time) );
|
||
|
per_frame_26=wave_b = 0.5 + 0.499*( 0.60*sin(0.814*time) + 0.40*sin(1.011*time) );
|
||
|
per_frame_27=wave_mystery = -0.17 + 0.03*(0.6*sin(0.637*time) + 0.4*sin(0.949*time));
|
||
|
per_frame_28=mv_r = if(beat, 1, ib_r);
|
||
|
per_frame_29=mv_b = if(beat, wave_b, ib_b);
|
||
|
per_frame_30=//mv_a = if(beat, 0.1, ib_a);
|
||
|
per_frame_31=//ib_a = 0.015;
|
||
|
per_frame_32=q3 = wave_mystery;
|
||
|
per_frame_33=q1 = wave_x;
|
||
|
per_frame_34=q2 = 1-wave_y;
|
||
|
per_frame_35=q2 = ypos+0.5;
|
||
|
per_frame_36=warp=0;
|
||
|
per_frame_37=
|
||
|
per_frame_38=//q2 = 1-(ypos + 0.5);
|
||
|
per_frame_39=//q1 = 0.5;
|
||
|
per_frame_40=//q2=0.5;
|
||
|
per_frame_41=ob_r = 1-wave_g;
|
||
|
per_frame_42=ob_b = 1-wave_r;
|
||
|
per_frame_43=ob_g = 1-wave_b;
|
||
|
per_frame_44=
|
||
|
per_frame_45=monitor = wave_y;
|
||
|
per_frame_46=movement =movement + 0.4*(((bass+bass_att + 0.1*pow((bass+0.6*bass_att+0.2*treb_att),3)))/fps);
|
||
|
per_frame_47=movement = if(above(movement,10000), 0, movement);
|
||
|
per_frame_48=rot =1*sin(movement);
|
||
|
per_frame_49=cx = wave_x;
|
||
|
per_frame_50=cy = y_pos+0.5;
|
||
|
per_frame_51=
|
||
|
per_frame_52=q8 = movement;
|
||
|
per_pixel_1=myy = x-q1;
|
||
|
per_pixel_2=myx = y-q2+0.1;
|
||
|
per_pixel_3=dx = 3*sin(q8*0.675)*(2*myx*myy);
|
||
|
per_pixel_4=dy = 3*sin(q8*0.675)*((myx*myx) - (myy*myy));
|
||
|
warp_1=`shader_body
|
||
|
warp_2=`{
|
||
|
warp_3=`
|
||
|
warp_4=`float2 zoom = 2.9;
|
||
|
warp_5=`float2 cntr = float2(-0,-0);
|
||
|
warp_6=`float2 c = float2(0,2); // complex constant
|
||
|
warp_7=`
|
||
|
warp_8=` float2 my_uv = (uv-0.5-cntr)*zoom; // center and scale dx/dy pane
|
||
|
warp_9=` float2 u2 = float2(my_uv.x*my_uv.x - my_uv.y*my_uv.y, 2*my_uv.x*my_uv.y); //complex squaring of u
|
||
|
warp_10=` float2 cu2 = float2(u2.x*c.x - u2.y*c.y, u2.x*c.y + c.x*u2.y); // complex multiplication by c
|
||
|
warp_11=` float denom = 1/((cu2.x+1)*(cu2.x+1)+cu2.y*cu2.y);
|
||
|
warp_12=` my_uv = float2(u2.x*(cu2.x+1)+u2.y*cu2.y,u2.y*(cu2.x+1)-u2.x*cu2.y)*denom; // complex division u^2/(1+c*u^2)
|
||
|
warp_13=`
|
||
|
warp_14=`zoom = 1.84+(bass-treb)*0.0;
|
||
|
warp_15=`cntr = float2(0,0);
|
||
|
warp_16=`c = float2(0.2806,0.4508);
|
||
|
warp_17=`
|
||
|
warp_18=` float2 my_uv2 = (uv_orig-0.5-cntr)*zoom; // using uv_orig here - no contortion to the nice julia island
|
||
|
warp_19=` my_uv2 = float2(my_uv2.x*my_uv2.x - my_uv2.y*my_uv2.y, 2*my_uv2.x*my_uv2.y) + c; // u -> u^2 + c
|
||
|
warp_20=`
|
||
|
warp_21=`ret.z = tex2D( sampler_fw_main, my_uv - floor(my_uv) ).z*0.9- 0.04;
|
||
|
warp_22=`ret.x = tex2D( sampler_fc_main, my_uv2).x - 0.008;
|
||
|
warp_23=`
|
||
|
warp_24=` my_uv = lerp(my_uv,my_uv2,0.8); // linear interpolation between the two solutions
|
||
|
warp_25=`
|
||
|
warp_26=`ret.y = tex2D( sampler_fw_main, my_uv - floor(my_uv) ).y*0.9- 0.004;
|
||
|
warp_27=`
|
||
|
warp_28=`}
|
||
|
comp_1=`sampler sampler_manyfish;
|
||
|
comp_2=`shader_body
|
||
|
comp_3=`{
|
||
|
comp_4=` float2 d = texsize.zw*2;
|
||
|
comp_5=` float3 dx = ( GetBlur1(uv+float2(1,0)*d)-GetBlur1(uv-float2(1,0)*d) );
|
||
|
comp_6=` float3 dy = ( GetBlur1(uv+float2(0,1)*d)-GetBlur1(uv-float2(0,1)*d) );
|
||
|
comp_7=` float2 uv_y = uv-float2(dx.y,dy.y)*0.4;
|
||
|
comp_8=`
|
||
|
comp_9=` float2 uv_dx = uv - float2(dx.x,dy.x)*1;
|
||
|
comp_10=` float2 uv_dz = uv - float2(dx.z,dy.z)*1;
|
||
|
comp_11=`
|
||
|
comp_12=`ret = 0;
|
||
|
comp_13=`ret = lerp(ret, float3(0,1,0), length(float2(dx.z,dy.z)));
|
||
|
comp_14=`ret = lerp(ret,float3(1,0,0),GetPixel(uv).z*saturate(1-GetBlur3(uv).y*8));
|
||
|
comp_15=`ret = lerp(ret,1,GetBlur1(uv_dz).x*GetBlur1(uv).z*2*(1-GetBlur1(uv).y*4));
|
||
|
comp_16=`
|
||
|
comp_17=`ret = lerp(ret, float3(0.8,0,1.5), length(float2(dx.x,dy.x)));
|
||
|
comp_18=`ret = lerp(ret,float3(1,1,0),GetPixel(uv).x*saturate(1-GetBlur3(uv).y*8));
|
||
|
comp_19=`ret = lerp(ret,1,GetBlur1(uv_dx).z*GetBlur1(uv).x*2*(1-GetBlur1(uv).y*4));
|
||
|
comp_20=`
|
||
|
comp_21=`ret = lerp(saturate(ret),1,GetPixel(uv).y);
|
||
|
comp_22=`
|
||
|
comp_23=`
|
||
|
comp_24=`}
|
||
|
comp_25=`
|