securityos/node_modules/butterchurn-presets/presets/converted/flexi - splatter effects 17...

1 line
4.7 KiB
JSON

{"version":2,"baseVals":{"rating":3,"gammaadj":1,"decay":0.995,"echo_zoom":1.007,"echo_orient":3,"wave_mode":7,"additivewave":1,"modwavealphabyvolume":1,"wave_brighten":0,"wrap":0,"wave_a":0.001,"wave_scale":1.286,"wave_smoothing":0.63,"modwavealphastart":0.71,"modwavealphaend":1.3,"warpscale":0.107,"zoomexp":0.33077,"zoom":0.9901,"warp":0.01,"wave_r":0.65,"wave_g":0.65,"wave_b":0.65,"ob_size":0,"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_a":0},"shapes":[{"baseVals":{"textured":1,"rad":5.3898,"tex_ang":1.19381,"tex_zoom":0.18923,"g":0.97,"b":1,"a":0.94,"r2":1,"b2":1,"a2":1,"border_a":0,"enabled":0},"init_eqs_eel":"","frame_eqs_eel":""},{"baseVals":{"textured":1,"rad":3.99882,"tex_zoom":0.25005,"g":1,"b":1,"a":0.6,"r2":1,"b2":1,"a2":0.6,"border_a":0,"enabled":0},"init_eqs_eel":"","frame_eqs_eel":""},{"baseVals":{"sides":18,"textured":1,"num_inst":10,"x":0.463,"rad":1.60089,"tex_zoom":0.67634,"g":1,"b":1,"r2":0.7,"g2":0.8,"b2":0.8,"a2":1,"border_a":0,"enabled":0},"init_eqs_eel":"","frame_eqs_eel":""},{"baseVals":{"enabled":1,"sides":16,"num_inst":353,"x":0.503,"rad":0.0376,"tex_zoom":1.11234,"g":1,"b":1,"g2":0,"border_a":0.06},"init_eqs_eel":"","frame_eqs_eel":"sample=instance/num_inst;\nrad=.05+.04*sin(sample);\n\n///// Knot\n\nq10=250*sample;\nmy_x = -.22*cos(q10)-1.28*sin(q10)-.44*cos(3*q10)-.78*sin(3*q10);\nmy_y= -.1*cos(2*q10)-.27*sin(2*q10)+.38*cos(4*q10)+.46*sin(4*q10);\nmy_z=.7*cos(3*q10)-.4*sin(3*q10);\n\n\n/////// rotations... by flexi\n\nd = .2; \nzoom = 1;\n\nw3 = q1;\nw2 = q2;\nw1 = q3;\n\nx1 = cos(w1)*my_x + sin(w1)*my_y;\ny1 = -sin(w1)*my_x + cos(w1)*my_y;\nz1 = my_z;\n\nx2 = cos(w2)*x1 + sin(w2)*z1;\nz2 = -sin(w2)*x1 + cos(w2)*z1;\ny2 = y1;\n\ny3 = cos(w3)*y2 + sin(w3)*z2;\nz3 = -sin(w3)*y2 + cos(w3)*z2;\nx3 = x2;\n\n// perspective calculation\n\nl = sqrt(x3*x3 + y3*y3);\nw = atan2(x3,y3);\np = tan(asin(1) + atan2(d+z3,l));\nd = sqrt(x3*x3 + y3*y3 + (z3+d)*(z3+d));\n\nmy_x = zoom*sin(w)*p;\nmy_y = zoom*cos(w)*p;\n\np1 = .2*sin(sample*50);\np2 = .2*sin(sample*80);\n\nx = .5+my_x*p1;\ny = .5+my_y*p2;\n\nr = .4*sin(sample*80);\nb = .8*sin(sample*66);\ng = .6*sin(sample*120);"}],"waves":[{"baseVals":{"spectrum":1,"additive":1,"smoothing":0,"r":0.4,"g":0.4,"b":0.4,"enabled":0},"init_eqs_eel":"","frame_eqs_eel":"","point_eqs_eel":""},{"baseVals":{"spectrum":1,"smoothing":0,"r":0,"g":0,"b":0,"enabled":0},"init_eqs_eel":"","frame_eqs_eel":"","point_eqs_eel":""},{"baseVals":{"thick":1,"r":0,"g":0,"b":0,"a":0,"enabled":0},"init_eqs_eel":"","frame_eqs_eel":"","point_eqs_eel":""},{"baseVals":{"enabled":0},"init_eqs_eel":"","frame_eqs_eel":"","point_eqs_eel":""}],"init_eqs_eel":"x1 = 0;\ny1 = 0;","frame_eqs_eel":"vvb = if(below(vvb,0),0,vvb);\nvvm = if(below(vvm,0),0,vvm);\nvvt = if(below(vvt,0),0,vvt);\nvvb = if(above(vvb,1),1,vvb);\nvvm = if(above(vvm,1),1,vvm);\nvvt = if(above(vvt,1),1,vvt);\nvb = vb*0.85 + (1-vb)*pow(bass,2)*0.01;\nvvb = vvb*0.95 + (1-vvb)*vb*0.2;\nvm = vm*0.85 + (1-vm)*pow(mid,2)*0.01;\nvvm = vvm*0.95 + (1-vvm)*vm*0.2;\nvt = vt*0.85 + (1-vt)*pow(treb,2)*0.01;\nvvt = vvt*0.95 + (1-vvt)*vt*0.2;\n\nq1 = vvb;//0.5 + vb - vvb;\nq2 = vvm;//0.5 + vm - vvm;\nq3 = vvt;//0.5 + vt - vvt;\n\nv=0.2*(60/fps);\nd = v*0.35;\nbb = bb + vvb*v - d;\nmm = mm + vvm*v - d;\ntt = tt + vvt*v - d;\nq6 = bb;\nq5 = mm;\nq4 = tt;\nzoom = 0.995","pixel_eqs_eel":"//dx = -0.005;","warp":" shader_body { \n vec3 ret_1;\n vec2 tmpvar_2;\n tmpvar_2 = (texsize.zw * 4.0);\n vec2 tmpvar_3;\n tmpvar_3.x = ((2.0 * (\n (texture (sampler_blur1, (uv + (vec2(1.0, 0.0) * tmpvar_2))).xyz * scale1)\n + bias1)) - (2.0 * (\n (texture (sampler_blur1, (uv - (vec2(1.0, 0.0) * tmpvar_2))).xyz * scale1)\n + bias1))).x;\n tmpvar_3.y = ((2.0 * (\n (texture (sampler_blur1, (uv + (vec2(0.0, 1.0) * tmpvar_2))).xyz * scale1)\n + bias1)) - (2.0 * (\n (texture (sampler_blur1, (uv - (vec2(0.0, 1.0) * tmpvar_2))).xyz * scale1)\n + bias1))).x;\n vec2 tmpvar_4;\n tmpvar_4 = (-(tmpvar_3) * texsize.zw);\n ret_1.yz = vec2(0.0, 0.0);\n ret_1.x = (texture (sampler_fw_main, (uv - tmpvar_4)).x - ((\n (texture (sampler_blur3, uv).xyz * scale3)\n + bias3).x - (\n (texture (sampler_blur1, (uv + tmpvar_4)).xyz * scale1)\n + bias1).x));\n vec4 tmpvar_5;\n tmpvar_5.w = 1.0;\n tmpvar_5.xyz = ret_1;\n ret = tmpvar_5.xyz;\n }","comp":" shader_body { \n vec3 ret_1;\n vec4 tmpvar_2;\n tmpvar_2 = texture (sampler_main, uv);\n ret_1 = (vec3((tmpvar_2.x * (1.0 - \n ((texture (sampler_blur2, uv).xyz * scale2) + bias2)\n .x))) - (roam_sin.wzy * roam_cos.zxy));\n ret_1 = (ret_1 + ((\n (1.0 - tmpvar_2.x)\n * \n ((texture (sampler_blur1, uv).xyz * scale1) + bias1)\n .x) * vec3(2.0, 1.2, 0.0)));\n vec4 tmpvar_3;\n tmpvar_3.w = 1.0;\n tmpvar_3.xyz = ret_1;\n ret = tmpvar_3.xyz;\n }"}