securityos/node_modules/butterchurn-presets/presets/converted/MilkDrop2077.R033.json

1 line
7.0 KiB
JSON

{"version":2,"baseVals":{"rating":1,"gammaadj":2.7,"decay":0.715,"wrap":0,"solarize":1,"wave_a":0.001,"modwavealphastart":0.848,"warpanimspeed":2.472,"warpscale":3.209,"zoomexp":1.0018,"zoom":1.01,"cx":0.465,"dy":0.00001,"warp":0.01,"wave_r":0,"wave_g":0,"wave_b":0,"wave_x":0,"wave_y":0,"ob_size":0,"ob_a":1,"ib_size":0,"ib_r":0,"ib_g":0,"ib_b":0,"ib_a":1,"mv_y":9.72,"mv_r":1.19,"mv_a":0},"shapes":[{"baseVals":{"enabled":1,"sides":20,"num_inst":410,"rad":0.0082,"r":0,"b":1,"a":1.09,"g2":0,"a2":0.1,"border_b":0.87,"border_a":0.006},"init_eqs_eel":"","frame_eqs_eel":"q1 = time/5;\nq2 = time/6;\nrad = 0.005+bass/100;\nq5 = bass_att/70;\nb2 = treb*0.79-bass/2;\nr = instance/num_inst;\ng = abs(treb_att/5-bass);\n//b = abs(treb_att/5-bass);\nsize = 0.3+bass_att/300;\n\nnc = sqrt(num_inst);\nxs=sin(7.662*(instance%nc)/nc)*sin(3.705*int(instance/nc)/nc);\nys=cos(6.28*(instance%nc)/nc)*sin(3.14*int(instance/nc)/nc);\nzs=cos(3.14*int(instance/nc)/nc);\n\n//modulate to allow rotation\ny1 = ys*cos(q1)-zs*sin(q1);\nz1 = ys*sin(q1)+zs*cos(q1);\nx1 = z1*sin(q2)+xs*cos(q2);\nz2 = z1*cos(q2)-xs*sin(q2);\nx2 = x1*cos(q3)-y1*sin(q3);\ny2 = y1*cos(q3)+x1*sin(q3);\n\n//translate shape\nx3 = x2+q4;\ny3 = y2;\nz3 = z2+q5;\n\nx = 0.5 + size*(x3/(1+z3*size));\ny = 0.42 + size*(y3/(1+z3*size));\na=below(z3,0);"},{"baseVals":{"rad":0.102,"enabled":0},"init_eqs_eel":"","frame_eqs_eel":""},{"baseVals":{"x":0.53,"rad":0.091,"tex_zoom":0.76,"r":1.16,"a":1.05,"g2":0.86,"border_r":0.87,"border_g":0.89,"border_b":1.22,"enabled":0},"init_eqs_eel":"","frame_eqs_eel":""},{"baseVals":{"y":0.49,"rad":0.089,"tex_zoom":0.78,"a":0.95,"g2":0.81,"border_a":0.114,"enabled":0},"init_eqs_eel":"","frame_eqs_eel":""}],"waves":[{"baseVals":{"r":0.8,"g":1.05,"enabled":0},"init_eqs_eel":"","frame_eqs_eel":"","point_eqs_eel":""},{"baseVals":{"a":0.93,"enabled":0},"init_eqs_eel":"","frame_eqs_eel":"","point_eqs_eel":""},{"baseVals":{"scaling":1.1,"r":1.15,"g":0.92,"b":1.22,"enabled":0},"init_eqs_eel":"","frame_eqs_eel":"","point_eqs_eel":""},{"baseVals":{"scaling":0.84,"enabled":0},"init_eqs_eel":"","frame_eqs_eel":"","point_eqs_eel":""}],"init_eqs_eel":"","frame_eqs_eel":"q1=sin(.5*time);\nq2=sin(.2*time);\nq3=sin(0.34*time);\nq4=abs(sin(40*time));\n\nbt=bt+bass/fps;\nbt=bt*above(100,bt);\nq5=sin(bt);\nq6=bt;\n\nq11=int(rand(200)); q11=q11*equal(q11,1);\nq12=int(rand(100)); q12=q12*equal(q12,1);\nq13=int(rand(150)); q13=q13*equal(q13,1);\n\nrot=rot-0.048*sin(bass_att*0.08)*sin(0.37*time);\n\ndy=.002*sin(time*.623)+.002*cos(time*.31);\ndx=.002*cos(time*.442)+.002*sin(time*.52);","pixel_eqs_eel":"//zoom=10.1242-0.038*above(rad,0.12);\n//zoom=zoom+0.042*above(rad,0.131);\n//zoom=zoom-.05*above(rad,.2);\n//zoom=zoom+.05*above(rad,.21);\n//zoom=zoom-0.039*above(rad,0.33);\n//zoom=zoom+.05*above(rad,.31);\n//zoom=zoom-0.059*above(rad,0.34);\n//zoom=zoom+.05*above(rad,.41);\n//zoom=zoom-.05*above(rad,.49);\n//zoom=zoom+.05*above(rad,.50);\n//zoom=zoom-.05*above(rad,.6);\n//zoom=zoom+.05*above(rad,.61);\n//zoom=zoom-0.055*above(rad,0.61);\n//zoom=zoom+0.047*above(rad,0.575);\n//zoom=zoom-0.049*above(rad,0.8);\n//zoom=zoom+.05*above(rad,.805);\n//zoom=zoom-.05*above(rad,.9);\n//zoom=zoom+0.051*above(rad,1.046);\n\n\nzoom=zoom+.15*x*.05*sin(rad*time*2);\nzoom=zoom+0.142*(1-x)*0.058*sin(rad*time*2);","warp":" shader_body { \n vec2 tmpvar_1;\n tmpvar_1 = mix (uv_orig, uv, vec2(0.469, 0.469));\n vec2 tmpvar_2;\n tmpvar_2 = (texsize.zw * 300.0);\n vec2 tmpvar_3;\n tmpvar_3.x = dot (((\n (texture (sampler_blur1, ((tmpvar_1 + vec2(1.0, 2.0)) + tmpvar_2)).xyz * scale1)\n + bias1) - (\n (texture (sampler_blur1, (tmpvar_1 - (vec2(1.0, 0.0) * tmpvar_2))).xyz * scale1)\n + bias1)), vec3(0.32, 0.49, 0.29));\n tmpvar_3.y = dot (((\n (texture (sampler_blur1, (tmpvar_1 + (vec2(0.0, 1.0) * tmpvar_2))).xyz * scale1)\n + bias1) - (\n (texture (sampler_blur1, (tmpvar_1 - (vec2(0.0, 1.0) * tmpvar_2))).xyz * scale1)\n + bias1)), vec3(0.32, 0.49, 0.29));\n vec4 tmpvar_4;\n tmpvar_4.w = 1.0;\n tmpvar_4.xyz = (texture (sampler_fc_main, (tmpvar_1 + (\n (tmpvar_3 * texsize.zw)\n * 50.0))) - 0.01).xyz;\n ret = tmpvar_4.xyz;\n }","comp":"float xlat_mutablesmask;\nvec2 xlat_mutableuv1;\nvec2 xlat_mutableuv3;\nvec2 xlat_mutableuv4;\n shader_body { \n float dist_1;\n float stars_2;\n vec3 ret_3;\n xlat_mutableuv1 = ((uv - 0.5) * aspect.xy);\n float tmpvar_4;\n tmpvar_4 = (0.109 * time);\n float tmpvar_5;\n tmpvar_5 = (0.24 * rad);\n dist_1 = ((1.0 - fract(\n (0.2425 + tmpvar_4)\n )) * (1.0 - tmpvar_5));\n vec2 tmpvar_6;\n tmpvar_6.x = q1;\n tmpvar_6.y = q2;\n xlat_mutableuv3 = (xlat_mutableuv1 + tmpvar_6);\n xlat_mutableuv4 = ((64.0 * dist_1) * xlat_mutableuv3);\n xlat_mutablesmask = (texture (sampler_pw_noise_lq, (xlat_mutableuv4 / 256.0)).y - 0.81);\n vec2 tmpvar_7;\n tmpvar_7 = abs((fract(xlat_mutableuv4) - 0.5));\n stars_2 = max (0.0, clamp ((\n (1.0 - dist_1)\n * \n ((0.1 / sqrt(dot (tmpvar_7, tmpvar_7))) * xlat_mutablesmask)\n ), 0.0, 1.0));\n dist_1 = ((1.0 - fract(\n (0.485 + tmpvar_4)\n )) * (1.0 - tmpvar_5));\n vec2 tmpvar_8;\n tmpvar_8.x = q1;\n tmpvar_8.y = q2;\n xlat_mutableuv3 = (xlat_mutableuv1 + tmpvar_8);\n xlat_mutableuv4 = ((64.0 * dist_1) * xlat_mutableuv3);\n xlat_mutablesmask = (texture (sampler_pw_noise_lq, (xlat_mutableuv4 / 256.0)).y - 0.81);\n vec2 tmpvar_9;\n tmpvar_9 = abs((fract(xlat_mutableuv4) - 0.5));\n stars_2 = (stars_2 + max (stars_2, clamp (\n ((1.0 - dist_1) * ((0.1 / sqrt(\n dot (tmpvar_9, tmpvar_9)\n )) * xlat_mutablesmask))\n , 0.0, 1.0)));\n dist_1 = ((1.0 - fract(\n (0.7275 + tmpvar_4)\n )) * (1.0 - tmpvar_5));\n vec2 tmpvar_10;\n tmpvar_10.x = q1;\n tmpvar_10.y = q2;\n xlat_mutableuv3 = (xlat_mutableuv1 + tmpvar_10);\n xlat_mutableuv4 = ((64.0 * dist_1) * xlat_mutableuv3);\n xlat_mutablesmask = (texture (sampler_pw_noise_lq, (xlat_mutableuv4 / 256.0)).y - 0.81);\n vec2 tmpvar_11;\n tmpvar_11 = abs((fract(xlat_mutableuv4) - 0.5));\n stars_2 = (stars_2 + max (stars_2, clamp (\n ((1.0 - dist_1) * ((0.1 / sqrt(\n dot (tmpvar_11, tmpvar_11)\n )) * xlat_mutablesmask))\n , 0.0, 1.0)));\n dist_1 = ((1.0 - fract(\n (0.97 + tmpvar_4)\n )) * (1.0 - tmpvar_5));\n vec2 tmpvar_12;\n tmpvar_12.x = q1;\n tmpvar_12.y = q2;\n xlat_mutableuv3 = (xlat_mutableuv1 + tmpvar_12);\n xlat_mutableuv4 = ((64.0 * dist_1) * xlat_mutableuv3);\n xlat_mutablesmask = (texture (sampler_pw_noise_lq, (xlat_mutableuv4 / 256.0)).y - 0.81);\n vec2 tmpvar_13;\n tmpvar_13 = abs((fract(xlat_mutableuv4) - 0.5));\n stars_2 = (stars_2 + max (stars_2, clamp (\n ((1.0 - dist_1) * ((0.1 / sqrt(\n dot (tmpvar_13, tmpvar_13)\n )) * xlat_mutablesmask))\n , 0.0, 1.0)));\n vec3 tmpvar_14;\n tmpvar_14 = max ((texture (sampler_main, uv).xyz * 2.0), ((\n (texture (sampler_blur2, uv).xyz * scale2)\n + bias2) * 2.0));\n ret_3 = (ret_3 + clamp ((stars_2 * stars_2), 0.0, 1.0));\n ret_3 = (ret_3 * clamp ((1.0 - \n (2.0 * dot (tmpvar_14, vec3(0.32, 0.49, 0.29)))\n ), 0.0, 1.0));\n ret_3 = (ret_3 + tmpvar_14);\n vec4 tmpvar_15;\n tmpvar_15.w = 1.0;\n tmpvar_15.xyz = ret_3;\n ret = tmpvar_15.xyz;\n }"}