securityos/node_modules/butterchurn-presets/presets/converted/martin - basal ganglion.json

1 line
10 KiB
JSON

{"version":2,"baseVals":{"rating":0,"gammaadj":1.980001,"decay":0.5,"echo_zoom":0.999998,"echo_alpha":0.5,"echo_orient":3,"wave_mode":3,"additivewave":1,"wave_dots":1,"modwavealphabyvolume":1,"wave_brighten":0,"darken":1,"wave_a":0.002217,"wave_scale":0.092461,"wave_smoothing":0,"wave_mystery":-0.2,"modwavealphastart":0.71,"modwavealphaend":1.3,"warpanimspeed":1.4595,"warpscale":2.0067,"zoom":0.9999,"warp":0.01,"sx":0.9999,"wave_r":0,"wave_g":0,"wave_b":0,"ob_size":0,"ob_b":0.2,"ob_a":1,"ib_size":0,"ib_r":0,"ib_g":0,"ib_a":1,"mv_x":31.999998,"mv_y":24.000004,"mv_l":5,"mv_r":0.2999,"mv_g":0.4999,"mv_b":0.3999,"mv_a":0,"b1ed":0},"shapes":[{"baseVals":{"enabled":1,"sides":15,"rad":0.084012,"tex_ang":0.5026,"tex_zoom":1.125188,"r":0.8,"b":0.8,"a":0.2,"g2":0,"a2":1,"border_r":0.7,"border_g":0,"border_b":0,"border_a":0},"init_eqs_eel":"","frame_eqs_eel":"x = .5 + .2*sin(time/12);\ny = .5 + .2*cos(time/17);\n\nr = .5 + .2*sin(time/31);\ng = .5 + .2*sin(time/41);\nb = .5 + .2*sin(time/17);\nx =.5; y = .5;\nrad = .05;\na = .2; a2 = 0;"},{"baseVals":{"sides":63,"rad":0.022167,"tex_zoom":0.499805,"g":1,"b":1,"a":0.1,"r2":1,"b2":1,"a2":0.07,"border_r":0.5,"border_g":0.5,"border_b":0.5,"border_a":0,"enabled":0},"init_eqs_eel":"","frame_eqs_eel":"x = 0.5;\ny = 0.5;\na = 0.03;\na2 = 0.0;\nrad = bass_att/20;"},{"baseVals":{"enabled":1,"sides":14,"additive":1,"textured":1,"x":0.59,"y":0,"rad":1.215236,"ang":0.062832,"tex_ang":0.879646,"tex_zoom":0.514935,"r":0.6,"g":0.5,"b":0.7,"a":0.1,"r2":0.7,"g2":0.5,"b2":0.6,"border_r":0.5,"border_g":0.5,"border_b":0.5,"border_a":0},"init_eqs_eel":"","frame_eqs_eel":"x = .5+.3*cos(time/78);\ny = .5+.3*sin(time/78);\n\ntex_zoom = .2 / (sin(time/31)+1.1)\n\n"},{"baseVals":{"enabled":1,"sides":63,"additive":1,"textured":1,"x":0.76,"y":0.75,"rad":0.686364,"ang":0.439823,"tex_ang":0.502655,"tex_zoom":0.6159,"r":0.7,"g":0.7,"b":0.7,"a":0.15,"r2":1,"b2":1,"border_r":0.5,"border_g":0.5,"border_b":0.5,"border_a":0},"init_eqs_eel":"","frame_eqs_eel":"x = .5+.3*cos(time/59);\ny = .5+.3 *sin(time/59);"}],"waves":[{"baseVals":{"samples":132,"sep":49,"usedots":1,"scaling":0.067077,"smoothing":0.82,"g":0.2,"b":0,"a":0.6,"enabled":0},"init_eqs_eel":"t1 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;\nt2 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;\nt3 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;\nt4 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;\nt5 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;\nt6 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;\nt7 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;\nt8 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;\n","frame_eqs_eel":"t2 = t2 + bass_att;","point_eqs_eel":"k1 = (100*sample+time*2)%2;\nk2 = (100*sample+time*5)%2;\n\nx = .5 + .5*sin(sample*76+time/337);\ny = .5 + .5*sin(sample*126);\n\n\nr = .4;\ng = .8;\nb = 1*k2;\n\na = .3*k1;"},{"baseVals":{"thick":1,"scaling":0.891519,"smoothing":0.82,"a":0.1,"enabled":0},"init_eqs_eel":"t1 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;\nt2 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;\nt3 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;\nt4 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;\nt5 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;\nt6 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;\nt7 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;\nt8 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;\n","frame_eqs_eel":"","point_eqs_eel":""},{"baseVals":{"thick":1,"scaling":0.891519,"smoothing":0.82,"a":0.1,"enabled":0},"init_eqs_eel":"t1 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;\nt2 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;\nt3 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;\nt4 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;\nt5 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;\nt6 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;\nt7 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;\nt8 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;\n","frame_eqs_eel":"tm = time*.1;\nt1 = t1*sin(tm*t4) + (1-t1)*sin(tm*t7);\nt2 = t2*sin(tm*t5) + (1-t2)*sin(tm*t8);\nt3 = t3*sin(tm*t6) + (1-t3)*sin(tm*1);\n\ntic = min(time - tin,1);\ntin = time;\n\ntva = (tic*q1*.5);\ntvb = (tic*q2*.5);\ntvc = (tic*q3*.5);\n\nq1 = tva;\nq2 = tvb;\nq3 = tvc;\n\nsz = .5;\nlen = 1;\nt4 = len;","point_eqs_eel":""},{"baseVals":{"spectrum":1,"usedots":1,"enabled":0},"init_eqs_eel":"","frame_eqs_eel":"","point_eqs_eel":""}],"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, .5+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;\n\n\nk1 = is_beat*bnot(index)*bnot(index2);\np1 = (index2-2);\n\np2 = dec_med * p2+ (1-dec_med)*p1;\np3 = dec_med * p3+ (1-dec_med)*p2;\nrott = rott + .002*30/fps*p3;\n\nq1 = cos(rott);\nq2 = sin(rott);\nq3 = -q2;\nq4 = q1;\n\nmovex = movex*dec_slow + .1*q1*30/fps;\nq9 = movex;\n\nmovez = movez + .01*30/fps*(p3+3);\nq10 = movez;\nq30 = .3* (sin(time/45) + 1.5);\n\nmv_x = 30;\nmv_y = 20;\nmv_a = .08*pow(30/fps,1) * (1+q22);\nmv_l = 0;\n\nq32 = pow(0.98, 30/fps); //fade","pixel_eqs_eel":"zoom = 1;\nwarp = .0 * (1-rad);\nwarp = 0.05;","warp":"vec3 xlat_mutablemus;\n shader_body { \n vec3 crisp_1;\n float tmpvar_2;\n tmpvar_2 = (dot (texture (sampler_noise_hq, (\n (q30 * uv)\n + \n (0.001 * time)\n )), vec4(0.32, 0.49, 0.29, 0.0)) * 3.14);\n mat2 tmpvar_3;\n tmpvar_3[uint(0)].x = cos(tmpvar_2);\n tmpvar_3[uint(0)].y = sin(tmpvar_2);\n tmpvar_3[1u].x = -(sin(tmpvar_2));\n tmpvar_3[1u].y = cos(tmpvar_2);\n xlat_mutablemus = (abs(vec3((0.2 / \n (sqrt(((\n (uv - 0.5)\n * aspect.xy) * tmpvar_3).y) + 0.2)\n ))) * vec3(1.0, 0.96, 0.9));\n xlat_mutablemus = (xlat_mutablemus * (vec3(1.0, 0.96, 0.9) + (0.1 * \n (texture (sampler_noise_lq, uv) - 0.5)\n .xyz)));\n vec3 tmpvar_4;\n tmpvar_4 = ((texture (sampler_blur1, fract(uv)).xyz * scale1) + bias1);\n vec2 tmpvar_5;\n tmpvar_5.x = dot ((texture (sampler_main, (uv + vec2(0.004, 0.0))) - texture (sampler_main, (uv - vec2(0.004, 0.0)))), vec4(0.32, 0.49, 0.29, 0.0));\n tmpvar_5.y = dot ((texture (sampler_main, (uv + vec2(0.0, 0.004))) - texture (sampler_main, (uv - vec2(0.0, 0.004)))), vec4(0.32, 0.49, 0.29, 0.0));\n crisp_1 = (texture (sampler_main, (uv + (tmpvar_5 * 0.02))).xyz + (0.5 * texture (sampler_main, uv)).xyz);\n crisp_1 = (crisp_1 * 0.667);\n crisp_1 = (crisp_1 + (vec3(0.018, 0.018, 0.018) - (\n sqrt(dot (tmpvar_5, tmpvar_5))\n * tmpvar_4)));\n vec4 tmpvar_6;\n tmpvar_6.w = 1.0;\n tmpvar_6.xyz = (((\n (crisp_1 - (tmpvar_4 * 0.03))\n + \n (0.04 * xlat_mutablemus)\n ) * 0.99) - 0.04);\n ret = tmpvar_6.xyz;\n }","comp":"float xlat_mutabledist;\nfloat xlat_mutabledist2;\nfloat xlat_mutableinten;\nfloat xlat_mutablem;\nfloat xlat_mutablemask;\nvec3 xlat_mutableret1;\nvec2 xlat_mutableuv2;\n shader_body { \n vec2 uv_1;\n uv_1 = (uv - 0.5);\n uv_1 = (uv_1 * aspect.xy);\n mat2 tmpvar_2;\n tmpvar_2[uint(0)] = _qa.xy;\n tmpvar_2[1u] = _qa.zw;\n uv_1 = (uv_1 * tmpvar_2);\n int tmpvar_3;\n tmpvar_3 = int(q10);\n xlat_mutablem = (1.0 - float(tmpvar_3));\n float tmpvar_4;\n tmpvar_4 = -(q10);\n xlat_mutabledist = (1.0 - fract((0.25 - \n (fract(tmpvar_4) / 4.0)\n )));\n xlat_mutableuv2 = ((uv_1 * (float(mod (xlat_mutablem, 2.0)))) + (uv_1.yx * (float(mod (\n (xlat_mutablem + 1.0)\n , 2.0)))));\n xlat_mutabledist2 = (xlat_mutabledist * xlat_mutabledist);\n xlat_mutableinten = ((3.0 * sqrt(xlat_mutabledist)) * (1.0 - (xlat_mutabledist * xlat_mutabledist)));\n xlat_mutableuv2 = (((\n (4.0 * xlat_mutableuv2)\n * xlat_mutabledist) + (0.35 * xlat_mutablem)) + (q9 * xlat_mutabledist2));\n xlat_mutableret1 = (texture (sampler_main, xlat_mutableuv2).xyz * xlat_mutableinten);\n xlat_mutablem = (2.0 - float(tmpvar_3));\n xlat_mutabledist = (1.0 - fract((0.5 - \n (fract(tmpvar_4) / 4.0)\n )));\n xlat_mutableuv2 = ((uv_1 * (float(mod (xlat_mutablem, 2.0)))) + (uv_1.yx * (float(mod (\n (xlat_mutablem + 1.0)\n , 2.0)))));\n xlat_mutabledist2 = (xlat_mutabledist * xlat_mutabledist);\n xlat_mutableinten = ((3.0 * sqrt(xlat_mutabledist)) * (1.0 - (xlat_mutabledist * xlat_mutabledist)));\n xlat_mutableuv2 = (((\n (4.0 * xlat_mutableuv2)\n * xlat_mutabledist) + (0.35 * xlat_mutablem)) + (q9 * xlat_mutabledist2));\n vec4 tmpvar_5;\n tmpvar_5 = texture (sampler_main, xlat_mutableuv2);\n xlat_mutablemask = (1.0 - ((0.9 * \n clamp ((8.0 * xlat_mutabledist), 0.0, 1.0)\n ) * clamp (\n (64.0 * tmpvar_5.xyz)\n , 0.0, 1.0))).x;\n xlat_mutableret1 = ((xlat_mutableret1 * xlat_mutablemask) + (tmpvar_5.xyz * xlat_mutableinten));\n xlat_mutablem = (3.0 - float(tmpvar_3));\n xlat_mutabledist = (1.0 - fract((0.75 - \n (fract(tmpvar_4) / 4.0)\n )));\n xlat_mutableuv2 = ((uv_1 * (float(mod (xlat_mutablem, 2.0)))) + (uv_1.yx * (float(mod (\n (xlat_mutablem + 1.0)\n , 2.0)))));\n xlat_mutabledist2 = (xlat_mutabledist * xlat_mutabledist);\n xlat_mutableinten = ((3.0 * sqrt(xlat_mutabledist)) * (1.0 - (xlat_mutabledist * xlat_mutabledist)));\n xlat_mutableuv2 = (((\n (4.0 * xlat_mutableuv2)\n * xlat_mutabledist) + (0.35 * xlat_mutablem)) + (q9 * xlat_mutabledist2));\n vec4 tmpvar_6;\n tmpvar_6 = texture (sampler_main, xlat_mutableuv2);\n xlat_mutablemask = (1.0 - ((0.9 * \n clamp ((8.0 * xlat_mutabledist), 0.0, 1.0)\n ) * clamp (\n (64.0 * tmpvar_6.xyz)\n , 0.0, 1.0))).x;\n xlat_mutableret1 = ((xlat_mutableret1 * xlat_mutablemask) + (tmpvar_6.xyz * xlat_mutableinten));\n xlat_mutablem = (4.0 - float(tmpvar_3));\n xlat_mutabledist = (1.0 - fract((1.0 - \n (fract(tmpvar_4) / 4.0)\n )));\n xlat_mutableuv2 = ((uv_1 * (float(mod (xlat_mutablem, 2.0)))) + (uv_1.yx * (float(mod (\n (xlat_mutablem + 1.0)\n , 2.0)))));\n xlat_mutabledist2 = (xlat_mutabledist * xlat_mutabledist);\n xlat_mutableinten = ((3.0 * sqrt(xlat_mutabledist)) * (1.0 - (xlat_mutabledist * xlat_mutabledist)));\n xlat_mutableuv2 = (((\n (4.0 * xlat_mutableuv2)\n * xlat_mutabledist) + (0.35 * xlat_mutablem)) + (q9 * xlat_mutabledist2));\n vec4 tmpvar_7;\n tmpvar_7 = texture (sampler_main, xlat_mutableuv2);\n xlat_mutablemask = (1.0 - ((0.9 * \n clamp ((8.0 * xlat_mutabledist), 0.0, 1.0)\n ) * clamp (\n (64.0 * tmpvar_7.xyz)\n , 0.0, 1.0))).x;\n xlat_mutableret1 = ((xlat_mutableret1 * xlat_mutablemask) + (tmpvar_7.xyz * xlat_mutableinten));\n vec4 tmpvar_8;\n tmpvar_8.w = 1.0;\n tmpvar_8.xyz = (1.8 * xlat_mutableret1);\n ret = tmpvar_8.xyz;\n }"}