securityos/node_modules/butterchurn-presets/presets/converted/Flexi + Martin - tunnel of ...

1 line
8.8 KiB
JSON

{"version":2,"baseVals":{"rating":3,"gammaadj":1.21,"decay":1,"echo_zoom":1,"echo_alpha":0.5,"echo_orient":1,"wave_thick":1,"wave_brighten":0,"wrap":0,"darken":1,"invert":1,"wave_a":0.004,"wave_scale":0.01,"wave_smoothing":0,"wave_mystery":-0.44,"modwavealphastart":1,"modwavealphaend":1,"warpanimspeed":0.01,"warpscale":100,"zoomexp":0.92178,"fshader":1,"zoom":0.9901,"warp":0.01,"wave_y":0.04,"ob_size":0.005,"ob_r":1,"ob_g":1,"ob_b":1,"ob_a":1,"ib_size":0,"ib_r":0,"ib_g":0,"ib_b":0,"ib_a":1,"mv_x":64,"mv_y":48,"mv_l":0.25,"mv_g":0.5,"mv_b":0,"mv_a":0},"shapes":[{"baseVals":{"sides":100,"thickoutline":1,"textured":1,"x":0.77,"y":0.79,"rad":0.31091,"ang":4.27256,"tex_ang":0.12566,"tex_zoom":1.51878,"g":1,"b":1,"a":0.96,"r2":1,"b2":1,"border_a":0,"enabled":0},"init_eqs_eel":"vx = 0","frame_eqs_eel":""},{"baseVals":{"sides":100,"additive":1,"thickoutline":1,"y":0.75,"rad":0.04208,"tex_zoom":0.73458,"g":1,"g2":0,"border_a":0,"enabled":0},"init_eqs_eel":"vx = 0","frame_eqs_eel":"x = q3;\ny = q7;"},{"baseVals":{"sides":100,"additive":1,"thickoutline":1,"y":0.75,"rad":0.04208,"tex_zoom":0.73458,"g":1,"g2":0,"border_a":0,"enabled":0},"init_eqs_eel":"vx = 0","frame_eqs_eel":"x = q2;\ny = q6;"},{"baseVals":{"sides":100,"additive":1,"thickoutline":1,"y":0.75,"rad":0.07059,"tex_zoom":0.73458,"g2":0,"border_a":0,"enabled":0},"init_eqs_eel":"vx = 0","frame_eqs_eel":"x = q1;\ny = q5;"}],"waves":[{"baseVals":{"usedots":1,"scaling":2.44415,"smoothing":0,"a":0,"enabled":0},"init_eqs_eel":"t2 = 0;\nt3 = 0;\nt4 = 0;\ncl = 0;","frame_eqs_eel":"t1 = 0;\nv = 0.01;\nj = j + (bass)*0.01;\nj2 = j2 + (mid_att)*0.01;\nj3 = j3 + (treb_att)*0.01;\nt2 = j;\nt3 = j2;\nt4 = j3;\n//t5 = 0;\nk = k*0.99 + 10*mid/fps;\nt5 = -k;\n\ncl1 = cl1 + 0.002;\ncl1 = if(above(cl1,1),0,cl1);\ncl1 = if(below(cl1,0),1,cl1);\nt8 = cl1;\n\ncl2 = cl2 -1*q1;\ncl2 = if(above(cl2,1),0,cl2);\ncl2 = if(below(cl2,0),1,cl2);\nt7 = cl2;\n\ncl3 = cl3 +0.001;\ncl3 = if(above(cl3,1),0,cl3);\ncl3 = if(below(cl3,0),1,cl3);\nt6 = cl3;","point_eqs_eel":"xx = ((sample*0983624912364)%10000000+100)/10000000;\nyy = ((xx*1896575575)%10000000+100)/10000000;\nzz = ((yy*58652340875)%10000000+100)/10000000;\n\n\nd = sqrt(sqr(xx)+sqr(yy)+sqr(zz));\n\nzz = zz + t8 - if(above(zz+t8,1),1,0) - 0.5;\nxx = xx + t7 - if(above(xx+t7,1),1,0) - 0.5;\nyy = yy + t6 - if(above(yy+t6,1),1,0) - 0.5;\n\nv = 0.001;\n\nw = 1;// (sample*sin(time*0.3)*0.01-1);\nbb = d*d*0.5;\nn= 0.3;\ns1 = sin(sin(t2*w+bb)*n);\ns2 = sin(sin(t3*w+bb)*n);\ns3 = sin(sin(t4*w+bb)*n);\nc1 = cos(sin(t2*w+bb)*n);\nc2 = cos(sin(t3*w+bb)*n);\nc3 = cos(sin(t4*w+bb)*n);\n\nz = (c3*s1*c2 + s3*s2)*xx - (c3*s1*s2-s3*c2)*yy + c3*c1*zz;\nx1 = (c1*c2*xx + c1*s2*yy - s1*zz);\ny1 = ((s3*s1*c2 - c3*s2)*xx + (s3*s1*s2+c3*c2)*yy + s3*c1*zz);\n\nzoom = .5*(1/(z+0.5));\nx = 0.5 + zoom*x1 + sin(time*0.1)*0;;\ny = 0.5 + zoom*y1 + cos(time*0.16801)*0;\n\npi3 = 3.1415*2*0.3333;\nt = z*2+t2*1;\nc=3;\n//r = sin(t)*c;\n\n//g = sin(t+pi3)*c;\n\n//b = sin(t-pi3)*c;\n\n\nr = if(above(r,1),1,r);\nr = if(below(r,0),0,r);\ng = if(above(g,1),1,g);\ng = if(below(g,0),0,g);\nb = if(above(b,1),1,b);\nb = if(below(b,0),0,b);\n\na = 0.4;"},{"baseVals":{"scaling":2.44415,"smoothing":0,"enabled":0},"init_eqs_eel":"t2 = 0;\nt3 = 0;\nt4 = 0;\ncl = 0;","frame_eqs_eel":"t8 = 1;","point_eqs_eel":"t8 = -t8;\ny = sample*0.05;\nx = 0.5 + t8*0.005;\n\npi3 = 3.1415*2*0.3333;\nt = (q4-q6)*10;\nc=2;\nr = sin(t)*c;\ng = sin(t+pi3)*c;\n\nb = sin(t-pi3)*c;\n\n\nr = if(above(r,1),1,r);\nr = if(below(r,0),0,r);\ng = if(above(g,1),1,g);\ng = if(below(g,0),0,g);\nb = if(above(b,1),1,b);\nb = if(below(b,0),0,b);\n"},{"baseVals":{"thick":1,"additive":1,"scaling":100,"smoothing":0.6,"r":0,"g":0.4,"a":0.3,"enabled":0},"init_eqs_eel":"","frame_eqs_eel":"t1 = q1;\nt2 = q2;\nt3 = q3;\nt4 = q4;\nt5 = q5;\nt6 = q6;\nt7 = q7;\nt8 = q8;","point_eqs_eel":"sample = 1-sample;\nxxx = xx;\nyyy = yy;\nxx = pow(sample,5)*t1 + 5*pow(sample,4)*(1-sample)*t1 + 10*pow(sample,3)*sqr(1-sample)*t2\n+ 10*sqr(sample)*pow(1-sample,3)*t3 + 5*pow(1-sample,4)*sample*t4 + pow(1-sample,5)*t4;\n\nyy = pow(sample,5)*t5 + 5*pow(sample,4)*(1-sample)*t5 + 10*pow(sample,3)*sqr(1-sample)*t6\n+ 10*sqr(sample)*pow(1-sample,3)*t7 + 5*pow(1-sample,4)*sample*t8 + pow(1-sample,5)*t8;\nd = 1/sqrt(sqr(xx-xxx)+sqr(yy-yyy));\nx = xx + sample*(1-sample)*(value1-value2)*(yy-yyy)*d;\ny = yy - sample*(1-sample)*(value1-value2)*(xx-xxx)*d;"},{"baseVals":{"usedots":1,"scaling":2.44415,"smoothing":0,"r":0,"g":0,"enabled":0},"init_eqs_eel":"t2 = 0;\nt3 = 0;\nt4 = 0;\ncl = 0;","frame_eqs_eel":"t8 = 1;","point_eqs_eel":"t8 = -t8;\ny = (1+t8)*0.01;\nx = sample;"}],"init_eqs_eel":"x1 = 0.9;\ny1 = 0.5;\n\nx2 = 0.5; y2 = 0.5;\nx3 = 0.5; y3 = 0.5;\nx4 = 0.5; y4 = 0.5;","frame_eqs_eel":"decay = 1;\nxx1 = xx1*0.9 + (bass)*0.01;\nxx2 = xx2*0.9 + (treb)*0.01;\nyy1 = yy1*0.94 + (treb+bass)*0.0075;\n\nx1 = 0.5 + xx1-xx2;\ny1 = 0.5 + yy1;\n\n//x2 = 0;y2 = 0;x3 = 0;y3 = 0;x4 = 0;y4 = 0;\n\nspring = 28;\ngrav = 2;\nresist = 0.2;\nbounce = 0.94;\ndt = 0.0001;\n\nvx2 = vx2*(1-resist*dt) + dt*((x1+x3-2*x2)*spring);\nvy2 = vy2*(1-resist*dt) + dt*((y1+y3-2*y2)*spring-grav);\nvx3 = vx3*(1-resist*dt) + dt*((x2+x4-2*x3)*spring);\nvy3 = vy3*(1-resist*dt) + dt*((y2+y4-2*y3)*spring-grav);\nvx4 = vx4*(1-resist*dt) + dt*((x3-x4)*spring);\nvy4 = vy4*(1-resist*dt) + dt*((y3-y4)*spring-grav);\n\nx2 = x2 + vx2;\ny2 = y2 + vy2;\nx3 = x3 + vx3;\ny3 = y3 + vy3;\nx4 = x4 + vx4;\ny4 = y4 + vy4;\n\nvx2 = if(above(x2,0),vx2,abs(vx2)*bounce);\nvx2 = if(below(x2,1),vx2,-abs(vx2)*bounce);\nvx3 = if(above(x3,0),vx3,abs(vx3)*bounce);\nvx3 = if(below(x3,1),vx3,-abs(vx3)*bounce);\nvx4 = if(above(x4,0),vx4,abs(vx4)*bounce);\nvx4 = if(below(x4,1),vx4,-abs(vx4)*bounce);\n\nvy2 = if(above(y2,0),vy2,abs(vy2)*bounce);\nvy2 = if(below(y2,1),vy2,-abs(vy2)*bounce);\nvy3 = if(above(y3,0),vy3,abs(vy3)*bounce);\nvy3 = if(below(y3,1),vy3,-abs(vy3)*bounce);\nvy4 = if(above(y4,0),vy4,abs(vy4)*bounce);\nvy4 = if(below(y4,1),vy4,-abs(vy4)*bounce);\nq1 = aspectx;\nq2 = aspecty;\nq4 = x4;\n\nq8 = y4;\n\n\nzoom = 1;\nwarp = 0;\nbb = bb*0.99 + bass*0.02;\nmm = mm*0.99 + mid*0.02;\ntt = tt*0.99 + treb*0.02;\n\nob_r = (bb-min(min(bb,mm),tt))/(max(max(bb,mm),tt)-min(min(bb,mm),tt));\nob_b = (mm-min(min(bb,mm),tt))/(max(max(bb,mm),tt)-min(min(bb,mm),tt));\nob_g = (tt-min(min(bb,mm),tt))/(max(max(bb,mm),tt)-min(min(bb,mm),tt));\nq6 = atan2(vx4,vy4);\nq5 = sqrt(vx4*vx4 + vy4*vy4);\n\nwave_a = 0;\n// these lines belong to the composite shader\na = a*0.98 - (bass-treb)*0.01;\nq15 = a;\nv = v*0.96 + a*0.12;\nq16 = v;\nw = w - v*0.01;\nq18 = w;\nq19 = 0.5-(bass_att-treb_att)*0.15;\nd = d + (bass_att-0.5)*0.01*60/fps;\nd2 = d2 + (treb_att-0.5)*0.006*60/fps;\nq20 = d;\nq21 = d2;\nmonitor = d2;","pixel_eqs_eel":"x = 0.5 + (x-0.5)*q1;\ny = 0.5 + (y-0.5)*q2;\n\ndir = -q6*1 + asin(1)*1;\n\nb1 = 0.1; // distance\nm1 = q5*25;//-0.6 + q5*200; // size\nt1 = 0.05; // velocity\n\nxx = q4;\nyy = 1-q8;\n\n\nx1 = xx +cos(dir+1.5708)*b1;\ny1 = yy -sin(dir+1.5708)*b1;\n\nx2 = xx -cos(dir+1.5708)*b1;\ny2 = yy +sin(dir+1.5708)*b1;\n\nd1 = sqrt((x1-x)*(x1-x)+(y1-y)*(y1-y))-b1*2;\nsi1 = 1- 1/(1+pow(2,-d1*100));\n\nd2 = sqrt((x2-x)*(x2-x)+(y2-y)*(y2-y))-b1*2;\nsi2 = 1- 1/(1+pow(2,-d2*100));\n\nsi3 = -pow(q5,3)*00;\n\ndx = (si1*sin(y1-y)*m1*d1 - si2*sin(y2-y)*m1*d2 + si3*cos(dir)*t1)*2;\ndy = (-si1*sin(x1-x)*m1*d1 + si2*sin(x2-x)*m1*d2 - si3*sin(dir)*t1)*2;","warp":" shader_body { \n vec4 tmpvar_1;\n tmpvar_1.w = 1.0;\n tmpvar_1.xyz = texture (sampler_fc_main, uv).xyz;\n ret = tmpvar_1.xyz;\n }","comp":"vec2 xlat_mutablers;\n shader_body { \n vec2 uv_1;\n uv_1 = (0.5 + ((uv - 0.5) * aspect.xy));\n xlat_mutablers.x = (((ang / 3.14) + (rad * \n (q15 - q16)\n )) - q18);\n vec2 x_2;\n x_2 = (uv_1 - 0.5);\n xlat_mutablers.y = ((0.1 / (0.05 + \n (sqrt(dot (x_2, x_2)) * 1.4)\n )) + q21);\n vec2 tmpvar_3;\n tmpvar_3 = fract(xlat_mutablers);\n vec2 tmpvar_4;\n tmpvar_4.y = 0.0;\n tmpvar_4.x = texsize.z;\n vec2 tmpvar_5;\n tmpvar_5 = (tmpvar_4 * 4.0);\n vec2 tmpvar_6;\n tmpvar_6.x = 0.0;\n tmpvar_6.y = texsize.w;\n vec2 tmpvar_7;\n tmpvar_7 = (tmpvar_6 * 4.0);\n vec2 tmpvar_8;\n tmpvar_8.x = dot (((\n (texture (sampler_blur1, (tmpvar_3 - tmpvar_5)).xyz * scale1)\n + bias1) - (\n (texture (sampler_blur1, (tmpvar_3 + tmpvar_5)).xyz * scale1)\n + bias1)), vec3(0.32, 0.49, 0.29));\n tmpvar_8.y = dot (((\n (texture (sampler_blur1, (tmpvar_3 - tmpvar_7)).xyz * scale1)\n + bias1) - (\n (texture (sampler_blur1, (tmpvar_3 + tmpvar_7)).xyz * scale1)\n + bias1)), vec3(0.32, 0.49, 0.29));\n uv_1 = ((0.4 * cos(\n ((12.56 * tmpvar_3) - (vec2(0.0, 10.0) * (q21 + q20)))\n )) - (4.0 * tmpvar_8));\n vec3 tmpvar_9;\n tmpvar_9 = pow (((\n (2.0 * (clamp ((0.02 / \n sqrt(dot (uv_1, uv_1))\n ), 0.0, 1.0) * hue_shader))\n * \n ((texture (sampler_main, tmpvar_3) * 4.0).xyz + 1.0)\n ) - 0.04), vec3(0.8, 0.8, 0.8));\n vec4 tmpvar_10;\n tmpvar_10.w = 1.0;\n tmpvar_10.xyz = mix (tmpvar_9, tmpvar_9.zxy, vec3(q19)).zxy;\n ret = tmpvar_10.xyz;\n }"}