securityos/node_modules/butterchurn-presets/presets/converted/Flexi - predator-prey-spira...

1 line
9.7 KiB
JSON

{"version":2,"baseVals":{"rating":5,"gammaadj":1.28,"decay":0.8,"echo_zoom":1,"echo_orient":3,"wave_mode":7,"additivewave":1,"modwavealphabyvolume":1,"wave_brighten":0,"wrap":0,"brighten":1,"wave_a":0.001,"wave_scale":1.286,"wave_smoothing":0.63,"modwavealphastart":0.71,"modwavealphaend":1.3,"warpanimspeed":0.01,"warpscale":100,"zoomexp":0.92178,"zoom":0.9901,"warp":0.01,"wave_r":0.65,"wave_g":0.65,"wave_b":0.65,"ob_size":0.005,"ob_g":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,"mv_a":0,"b1ed":0},"shapes":[{"baseVals":{"sides":39,"additive":1,"num_inst":126,"rad":0.06989,"tex_ang":0.62832,"r2":1,"g2":0,"a2":1,"border_a":0,"enabled":0},"init_eqs_eel":"","frame_eqs_eel":"ma=ma+(above(bass,1)*3.1415*.01*bass);\nma=ma-(above(treb,1)*3.1415*.01*treb);\n\nmx=mx+(.0002*cos(ma));\nmy=my+(.0002*sin(ma));\n\nmx=if(above(mx,.9),(.9-mx),mx);\nmy=if(above(my,.9),(.9-my),my);\nmx=if(below(mx,.1),(.9+mx),mx);\nmy=if(below(my,.1),(.9+my),my);\n\nx=mx;\ny=my;\n\na=(above(bass+mid+treb,.8));"},{"baseVals":{"sides":41,"additive":1,"num_inst":239,"rad":0.06989,"tex_ang":0.62832,"r":0,"g":1,"a2":1,"border_a":0,"enabled":0},"init_eqs_eel":"","frame_eqs_eel":"ma=ma+(above(bass,1)*3.1415*.05*bass);\nma=ma-(above(mid,1)*3.1415*.05*mid);\n\nmx=mx+(.0001*cos(ma));\nmy=my+(.0001*sin(ma));\n\nmx=if(above(mx,.9),(.9-mx),mx);\nmy=if(above(my,.9),(.9-my),my);\nmx=if(below(mx,.1),(.9+mx),mx);\nmy=if(below(my,.1),(.9+my),my);\n\nx=mx;\ny=my;\n\na=(above(bass+mid+treb,.1));"},{"baseVals":{"sides":43,"additive":1,"num_inst":32,"rad":0.06989,"tex_ang":0.62832,"r":0,"b":1,"g2":0,"b2":1,"border_a":0,"enabled":0},"init_eqs_eel":"","frame_eqs_eel":"ma=ma+(above(mid,1)*3.1415*.01*mid);\nma=ma-(above(treb,1)*3.1415*.01*treb);\n\nmx=mx+(.0004*cos(ma));\nmy=my+(.0004*sin(ma));\n\nmx=if(above(mx,.9),(.9-mx),mx);\nmy=if(above(my,.9),(.9-my),my);\nmx=if(below(mx,.1),(.9+mx),mx);\nmy=if(below(my,.1),(.9+my),my);\n\nx=mx;\ny=my;\n\na=(above(bass+mid+treb,.3));"},{"baseVals":{"sides":14,"additive":1,"num_inst":127,"rad":0.0556,"tex_ang":0.62832,"r2":1,"b2":1,"a2":1,"border_a":0,"enabled":0},"init_eqs_eel":"","frame_eqs_eel":"ma=ma+(above(bass,.5)*3.1415*.02*bass);\nma=ma-(above(treb,.5)*3.1415*.02*treb);\n\nmx=mx+(.0008*cos(ma));\nmy=my+(.0008*sin(ma));\n\nmx=if(above(mx,.9),(.9-mx),mx);\nmy=if(above(my,.9),(.9-my),my);\nmx=if(below(mx,.1),(.9+mx),mx);\nmy=if(below(my,.1),(.9+my),my);\n\nx=mx;\ny=my;\n\na=(above(bass+mid+treb,.2));"}],"waves":[{"baseVals":{"thick":1,"enabled":0},"init_eqs_eel":"","frame_eqs_eel":"","point_eqs_eel":"ma=ma+(above(bass,1)*3.1415*.01*bass);\nma=ma-(above(treb,1)*3.1415*.01*treb);\n\nmx=mx+(.0002*cos(ma));\nmy=my+(.0002*sin(ma));\n\nmx=if(above(mx,.9),(.9-mx),mx);\nmy=if(above(my,.9),(.9-my),my);\nmx=if(below(mx,.1),(.9+mx),mx);\nmy=if(below(my,.1),(.9+my),my);\n\nx=mx;\ny=my;\n\na=(above(bass+mid+treb,.8));"},{"baseVals":{"thick":1,"enabled":0},"init_eqs_eel":"","frame_eqs_eel":"","point_eqs_eel":"ma=ma+(above(bass,1)*3.1415*.05*bass);\nma=ma-(above(mid,1)*3.1415*.05*mid);\n\nmx=mx+(.0001*cos(ma));\nmy=my+(.0001*sin(ma));\n\nmx=if(above(mx,.9),(.9-mx),mx);\nmy=if(above(my,.9),(.9-my),my);\nmx=if(below(mx,.1),(.9+mx),mx);\nmy=if(below(my,.1),(.9+my),my);\n\nx=mx;\ny=my;\n\na=(above(bass+mid+treb,.1));"},{"baseVals":{"thick":1,"enabled":0},"init_eqs_eel":"","frame_eqs_eel":"","point_eqs_eel":"ma=ma+(above(mid,1)*3.1415*.01*mid);\nma=ma-(above(treb,1)*3.1415*.01*treb);\n\nmx=mx+(.0004*cos(ma));\nmy=my+(.0004*sin(ma));\n\nmx=if(above(mx,.9),(.9-mx),mx);\nmy=if(above(my,.9),(.9-my),my);\nmx=if(below(mx,.1),(.9+mx),mx);\nmy=if(below(my,.1),(.9+my),my);\n\nx=mx;\ny=my;\n\na=(above(bass+mid+treb,.3));"},{"baseVals":{"thick":1,"enabled":0},"init_eqs_eel":"","frame_eqs_eel":"","point_eqs_eel":"ma=ma+(above(bass,.5)*3.1415*.02*bass);\nma=ma-(above(treb,.5)*3.1415*.02*treb);\n\nmx=mx+(.0008*cos(ma));\nmy=my+(.0008*sin(ma));\n\nmx=if(above(mx,.9),(.9-mx),mx);\nmy=if(above(my,.9),(.9-my),my);\nmx=if(below(mx,.1),(.9+mx),mx);\nmy=if(below(my,.1),(.9+my),my);\n\nx=mx;\ny=my;\n\na=(above(bass+mid+treb,.2));"}],"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":"xx1 = 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)); y1 = max(0,min(1,y1));\n\nspring = 10;\ngrav = .5;\nresist = 1;\nbounce = 0.75;\ndt = 0.0008*(60/fps);\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);\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);\nq4 = x4;\nq8 = y4;\n\nq1 = aspectx;\nq2 = aspecty;\nq10 = x1;\nq11 = y1;\nzoom = 1;\nwarp = 0;\nq6 = atan2(vx4,vy4);\nq5 = sqrt(vx4*vx4 + vy4*vy4);\n\na = a*0.95 + q5;\n\ns = s*0.9 + a;\nq3 = s*0.1;\nmonitor = s;\n\nwave_a = 0;","pixel_eqs_eel":"x = 0.5 + (x-0.5)*q1;\ny = 0.5 + (y-0.5)*q2;\nxx = q4;\nyy = 1-q8;\n\ndx = 0; dy = 0;\n\nd = sqrt((x-xx)*(x-xx)+(y-yy)*(y-yy));\n\nr = 0.11;\nv = 20;\nv2 = q5;\ndx = (v*(sin(y-yy)*(d-r)-(x-xx)*(d-r/2)) + cos(dir)*v2)*(1.00-sigmoid(d-r,100));\ndy = (-v*(sin(x-xx)*(d-r)+(y-yy)*(d-r/2)) -sin(dir)*v2)*(1.00-sigmoid(d-r,100));","warp":" shader_body { \n vec3 ret_1;\n vec2 tmpvar_2;\n tmpvar_2 = (texsize.zw * 8.0);\n vec3 tmpvar_3;\n tmpvar_3 = (((texture (sampler_blur1, \n (uv + (vec2(1.0, 0.0) * tmpvar_2))\n ).xyz * scale1) + bias1) - ((texture (sampler_blur1, \n (uv - (vec2(1.0, 0.0) * tmpvar_2))\n ).xyz * scale1) + bias1));\n vec3 tmpvar_4;\n tmpvar_4 = (((texture (sampler_blur1, \n (uv + (vec2(0.0, 1.0) * tmpvar_2))\n ).xyz * scale1) + bias1) - ((texture (sampler_blur1, \n (uv - (vec2(0.0, 1.0) * tmpvar_2))\n ).xyz * scale1) + bias1));\n vec2 tmpvar_5;\n tmpvar_5.x = tmpvar_3.x;\n tmpvar_5.y = tmpvar_4.x;\n vec2 tmpvar_6;\n tmpvar_6 = (uv + ((tmpvar_5 * texsize.zw) * 4.0));\n vec2 tmpvar_7;\n tmpvar_7.x = tmpvar_3.y;\n tmpvar_7.y = tmpvar_4.y;\n vec2 tmpvar_8;\n tmpvar_8 = (uv + ((tmpvar_7 * texsize.zw) * 4.0));\n vec2 tmpvar_9;\n tmpvar_9.x = tmpvar_3.z;\n tmpvar_9.y = tmpvar_4.z;\n vec2 tmpvar_10;\n tmpvar_10 = (uv + ((tmpvar_9 * texsize.zw) * 4.0));\n ret_1.x = (texture (sampler_main, tmpvar_6).x - ((texture (sampler_main, tmpvar_6).xyz - \n ((texture (sampler_blur3, tmpvar_6).xyz * scale3) + bias3)\n ).x * 0.02));\n ret_1.y = (texture (sampler_main, tmpvar_8).y - ((texture (sampler_main, tmpvar_8).xyz - \n ((texture (sampler_blur3, tmpvar_8).xyz * scale3) + bias3)\n ).y * 0.02));\n ret_1.z = (texture (sampler_main, tmpvar_10).z - ((texture (sampler_main, tmpvar_10).xyz - \n ((texture (sampler_blur3, tmpvar_10).xyz * scale3) + bias3)\n ).z * 0.02));\n ret_1 = (ret_1 + ((texture (sampler_noise_lq, \n (((uv_orig * texsize.xy) * (texsize_noise_lq.zw * 0.24)) + rand_frame.xy)\n ).xyz - 0.5) * 0.04));\n ret_1 = (ret_1 - ((ret_1.yzx * 0.1) - 0.04));\n vec4 tmpvar_11;\n tmpvar_11.w = 1.0;\n tmpvar_11.xyz = ret_1;\n ret = tmpvar_11.xyz;\n }","comp":" shader_body { \n vec2 uv2_1;\n vec3 ret_2;\n uv2_1 = (uv + (vec2(1.0, 0.0) * texsize.zw));\n float tmpvar_3;\n tmpvar_3 = (((texture (sampler_main, uv2_1).xyz + \n (((texture (sampler_blur1, uv2_1).xyz * scale1) + bias1) * 0.4)\n ) + (\n ((texture (sampler_blur2, uv2_1).xyz * scale2) + bias2)\n * 0.15)) + ((\n (texture (sampler_blur3, uv2_1).xyz * scale3)\n + bias3) * 0.1)).x;\n uv2_1 = (uv + (vec2(-1.0, 0.0) * texsize.zw));\n float tmpvar_4;\n tmpvar_4 = (((texture (sampler_main, uv2_1).xyz + \n (((texture (sampler_blur1, uv2_1).xyz * scale1) + bias1) * 0.4)\n ) + (\n ((texture (sampler_blur2, uv2_1).xyz * scale2) + bias2)\n * 0.15)) + ((\n (texture (sampler_blur3, uv2_1).xyz * scale3)\n + bias3) * 0.1)).x;\n uv2_1 = (uv + (vec2(0.0, 1.0) * texsize.zw));\n float tmpvar_5;\n tmpvar_5 = (((texture (sampler_main, uv2_1).xyz + \n (((texture (sampler_blur1, uv2_1).xyz * scale1) + bias1) * 0.4)\n ) + (\n ((texture (sampler_blur2, uv2_1).xyz * scale2) + bias2)\n * 0.15)) + ((\n (texture (sampler_blur3, uv2_1).xyz * scale3)\n + bias3) * 0.1)).x;\n uv2_1 = (uv + (vec2(0.0, -1.0) * texsize.zw));\n vec3 tmpvar_6;\n tmpvar_6.z = 0.14;\n tmpvar_6.x = (tmpvar_3 - tmpvar_4);\n tmpvar_6.y = (tmpvar_5 - ((\n (texture (sampler_main, uv2_1).xyz + (((texture (sampler_blur1, uv2_1).xyz * scale1) + bias1) * 0.4))\n + \n (((texture (sampler_blur2, uv2_1).xyz * scale2) + bias2) * 0.15)\n ) + (\n ((texture (sampler_blur3, uv2_1).xyz * scale3) + bias3)\n * 0.1)).x);\n ret_2 = (0.5 + (0.5 * normalize(tmpvar_6)));\n vec2 x_7;\n x_7 = (ret_2.xy - 0.5);\n ret_2 = (ret_2 * clamp ((\n sqrt(dot (x_7, x_7))\n * 5.0), 0.0, 1.0));\n ret_2 = ret_2.xxy;\n ret_2 = (ret_2 + 1.0);\n ret_2 = (ret_2 * mix (ret_2, (ret_2 * \n (((texture (sampler_blur3, uv).xyz * scale3) + bias3) - ((texture (sampler_blur1, uv).xyz * scale1) + bias1))\n ), pow (hue_shader, ret_2)));\n ret_2 = (ret_2 * hue_shader);\n vec4 tmpvar_8;\n tmpvar_8.w = 1.0;\n tmpvar_8.xyz = ret_2;\n ret = tmpvar_8.xyz;\n }"}