securityos/node_modules/butterchurn-presets/presets/converted/flexi - alien canvas [learn...

1 line
9.8 KiB
JSON

{"version":2,"baseVals":{"rating":2,"gammaadj":1.21,"decay":1,"echo_zoom":1,"echo_alpha":0.5,"wave_thick":1,"wave_brighten":0,"wrap":0,"wave_a":0.004,"wave_scale":0.073,"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,"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.5,"mv_r":0,"mv_g":0,"mv_b":0,"mv_a":0},"shapes":[{"baseVals":{"sides":24,"rad":0.0639,"tex_ang":0.12566,"tex_zoom":1.51878,"r":0,"g":1,"a":0.96,"border_g":0,"border_b":0,"border_a":0,"enabled":0},"init_eqs_eel":"","frame_eqs_eel":"x = q1;\ny = q5;"},{"baseVals":{"sides":24,"rad":0.0639,"tex_ang":0.12566,"tex_zoom":1.51878,"a":0.96,"g2":0,"border_g":0,"border_b":0,"border_a":0,"enabled":0},"init_eqs_eel":"","frame_eqs_eel":"x = q2;\ny = q6;"},{"baseVals":{"sides":24,"rad":0.0639,"tex_ang":0.12566,"tex_zoom":1.51878,"r":0,"b":1,"a":0.96,"g2":0,"border_g":0,"border_b":0,"border_a":0,"enabled":0},"init_eqs_eel":"","frame_eqs_eel":"x = q3;\ny = q7;"},{"baseVals":{"sides":24,"rad":0.0639,"tex_ang":0.12566,"tex_zoom":1.51878,"g":1,"b":1,"a":0.96,"g2":0,"border_g":0,"border_b":0,"border_a":0,"enabled":0},"init_eqs_eel":"","frame_eqs_eel":"x = q4;\ny = q8;"}],"waves":[{"baseVals":{"thick":1,"additive":1,"scaling":1.69136,"smoothing":0,"r":0,"b":0,"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));\ntt3 = tt3*0.6 + (value1)*1;\ntt2 = tt2*0.7 + tt3*0.2;\ntt1 = tt1*0.8 + tt2*0.1;\ndd = dd*0.9 + tt1*0.2;\nddd = sample*(1-sample)*dd*d*4;\nx = xx + (yy-yyy)*ddd;\ny = yy - (xx-xxx)*ddd;\n\nx = 0.5 + (x-0.5)*q9;\ny = 0.5 + (y-0.5)*q10;\n"},{"baseVals":{"thick":1,"additive":1,"scaling":1.69136,"smoothing":0,"g":0,"b":0,"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;\n\nx = 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\ny = 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\nx = 0.5 + (x-0.5)*q9;\ny = 0.5 + (y-0.5)*q10;\n"},{"baseVals":{"enabled":1,"thick":1,"additive":1,"scaling":1.69136,"smoothing":0,"g":0,"b":0},"init_eqs_eel":"","frame_eqs_eel":"","point_eqs_eel":"sample = 1-sample;\nxxx = xx;\nyyy = yy;\nxx = pow(sample,5)*q1 + 5*pow(sample,4)*(1-sample)*q1 + 10*pow(sample,3)*sqr(1-sample)*q2\n+ 10*sqr(sample)*pow(1-sample,3)*q3 + 5*pow(1-sample,4)*sample*q4 + pow(1-sample,5)*q4;\n\nyy = pow(sample,5)*q5 + 5*pow(sample,4)*(1-sample)*q5 + 10*pow(sample,3)*sqr(1-sample)*q6\n+ 10*sqr(sample)*pow(1-sample,3)*q7 + 5*pow(1-sample,4)*sample*q8 + pow(1-sample,5)*q8;\n\nd = 1/sqrt(sqr(xx-xxx)+sqr(yy-yyy));\ndd = sample*(1-sample)*sin(sample*180)*d*0.1;\nx = xx + (yy-yyy)*dd;\ny = yy - (xx-xxx)*dd;\n\nx = 0.5 + (x-0.5)*q9;\ny = 0.5 + (y-0.5)*q10;\n"},{"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":"zoom = 1;\nwarp = 0;\nwave_a = 0;\n\n// elastic thread code\n\nxx1 = xx1*0.9 + (bass)*0.01;\nxx2 = xx2*0.9 + (treb)*0.01;\nyy1 = yy1*0.94 + (treb+bass)*0.0075;\nx1 = 0.5 + (xx1-xx2)*2;\ny1 = 0.4 + yy1*1.5;\ndt = 0.03/fps;\nvx2 = vx2*(1-2*dt) + dt*((x1+x3-2*x2)*10);\nvy2 = vy2*(1-2*dt) + dt*((y1+y3-2*y2)*10-0.5);\nvx3 = vx3*(1-2*dt) + dt*((x2+x4-2*x3)*10);\nvy3 = vy3*(1-2*dt) + dt*((y2+y4-2*y3)*10-0.5);\nvx4 = vx4*(1-2*dt) + dt*((x3-x4)*10);\nvy4 = vy4*(1-2*dt) + dt*((y3-y4)*10-0.5);\nx2 = x2 + vx2; y2 = y2 + vy2;\nx3 = x3 + vx3; y3 = y3 + vy3;\nx4 = x4 + vx4; y4 = y4 + vy4;\nvx2 = if(above(x2,0),vx2,abs(vx2)*0.5);\nvx2 = if(below(x2,1),vx2,-abs(vx2)*0.5);\nvx3 = if(above(x3,0),vx3,abs(vx3)*0.5);\nvx3 = if(below(x3,1),vx3,-abs(vx3)*0.5);\nvx4 = if(above(x4,0),vx4,abs(vx4)*0.5);\nvx4 = if(below(x4,1),vx4,-abs(vx4)*0.5);\nvy2 = if(above(y2,0),vy2,abs(vy2)*0.5);\nvy2 = if(below(y2,1),vy2,-abs(vy2)*0.5);\nvy3 = if(above(y3,0),vy3,abs(vy3)*0.5);\nvy3 = if(below(y3,1),vy3,-abs(vy3)*0.5);\nvy4 = if(above(y4,0),vy4,abs(vy4)*0.5);\nvy4 = if(below(y4,1),vy4,-abs(vy4)*0.5);\nq1 = x1;q2 = x2;q3 = x3;q4 = x4;\nq5 = y1;q6 = y2;q7 = y3;q8 = y4;\nq9 = 1/aspectx;\nq10 = 1/aspecty;\nq11 = aspectx;\nq12 = aspecty;\nq13 = sqrt(vx4*vx4 + vy4*vy4)*0.8;\nq14 = atan2(vx4,vy4);","pixel_eqs_eel":"x = 0.5 + (x-0.5)*q11;\ny = 0.5 + (y-0.5)*q12;\ndir = -q14*1 + asin(1)*1;\n\nvelocity = q13;\nstrength = 100;\nsize = 0.07;\n\nxx = q4;\nyy = 1-q8;\n\n\nx1 = xx +cos(dir+1.5708)*size;\ny1 = yy -sin(dir+1.5708)*size;\n\nx2 = xx -cos(dir+1.5708)*size;\ny2 = yy +sin(dir+1.5708)*size;\n\nd1 = sqrt((x1-x)*(x1-x)+(y1-y)*(y1-y))-size*2;\nsi1 = 1- 1/(1+pow(2,-d1*100));\n\nd2 = sqrt((x2-x)*(x2-x)+(y2-y)*(y2-y))-size*2;\nsi2 = 1- 1/(1+pow(2,-d2*100));\n\ndx = (si1*sin(y1-y)*d1 - si2*sin(y2-y)*d2)*strength*velocity;\ndy = (-si1*sin(x1-x)*d1 + si2*sin(x2-x)*d2)*strength*velocity;","warp":" shader_body { \n vec3 ret_1;\n vec2 tmpvar_2;\n tmpvar_2 = ((uv * texsize.xy) * texsize_noise_lq.zw);\n vec2 tmpvar_3;\n tmpvar_3 = (texsize.zw * 4.0);\n vec2 tmpvar_4;\n tmpvar_4.x = (((2.0 * \n ((texture (sampler_blur1, (uv + (vec2(1.0, 0.0) * tmpvar_3))).xyz * scale1) + bias1)\n ) - (2.0 * \n ((texture (sampler_blur1, (uv - (vec2(1.0, 0.0) * tmpvar_3))).xyz * scale1) + bias1)\n )).y * 0.5);\n tmpvar_4.y = (((2.0 * \n ((texture (sampler_blur1, (uv + (vec2(0.0, 1.0) * tmpvar_3))).xyz * scale1) + bias1)\n ) - (2.0 * \n ((texture (sampler_blur1, (uv - (vec2(0.0, 1.0) * tmpvar_3))).xyz * scale1) + bias1)\n )).y * 0.5);\n ret_1.y = texture (sampler_fw_main, clamp ((uv + (\n (tmpvar_4 * texsize.zw)\n * 4.0)), 0.0, 1.0)).y;\n ret_1.y = (ret_1.y + ((\n (ret_1 - ((texture (sampler_blur1, uv).xyz * scale1) + bias1))\n .y * 0.025) + (-0.01 + \n (texture (sampler_main, uv).x * 0.1)\n )));\n ret_1.y = (ret_1.y + ((texture (sampler_noise_lq, tmpvar_2).y - 0.5) * 0.02));\n vec2 tmpvar_5;\n tmpvar_5.x = (((2.0 * \n ((texture (sampler_blur1, (uv + (vec2(1.0, 0.0) * tmpvar_3))).xyz * scale1) + bias1)\n ) - (2.0 * \n ((texture (sampler_blur1, (uv - (vec2(1.0, 0.0) * tmpvar_3))).xyz * scale1) + bias1)\n )).z * 0.5);\n tmpvar_5.y = (((2.0 * \n ((texture (sampler_blur1, (uv + (vec2(0.0, 1.0) * tmpvar_3))).xyz * scale1) + bias1)\n ) - (2.0 * \n ((texture (sampler_blur1, (uv - (vec2(0.0, 1.0) * tmpvar_3))).xyz * scale1) + bias1)\n )).z * 0.5);\n ret_1.z = ((texture (sampler_main, (uv - \n ((tmpvar_5 * texsize.zw) * 4.0)\n )).z - (ret_1.y * 0.01)) + 0.004);\n ret_1.z = (ret_1.z + ((texture (sampler_noise_lq, tmpvar_2).y - 0.5) * 0.01));\n vec4 tmpvar_6;\n tmpvar_6.w = 1.0;\n tmpvar_6.xyz = ret_1;\n ret = tmpvar_6.xyz;\n }","comp":" shader_body { \n vec3 dy_1;\n vec3 dx_2;\n vec3 ret_3;\n vec2 tmpvar_4;\n tmpvar_4 = (texsize.zw * 3.0);\n vec3 tmpvar_5;\n tmpvar_5 = (((2.0 * \n ((texture (sampler_blur1, (uv + (vec2(1.0, 0.0) * tmpvar_4))).xyz * scale1) + bias1)\n ) - (2.0 * \n ((texture (sampler_blur1, (uv + (vec2(-1.0, 0.0) * tmpvar_4))).xyz * scale1) + bias1)\n )) * 0.5);\n vec3 tmpvar_6;\n tmpvar_6 = (((2.0 * \n ((texture (sampler_blur1, (uv + (vec2(0.0, 1.0) * tmpvar_4))).xyz * scale1) + bias1)\n ) - (2.0 * \n ((texture (sampler_blur1, (uv + (vec2(0.0, -1.0) * tmpvar_4))).xyz * scale1) + bias1)\n )) * 0.5);\n vec2 tmpvar_7;\n tmpvar_7.x = tmpvar_5.y;\n tmpvar_7.y = tmpvar_6.y;\n vec2 tmpvar_8;\n tmpvar_8.x = tmpvar_5.z;\n tmpvar_8.y = tmpvar_6.z;\n vec2 tmpvar_9;\n tmpvar_9.x = q19;\n tmpvar_9.y = q20;\n vec2 tmpvar_10;\n tmpvar_10 = fract(((0.5 + \n (uv - 0.5)\n ) + (tmpvar_9 * vec2(-1.0, 1.0))));\n dx_2 = (((2.0 * \n ((texture (sampler_blur1, (tmpvar_10 + (vec2(1.0, 0.0) * tmpvar_4))).xyz * scale1) + bias1)\n ) - (2.0 * \n ((texture (sampler_blur1, (tmpvar_10 + (vec2(-1.0, 0.0) * tmpvar_4))).xyz * scale1) + bias1)\n )) * 0.5);\n dy_1 = (((2.0 * \n ((texture (sampler_blur1, (tmpvar_10 + (vec2(0.0, 1.0) * tmpvar_4))).xyz * scale1) + bias1)\n ) - (2.0 * \n ((texture (sampler_blur1, (tmpvar_10 + (vec2(0.0, -1.0) * tmpvar_4))).xyz * scale1) + bias1)\n )) * 0.5);\n vec2 tmpvar_11;\n tmpvar_11.x = dx_2.x;\n tmpvar_11.y = dy_1.x;\n vec2 tmpvar_12;\n tmpvar_12.x = dx_2.x;\n tmpvar_12.y = dy_1.x;\n vec2 tmpvar_13;\n tmpvar_13.x = dx_2.x;\n tmpvar_13.y = dy_1.x;\n vec3 tmpvar_14;\n tmpvar_14 = mix (mix (mix (\n mix (mix (ret_3, vec3(1.0, 1.0, 1.0), ((texture (sampler_blur2, \n (fract(((uv - tmpvar_7) - (\n (tmpvar_8 * rad)\n * 2.0))) - (tmpvar_11 * 4.0))\n ).xyz * scale2) + bias2).yyy), vec3(1.0, 0.5, 0.0), texture (sampler_main, uv).yyy)\n , vec3(1.0, 1.0, 1.0), vec3(\n (texture (sampler_main, (uv - (tmpvar_12 * 0.2))).z * clamp ((1.0 - (rad * 1.5)), 0.0, 1.0))\n )), vec3(1.0, 1.0, 1.0), (\n (texture (sampler_blur1, (tmpvar_10 + (tmpvar_13 * 0.3))).xyz * scale1)\n + bias1).xxx), vec3(0.5, 0.0, 1.0), texture (sampler_main, tmpvar_10).xxx);\n ret_3 = tmpvar_14;\n vec4 tmpvar_15;\n tmpvar_15.w = 1.0;\n tmpvar_15.xyz = tmpvar_14;\n ret = tmpvar_15.xyz;\n }"}