mirror of
https://github.com/WinampDesktop/winamp.git
synced 2024-12-05 03:57:54 +01:00
440 lines
16 KiB
Plaintext
440 lines
16 KiB
Plaintext
|
MILKDROP_PRESET_VERSION=201
|
||
|
PSVERSION=2
|
||
|
PSVERSION_WARP=2
|
||
|
PSVERSION_COMP=2
|
||
|
[preset00]
|
||
|
fRating=5.000
|
||
|
fGammaAdj=1.280
|
||
|
fDecay=0.800
|
||
|
fVideoEchoZoom=1.000
|
||
|
fVideoEchoAlpha=0.000
|
||
|
nVideoEchoOrientation=3
|
||
|
nWaveMode=7
|
||
|
bAdditiveWaves=1
|
||
|
bWaveDots=0
|
||
|
bWaveThick=0
|
||
|
bModWaveAlphaByVolume=1
|
||
|
bMaximizeWaveColor=0
|
||
|
bTexWrap=1
|
||
|
bDarkenCenter=0
|
||
|
bRedBlueStereo=0
|
||
|
bBrighten=1
|
||
|
bDarken=0
|
||
|
bSolarize=0
|
||
|
bInvert=0
|
||
|
fWaveAlpha=0.001
|
||
|
fWaveScale=1.286
|
||
|
fWaveSmoothing=0.630
|
||
|
fWaveParam=0.000
|
||
|
fModWaveAlphaStart=0.710
|
||
|
fModWaveAlphaEnd=1.300
|
||
|
fWarpAnimSpeed=1.000
|
||
|
fWarpScale=1.000
|
||
|
fZoomExponent=3.04777
|
||
|
fShader=0.000
|
||
|
zoom=1.01730
|
||
|
rot=0.00000
|
||
|
cx=0.500
|
||
|
cy=0.500
|
||
|
dx=0.00000
|
||
|
dy=0.00000
|
||
|
warp=0.01605
|
||
|
sx=1.00000
|
||
|
sy=1.00000
|
||
|
wave_r=1.000
|
||
|
wave_g=0.650
|
||
|
wave_b=0.650
|
||
|
wave_x=0.500
|
||
|
wave_y=0.500
|
||
|
ob_size=0.000
|
||
|
ob_r=0.000
|
||
|
ob_g=0.000
|
||
|
ob_b=0.000
|
||
|
ob_a=1.000
|
||
|
ib_size=0.010
|
||
|
ib_r=0.250
|
||
|
ib_g=0.250
|
||
|
ib_b=0.250
|
||
|
ib_a=0.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=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.000
|
||
|
wavecode_0_enabled=1
|
||
|
wavecode_0_samples=512
|
||
|
wavecode_0_sep=0
|
||
|
wavecode_0_bSpectrum=0
|
||
|
wavecode_0_bUseDots=0
|
||
|
wavecode_0_bDrawThick=1
|
||
|
wavecode_0_bAdditive=0
|
||
|
wavecode_0_scaling=1.00000
|
||
|
wavecode_0_smoothing=0.50000
|
||
|
wavecode_0_r=1.000
|
||
|
wavecode_0_g=0.000
|
||
|
wavecode_0_b=0.000
|
||
|
wavecode_0_a=1.000
|
||
|
wave_0_per_point1=ma=ma+(above(bass,1)*3.1415*.01*bass);
|
||
|
wave_0_per_point2=ma=ma-(above(treb,1)*3.1415*.01*treb);
|
||
|
wave_0_per_point3=
|
||
|
wave_0_per_point4=mx=mx+(.0002*cos(ma));
|
||
|
wave_0_per_point5=my=my+(.0002*sin(ma));
|
||
|
wave_0_per_point6=
|
||
|
wave_0_per_point7=mx=if(above(mx,.9),(.9-mx),mx);
|
||
|
wave_0_per_point8=my=if(above(my,.9),(.9-my),my);
|
||
|
wave_0_per_point9=mx=if(below(mx,.1),(.9+mx),mx);
|
||
|
wave_0_per_point10=my=if(below(my,.1),(.9+my),my);
|
||
|
wave_0_per_point11=
|
||
|
wave_0_per_point12=x=mx;
|
||
|
wave_0_per_point13=y=my;
|
||
|
wave_0_per_point14=
|
||
|
wave_0_per_point15=a=(above(bass+mid+treb,.8));
|
||
|
wavecode_1_enabled=1
|
||
|
wavecode_1_samples=512
|
||
|
wavecode_1_sep=0
|
||
|
wavecode_1_bSpectrum=0
|
||
|
wavecode_1_bUseDots=0
|
||
|
wavecode_1_bDrawThick=1
|
||
|
wavecode_1_bAdditive=0
|
||
|
wavecode_1_scaling=1.00000
|
||
|
wavecode_1_smoothing=0.50000
|
||
|
wavecode_1_r=0.000
|
||
|
wavecode_1_g=1.000
|
||
|
wavecode_1_b=0.000
|
||
|
wavecode_1_a=1.000
|
||
|
wave_1_per_point1=ma=ma+(above(bass,1)*3.1415*.05*bass);
|
||
|
wave_1_per_point2=ma=ma-(above(mid,1)*3.1415*.05*mid);
|
||
|
wave_1_per_point3=
|
||
|
wave_1_per_point4=mx=mx+(.0001*cos(ma));
|
||
|
wave_1_per_point5=my=my+(.0001*sin(ma));
|
||
|
wave_1_per_point6=
|
||
|
wave_1_per_point7=mx=if(above(mx,.9),(.9-mx),mx);
|
||
|
wave_1_per_point8=my=if(above(my,.9),(.9-my),my);
|
||
|
wave_1_per_point9=mx=if(below(mx,.1),(.9+mx),mx);
|
||
|
wave_1_per_point10=my=if(below(my,.1),(.9+my),my);
|
||
|
wave_1_per_point11=
|
||
|
wave_1_per_point12=x=mx;
|
||
|
wave_1_per_point13=y=my;
|
||
|
wave_1_per_point14=
|
||
|
wave_1_per_point15=a=(above(bass+mid+treb,.1));
|
||
|
wavecode_2_enabled=1
|
||
|
wavecode_2_samples=512
|
||
|
wavecode_2_sep=0
|
||
|
wavecode_2_bSpectrum=0
|
||
|
wavecode_2_bUseDots=1
|
||
|
wavecode_2_bDrawThick=0
|
||
|
wavecode_2_bAdditive=0
|
||
|
wavecode_2_scaling=1.00000
|
||
|
wavecode_2_smoothing=0.50000
|
||
|
wavecode_2_r=0.000
|
||
|
wavecode_2_g=0.000
|
||
|
wavecode_2_b=1.000
|
||
|
wavecode_2_a=1.000
|
||
|
wave_2_per_point1=ma=ma+(above(mid,1)*3.1415*.01*mid);
|
||
|
wave_2_per_point2=ma=ma-(above(treb,1)*3.1415*.01*treb);
|
||
|
wave_2_per_point3=
|
||
|
wave_2_per_point4=mx=mx+(.0004*cos(ma));
|
||
|
wave_2_per_point5=my=my+(.0004*sin(ma));
|
||
|
wave_2_per_point6=
|
||
|
wave_2_per_point7=mx=if(above(mx,.9),(.9-mx),mx);
|
||
|
wave_2_per_point8=my=if(above(my,.9),(.9-my),my);
|
||
|
wave_2_per_point9=mx=if(below(mx,.1),(.9+mx),mx);
|
||
|
wave_2_per_point10=my=if(below(my,.1),(.9+my),my);
|
||
|
wave_2_per_point11=
|
||
|
wave_2_per_point12=x=mx;
|
||
|
wave_2_per_point13=y=my;
|
||
|
wave_2_per_point14=
|
||
|
wave_2_per_point15=a=(above(bass+mid+treb,.3));
|
||
|
wavecode_3_enabled=1
|
||
|
wavecode_3_samples=512
|
||
|
wavecode_3_sep=0
|
||
|
wavecode_3_bSpectrum=0
|
||
|
wavecode_3_bUseDots=1
|
||
|
wavecode_3_bDrawThick=1
|
||
|
wavecode_3_bAdditive=0
|
||
|
wavecode_3_scaling=1.00000
|
||
|
wavecode_3_smoothing=0.50000
|
||
|
wavecode_3_r=0.000
|
||
|
wavecode_3_g=0.000
|
||
|
wavecode_3_b=0.000
|
||
|
wavecode_3_a=1.000
|
||
|
wave_3_per_point1=ma=ma+(above(bass,.5)*3.1415*.02*bass);
|
||
|
wave_3_per_point2=ma=ma-(above(treb,.5)*3.1415*.02*treb);
|
||
|
wave_3_per_point3=
|
||
|
wave_3_per_point4=mx=mx+(.0008*cos(ma));
|
||
|
wave_3_per_point5=my=my+(.0008*sin(ma));
|
||
|
wave_3_per_point6=
|
||
|
wave_3_per_point7=mx=if(above(mx,.9),(.9-mx),mx);
|
||
|
wave_3_per_point8=my=if(above(my,.9),(.9-my),my);
|
||
|
wave_3_per_point9=mx=if(below(mx,.1),(.9+mx),mx);
|
||
|
wave_3_per_point10=my=if(below(my,.1),(.9+my),my);
|
||
|
wave_3_per_point11=
|
||
|
wave_3_per_point12=x=mx;
|
||
|
wave_3_per_point13=y=my;
|
||
|
wave_3_per_point14=
|
||
|
wave_3_per_point15=a=(above(bass+mid+treb,.2));
|
||
|
shapecode_0_enabled=0
|
||
|
shapecode_0_sides=5
|
||
|
shapecode_0_additive=1
|
||
|
shapecode_0_thickOutline=0
|
||
|
shapecode_0_textured=0
|
||
|
shapecode_0_num_inst=2
|
||
|
shapecode_0_x=0.490
|
||
|
shapecode_0_y=0.500
|
||
|
shapecode_0_rad=0.11589
|
||
|
shapecode_0_ang=0.00000
|
||
|
shapecode_0_tex_ang=0.00000
|
||
|
shapecode_0_tex_zoom=4.36077
|
||
|
shapecode_0_r=1.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=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_per_frame1=x = rand(1000)/1000;
|
||
|
shape_0_per_frame2=y = rand(1000)/1000;
|
||
|
shape_0_per_frame3=ang = rand(150)/100;
|
||
|
shapecode_1_enabled=0
|
||
|
shapecode_1_sides=4
|
||
|
shapecode_1_additive=0
|
||
|
shapecode_1_thickOutline=0
|
||
|
shapecode_1_textured=0
|
||
|
shapecode_1_num_inst=1
|
||
|
shapecode_1_x=0.500
|
||
|
shapecode_1_y=0.500
|
||
|
shapecode_1_rad=0.10000
|
||
|
shapecode_1_ang=0.00000
|
||
|
shapecode_1_tex_ang=0.00000
|
||
|
shapecode_1_tex_zoom=1.00000
|
||
|
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=1.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.100
|
||
|
shapecode_2_enabled=0
|
||
|
shapecode_2_sides=4
|
||
|
shapecode_2_additive=0
|
||
|
shapecode_2_thickOutline=0
|
||
|
shapecode_2_textured=0
|
||
|
shapecode_2_num_inst=1
|
||
|
shapecode_2_x=0.500
|
||
|
shapecode_2_y=0.500
|
||
|
shapecode_2_rad=0.10000
|
||
|
shapecode_2_ang=0.00000
|
||
|
shapecode_2_tex_ang=0.00000
|
||
|
shapecode_2_tex_zoom=1.00000
|
||
|
shapecode_2_r=1.000
|
||
|
shapecode_2_g=0.000
|
||
|
shapecode_2_b=0.000
|
||
|
shapecode_2_a=1.000
|
||
|
shapecode_2_r2=0.000
|
||
|
shapecode_2_g2=1.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.100
|
||
|
shapecode_3_enabled=0
|
||
|
shapecode_3_sides=4
|
||
|
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.10000
|
||
|
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=1.000
|
||
|
shapecode_3_r2=0.000
|
||
|
shapecode_3_g2=1.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.100
|
||
|
per_frame_init_1=x1 = 0.5;
|
||
|
per_frame_init_2=x2 = 0.500001;
|
||
|
per_frame_init_3=
|
||
|
per_frame_init_4=y2 = 0.9;
|
||
|
per_frame_init_5=y1 = 0.7;
|
||
|
per_frame_init_6=
|
||
|
per_frame_init_7=x3 = 0.8;
|
||
|
per_frame_init_8=y3 = 0.9;
|
||
|
per_frame_init_9=
|
||
|
per_frame_init_10=x4 = 0.2;
|
||
|
per_frame_init_11=y4 = 0.9;
|
||
|
per_frame_init_12=
|
||
|
per_frame_init_13=
|
||
|
per_frame_init_14=ax1 = 0;
|
||
|
per_frame_init_15=ay1 = 0;
|
||
|
per_frame_init_16=ax2 = 0;
|
||
|
per_frame_init_17=ay2 = 0;
|
||
|
per_frame_init_18=ax3 = 0;
|
||
|
per_frame_init_19=ay3 = 0;
|
||
|
per_frame_init_20=
|
||
|
per_frame_init_21=vx1 = 0.000;
|
||
|
per_frame_init_22=vx2 = 0.000;
|
||
|
per_frame_1=zoom = 1;
|
||
|
per_frame_2=
|
||
|
per_frame_3=//pogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogo
|
||
|
per_frame_4=r = 0.1+ max(bass_att,treb_att)*0.006;
|
||
|
per_frame_5=bounce = below(y1,r);y1 = y1+vy1;vy1 = if(bounce, abs(vy1)*0.94 + (r-y1)*0.1, vy1-0.0001*60/fps);
|
||
|
per_frame_6=bounce = below(x1,r);x1 = x1+vx1;vx1 = if(bounce, abs(vx1)*0.94 + (r-x1)*0.1, vx1);
|
||
|
per_frame_7=bounce = above(x1,1-r);vx1 = if(bounce, - abs(vx1)*0.94 + (1-r-x1)*0.04, vx1);
|
||
|
per_frame_8=bounce = below(y2,r);y2 = y2 + vy2;vy2 = if(bounce,abs(vy2)*0.94+(r-y2)*.1, vy2-0.0001*60/fps);
|
||
|
per_frame_9=bounce = below(x2,r);x2 = x2+ vx2;vx2 = if(bounce, abs(vx2)*0.94 + (r-x2)*0.1, vx2);
|
||
|
per_frame_10=bounce = above(x2,1-r);vx2 = if(bounce, - abs(vx2)*0.94 + (1-r-x2)*0.1, vx2);
|
||
|
per_frame_11=bounce = below(y3,r);y3 = y3 + vy3;vy3 = if(bounce,abs(vy3)*0.94+(r-y3)*.1, vy3-0.0001*60/fps);
|
||
|
per_frame_12=bounce = below(x3,r);x3 = x3+ vx3;vx3 = if(bounce, abs(vx3)*0.94 + (r-x3)*0.1, vx3);
|
||
|
per_frame_13=bounce = above(x3,1-r);vx3 = if(bounce, - abs(vx3)*0.94 + (1-r-x3)*0.1, vx3);
|
||
|
per_frame_14=bounce = below(y4,r);y4 = y4 + vy4;vy4 = if(bounce,abs(vy4)*0.94+(r-y4)*.1, vy4-0.0001*60/fps);
|
||
|
per_frame_15=bounce = below(x4,r);x4 = x4+ vx4;vx4 = if(bounce, abs(vx4)*0.94 + (r-x4)*0.1, vx4);
|
||
|
per_frame_16=bounce = above(x4,1-r);vx4 = if(bounce, - abs(vx4)*0.94 + (1-r-x4)*0.1, vx4);
|
||
|
per_frame_17=bounce = below( sqrt( sqr(x1+vx1-x2-vx2) + sqr(y1+vy1-y2-vy2)), 2*r);
|
||
|
per_frame_18=ref_ang = atan2(x2-x1,y2-y1)+asin(1); // common tangent
|
||
|
per_frame_19=v1 = sqrt(vx1*vx1+vy1*vy1);v2 = sqrt(vx2*vx2+vy2*vy2);w1 = atan2(vx1,vy1);w2 = atan2(vx2,vy2);
|
||
|
per_frame_20=vx1 = if(bounce,sin(ref_ang)*v1*cos(w1-ref_ang) + sin(ref_ang+asin(1))*v2*cos(w2-ref_ang-asin(1)), vx1);
|
||
|
per_frame_21=vy1 = if(bounce,cos(ref_ang)*v1*cos(w1-ref_ang) + cos(ref_ang+asin(1))*v2*cos(w2-ref_ang-asin(1)), vy1);
|
||
|
per_frame_22=vx2 = if(bounce,sin(ref_ang)*v2*cos(w2-ref_ang) + sin(ref_ang+asin(1))*v1*cos(w1-ref_ang-asin(1)), vx2);
|
||
|
per_frame_23=vy2 = if(bounce,cos(ref_ang)*v2*cos(w2-ref_ang) + cos(ref_ang+asin(1))*v1*cos(w1-ref_ang-asin(1)), vy2);
|
||
|
per_frame_24=bounce = below( sqrt( sqr(x1+vx1-x3-vx3) + sqr(y1+vy1-y3-vy3)), 2*r);
|
||
|
per_frame_25=ref_ang = atan2(x3-x1,y3-y1)+asin(1); // common tangent
|
||
|
per_frame_26=v1 = sqrt(vx1*vx1+vy1*vy1);v2 = sqrt(vx3*vx3+vy3*vy3);w1 = atan2(vx1,vy1);w2 = atan2(vx3,vy3);
|
||
|
per_frame_27=vx1 = if(bounce,sin(ref_ang)*v1*cos(w1-ref_ang) + sin(ref_ang+asin(1))*v2*cos(w2-ref_ang-asin(1)), vx1);
|
||
|
per_frame_28=vy1 = if(bounce,cos(ref_ang)*v1*cos(w1-ref_ang) + cos(ref_ang+asin(1))*v2*cos(w2-ref_ang-asin(1)), vy1);
|
||
|
per_frame_29=vx3 = if(bounce,sin(ref_ang)*v2*cos(w2-ref_ang) + sin(ref_ang+asin(1))*v1*cos(w1-ref_ang-asin(1)), vx3);
|
||
|
per_frame_30=vy3 = if(bounce,cos(ref_ang)*v2*cos(w2-ref_ang) + cos(ref_ang+asin(1))*v1*cos(w1-ref_ang-asin(1)), vy3);
|
||
|
per_frame_31=bounce = below( sqrt( sqr(x2+vx2-x3-vx3) + sqr(y2+vy2-y3-vy3)), 2*r);
|
||
|
per_frame_32=ref_ang = atan2(x3-x2,y3-y2)+asin(1); // common tangent
|
||
|
per_frame_33=v1 = sqrt(vx2*vx2+vy2*vy2);v2 = sqrt(vx3*vx3+vy3*vy3);w1 = atan2(vx2,vy2);w2 = atan2(vx3,vy3);
|
||
|
per_frame_34=vx2 = if(bounce,sin(ref_ang)*v1*cos(w1-ref_ang) + sin(ref_ang+asin(1))*v2*cos(w2-ref_ang-asin(1)), vx2);
|
||
|
per_frame_35=vy2 = if(bounce,cos(ref_ang)*v1*cos(w1-ref_ang) + cos(ref_ang+asin(1))*v2*cos(w2-ref_ang-asin(1)), vy2);
|
||
|
per_frame_36=vx3 = if(bounce,sin(ref_ang)*v2*cos(w2-ref_ang) + sin(ref_ang+asin(1))*v1*cos(w1-ref_ang-asin(1)), vx3);
|
||
|
per_frame_37=vy3 = if(bounce,cos(ref_ang)*v2*cos(w2-ref_ang) + cos(ref_ang+asin(1))*v1*cos(w1-ref_ang-asin(1)), vy3);
|
||
|
per_frame_38=bounce = below( sqrt( sqr(x1+vx1-x4-vx4) + sqr(y1+vy1-y4-vy4)), 2*r);
|
||
|
per_frame_39=ref_ang = atan2(x4-x1,y4-y1)+asin(1); // common tangent
|
||
|
per_frame_40=v1 = sqrt(vx1*vx1+vy1*vy1);v2 = sqrt(vx4*vx4+vy4*vy4);w1 = atan2(vx1,vy1);w2 = atan2(vx4,vy4);
|
||
|
per_frame_41=vx1 = if(bounce,sin(ref_ang)*v1*cos(w1-ref_ang) + sin(ref_ang+asin(1))*v2*cos(w2-ref_ang-asin(1)), vx1);
|
||
|
per_frame_42=vy1 = if(bounce,cos(ref_ang)*v1*cos(w1-ref_ang) + cos(ref_ang+asin(1))*v2*cos(w2-ref_ang-asin(1)), vy1);
|
||
|
per_frame_43=vx4 = if(bounce,sin(ref_ang)*v2*cos(w2-ref_ang) + sin(ref_ang+asin(1))*v1*cos(w1-ref_ang-asin(1)), vx4);
|
||
|
per_frame_44=vy4 = if(bounce,cos(ref_ang)*v2*cos(w2-ref_ang) + cos(ref_ang+asin(1))*v1*cos(w1-ref_ang-asin(1)), vy4);
|
||
|
per_frame_45=bounce = below( sqrt( sqr(x2+vx2-x4-vx4) + sqr(y2+vy2-y4-vy4)), 2*r);
|
||
|
per_frame_46=ref_ang = atan2(x4-x2,y4-y2)+asin(1); // common tangent
|
||
|
per_frame_47=v1 = sqrt(vx2*vx2+vy2*vy2);v2 = sqrt(vx4*vx4+vy4*vy4);w1 = atan2(vx2,vy2);w2 = atan2(vx4,vy4);
|
||
|
per_frame_48=vx2 = if(bounce,sin(ref_ang)*v1*cos(w1-ref_ang) + sin(ref_ang+asin(1))*v2*cos(w2-ref_ang-asin(1)), vx2);
|
||
|
per_frame_49=vy2 = if(bounce,cos(ref_ang)*v1*cos(w1-ref_ang) + cos(ref_ang+asin(1))*v2*cos(w2-ref_ang-asin(1)), vy2);
|
||
|
per_frame_50=vx4 = if(bounce,sin(ref_ang)*v2*cos(w2-ref_ang) + sin(ref_ang+asin(1))*v1*cos(w1-ref_ang-asin(1)), vx4);
|
||
|
per_frame_51=vy4 = if(bounce,cos(ref_ang)*v2*cos(w2-ref_ang) + cos(ref_ang+asin(1))*v1*cos(w1-ref_ang-asin(1)), vy4);
|
||
|
per_frame_52=bounce = below( sqrt( sqr(x3+vx3-x4-vx4) + sqr(y3+vy3-y4-vy4)), 2*r);
|
||
|
per_frame_53=ref_ang = atan2(x4-x3,y4-y3)+asin(1); // common tangent
|
||
|
per_frame_54=v1 = sqrt(vx3*vx3+vy3*vy3);v2 = sqrt(vx4*vx4+vy4*vy4);w1 = atan2(vx3,vy3);w2 = atan2(vx4,vy4);
|
||
|
per_frame_55=vx3 = if(bounce,sin(ref_ang)*v1*cos(w1-ref_ang) + sin(ref_ang+asin(1))*v2*cos(w2-ref_ang-asin(1)), vx3);
|
||
|
per_frame_56=vy3 = if(bounce,cos(ref_ang)*v1*cos(w1-ref_ang) + cos(ref_ang+asin(1))*v2*cos(w2-ref_ang-asin(1)), vy3);
|
||
|
per_frame_57=vx4 = if(bounce,sin(ref_ang)*v2*cos(w2-ref_ang) + sin(ref_ang+asin(1))*v1*cos(w1-ref_ang-asin(1)), vx4);
|
||
|
per_frame_58=vy4 = if(bounce,cos(ref_ang)*v2*cos(w2-ref_ang) + cos(ref_ang+asin(1))*v1*cos(w1-ref_ang-asin(1)), vy4);
|
||
|
per_frame_59=//pogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogo
|
||
|
per_frame_60=q1 = 0.5 - x1;
|
||
|
per_frame_61=q2 = -0.5 + y1;
|
||
|
per_frame_62=q3 = 0.5 - x2;
|
||
|
per_frame_63=q4 = -0.5 + y2;
|
||
|
per_frame_64=q5 = 0.5 - x3;
|
||
|
per_frame_65=q6 = -0.5 + y3;
|
||
|
per_frame_66=q7 = 0.5 - x4;
|
||
|
per_frame_67=q8 = -0.5 + y4;
|
||
|
warp_1=`shader_body
|
||
|
warp_2=`{
|
||
|
warp_3=`uv = lerp(uv_orig,uv,0.2);
|
||
|
warp_4=` float2 d = texsize.zw * 2;
|
||
|
warp_5=` float3 dx = ( GetBlur1(uv + float2(1,0)*d) - GetBlur1(uv-float2(1,0)*d) );
|
||
|
warp_6=` float3 dy = ( GetBlur1(uv + float2(0,1)*d) - GetBlur1(uv-float2(0,1)*d) );
|
||
|
warp_7=`
|
||
|
warp_8=`ret.x = tex2d(sampler_fc_main, uv + float2(dx.x,dy.x)*texsize.zw*4).x;
|
||
|
warp_9=`ret.y = tex2d(sampler_fc_main, uv + float2(dx.y,dy.y)*texsize.zw*4).y;
|
||
|
warp_10=`ret.z = tex2d(sampler_fc_main, uv + float2(dx.z,dy.z)*texsize.zw*4).z;
|
||
|
warp_11=`
|
||
|
warp_12=`ret -= (ret.yzx + ret.zxy)*0.16 + 0.002;
|
||
|
warp_13=`float2 dither_uv = uv_orig*texsize.xy*texsize_noise_lq.zw * 1.2 + rand_frame.xy;
|
||
|
warp_14=`ret += (tex2D(sampler_noise_lq, dither_uv).xyz-0.5) *0.04;
|
||
|
warp_15=`
|
||
|
warp_16=`}
|
||
|
comp_1=`sampler sampler_fc_sunrise;
|
||
|
comp_2=`float2 factorA, factorB, product;
|
||
|
comp_3=`float2 numerator, denominator, fraction;
|
||
|
comp_4=`shader_body
|
||
|
comp_5=`{
|
||
|
comp_6=`float2 uvo = uv;
|
||
|
comp_7=`uv = (uv-0.5);
|
||
|
comp_8=`factorA = uv+ float2(q1,q2);
|
||
|
comp_9=`factorB = float2(8,0);
|
||
|
comp_10=`product = float2( factorA.x*factorB.x - factorA.y*factorB.y, factorA.x*factorB.y + factorA.y*factorB.x);
|
||
|
comp_11=`float2 uv1 = product;
|
||
|
comp_12=`factorA = uv+ float2(q3,q4);
|
||
|
comp_13=`factorB = float2(8,0);
|
||
|
comp_14=`product = float2( factorA.x*factorB.x - factorA.y*factorB.y, factorA.x*factorB.y + factorA.y*factorB.x);
|
||
|
comp_15=`float2 uv2 = product;
|
||
|
comp_16=`factorA = uv+ float2(q5,q6);
|
||
|
comp_17=`factorB = float2(8,0);
|
||
|
comp_18=`product = float2( factorA.x*factorB.x - factorA.y*factorB.y, factorA.x*factorB.y + factorA.y*factorB.x);
|
||
|
comp_19=`float2 uv3 = product;
|
||
|
comp_20=`factorA = uv+ float2(q7,q8);
|
||
|
comp_21=`factorB = float2(8,0);
|
||
|
comp_22=`product = float2( factorA.x*factorB.x - factorA.y*factorB.y, factorA.x*factorB.y + factorA.y*factorB.x);
|
||
|
comp_23=`float2 uv4 = product;
|
||
|
comp_24=`factorA = uv1;
|
||
|
comp_25=`factorB = uv2;
|
||
|
comp_26=`product = float2( factorA.x*factorB.x - factorA.y*factorB.y, factorA.x*factorB.y + factorA.y*factorB.x);
|
||
|
comp_27=`float2 uv12 = product;
|
||
|
comp_28=`factorA = uv3;
|
||
|
comp_29=`factorB = uv4;
|
||
|
comp_30=`product = float2( factorA.x*factorB.x - factorA.y*factorB.y, factorA.x*factorB.y + factorA.y*factorB.x);
|
||
|
comp_31=`float2 uv34 = product;
|
||
|
comp_32=`factorA = uv12;
|
||
|
comp_33=`factorB = uv34;
|
||
|
comp_34=`product = float2( factorA.x*factorB.x - factorA.y*factorB.y, factorA.x*factorB.y + factorA.y*factorB.x);
|
||
|
comp_35=`numerator = float2(1,0);
|
||
|
comp_36=`denominator = product;
|
||
|
comp_37=`fraction = float2( numerator.x*denominator.x + numerator.y*denominator.y, // the fractions real part
|
||
|
comp_38=` numerator.y*denominator.x - numerator.x*denominator.y)/ // the fractions imaginary part
|
||
|
comp_39=` (denominator.x*denominator.x + denominator.y*denominator.y);
|
||
|
comp_40=`uv = fraction*(16 + bass + treb);
|
||
|
comp_41=`uv = lerp(0.5 + (uvo-0.5)*2,uv+0.5,0.5);
|
||
|
comp_42=`uv = 0.5 + (1.0 - abs( frac( uv * 0.5 ) * 2 - 1.0 )-0.5); // Eo.S. mirror code with cutted borders
|
||
|
comp_43=`
|
||
|
comp_44=`ret = lerp(float3(0.8,0.6,0.5)*tex2D(sampler_fc_main, uv).x,
|
||
|
comp_45=` lerp(float3(0.6,1.2,0),float3(-1,0.8,-1),GetPixel(uv).z),
|
||
|
comp_46=` GetPixel(uv).y*0.4);
|
||
|
comp_47=`ret = lerp(ret,float3(0,0.15,0.3),GetPixel(uv).z*(1-GetPixel(uv).y)*2);
|
||
|
comp_48=`
|
||
|
comp_49=`}
|