From f5c4671bfbad96bf346bd7e9a21fc4317b4959df Mon Sep 17 00:00:00 2001 From: Indrajith K L Date: Sat, 3 Dec 2022 17:00:20 +0530 Subject: Adds most of the tools --- .../presets/Flexi - intensive shader fractal.milk | 612 +++++++++++++++++++++ 1 file changed, 612 insertions(+) create mode 100644 musikcube_win32_with_milkdrop2_0.98.1/plugins/Milkdrop2/presets/Flexi - intensive shader fractal.milk (limited to 'musikcube_win32_with_milkdrop2_0.98.1/plugins/Milkdrop2/presets/Flexi - intensive shader fractal.milk') diff --git a/musikcube_win32_with_milkdrop2_0.98.1/plugins/Milkdrop2/presets/Flexi - intensive shader fractal.milk b/musikcube_win32_with_milkdrop2_0.98.1/plugins/Milkdrop2/presets/Flexi - intensive shader fractal.milk new file mode 100644 index 0000000..ed54990 --- /dev/null +++ b/musikcube_win32_with_milkdrop2_0.98.1/plugins/Milkdrop2/presets/Flexi - intensive shader fractal.milk @@ -0,0 +1,612 @@ +MILKDROP_PRESET_VERSION=201 +PSVERSION=2 +PSVERSION_WARP=2 +PSVERSION_COMP=2 +[preset00] +fRating=4.000000 +fGammaAdj=1.000 +fDecay=0.500 +fVideoEchoZoom=1.030 +fVideoEchoAlpha=0.000 +nVideoEchoOrientation=0 +nWaveMode=0 +bAdditiveWaves=0 +bWaveDots=0 +bWaveThick=0 +bModWaveAlphaByVolume=0 +bMaximizeWaveColor=0 +bTexWrap=0 +bDarkenCenter=0 +bRedBlueStereo=0 +bBrighten=0 +bDarken=0 +bSolarize=0 +bInvert=0 +fWaveAlpha=0.001 +fWaveScale=0.010 +fWaveSmoothing=0.000 +fWaveParam=0.000 +fModWaveAlphaStart=1.000 +fModWaveAlphaEnd=1.000 +fWarpAnimSpeed=1.549 +fWarpScale=2.940 +fZoomExponent=1.03315 +fShader=1.000 +zoom=1.56481 +rot=0.00000 +cx=0.500 +cy=0.500 +dx=0.00000 +dy=0.00000 +warp=1.45984 +sx=0.93272 +sy=0.89632 +wave_r=0.000 +wave_g=0.000 +wave_b=0.000 +wave_x=0.500 +wave_y=0.500 +ob_size=0.005 +ob_r=0.000 +ob_g=0.000 +ob_b=0.000 +ob_a=1.000 +ib_size=0.000 +ib_r=1.000 +ib_g=1.000 +ib_b=1.000 +ib_a=1.000 +nMotionVectorsX=64.000 +nMotionVectorsY=48.000 +mv_dx=0.000 +mv_dy=0.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.000 +wavecode_0_enabled=0 +wavecode_0_samples=495 +wavecode_0_sep=4 +wavecode_0_bSpectrum=1 +wavecode_0_bUseDots=0 +wavecode_0_bDrawThick=1 +wavecode_0_bAdditive=1 +wavecode_0_scaling=100.00000 +wavecode_0_smoothing=1.00000 +wavecode_0_r=0.150 +wavecode_0_g=0.000 +wavecode_0_b=0.000 +wavecode_0_a=1.000 +wave_0_init1=t2 = 0; +wave_0_init2=t3 = 0; +wave_0_init3=t4 = 0; +wave_0_init4=ab = 1; +wave_0_per_frame1=t1 = q1; +wave_0_per_frame2=t2 = q2; +wave_0_per_frame3=t3 = q3; +wave_0_per_frame4=t4 = q4; +wave_0_per_frame5=t5 = q5; +wave_0_per_frame6=t6 = q6; +wave_0_per_frame7=t8 = .07; +wave_0_per_frame8=t7 = 1; +wave_0_per_point1=t7 = -t7; +wave_0_per_point2=pi = asin(1); +wave_0_per_point3=n = 180; +wave_0_per_point4=rd = 0.075;//+(value1*10+1)*((sample*512)%2)*0.02; +wave_0_per_point5=my_x = sin(sample*pi*4+(t7+1)*t8)*0.5 + cos(sample*pi*n)*rd*sin(sample*pi*4+(t7+1)*t8); +wave_0_per_point6=my_y = cos(sample*pi*4+(t7+1)*t8)*0.5 + cos(sample*pi*n)*rd*cos(sample*pi*4+(t7+1)*t8); +wave_0_per_point7=my_z = sin(sample*pi*n)*rd; +wave_0_per_point8= +wave_0_per_point9= +wave_0_per_point10= +wave_0_per_point11=d = 1.4; // makes the perspective impact +wave_0_per_point12=zoom = 0.85; +wave_0_per_point13= +wave_0_per_point14=w1 = q12; +wave_0_per_point15=w2 = q13; +wave_0_per_point16=w3 = q14; +wave_0_per_point17= +wave_0_per_point18=x1 = cos(w1)*my_x + sin(w1)*my_y; +wave_0_per_point19=y1 = -sin(w1)*my_x + cos(w1)*my_y; +wave_0_per_point20=z1 = my_z; +wave_0_per_point21= +wave_0_per_point22=x2 = cos(w2)*x1 + sin(w2)*z1; +wave_0_per_point23=z2 = -sin(w2)*x1 + cos(w2)*z1; +wave_0_per_point24=y2 = y1; +wave_0_per_point25= +wave_0_per_point26=y3 = cos(w3)*y2 + sin(w3)*z2; +wave_0_per_point27=z3 = -sin(w3)*y2 + cos(w3)*z2; +wave_0_per_point28=x3 = x2; +wave_0_per_point29= +wave_0_per_point30=// perspective calculation +wave_0_per_point31= +wave_0_per_point32=l = sqrt(x3*x3 + y3*y3); +wave_0_per_point33=w = atan2(x3,y3); +wave_0_per_point34=p = tan(asin(1) + atan2(d+z3,l)); +wave_0_per_point35=d = sqrt(x3*x3 + y3*y3 + (z3+d)*(z3+d)); +wave_0_per_point36= +wave_0_per_point37=my_x = zoom*sin(w)*p; +wave_0_per_point38=my_y = zoom*cos(w)*p; +wave_0_per_point39= +wave_0_per_point40=x = 0.5 + my_x; +wave_0_per_point41=y = 0.5 + my_y; +wave_0_per_point42= +wave_0_per_point43=g = -z3*0.8 + 0.55; +wave_0_per_point44=//b = min(1,max(0,b))*0.5; +wave_0_per_point45=//r = 1-b*2 +wave_0_per_point46=//b = (1 - r)*0.1; +wave_0_per_point47=//a = 7/(d*16) - 0.1; +wavecode_1_enabled=0 +wavecode_1_samples=445 +wavecode_1_sep=4 +wavecode_1_bSpectrum=1 +wavecode_1_bUseDots=1 +wavecode_1_bDrawThick=1 +wavecode_1_bAdditive=1 +wavecode_1_scaling=100.00000 +wavecode_1_smoothing=1.00000 +wavecode_1_r=1.000 +wavecode_1_g=1.000 +wavecode_1_b=1.000 +wavecode_1_a=0.990 +wave_1_init1=t2 = 0; +wave_1_init2=t3 = 0; +wave_1_init3=t4 = 0; +wave_1_init4=ab = 1; +wave_1_per_frame1=t1 = q1; +wave_1_per_frame2=t2 = q2; +wave_1_per_frame3=t3 = q3; +wave_1_per_frame4=t4 = q4; +wave_1_per_frame5=t5 = q5; +wave_1_per_frame6=t6 = q6; +wave_1_per_frame7=t8 = .09; +wave_1_per_frame8=t7 = 1; +wave_1_per_point1=t7 = -t7; +wave_1_per_point2=pi = asin(1); +wave_1_per_point3=n = 160; +wave_1_per_point4=rd = 0.075;//+(value1*10+1)*((sample*512)%2)*0.02; +wave_1_per_point5=xx = sin(sample*pi*4+(t7+1)*t8)*0.5 + cos(sample*pi*n)*rd*sin(sample*pi*4); +wave_1_per_point6=yy = cos(sample*pi*4+(t7+1)*t8)*0.5 + cos(sample*pi*n)*rd*cos(sample*pi*4); +wave_1_per_point7=zz = sin(sample*pi*n)*rd; +wave_1_per_point8= +wave_1_per_point9=d = sqrt( xx*xx + yy*yy + zz*zz); +wave_1_per_point10=d1 = 1; +wave_1_per_point11=xx = xx*d1; +wave_1_per_point12=yy = yy*d1; +wave_1_per_point13=zz = zz*d1; +wave_1_per_point14= +wave_1_per_point15=w = -d*t5; +wave_1_per_point16=s1 = sin(t2*1+w); +wave_1_per_point17=s2 = sin(t3*1+w); +wave_1_per_point18=s3 = sin(t4*1+w); +wave_1_per_point19=c1 = cos(t2*1+w); +wave_1_per_point20=c2 = cos(t3*1+w); +wave_1_per_point21=c3 = cos(t4*1+w); +wave_1_per_point22= +wave_1_per_point23=z = (c3*s1*c2 + s3*s2)*xx - (c3*s1*s2-s3*c2)*yy + c3*c1*zz; +wave_1_per_point24=x1 = (c1*c2*xx + c1*s2*yy - s1*zz); +wave_1_per_point25=y1 = ((s3*s1*c2 - c3*s2)*xx + (s3*s1*s2+c3*c2)*yy + s3*c1*zz); +wave_1_per_point26= +wave_1_per_point27=a = 0.75; +wave_1_per_point28=zoom = 0.5*atan2(a,a+z);//0.5*(1/(z+a)); +wave_1_per_point29=x = 0.5 + zoom*x1; +wave_1_per_point30=y = 0.5 + zoom*y1; +wave_1_per_point31= +wave_1_per_point32=pi3 = 3.1415*2*0.3333; +wave_1_per_point33=t = sample*pi*4-2*time; +wave_1_per_point34=c=1.6; +wave_1_per_point35=r = sin(t)*c; +wave_1_per_point36= +wave_1_per_point37=g = sin(t+pi3)*c; +wave_1_per_point38= +wave_1_per_point39=b = sin(t-pi3)*c; +wave_1_per_point40= +wave_1_per_point41=j = 0.71; +wave_1_per_point42=//r = 0.5+xx*j; +wave_1_per_point43=//g = 0.5+yy*j; +wave_1_per_point44=//b = 0.5+zz*j; +wave_1_per_point45= +wave_1_per_point46=r = if(above(r,1),1,r); +wave_1_per_point47=r = if(below(r,0),0,r); +wave_1_per_point48=g = if(above(g,1),1,g); +wave_1_per_point49=g = if(below(g,0),0,g); +wave_1_per_point50=b = if(above(b,1),1,b); +wave_1_per_point51=b = if(below(b,0),0,b); +wave_1_per_point52=a = 1-(z + a)/2; +wave_1_per_point53= +wavecode_2_enabled=0 +wavecode_2_samples=512 +wavecode_2_sep=4 +wavecode_2_bSpectrum=0 +wavecode_2_bUseDots=0 +wavecode_2_bDrawThick=0 +wavecode_2_bAdditive=0 +wavecode_2_scaling=0.09348 +wavecode_2_smoothing=1.00000 +wavecode_2_r=1.000 +wavecode_2_g=1.000 +wavecode_2_b=1.000 +wavecode_2_a=1.000 +wave_2_init1=t2 = 0; +wave_2_init2=t3 = 0; +wave_2_init3=t4 = 0; +wave_2_init4=ab = 1; +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_point1=s8 = sample*383; +wave_2_per_point2= +wave_2_per_point3=s = 100;//0.3; +wave_2_per_point4=xx = sin(sample*s);//((sample*343)%7 - 3.5)*s; +wave_2_per_point5=zz = cos(sample*s);//((sample*49)%7 - 3.5)*s; +wave_2_per_point6=yy = (sample-0.5);//((sample*7)%7 - 3.5)*s; +wave_2_per_point7= +wave_2_per_point8=d = sqrt( xx*xx + yy*yy + zz*zz); +wave_2_per_point9=d1 = 1/d; +wave_2_per_point10=xx = xx*d1; +wave_2_per_point11=yy = yy*d1; +wave_2_per_point12=zz = zz*d1; +wave_2_per_point13= +wave_2_per_point14=w = 1+0*(d)*(t6);//(sample*sin(time*0.3)*0.02-1); +wave_2_per_point15=s1 = sin(t2*w); +wave_2_per_point16=s2 = sin(t3*w); +wave_2_per_point17=s3 = sin(t4*w); +wave_2_per_point18=c1 = cos(t2*w); +wave_2_per_point19=c2 = cos(t3*w); +wave_2_per_point20=c3 = cos(t4*w); +wave_2_per_point21= +wave_2_per_point22=z = (c3*s1*c2 + s3*s2)*xx - (c3*s1*s2-s3*c2)*yy + c3*c1*zz; +wave_2_per_point23=x1 = (c1*c2*xx + c1*s2*yy - s1*zz); +wave_2_per_point24=y1 = ((s3*s1*c2 - c3*s2)*xx + (s3*s1*s2+c3*c2)*yy + s3*c1*zz); +wave_2_per_point25= +wave_2_per_point26=a = 2; +wave_2_per_point27=zoom = 0.3*atan2(a-z,a);//0.5*(1/(z+a)); +wave_2_per_point28=x = 0.5 + zoom*x1; +wave_2_per_point29=y = 0.5 + zoom*y1; +wave_2_per_point30= +wave_2_per_point31=pi3 = 3.1415*2*0.3333; +wave_2_per_point32=t = -z*13+t5*20; +wave_2_per_point33=c = 10; +wave_2_per_point34=r = sin(t)*c; +wave_2_per_point35= +wave_2_per_point36=g = sin(t+pi3)*c; +wave_2_per_point37= +wave_2_per_point38=b = sin(t-pi3)*c; +wave_2_per_point39= +wave_2_per_point40=j = 0.71; +wave_2_per_point41=//r = 0.5+xx*j; +wave_2_per_point42=//g = 0.5+yy*j; +wave_2_per_point43=//b = 0.5+zz*j; +wave_2_per_point44= +wave_2_per_point45=r = if(above(r,1),1,r); +wave_2_per_point46=r = if(below(r,0),0,r); +wave_2_per_point47=g = if(above(g,1),1,g); +wave_2_per_point48=g = if(below(g,0),0,g); +wave_2_per_point49=b = if(above(b,1),1,b); +wave_2_per_point50=b = if(below(b,0),0,b); +wave_2_per_point51= +wave_2_per_point52= +wave_2_per_point53=a = sigmoid(-z,10)*1.0+0.0; +wavecode_3_enabled=0 +wavecode_3_samples=484 +wavecode_3_sep=4 +wavecode_3_bSpectrum=0 +wavecode_3_bUseDots=1 +wavecode_3_bDrawThick=0 +wavecode_3_bAdditive=0 +wavecode_3_scaling=9.94125 +wavecode_3_smoothing=1.00000 +wavecode_3_r=1.000 +wavecode_3_g=1.000 +wavecode_3_b=1.000 +wavecode_3_a=1.000 +wave_3_init1=t2 = 0; +wave_3_init2=t3 = 0; +wave_3_init3=t4 = 0; +wave_3_init4=ab = 1; +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_point1=s8 = sample*383; +wave_3_per_point2= +wave_3_per_point3=s = 0.25; +wave_3_per_point4=xx = ((sample*(465))%15 - 8)*s*2; +wave_3_per_point5=yy = ((sample*31)%31 - 16)*s; +wave_3_per_point6=zz = 0; +wave_3_per_point7= +wave_3_per_point8=d = sqrt( xx*xx + yy*yy + zz*zz); +wave_3_per_point9=w = 1; +wave_3_per_point10= +wave_3_per_point11=s1 = sin(t2*1); +wave_3_per_point12=s2 = sin(t3*0); +wave_3_per_point13=s3 = sin(t4*1); +wave_3_per_point14=c1 = cos(t2*1); +wave_3_per_point15=c2 = cos(t3*0); +wave_3_per_point16=c3 = cos(t4*1); +wave_3_per_point17= +wave_3_per_point18= +wave_3_per_point19=z = (c3*s1*c2 + s3*s2)*xx - (c3*s1*s2-s3*c2)*yy + c3*c1*zz; +wave_3_per_point20=x1 = (c1*c2*xx + c1*s2*yy - s1*zz); +wave_3_per_point21=y1 = ((s3*s1*c2 - c3*s2)*xx + (s3*s1*s2+c3*c2)*yy + s3*c1*zz); +wave_3_per_point22= +wave_3_per_point23=a = 500; +wave_3_per_point24=zoom = 0.05*atan2(a-z,a);//0.5*(1/(z+a)); +wave_3_per_point25=x = 0.5 + zoom*x1; +wave_3_per_point26=y = 0.5 + zoom*y1; +wave_3_per_point27= +wave_3_per_point28=pi3 = 3.1415*2*0.3333; +wave_3_per_point29=t = -z*5+t5; +wave_3_per_point30=c = 10; +wave_3_per_point31=r = sin(t)*c; +wave_3_per_point32= +wave_3_per_point33=g = sin(t+pi3)*c; +wave_3_per_point34= +wave_3_per_point35=b = sin(t-pi3)*c; +wave_3_per_point36= +wave_3_per_point37=j = 0.71; +wave_3_per_point38=//r = 0.5+xx*j; +wave_3_per_point39=//g = 0.5+yy*j; +wave_3_per_point40=//b = 0.5+zz*j; +wave_3_per_point41= +wave_3_per_point42=r = if(above(r,1),1,r); +wave_3_per_point43=r = if(below(r,0),0,r); +wave_3_per_point44=g = if(above(g,1),1,g); +wave_3_per_point45=g = if(below(g,0),0,g); +wave_3_per_point46=b = if(above(b,1),1,b); +wave_3_per_point47=b = if(below(b,0),0,b); +wave_3_per_point48= +wave_3_per_point49= +wave_3_per_point50=a = sigmoid(z,5); +shapecode_0_enabled=1 +shapecode_0_sides=100 +shapecode_0_additive=1 +shapecode_0_thickOutline=0 +shapecode_0_textured=0 +shapecode_0_num_inst=1 +shapecode_0_x=0.140 +shapecode_0_y=0.130 +shapecode_0_rad=0.20388 +shapecode_0_ang=0.62830 +shapecode_0_tex_ang=0.00000 +shapecode_0_tex_zoom=1.17257 +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=1.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_init2=vy = 0; +shapecode_1_enabled=0 +shapecode_1_sides=100 +shapecode_1_additive=0 +shapecode_1_thickOutline=1 +shapecode_1_textured=1 +shapecode_1_num_inst=1 +shapecode_1_x=0.500 +shapecode_1_y=0.500 +shapecode_1_rad=0.40271 +shapecode_1_ang=0.00000 +shapecode_1_tex_ang=0.00000 +shapecode_1_tex_zoom=2.23888 +shapecode_1_r=1.000 +shapecode_1_g=1.000 +shapecode_1_b=1.000 +shapecode_1_a=1.000 +shapecode_1_r2=0.080 +shapecode_1_g2=0.000 +shapecode_1_b2=0.000 +shapecode_1_a2=1.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 +shapecode_2_enabled=0 +shapecode_2_sides=100 +shapecode_2_additive=0 +shapecode_2_thickOutline=0 +shapecode_2_textured=1 +shapecode_2_num_inst=1 +shapecode_2_x=0.500 +shapecode_2_y=0.500 +shapecode_2_rad=1.21525 +shapecode_2_ang=0.00000 +shapecode_2_tex_ang=2.57611 +shapecode_2_tex_zoom=0.55595 +shapecode_2_r=1.000 +shapecode_2_g=1.000 +shapecode_2_b=1.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 +shapecode_3_enabled=0 +shapecode_3_sides=34 +shapecode_3_additive=0 +shapecode_3_thickOutline=0 +shapecode_3_textured=0 +shapecode_3_num_inst=1 +shapecode_3_x=0.990 +shapecode_3_y=0.990 +shapecode_3_rad=0.02558 +shapecode_3_ang=0.00000 +shapecode_3_tex_ang=0.00000 +shapecode_3_tex_zoom=1.00000 +shapecode_3_r=0.000 +shapecode_3_g=1.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=1.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 +per_frame_init_1=x1 = 0; +per_frame_init_2=y1 = 0; +per_frame_1=//q1 = 0; +per_frame_2=v = 0.8; +per_frame_3=j1 = j1*0.95 + sqr(bass*4)*v; +per_frame_4=j2 = j2*0.95 + sqr(mid*4)*v; +per_frame_5=j3 = j3*0.95 + sqr(treb*4)*v; +per_frame_6= +per_frame_7=n = n + j1*0.0052; +per_frame_8=n1 = n1 + j2*0.0052; +per_frame_9=n2 = n2 + j3*0.0052; +per_frame_10= +per_frame_11= +per_frame_12=q12 = n*0.01; +per_frame_13=q13 = n1*0.01; +per_frame_14=q14 = n2*0.01; +per_frame_15= +per_frame_16=k = k*0.99 + sqr(mid_att*2); +per_frame_17=q5 = k*0.00; +per_frame_18= +per_frame_19=zoom = 0.99; +per_frame_20=//warp = 0; +per_frame_21= +per_frame_22=rot = -0.00; +per_frame_23= +per_frame_24=w = -0.46; +per_frame_25=q1 = sin(w); +per_frame_26=q2 = cos(w); +per_frame_27= +per_frame_28=w = n*0.001; +per_frame_29=q3 = sin(w); +per_frame_30=q4 = cos(w); +per_frame_31=q9 = n1*0.004; +per_frame_32=q10 = n2*0.004; +per_frame_33= +per_frame_34= +per_frame_35=vol = bass*8 + mid*4 + treb*2; +per_frame_36=vol = vol*above(vol,17); +per_frame_37=monitor = vol; +per_frame_38=beat = above(vol,res); +per_frame_39=diff = (1-beat)*diff + beat*(vol-res); +per_frame_40=res = beat*(vol+2*diff) + (1-beat)*(res - (diff*0.04 + 0.12)*60/fps); +per_frame_41=res = max(0,res); +per_frame_42=monitor = res; +per_frame_43= +per_frame_44=x = if(beat,rand(60)*0.01 + 0.2,x); +per_frame_45=y = if(beat,rand(60)*0.01 + 0.2,y); +per_frame_46=q21 = x; +per_frame_47=q22 = y; +per_frame_48= +per_frame_49=wave_x = q1; +per_frame_50=wave_y = 1-q2; +per_pixel_1=cx = q21; +per_pixel_2=cy = q22; +per_pixel_3= +per_pixel_4=d = pow(sqrt(sqr(x-cx)+sqr(y-cy)),0.8); +per_pixel_5=r = 0.2; +per_pixel_6=v = 0.2; +per_pixel_7= +per_pixel_8=dx = (x - cx)*v*(d-r); +per_pixel_9=dy = (y - cy)*v*(d-r); +warp_1=`float1 s,c; +warp_2=` +warp_3=`shader_body +warp_4=`{ +warp_5=`ret = 0; +warp_6=` +warp_7=`// fern fractal on the red channel +warp_8=` +warp_9=`float2 uv0 = uv.yx*4 -float2(3,0); +warp_10=`float c0 = tex2D(sampler_fc_main, uv0).z; // feeded by the spiral +warp_11=` +warp_12=`float2 uv1 = 0.5 + (uv-0.5)*1.15 + float2(-1,1)*0.05; // main arm +warp_13=`float1 c1 = tex2D(sampler_fc_main, uv1).x; +warp_14=` +warp_15=`float2 uv2 = float2(-1,0) + (float2(-1,1)*uv + float2(1,0) - 0.5)*4; // upper limb +warp_16=`float1 c2 = tex2D(sampler_fc_main, uv2).x; +warp_17=` +warp_18=`float2 uv3 = float2(1,2) + (float2(1,-1)*uv + float2(0,1) - 0.5)*4; // lower limb +warp_19=`float1 c3 = tex2D(sampler_fc_main, uv3).x; +warp_20=` +warp_21=` +warp_22=`ret.x = (c0 + c1 + c2 + c3)*1.075; // composition of the red fractal +warp_23=` +warp_24=`// spiral in the blue channel +warp_25=` +warp_26=`float2 uv4 = float2(-1,0) + (float2(-1,1)*uv + float2(1,0) - 0.5)*4; +warp_27=`float1 c4 = tex2D(sampler_fc_main, uv4).x; // feeded by the fern +warp_28=` +warp_29=`s = q1; // sin(w) +warp_30=`c = q2; // cos(w) +warp_31=`float2 scale = 1.05; +warp_32=`float2 uv5 = (uv-0.5)*aspect.xy; +warp_33=` uv5 = scale*float2( c*uv5.x - s*uv5.y, s*uv5.x + c*uv5.y); // rotation +warp_34=` uv5 = 0.5 + uv5*aspect.zw + float2(-0.03,0.03); +warp_35=` +warp_36=`float1 c5 = tex2D(sampler_fc_main, uv5).z; +warp_37=` +warp_38=` +warp_39=` +warp_40=`ret.z = (c4 + c5)*1.075 - 0.00; +warp_41=` +warp_42=`// mirrored checker in the green channel +warp_43=` +warp_44=`s = q3; // sin(w) +warp_45=`c = q4; // cos(w) +warp_46=` +warp_47=`float2 uv6 = (uv-0.5)*aspect.xy*2; +warp_48=` uv6 = scale*float2( c*uv6.x - s*uv6.y, s*uv6.x + c*uv6.y); // rotation +warp_49=` uv6 = 0.5 + uv6*aspect.zw + float2(q9,q10); +warp_50=` +warp_51=` uv6 = 1.0 - abs( frac( uv6 * 0.5 ) * 2.0 - 1.0 ); // Eo.S' mirror code +warp_52=` +warp_53=`float c6 = tex2D(sampler_fc_main,uv6).z; +warp_54=`float c7 = tex2D(sampler_fc_main,uv6).y; +warp_55=`ret.y = max(c6,c7*0.5); +warp_56=` +warp_57=`} +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=` +comp_8=` float2 uv_dz = uv + float2(dy.z,-dx.z)*texsize.zw*64; +comp_9=` float2 uv_dy = uv - float2(dy.z,-dx.z)*texsize.zw*32; +comp_10=` +comp_11=`ret = GetPixel(uv).y*0.2; +comp_12=`ret = lerp(float3(0.2,0.2,0),float3(0.6,0.6,0),GetBlur3(uv_dz).y*8); +comp_13=`ret = lerp(ret,float3(1,1,1),GetBlur1(uv_dz).y*6); +comp_14=`ret = lerp(ret,float3(0,0,0),GetPixel(uv_dz).y*2); +comp_15=` +comp_16=`ret = lerp(ret,float3(0,1,0),GetBlur2(uv).z*1.2); +comp_17=`//ret = lerp(ret,float3(-.02,-4,2),GetPixel(uv).z); +comp_18=` +comp_19=`ret = lerp(ret,float3(1.4,0,0),GetBlur1(uv_dy).x*2); +comp_20=`ret = lerp(ret,0,GetPixel(uv_dy).x*2); +comp_21=` +comp_22=`} +comp_23=` -- cgit v1.2.3