securityos/node_modules/butterchurn-presets/presets/converted/Flexi - smashing fractals 2...

1 line
9.8 KiB
JSON

{"version":2,"baseVals":{"rating":0,"gammaadj":1,"decay":1,"echo_zoom":0.999797,"echo_orient":2,"wave_mode":1,"wave_thick":1,"wave_brighten":0,"wrap":0,"wave_a":0.004361,"wave_scale":0.01,"wave_smoothing":0,"wave_mystery":-0.44,"modwavealphastart":1,"modwavealphaend":1.000001,"warpanimspeed":0.01,"warpscale":100,"zoomexp":0.321044,"warp":0.01,"wave_y":0.04,"ob_size":0.005,"ob_a":1,"ib_size":0,"ib_r":0,"ib_g":0,"ib_b":0,"ib_a":1,"mv_x":0,"mv_y":0,"mv_l":1,"mv_g":0.91,"mv_b":0.71,"mv_a":0,"b1ed":0},"shapes":[{"baseVals":{"enabled":1,"sides":100,"additive":1,"thickoutline":1,"y":0.75,"rad":0.074934,"tex_zoom":0.734576,"g":1,"g2":0,"border_a":0},"init_eqs_eel":"vx = 0","frame_eqs_eel":"x = q4;\ny = q8;"},{"baseVals":{"enabled":1,"sides":100,"additive":1,"thickoutline":1,"textured":1,"x":0.7,"y":0.3,"rad":0.6623,"ang":2.450441,"tex_zoom":0.749341,"g":0.1,"b":0.1,"r2":1,"g2":0.1,"b2":0.1,"a2":1,"border_a":0},"init_eqs_eel":"xx = 0.5;\nyy = 0.4;","frame_eqs_eel":"d = sqrt( sqr(xx-q4)+sqr(yy-q8));\n\nxx = if(below(d,0.15),0.4+rand(200)/1000,xx);\nyy = if(below(d,0.15),0.3+rand(400)/1000,yy);\naang = if(below(d,0.12),rand(1000)/1000,aang);\nang =aang*4*asin(1);\nx = xx;\ny = yy;"},{"baseVals":{"enabled":1,"sides":100,"additive":1,"thickoutline":1,"textured":1,"x":0.43,"y":0.6,"rad":1.167812,"ang":5.969028,"tex_zoom":0.671652,"r2":1,"g2":0,"a2":1,"border_a":0},"init_eqs_eel":"xx = 0.5;\nyy = 0.4;","frame_eqs_eel":"d = sqrt( sqr(xx-q4)+sqr(yy-q8));\n\nxx = if(below(d,0.15),0.4+rand(200)/1000,xx);\nyy = if(below(d,0.15),0.3+rand(400)/1000,yy);\naang = if(below(d,0.12),rand(1000)/1000,aang);\nang =aang*4*asin(1);\nx = xx;\ny = yy;"},{"baseVals":{"sides":100,"additive":1,"thickoutline":1,"y":0.75,"rad":0.070592,"tex_zoom":0.734576,"g":0.5,"b":0.5,"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":7.7518,"smoothing":0,"enabled":0},"init_eqs_eel":"t2 = 0;\nt3 = 0;\nt4 = 0;\ncl = 0;","frame_eqs_eel":"t8 = 1;\n\nt1 = 0.5;\nt2 = 0.9;","point_eqs_eel":"d = d*0.85 + (value1)*1;\n\nx = 0.5 + d*sample*(1-sample);\ny = 0.9 - sample*0.8;"},{"baseVals":{"usedots":1,"thick":1,"scaling":5.925558,"smoothing":0,"g":0,"b":0,"a":0.66,"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;\n\nd = 1/sqrt(sqr(xx-xxx)+sqr(yy-yyy));\ndd = dd*0.95 + (value1);\nddd = dd*sample*(1-sample)*d;\n\nx = xx + (yy-yyy)*ddd;\ny = yy - (xx-xxx)*ddd;"},{"baseVals":{"thick":1,"scaling":5.925558,"smoothing":0,"r":0.65,"g":0.45,"enabled":0},"init_eqs_eel":"t2 = 0","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;\n\nd = 1/sqrt(sqr(xx-xxx)+sqr(yy-yyy));\ndd = dd*0.95 + (value1);\nddd = dd*sample*(1-sample)*d;\nddd = sample*(1-sample)*sin(sample*200)*d*0.05;\nx = xx + (yy-yyy)*ddd;\ny = yy - (xx-xxx)*ddd;"}],"init_eqs_eel":"x1 = 0;\ny1 = 0;","frame_eqs_eel":"decay = 0.25;\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)*2;\ny1 = 0.4 + yy1;\n\nx1 = max(0,min(1,x1));\ny1 = max(0,min(1,y1));\n//x2 = 0;y2 = 0;x3 = 0;y3 = 0;x4 = 0;y4 = 0;\n\nspring = 50;\ngrav = 2;\nresist = 5;\nbounce = 0.75;\ndt = 0.0005;\n\nspx2 = (x1+x3-2*x2)*spring;\nspy2 = (y1+y3-2*y2)*spring;\nspx3 = (x2+x4-2*x3)*spring;\nspy3 = (y2+y4-2*y3)*spring;\nspx4 = (x3-x4)*spring;\nspy4 = (y3-y4)*spring;\n\nvx2 = vx2*(1-resist*dt) + dt*(spx2);\nvy2 = vy2*(1-resist*dt) + dt*(spy2-grav);\nvx3 = vx3*(1-resist*dt) + dt*(spx3);\nvy3 = vy3*(1-resist*dt) + dt*(spy3-grav);\nvx4 = vx4*(1-resist*dt) + dt*(spx4);\nvy4 = vy4*(1-resist*dt) + dt*(spy4-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.1),vx2,abs(vx2)*bounce);\nvx2 = if(below(x2,0.9),vx2,-abs(vx2)*bounce);\nvx3 = if(above(x3,0.1),vx3,abs(vx3)*bounce);\nvx3 = if(below(x3,0.9),vx3,-abs(vx3)*bounce);\nvx4 = if(above(x4,0.1),vx4,abs(vx4)*bounce);\nvx4 = if(below(x4,0.9),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);\n\n\nq1 = x1;\nq2 = x2;\nq3 = x3;\nq4 = x4;\n\nq5 = y1;\nq6 = y2;\nq7 = y3;\nq8 = y4;\n\nmonitor = ry4;\n\nzoom = 1;","pixel_eqs_eel":"","warp":" shader_body { \n vec2 my_uv_1;\n vec3 ret_2;\n float tmpvar_3;\n tmpvar_3 = (((texture (sampler_blur2, \n (uv + vec2(0.005, 0.0))\n ).xyz * scale2) + bias2) - ((texture (sampler_blur2, \n (uv - vec2(0.005, 0.0))\n ).xyz * scale2) + bias2)).y;\n float tmpvar_4;\n tmpvar_4 = (((texture (sampler_blur2, \n (uv + vec2(0.0, 0.005))\n ).xyz * scale2) + bias2) - ((texture (sampler_blur2, \n (uv - vec2(0.0, 0.005))\n ).xyz * scale2) + bias2)).y;\n vec2 tmpvar_5;\n tmpvar_5.x = tmpvar_3;\n tmpvar_5.y = tmpvar_4;\n vec2 tmpvar_6;\n tmpvar_6 = (uv - (tmpvar_5 * 0.01));\n ret_2.y = texture (sampler_fc_main, (tmpvar_6 - floor(tmpvar_6))).y;\n ret_2.y = (ret_2.y + ((ret_2.y - \n ((texture (sampler_blur3, (tmpvar_6 - floor(tmpvar_6))).xyz * scale3) + bias3)\n .y) * 0.1));\n vec2 tmpvar_7;\n tmpvar_7 = floor(uv);\n ret_2.y = (ret_2.y + (0.006 - (\n ((texture (sampler_blur3, (uv - tmpvar_7)).xyz * scale3) + bias3)\n .x * 5.0)));\n ret_2.y = ret_2.y;\n vec2 tmpvar_8;\n tmpvar_8.x = -(tmpvar_4);\n tmpvar_8.y = tmpvar_3;\n my_uv_1 = (tmpvar_8 * 0.05);\n vec2 tmpvar_9;\n tmpvar_9.x = (((texture (sampler_blur2, \n (uv + vec2(0.01, 0.0))\n ).xyz * scale2) + bias2) - ((texture (sampler_blur2, \n (uv - vec2(0.01, 0.0))\n ).xyz * scale2) + bias2)).z;\n tmpvar_9.y = (((texture (sampler_blur2, \n (uv + vec2(0.0, 0.01))\n ).xyz * scale2) + bias2) - ((texture (sampler_blur2, \n (uv - vec2(0.0, 0.01))\n ).xyz * scale2) + bias2)).z;\n my_uv_1 = (my_uv_1 + (uv - (tmpvar_9 * 0.005)));\n ret_2.z = texture (sampler_fw_main, (my_uv_1 - floor(my_uv_1))).z;\n ret_2.z = (ret_2.z + ((ret_2.z - \n ((texture (sampler_blur3, (my_uv_1 - floor(my_uv_1))).xyz * scale3) + bias3)\n .z) * 0.13));\n ret_2.z = (ret_2.z * 0.95);\n ret_2.z = (ret_2.z + ((0.03 - \n ((texture (sampler_blur3, (uv - tmpvar_7)).xyz * scale3) + bias3)\n .x) - (texture (sampler_main, \n (my_uv_1 - floor(my_uv_1))\n ).y * 0.05)));\n ret_2.x = (texture (sampler_main, uv_orig).x - 0.3);\n vec4 tmpvar_10;\n tmpvar_10.w = 1.0;\n tmpvar_10.xyz = ret_2;\n ret = tmpvar_10.xyz;\n }","comp":" shader_body { \n vec4 tmpvar_1;\n tmpvar_1 = texture (sampler_main, uv);\n vec2 tmpvar_2;\n tmpvar_2 = (uv - 0.5);\n vec4 tmpvar_3;\n tmpvar_3.w = 1.0;\n tmpvar_3.xyz = mix ((mix (\n mix (mix ((mix (vec3(1.0, 1.0, 0.5), vec3(0.15, 0.0, 0.2), vec3(\n (1.0 - ((texture (sampler_blur3, (vec2(0.51, 0.5) + tmpvar_2)).xyz * scale3) + bias3).x)\n )) * (vec3(1.0, 1.0, 1.0) - \n ((texture (sampler_blur2, uv).xyz * scale2) + bias2)\n .xxx)), vec3(-0.2, 0.0, 0.5), ((texture (sampler_blur1, \n (vec2(0.5, 0.5) + (tmpvar_2 * 0.96))\n ).xyz * scale1) + bias1).xxx), vec3(0.9, 0.7, 0.0), tmpvar_1.xxx)\n , vec3(0.5, 0.5, 0.0), tmpvar_1.yyy) * (vec3(1.0, 1.0, 1.0) - vec3(\n ((((texture (sampler_blur1, uv).xyz * scale1) + bias1).z * 2.0) - tmpvar_1.y)\n ))), vec3(0.5, 0.0, 0.1), tmpvar_1.zzz);\n ret = tmpvar_3.xyz;\n }"}