securityos/node_modules/butterchurn-presets/presets/converted/martin - neon space ps2 (at...

1 line
12 KiB
JSON

{"version":2,"baseVals":{"rating":1,"gammaadj":1.98,"decay":0.5,"echo_zoom":1,"echo_alpha":0.5,"echo_orient":3,"wave_mode":7,"additivewave":1,"modwavealphabyvolume":1,"wave_brighten":0,"darken":1,"wave_a":0.001,"wave_scale":1.286,"wave_smoothing":0.63,"modwavealphastart":0.71,"modwavealphaend":1.3,"warpanimspeed":1.459,"warpscale":2.007,"zoom":0.9999,"warp":0.01,"sx":0.9999,"wave_r":0.65,"wave_g":0.65,"wave_b":0.65,"ob_size":0,"ob_b":0.2,"ob_a":1,"ib_size":0,"ib_r":0,"ib_g":0,"ib_a":1,"mv_x":64,"mv_y":48,"mv_l":0,"mv_a":0,"b1ed":0},"shapes":[{"baseVals":{"enabled":1,"sides":25,"additive":1,"num_inst":4,"rad":0.02339,"tex_ang":0.62832,"g":1,"b":1,"a":0.5,"g2":0,"a2":0.5,"border_a":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+(.002*cos(ma));\nmy=my+(.002*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+instance*.005;\ny=my+instance*.005;\n\na=(above(bass+mid+treb,.2));\npi23=4*asin(1)*.333333333;\nvol=bass+mid+treb;\nr=(sin(1/instance*time*.2+vol-0*pi23)+1)*.5;\ng=(sin(1/instance*time*.2+vol-1*pi23)+1)*.5;\nb=(sin(1/instance*time*.2+vol-2*pi23)+1)*.5;"},{"baseVals":{"enabled":1,"sides":25,"additive":1,"num_inst":6,"rad":0.02248,"a":0.7,"g2":0,"a2":0.1,"border_a":0},"init_eqs_eel":"","frame_eqs_eel":"ma=ma+(above(bass,.7)*3.1415*.03*bass);\nma=ma-(above(treb,.7)*3.1415*.03*treb);\n\nmx=mx+(.0015*cos(ma));\nmy=my+(.0015*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+instance*.003;\ny=my+instance*.003;\n\na=(above(bass+mid+treb,.2));\npi23=4*asin(1)*.333333333;\nvol=bass+mid+treb;\nr=(sin(1/instance*time*.3+vol-0*pi23)+1)*.5;\ng=(sin(1/instance*time*.4+vol-1*pi23)+1)*.5;\nb=(sin(1/instance*time*.35+vol-2*pi23)+1)*.5;"},{"baseVals":{"enabled":1,"sides":25,"additive":1,"num_inst":4,"rad":0.0303,"a":0.7,"g2":0,"border_a":0},"init_eqs_eel":"","frame_eqs_eel":"ma=ma+(above(bass,.3)*3.1415*.05*bass);\nma=ma-(above(treb,.3)*3.1415*.05*treb);\n\nmx=mx+(.0055*cos(ma));\nmy=my+(.0055*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+instance*.003;\ny=my+instance*.003;\n\na=(above(bass+mid+treb,.2));\npi23=4*asin(1)*.333333333;\nvol=bass+mid+treb;\nr=(sin(1/instance*time*.5+vol-0*pi23)+1)*.5;\ng=(sin(1/instance*time*.8+vol-1*pi23)+1)*.5;\nb=(sin(1/instance*time*.25+vol-2*pi23)+1)*.5;"},{"baseVals":{"enabled":1,"sides":25,"additive":1,"num_inst":4,"rad":0.02248,"r":0,"a":0.7,"g2":0,"border_a":0},"init_eqs_eel":"","frame_eqs_eel":"ma=ma+(above(bass,.11)*3.1415*.07*bass);\nma=ma-(above(treb,.11)*3.1415*.07*treb);\n\nmx=mx+(.0085*cos(ma));\nmy=my+(.0085*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+instance*.003;\ny=my+instance*.003;\n\na=(above(bass+mid+treb,.2));\npi23=4*asin(1)*.333333333;\nvol=bass+mid+treb;\nr=(sin(1/instance*time*.3+vol-0*pi23)+1)*.5;\ng=(sin(1/instance*time*.4+vol-1*pi23)+1)*.5;\nb=(sin(1/instance*time*.35+vol-2*pi23)+1)*.5;"}],"waves":[{"baseVals":{"enabled":1,"thick":1},"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));\npi23=4*asin(1)*.333333333;\nvol=bass+mid+treb;\nr=(sin(time*.3+vol-0*pi23)+1)*.5;\ng=(sin(time*.3+vol-1*pi23)+1)*.5;\nb=(sin(time*.3+vol-2*pi23)+1)*.5;"},{"baseVals":{"enabled":1,"thick":1},"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));\npi23=4*asin(1)*.333333333;\nvol=bass+mid+treb;\nr=(sin(time*.3+vol-0*pi23)+1)*.5;\ng=(sin(time*.3+vol-1*pi23)+1)*.5;\nb=(sin(time*.3+vol-2*pi23)+1)*.5;"},{"baseVals":{"enabled":1,"usedots":1,"thick":1},"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));\npi23=4*asin(1)*.333333333;\nvol=bass+mid+treb;\nr=(sin(time*.3+vol-0*pi23)+1)*.5;\ng=(sin(time*.3+vol-1*pi23)+1)*.5;\nb=(sin(time*.3+vol-2*pi23)+1)*.5;"},{"baseVals":{"enabled":1,"thick":1},"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));\npi23=4*asin(1)*.333333333;\nvol=bass+mid+treb;\nr=(sin(time*.3+vol-0*pi23)+1)*.5;\ng=(sin(time*.3+vol-1*pi23)+1)*.5;\nb=(sin(time*.3+vol-2*pi23)+1)*.5;"}],"init_eqs_eel":"p1 = 2000; p2 = 200; p3=50;","frame_eqs_eel":"dec_med = pow (0.9, 30/fps);\ndec_slow = pow (0.9, 30/fps);\nbeat = max (max (bass, mid), treb); \navg = avg*dec_slow + beat*(1-dec_slow);\nis_beat = above(beat, .1+avg+peak) * above (time, t0+.2);\nt0 = is_beat*time + (1-is_beat)*t0;\npeak = is_beat * beat + (1-is_beat)*peak*dec_med;\nindex = (index + is_beat) %16;\nindex2 = (index2 + is_beat*bnot(index))%5;\nmonitor = index2;\n\nq20 = avg;\nq21 = beat;\nq22 = peak;\nq23 = index;\nq24 = is_beat;\nq26 = bass + mid + treb;\nq27 = index;\nq28 = index2;\n\nk1 = is_beat*equal(index%2,0);\np1 = k1*(p1+1) + (1-k1)*p1;\np2 = dec_med * p2+ (1-dec_med)*p1;\nrott_ = p2 * 3.1416/4;\n\nrott = rott + .2*30/fps*q2;\n\n\nq1 = cos(rott);\nq2 = sin(rott);\nq3 = -q2;\nq4 = q1;\n\nran = bnot(q24)*ran + q24 * (int(rand(50))-24);\ntran = tan(ran);\ntran = max(tran,-5);\ntran = min(tran,5);\n\ntrel = trel + .02*30/fps*tran+q24;\nq5 = cos(trel);\nq6 = sin(trel);\nq7 = -q6;\nq8 = q5;\n\nmovex = movex*dec_slow + .1*sin(rott)*30/fps;\nq9 = movex;\n\nspd = spd*bnot(q24) + q26*q24;\nmovez = movez + .005*30/fps*spd;\nq30 = movez;\n//q30 = .3* (sin(time/45) + 1.5);\n\nmv_x = 20;\nmv_y = 15;\nmv_a = .1;\nmv_l = 0;\n\nq18 = sin(time/7);\nq19 = sin(time/11);\n\nq32 = pow(0.98, 30/fps); //fade","pixel_eqs_eel":"zoom = 1;\nwarp = .1;","warp":" shader_body { \n float dy_1;\n float dx_2;\n vec3 ret_3;\n vec2 tmpvar_4;\n tmpvar_4 = ((uv * texsize.xy) * texsize_noise_lq.zw);\n vec2 tmpvar_5;\n tmpvar_5 = (texsize.zw * 4.0);\n vec2 tmpvar_6;\n tmpvar_6.x = (((2.0 * \n ((texture (sampler_blur1, (uv + (vec2(1.0, 0.0) * tmpvar_5))).xyz * scale1) + bias1)\n ) - (2.0 * \n ((texture (sampler_blur1, (uv - (vec2(1.0, 0.0) * tmpvar_5))).xyz * scale1) + bias1)\n )).y * 0.5);\n tmpvar_6.y = (((2.0 * \n ((texture (sampler_blur1, (uv + (vec2(0.0, 1.0) * tmpvar_5))).xyz * scale1) + bias1)\n ) - (2.0 * \n ((texture (sampler_blur1, (uv - (vec2(0.0, 1.0) * tmpvar_5))).xyz * scale1) + bias1)\n )).y * 0.5);\n ret_3.y = texture (sampler_fw_main, clamp ((uv + (\n (tmpvar_6 * texsize.zw)\n * 4.0)), 0.0, 1.0)).y;\n ret_3.y = (ret_3.y + ((\n (ret_3 - ((texture (sampler_blur1, uv).xyz * scale1) + bias1))\n .y * 0.025) + -0.01));\n ret_3.y = (ret_3.y + ((texture (sampler_noise_lq, tmpvar_4).y - 0.5) * 0.02));\n dx_2 = (((2.0 * \n ((texture (sampler_blur1, (uv + (vec2(1.0, 0.0) * tmpvar_5))).xyz * scale1) + bias1)\n ) - (2.0 * \n ((texture (sampler_blur1, (uv - (vec2(1.0, 0.0) * tmpvar_5))).xyz * scale1) + bias1)\n )).z * 0.5);\n dy_1 = (((2.0 * \n ((texture (sampler_blur1, (uv + (vec2(0.0, 1.0) * tmpvar_5))).xyz * scale1) + bias1)\n ) - (2.0 * \n ((texture (sampler_blur1, (uv - (vec2(0.0, 1.0) * tmpvar_5))).xyz * scale1) + bias1)\n )).z * 0.5);\n vec2 tmpvar_7;\n tmpvar_7.x = dx_2;\n tmpvar_7.y = dy_1;\n ret_3.z = ((texture (sampler_main, (uv - \n ((tmpvar_7 * texsize.zw) * 4.0)\n )).z - (ret_3.y * 0.01)) + 0.004);\n ret_3.z = (ret_3.z + ((texture (sampler_noise_lq, tmpvar_4).y - 0.5) * 0.01));\n dx_2 = (((2.0 * \n ((texture (sampler_blur1, (uv + (tmpvar_5 * vec2(1.0, 0.0)))).xyz * scale1) + bias1)\n ) - (2.0 * \n ((texture (sampler_blur1, (uv + (tmpvar_5 * vec2(-1.0, 0.0)))).xyz * scale1) + bias1)\n )).x * 0.5);\n dy_1 = (((2.0 * \n ((texture (sampler_blur1, (uv + (tmpvar_5 * vec2(0.0, 1.0)))).xyz * scale1) + bias1)\n ) - (2.0 * \n ((texture (sampler_blur1, (uv + (tmpvar_5 * vec2(0.0, -1.0)))).xyz * scale1) + bias1)\n )).x * 0.5);\n vec2 tmpvar_8;\n tmpvar_8.x = dx_2;\n tmpvar_8.y = dy_1;\n vec2 tmpvar_9;\n tmpvar_9 = (tmpvar_8 * texsize.zw);\n vec2 domain_10;\n domain_10 = (uv - (tmpvar_9 * 2.5));\n vec4 tmpvar_11;\n tmpvar_11.w = 0.0;\n tmpvar_11.xyz = max (vec4(0.0, 0.0, 0.0, 0.0), texture (sampler_fc_main, (domain_10 + (texsize.zw * vec2(-1.0, 0.0))))).xyz;\n vec4 tmpvar_12;\n tmpvar_12.w = 0.0;\n tmpvar_12.xyz = max (tmpvar_11, texture (sampler_fc_main, (domain_10 + (texsize.zw * vec2(0.0, -1.0))))).xyz;\n vec4 tmpvar_13;\n tmpvar_13.w = 0.0;\n tmpvar_13.xyz = max (tmpvar_12, texture (sampler_fc_main, domain_10)).xyz;\n vec4 tmpvar_14;\n tmpvar_14.w = 0.0;\n tmpvar_14.xyz = max (tmpvar_13, texture (sampler_fc_main, (domain_10 + (texsize.zw * vec2(0.0, 1.0))))).xyz;\n ret_3.x = ((max (tmpvar_14, texture (sampler_fc_main, \n (domain_10 + (texsize.zw * vec2(1.0, 0.0)))\n )).x + (\n (texture (sampler_main, (uv + (tmpvar_9 * 4.0))).x - ((texture (sampler_blur1, (uv + \n (tmpvar_9 * 4.0)\n )).xyz * scale1) + bias1).x)\n * 0.206)) - 0.09);\n vec4 tmpvar_15;\n tmpvar_15.w = 1.0;\n tmpvar_15.xyz = ret_3;\n ret = tmpvar_15.xyz;\n }","comp":" shader_body { \n vec2 dz_1;\n vec3 dy_2;\n vec3 dx_3;\n vec2 d_4;\n vec3 ret_5;\n vec2 tmpvar_6;\n vec2 tmpvar_7;\n tmpvar_7 = (vec2(1.0, 0.0) * texsize.zw);\n tmpvar_6.x = (texture (sampler_main, (uv + tmpvar_7)).xyz - texture (sampler_main, (uv - tmpvar_7)).xyz).y;\n vec2 tmpvar_8;\n tmpvar_8 = (vec2(0.0, 1.0) * texsize.zw);\n tmpvar_6.y = (texture (sampler_main, (uv + tmpvar_8)).xyz - texture (sampler_main, (uv - tmpvar_8)).xyz).y;\n d_4 = (texsize.zw * 2.0);\n dx_3 = (((texture (sampler_blur1, \n (uv + (vec2(1.0, 0.0) * d_4))\n ).xyz * scale1) + bias1) - ((texture (sampler_blur1, \n (uv - (vec2(1.0, 0.0) * d_4))\n ).xyz * scale1) + bias1));\n dy_2 = (((texture (sampler_blur1, \n (uv + (vec2(0.0, 1.0) * d_4))\n ).xyz * scale1) + bias1) - ((texture (sampler_blur1, \n (uv - (vec2(0.0, 1.0) * d_4))\n ).xyz * scale1) + bias1));\n vec2 tmpvar_9;\n tmpvar_9.x = dx_3.y;\n tmpvar_9.y = dy_2.y;\n dz_1 = ((tmpvar_6 * 3.0) + tmpvar_9);\n ret_5 = (vec3(((\n pow ((sqrt(dot (dz_1, dz_1)) * 0.8), 0.7)\n + \n (((texture (sampler_blur2, uv).xyz * scale2) + bias2).y * 0.4)\n ) - 0.1)) * vec3(0.3, 0.5, 0.7));\n vec2 tmpvar_10;\n tmpvar_10.x = dx_3.x;\n tmpvar_10.y = dy_2.x;\n vec3 tmpvar_11;\n tmpvar_11 = mix (mix (ret_5, vec3(0.2, 0.1, 0.0), vec3((texture (sampler_main, \n (uv + ((tmpvar_10 * texsize.zw) * 18.0))\n ).x * 6.0))), vec3(1.0, 1.0, 1.0), texture (sampler_main, uv).zzz);\n ret_5 = tmpvar_11;\n vec4 tmpvar_12;\n tmpvar_12.w = 1.0;\n tmpvar_12.xyz = tmpvar_11;\n ret = tmpvar_12.xyz;\n }"}