securityos/node_modules/butterchurn-presets/presets/converted/martin - glassball dance.json

1 line
7.6 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":4,"additivewave":1,"wave_thick":1,"modwavealphabyvolume":1,"wave_brighten":0,"darken":1,"wave_a":0.001,"wave_scale":0.5274,"wave_smoothing":0.45,"modwavealphastart":0,"modwavealphaend":1.32,"warpanimspeed":0.442,"warpscale":0.498,"zoom":0.9999,"warp":0.01,"sx":0.9999,"wave_r":0.8,"wave_g":0.49,"ob_size":0,"ob_r":1,"ob_g":1,"ob_b":1,"ob_a":0.05,"ib_size":0.26,"mv_x":64,"mv_y":48,"mv_l":1.85,"mv_r":0.4999,"mv_g":0.4999,"mv_b":0.4999,"mv_a":0,"b1ed":0},"shapes":[{"baseVals":{"additive":1,"rad":0.048958,"tex_ang":1.00531,"tex_zoom":1.531168,"r":0,"g":1,"b":1,"r2":0.83,"g2":0.93,"b2":0.8,"border_b":0,"border_a":0,"enabled":0},"init_eqs_eel":"","frame_eqs_eel":"\ntrel = time/3;\n\nx = .5+sin(trel*2);\ny = .5+cos(trel*1.3);\n\n\n\n\nrad = .1;\na = .8;"},{"baseVals":{"thickoutline":1,"textured":1,"x":0.26,"y":0.2,"rad":0.393173,"tex_zoom":0.9355,"r":0,"g":0.55,"b":0.5,"g2":0.4,"b2":0.4,"a2":0.07,"border_r":0.3,"border_g":0.7,"border_b":0.8,"border_a":0.4,"enabled":0},"init_eqs_eel":"","frame_eqs_eel":"tex_zoom = q27;"},{"baseVals":{"sides":44,"x":0.503,"rad":0.038857,"tex_zoom":0.609857,"g":0.1,"a":0.9,"r2":1,"b2":1,"border_r":0.5,"border_g":0.5,"border_a":0,"enabled":0},"init_eqs_eel":"","frame_eqs_eel":"x = rand(50)/50;\ny = .5;\n\nr = .4;\ng = .6;\nb = 1;\nr2 = r;\ng2 = g;\nb2 = b;\n\na2 = min(q21/2 ,1)/2;\n\na = 0;\n\nrad = a2 * (.1+abs(x-.5))/2 ;"},{"baseVals":{"thickoutline":1,"textured":1,"x":0.26,"y":0.76,"rad":0.39478,"tex_zoom":0.499805,"g":1,"b":1,"r2":1,"b2":1,"a2":0.8,"border_r":0.2,"border_g":0.7,"border_b":0.5,"border_a":1,"enabled":0},"init_eqs_eel":"","frame_eqs_eel":"tex_zoom = q27/2;"}],"waves":[{"baseVals":{"samples":282,"sep":20,"thick":1,"additive":1,"scaling":7.858,"smoothing":0.1,"r":0.2,"g":0.3,"a":0.6,"enabled":0},"init_eqs_eel":"","frame_eqs_eel":"","point_eqs_eel":""},{"baseVals":{"usedots":1,"thick":1,"scaling":0.891519,"smoothing":0.82,"a":0.1,"enabled":0},"init_eqs_eel":"","frame_eqs_eel":"","point_eqs_eel":"xi = rand(100)/100;\nyi = rand(100)/100;\n\nx = xi; y = yi;\n\na = q21/15;"},{"baseVals":{"thick":1,"scaling":0.891519,"smoothing":0.82,"r":0,"g":0.2,"b":0,"enabled":0},"init_eqs_eel":"","frame_eqs_eel":"","point_eqs_eel":""},{"baseVals":{"spectrum":1,"usedots":1,"enabled":0},"init_eqs_eel":"","frame_eqs_eel":"","point_eqs_eel":""}],"init_eqs_eel":"dirx = 1;","frame_eqs_eel":"dec_med = pow (0.7, 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, avg+peak) * above (time, t0+.1);\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))%4;\n\nq20 = avg;\nq21 = beat;\nq22 = peak;\nq23 = index;\nq24 = is_beat;\nq26 = bass + mid + treb;\nq29 = 2 * (index2%2-.5);\nq25 = min(1,q22/2);\n\nk1 = is_beat*equal(index%4,0);\np1 = k1*(p1+1) + (1-k1)*p1;\np2 = dec_med * p2+ (1-dec_med)*p1;\nrott = p2 * 3.1416/4;\nq1 = cos(rott);\nq2 = sin(rott);\nq3 = -q2;\nq4 = q1;\n\n\nq27 = index;\nq28 = index2;\n\nmov = mov*dec_med + (1-dec_med)*above(index%8,2);\nmovez = movez + 1/fps*mov;\nq30 = movez;\n//**************************\n\nq8 = movex; q9 = movey;\n\ntrel1 = trel1 + (q1*q22*3)/fps;\ntrel2 = trel2 + (q2*q22*2)/fps;\ntrel3 = trel3 + 4*(1-mov)/fps;\ntrel4 = trel4 + 1 * mov/fps;\n\nq11 = .3*sin(trel1); \nq12 = .1*cos(trel2); \nq13 = 8 + 6*sin(trel3);\n\nq14 = .3*sin(trel2); \nq15 = .2*cos(trel3) ; \nq16 = 6 + 3*sin(trel1);\n\nq17 = .3*sin(trel4); \nq18 = .3*cos(trel2); \nq19 = 3 + sin(trel3);\n\ntrot = trel1/2;\ntrot = index2*6.28/4;\nq5 = cos(trot);\nq6 = sin(trot);\nq7 = -q6;\nq8 = q5;","pixel_eqs_eel":"","warp":"float xlat_mutableq25;\n shader_body { \n vec2 uv_1;\n vec2 uv6_2;\n vec2 tmpvar_3;\n tmpvar_3 = ((uv - 0.5) * aspect.xy);\n float tmpvar_4;\n tmpvar_4 = ((2.0 * sqrt(\n dot (tmpvar_3, tmpvar_3)\n )) + (rand_frame * 64.0)).x;\n uv_1 = (uv + ((\n clamp (((sin(tmpvar_4) / cos(tmpvar_4)) * normalize(tmpvar_3)), vec2(-2.0, -2.0), vec2(2.0, 2.0))\n / 20.0) * q29));\n uv6_2 = (0.4 * sin((tmpvar_3 * 32.0)));\n xlat_mutableq25 = (q24 + 0.01);\n vec4 tmpvar_5;\n tmpvar_5.w = 1.0;\n tmpvar_5.xyz = (((xlat_mutableq25 * \n (((texture (sampler_main, uv_1).xyz - (\n ((texture (sampler_blur1, fract(uv_1)).xyz * scale1) + bias1)\n * 0.04)) + (0.15 * (vec3(\n (0.1 / sqrt(dot (uv6_2, uv6_2)))\n ) * roam_cos.xyz))) - 0.02)\n ) * 0.99) + ((0.995 * \n (1.0 - xlat_mutableq25)\n ) * texture (sampler_main, uv_orig).xyz));\n ret = tmpvar_5.xyz;\n }","comp":"vec2 xlat_mutableKugel1;\nvec2 xlat_mutableKugel2;\nfloat xlat_mutablerad1;\nfloat xlat_mutablerad2;\nfloat xlat_mutablerad3;\nvec3 xlat_mutableret1;\nvec3 xlat_mutableret2;\nvec2 xlat_mutablers0;\nvec2 xlat_mutablersk;\nvec2 xlat_mutableuv4;\n shader_body { \n vec2 uv1_1;\n mat2 tmpvar_2;\n tmpvar_2[uint(0)] = _qb.xy;\n tmpvar_2[1u] = _qb.zw;\n uv1_1 = (((uv - 0.5) * aspect.xy) * tmpvar_2);\n vec2 tmpvar_3;\n tmpvar_3.x = q11;\n tmpvar_3.y = q12;\n xlat_mutablersk = (uv1_1 + tmpvar_3);\n xlat_mutablerad1 = ((8.0 * q13) * sqrt(dot (xlat_mutablersk, xlat_mutablersk)));\n xlat_mutableuv4 = ((sin(xlat_mutablerad1) / cos(xlat_mutablerad1)) * normalize(xlat_mutablersk));\n xlat_mutableKugel1 = (((xlat_mutableuv4 * \n clamp ((10.0 - (7.0 * xlat_mutablerad1)), 0.0, 1.0)\n ) / (1.0 + \n (q13 * q13)\n )) * q13);\n vec2 tmpvar_4;\n tmpvar_4.x = q14;\n tmpvar_4.y = q15;\n xlat_mutablersk = (uv1_1 + tmpvar_4);\n xlat_mutablerad2 = ((2.0 * (1.0 + q16)) * sqrt(dot (xlat_mutablersk, xlat_mutablersk)));\n xlat_mutableuv4 = ((sin(xlat_mutablerad2) / cos(xlat_mutablerad2)) * normalize(xlat_mutablersk));\n xlat_mutableKugel2 = (((xlat_mutableuv4 * \n clamp ((10.0 - (7.0 * xlat_mutablerad2)), 0.0, 1.0)\n ) / (1.0 + \n (q16 * q16)\n )) * q16);\n vec2 tmpvar_5;\n tmpvar_5.x = q17;\n tmpvar_5.y = q18;\n xlat_mutablersk = (uv1_1 + tmpvar_5);\n xlat_mutablerad3 = ((4.0 * (1.0 + q19)) * sqrt(dot (xlat_mutablersk, xlat_mutablersk)));\n xlat_mutableuv4 = ((sin(xlat_mutablerad3) / cos(xlat_mutablerad3)) * normalize(xlat_mutablersk));\n float tmpvar_6;\n tmpvar_6 = (0.1 / abs((\n (uv1_1.y * rad)\n * rad)));\n xlat_mutablers0.y = tmpvar_6;\n xlat_mutablers0.x = ((uv1_1.x * tmpvar_6) * 4.0);\n mat2 tmpvar_7;\n tmpvar_7[uint(0)] = _qa.xy;\n tmpvar_7[1u] = _qa.zw;\n xlat_mutablers0 = (xlat_mutablers0 * tmpvar_7);\n vec2 tmpvar_8;\n tmpvar_8.x = 0.0;\n tmpvar_8.y = q30;\n xlat_mutableret2 = (((texture (sampler_blur1, \n fract((xlat_mutablers0 + tmpvar_8))\n ).xyz * scale1) + bias1) / tmpvar_6);\n uv1_1 = (uv1_1 + ((\n ((xlat_mutableKugel1 + xlat_mutableKugel2) + (((xlat_mutableuv4 * \n clamp ((10.0 - (7.0 * xlat_mutablerad3)), 0.0, 1.0)\n ) / (1.0 + \n (q19 * q19)\n )) * q19))\n * 0.25) + (xlat_mutableret2 / 4.0).xy));\n xlat_mutableret1 = (((\n (xlat_mutableret2 + texture (sampler_main, ((uv1_1 / 2.0) + 0.5)).xyz)\n + \n ((((0.4 / xlat_mutablerad1) * (0.5 - \n ((texture (sampler_blur1, vec2(0.1, 0.1)).xyz * scale1) + bias1)\n )) * q22) * (float(mod (q27, 4.0))))\n ) + (\n (((0.3 / xlat_mutablerad2) * (0.5 - (\n (texture (sampler_blur1, vec2(0.2, 0.2)).xyz * scale1)\n + bias1))) * q22)\n * \n (float(mod ((q27 + 1.0), 4.0)))\n )) + ((\n ((0.2 / xlat_mutablerad3) * (0.5 - ((texture (sampler_blur1, vec2(0.0, 0.0)).xyz * scale1) + bias1)))\n * q22) * (float(mod (\n (q27 + 2.0)\n , 4.0)))));\n vec4 tmpvar_9;\n tmpvar_9.w = 1.0;\n tmpvar_9.xyz = clamp ((xlat_mutableret1 * (1.0 + xlat_mutableret1)), 0.0, 1.0);\n ret = tmpvar_9.xyz;\n }"}