securityos/node_modules/butterchurn-presets/presets/converted/martin [shadow harlequins s...

1 line
6.1 KiB
JSON

{"version":2,"baseVals":{"rating":4,"gammaadj":1.98,"decay":0.5,"echo_zoom":1,"echo_alpha":0.5,"echo_orient":3,"additivewave":1,"wave_thick":1,"modwavealphabyvolume":1,"darken":1,"wave_a":0.001,"wave_scale":0.133,"wave_smoothing":0,"wave_mystery":-1,"modwavealphastart":1,"modwavealphaend":1.3,"warpanimspeed":1.459,"warpscale":2.007,"zoom":0.9999,"warp":0.01,"sx":0.9999,"wave_r":0.5,"wave_g":0.5,"wave_b":0.5,"ob_size":0.015,"ob_b":1,"ib_size":0.26,"mv_a":0,"b2x":0.3,"b1ed":0},"shapes":[{"baseVals":{"enabled":1,"sides":40,"thickoutline":1,"rad":0.06623,"tex_zoom":1.79845,"r":0,"a":0.1,"g2":0,"border_b":0,"border_a":0},"init_eqs_eel":"bob = 1.5;\nro = 0;\nred = rand(20);","frame_eqs_eel":"vol = 1 + 0.2*((bass_att+treb_att+mid_att)/3);\nbob = bob*above(bob,0.01) - 0.01 + 1*(1 - above(bob,0.01));\nbob = 0.4 + 0.4*sin(time*0.8);\nbob = bob*vol;\n//rad = bob;\nborder_1 = 0.4;\nsides = 30;\nro = ro + 0.02;\nang = ro;\n//rad = 0.6;\n\nsp = red*0.025;\nspi = 0.5 - sp;\ntm = time*0.1;\nborder_r = 0.5 + sp*sin(tm*0.6) + spi*cos(tm*1.46);\nborder_g = 0.5 + sp*sin(tm*1.294) + spi*cos(tm*0.87);\nborder_b = 0.5 + sp*sin(tm*1.418) + spi*cos(tm*0.76);\n"},{"baseVals":{"enabled":1,"sides":40,"additive":1,"num_inst":4,"g":1,"b":1,"g2":0,"border_a":0},"init_eqs_eel":"","frame_eqs_eel":"x = 0.5 + 0.225*sin(time /instance*0.7);\ny = 0.5 + 0.3*cos(time /instance*0.7);\nx = x- 0.4*x*sin(time);\ny = y- 0.4*y*cos(time);\n\n\n\nrad = rad*mid_att;\nr = 0.5 + 0.5*sin(frame*0.5);\nb = 0.5 + 0.5*sin(frame*0.5 + 2.094);\ng = 0.5 + 0.5*sin(frame*0.5 + 4.188);\n"},{"baseVals":{"enabled":1,"sides":40,"additive":1,"g":1,"b":1,"g2":0,"border_a":0},"init_eqs_eel":"","frame_eqs_eel":"x = 0.5 + 0.5*(sin(time*1.1)*0.3 + 0.7*sin(time*0.5));\nx = 0.5 + 0.225*sin(time + 2.09);\ny = 0.5 + 0.3*cos(time + 2.09);\n\nrad = rad*bass_att;\nr = 0.5 + 0.5*sin(frame*0.5);\nb = 0.5 + 0.5*sin(frame*0.5 + 2.094);\ng = 0.5 + 0.5*sin(frame*0.5 + 4.188);\n"},{"baseVals":{"enabled":1,"sides":40,"additive":1,"num_inst":5,"rad":0.07419,"g":1,"b":1,"g2":0,"border_a":0},"init_eqs_eel":"","frame_eqs_eel":"//x = 0.5 + 0.5*(sin(time*1.1)*0.3 + 0.7*sin(time*0.5));\nx = 0.5 + 0.225*sin(time /instance);\ny = 0.5 + 0.3*cos(time /instance);\nx = x+ 0.4*x*sin(time);\ny = y+ 0.4*y*cos(time);\n\n\n//x = x+(0.1*q3)*sin((instance*2.4));\n//y = y+(0.1*q4)*cos((instance*2.4));\n\n\nrad = rad*treb_att;\nr = 0.5 + 0.5*sin(frame*0.5);\nb = 0.5 + 0.5*sin(frame*0.5 + 2.094);\ng = 0.5 + 0.5*sin(frame*0.5 + 4.188);\n"}],"waves":[{"baseVals":{"enabled":0},"init_eqs_eel":"","frame_eqs_eel":"","point_eqs_eel":""},{"baseVals":{"enabled":0},"init_eqs_eel":"","frame_eqs_eel":"","point_eqs_eel":""},{"baseVals":{"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":"","frame_eqs_eel":"dec_med = pow (0.7, 30/fps);\ndec_slow = pow (0.99, 30/fps);\nbeat = max (max (bass, mid), treb); \navg = avg*dec_slow + beat*(1-dec_slow);\nis_beat = above(beat, .2+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) %8;\nindex2 = (index2 + is_beat*bnot(index))%2;\n\nq20 = avg;\nq21 = beat;\nq22 = peak;\n\nps = .9*ps + .1*q22;\nq23 = ps;\nq24 = is_beat;\nq26 = bass_att + mid_att + treb_att;\nq27 = index +1;\nq28 = index2;\n\n\nk1 = is_\nbeat*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\nq1 = cos(rott);\nq2 = sin(rott);\nq3 = -q2;\nq4 = q1;","pixel_eqs_eel":"zoom = 1.05;","warp":" shader_body { \n vec2 uv_1;\n vec2 tmpvar_2;\n tmpvar_2 = (uv - vec2(0.5, 0.5));\n vec4 tmpvar_3;\n tmpvar_3.w = 0.0;\n vec4 tmpvar_4;\n tmpvar_4 = texture (sampler_blur1, uv);\n tmpvar_3.xyz = ((tmpvar_4.xyz * scale1) + bias1);\n float tmpvar_5;\n tmpvar_5 = (dot (tmpvar_3, roam_sin) * 16.0);\n mat2 tmpvar_6;\n tmpvar_6[uint(0)].x = cos(tmpvar_5);\n tmpvar_6[uint(0)].y = -(sin(tmpvar_5));\n tmpvar_6[1u].x = sin(tmpvar_5);\n tmpvar_6[1u].y = cos(tmpvar_5);\n uv_1 = ((tmpvar_2 + (\n (0.2 * dot (((tmpvar_4.xyz * scale1) + bias1), vec3(0.32, 0.49, 0.29)))\n * \n (tmpvar_2 * tmpvar_6)\n )) - 0.5);\n vec2 tmpvar_7;\n tmpvar_7 = ((uv_1 * texsize.xy) * 0.02);\n vec2 tmpvar_8;\n tmpvar_8.x = (cos((tmpvar_7.y * q1)) * sin(-(tmpvar_7.y)));\n tmpvar_8.y = (sin(tmpvar_7.x) * cos((tmpvar_7.y * q2)));\n uv_1 = (uv_1 - ((tmpvar_8 * texsize.zw) * 12.0));\n vec4 tmpvar_9;\n tmpvar_9.w = 1.0;\n tmpvar_9.xyz = ((texture (sampler_main, uv_1).xyz * 0.98) - 0.02);\n ret = tmpvar_9.xyz;\n }","comp":"vec3 xlat_mutableret1;\nvec2 xlat_mutablers;\nvec2 xlat_mutableuv1;\nfloat xlat_mutablez;\n shader_body { \n xlat_mutableuv1 = (uv - 0.5);\n xlat_mutablez = (0.2 / abs(xlat_mutableuv1.y));\n xlat_mutablers.x = (xlat_mutableuv1.x * xlat_mutablez);\n xlat_mutablers.y = ((xlat_mutablez / 2.0) + (time * 4.0));\n vec4 tmpvar_1;\n tmpvar_1 = texture (sampler_noise_hq, xlat_mutablers);\n xlat_mutableret1 = ((tmpvar_1.xyz * vec3(\n greaterThanEqual (tmpvar_1.xyz, vec3(0.0, 0.0, 0.0))\n )) - 0.6);\n float tmpvar_2;\n tmpvar_2 = clamp ((128.0 * xlat_mutableuv1.y), 0.0, 1.0);\n vec2 tmpvar_3;\n tmpvar_3 = fract(((\n (xlat_mutableuv1 * (1.0 - abs(xlat_mutableuv1.x)))\n - 0.5) - (\n (xlat_mutableret1 * 0.05)\n * tmpvar_2).xy));\n float x_4;\n x_4 = (tmpvar_3.y - 0.52);\n vec3 tmpvar_5;\n tmpvar_5 = (texture (sampler_main, tmpvar_3) + ((0.02 / \n (0.02 + sqrt((x_4 * x_4)))\n ) * slow_roam_sin)).xyz;\n xlat_mutableret1 = tmpvar_5;\n vec2 tmpvar_6;\n tmpvar_6 = (32.0 * ((\n (uv * mat2(0.6, -0.8, 0.8, 0.6))\n + \n (tmpvar_5 * 0.1)\n .xy) + (time / 64.0)));\n vec2 tmpvar_7;\n tmpvar_7 = abs((fract(tmpvar_6) - 0.5));\n vec3 tmpvar_8;\n tmpvar_8 = clamp (((0.25 / \n sqrt(dot (tmpvar_7, tmpvar_7))\n ) * vec3((texture (sampler_pw_noise_lq, \n (tmpvar_6 / 256.0)\n ).y - 0.9))), 0.0, 1.0);\n vec4 tmpvar_9;\n tmpvar_9.w = 1.0;\n tmpvar_9.xyz = (tmpvar_5 + ((\n (tmpvar_8.x * tmpvar_8.x)\n + \n ((rand_preset * (0.5 - uv.y)).xyz * vec3(0.0, 0.0, 1.0))\n ) * (1.0 - tmpvar_2)));\n ret = tmpvar_9.xyz;\n }"}