securityos/node_modules/butterchurn-presets/presets/converted/flexi - patternton, distric...

1 line
7.5 KiB
JSON

{"version":2,"baseVals":{"rating":5,"gammaadj":1,"decay":1,"echo_zoom":1,"echo_alpha":0.5,"wave_thick":1,"wave_brighten":0,"wrap":0,"wave_a":0.004,"wave_scale":0.242,"wave_smoothing":0,"wave_mystery":-0.44,"modwavealphastart":1,"modwavealphaend":1,"warpanimspeed":0.88,"warpscale":9.181,"zoomexp":0.65309,"zoom":0.87866,"warp":0.04914,"wave_y":0.04,"ob_size":0.05,"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,"mv_b":0,"mv_a":0},"shapes":[{"baseVals":{"enabled":1,"sides":100,"thickoutline":1,"y":0.04,"rad":0.01,"tex_ang":0.12566,"tex_zoom":1.51878,"r":0,"a":0,"g2":0,"b2":0.01,"border_a":0},"init_eqs_eel":"","frame_eqs_eel":""},{"baseVals":{"sides":100,"additive":1,"thickoutline":1,"textured":1,"x":0.49,"rad":1.32907,"tex_zoom":0.49831,"g":1,"b":1,"a":0.99,"g2":0,"border_a":0,"enabled":0},"init_eqs_eel":"","frame_eqs_eel":""},{"baseVals":{"thickoutline":1,"x":1,"rad":3.0054,"tex_ang":0.12566,"tex_zoom":1.51878,"r":0,"g":1,"g2":0,"a2":1,"border_a":0,"enabled":0},"init_eqs_eel":"","frame_eqs_eel":""},{"baseVals":{"thickoutline":1,"x":1,"rad":0.39872,"tex_ang":0.12566,"tex_zoom":1.51878,"g":1,"b":1,"r2":1,"b2":1,"a2":1,"border_a":0,"enabled":0},"init_eqs_eel":"","frame_eqs_eel":""}],"waves":[{"baseVals":{"enabled":1,"thick":1,"additive":1,"scaling":2.0231,"smoothing":0,"r":0,"b":0},"init_eqs_eel":"t2 = 0;\nt3 = 0;\nt4 = 0;\ncl = 0;","frame_eqs_eel":"r = 1; g = 0; b = 1;","point_eqs_eel":"tt3 = tt3*0.6 + (value1)*1;\ntt2 = tt2*0.7 + tt3*0.2;\ntt1 = tt1*0.8 + tt2*0.1;\nd = d*0.9 + tt1*0.2;\n\ny = 0.6 + d*sample*(1-sample)*2;\nx = -0.05 + sample*1.1;"},{"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;\nx = 0.5 + t8*0.005;\n\npi3 = 3.1415*2*0.3333;\nt = time + sample*2;\nc=2;\n\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":"zoom = 1;\n//warp = 0;\nscale = 1;\nangle = time*.1;\ntranslation_x = 0;\ntranslation_y = 0.12;\n\na_r = cos(angle)*scale;\na_i = sin(angle)*scale;\nb_r = translation_x;\nb_i = translation_y;\n\n//complex inverted\nscale = 1.6;\nangle = 0;\ntranslation_u = 0;\ntranslation_v = 0;\n\n// c\nq15 = cos(angle)*scale;\nq16 = sin(angle)*scale;\n\n// d\nq17 = translation_u;\nq18 = translation_v;\n\n// c^(-1)\nc_inv_r = q15/(q15*q15+q16*q16);\nc_inv_i = q16/(q15*q15+q16*q16);\n\n// a*c^(-1)\nq11 = (a_r*c_inv_r - a_i*c_inv_i);\nq12 = (a_r*c_inv_i - a_i*c_inv_r);\n\n// (bc-ad)\nbcad_r = (b_r*q15 - b_i*q16)-(a_r*q17-a_i*q18);\nbcad_i = (b_r*q16 - b_i*q15)-(a_r*q18-a_i*q17);\n\n// mu*c^(-1)\nq13 = bcad_r*c_inv_r - bcad_i*c_inv_i;\nq14 = bcad_r*c_inv_i - bcad_i*c_inv_r;","pixel_eqs_eel":"","warp":" shader_body { \n float conway_1;\n vec3 ret_2;\n vec2 tmpvar_3;\n tmpvar_3.x = (((\n ((texture (sampler_blur2, (uv + vec2(0.02, 0.0))).xyz * scale2) + bias2)\n - \n ((texture (sampler_blur2, (uv - vec2(0.02, 0.0))).xyz * scale2) + bias2)\n ).y * 1280.0) * texsize.z);\n tmpvar_3.y = (((\n ((texture (sampler_blur2, (uv + vec2(0.0, 0.02))).xyz * scale2) + bias2)\n - \n ((texture (sampler_blur2, (uv - vec2(0.0, 0.02))).xyz * scale2) + bias2)\n ).y * 1024.0) * texsize.w);\n ret_2.y = texture (sampler_pc_main, (uv - (tmpvar_3 * 0.004))).y;\n ret_2.y = (ret_2.y + ((\n ((ret_2.y - ((texture (sampler_blur1, uv).xyz * scale1) + bias1).y) - 0.1)\n * 0.1) + 0.02));\n vec2 tmpvar_4;\n tmpvar_4 = (vec2(0.0, 1.0) * texsize.zw);\n ret_2.z = (texture (sampler_fc_main, (uv - tmpvar_4)).z - 0.004);\n conway_1 = (texture (sampler_pw_main, (uv_orig - texsize.zw)).x + texture (sampler_pw_main, (uv_orig + (vec2(0.0, -1.0) * texsize.zw))).x);\n conway_1 = (conway_1 + texture (sampler_pw_main, (uv_orig + (vec2(1.0, -1.0) * texsize.zw))).x);\n conway_1 = (conway_1 + texture (sampler_pw_main, (uv_orig + (vec2(-1.0, 0.0) * texsize.zw))).x);\n conway_1 = (conway_1 + texture (sampler_pw_main, (uv_orig + (vec2(1.0, 0.0) * texsize.zw))).x);\n conway_1 = (conway_1 + texture (sampler_pw_main, (uv_orig + (vec2(-1.0, 1.0) * texsize.zw))).x);\n conway_1 = (conway_1 + texture (sampler_pw_main, (uv_orig + tmpvar_4)).x);\n conway_1 = (conway_1 + texture (sampler_pw_main, (uv_orig + texsize.zw)).x);\n conway_1 = (conway_1 - fract(conway_1));\n float tmpvar_5;\n tmpvar_5 = clamp (texture (sampler_pc_main, uv_orig).x, 0.0, 1.0);\n ret_2.x = (clamp ((1.0 - \n abs((conway_1 - 3.0))\n ), 0.0, 1.0) * (1.0 - tmpvar_5));\n ret_2.x = (ret_2.x + (clamp (\n max ((1.0 - abs((conway_1 - 2.0))), (1.0 - abs((conway_1 - 3.0))))\n , 0.0, 1.0) * tmpvar_5));\n vec4 tmpvar_6;\n tmpvar_6.w = 1.0;\n tmpvar_6.xyz = ret_2;\n ret = tmpvar_6.xyz;\n }","comp":" shader_body { \n vec2 moebius_1;\n vec3 ret_2;\n vec2 tmpvar_3;\n tmpvar_3.x = q11;\n tmpvar_3.y = q12;\n vec2 tmpvar_4;\n tmpvar_4.x = q17;\n tmpvar_4.y = q18;\n vec2 tmpvar_5;\n vec2 tmpvar_6;\n tmpvar_6 = (uv - 0.5);\n tmpvar_5 = (tmpvar_6 * aspect.xy);\n vec2 tmpvar_7;\n tmpvar_7.x = ((tmpvar_5.x * q15) - (tmpvar_5.y * q16));\n tmpvar_7.y = ((tmpvar_5.x * q16) - (tmpvar_5.y * q15));\n vec2 tmpvar_8;\n tmpvar_8 = (tmpvar_7 + tmpvar_4);\n vec2 tmpvar_9;\n tmpvar_9.x = ((q13 * tmpvar_8.x) + (q14 * tmpvar_8.y));\n tmpvar_9.y = ((q14 * tmpvar_8.x) - (q13 * tmpvar_8.y));\n moebius_1 = (((tmpvar_9 / \n ((tmpvar_8.x * tmpvar_8.x) + (tmpvar_8.y * tmpvar_8.y))\n ) + tmpvar_3) * 0.5);\n float tmpvar_10;\n tmpvar_10 = sqrt(dot (moebius_1, moebius_1));\n moebius_1 = (0.5 + ((\n (1.0 - abs(((\n fract((moebius_1 * 0.5))\n * 2.0) - 1.0)))\n - 0.5) * 0.95));\n vec2 tmpvar_11;\n tmpvar_11 = (0.5 + (tmpvar_6 * 0.2));\n ret_2 = (texture (sampler_main, tmpvar_11).z * vec3(0.4, 0.0, 0.7));\n ret_2 = (mix (ret_2, vec3(0.0, 1.0, 1.0), vec3(clamp (texture (sampler_fc_main, moebius_1).y, 0.0, 1.0))) * (1.4 - pow (\n (tmpvar_10 * 0.8)\n , 0.3)));\n vec3 tmpvar_12;\n tmpvar_12 = mix (mix (mix (ret_2, vec3(4.0, 1.0, 0.0), vec3(\n ((clamp ((texture (sampler_fc_main, tmpvar_11).y - texture (sampler_pc_main, tmpvar_11).y), 0.0, 1.0) * 4.0) * (tmpvar_10 * tmpvar_10))\n )), vec3(-4.0, -4.0, -4.0), texture (sampler_main, tmpvar_11).xxx), vec3(2.0, 2.0, 2.0), vec3((texture (sampler_pc_main, tmpvar_11).x * 0.75)));\n ret_2 = tmpvar_12;\n vec4 tmpvar_13;\n tmpvar_13.w = 1.0;\n tmpvar_13.xyz = tmpvar_12;\n ret = tmpvar_13.xyz;\n }"}