securityos/node_modules/butterchurn-presets/presets/converted/sawtooth grin roam.json

1 line
8.9 KiB
JSON

{"version":2,"baseVals":{"rating":4,"gammaadj":1.49,"decay":0.5,"echo_zoom":1.002,"echo_alpha":0.5,"echo_orient":1,"wave_mode":7,"additivewave":1,"modwavealphabyvolume":1,"wave_brighten":0,"wave_a":0.001,"wave_scale":1.157,"wave_smoothing":0.63,"modwavealphastart":0.71,"modwavealphaend":1.3,"warpscale":16.016,"zoomexp":11.56276,"fshader":1,"zoom":1.05971,"warp":0.13126,"wave_r":0.65,"wave_g":0.65,"wave_b":0.65,"ob_size":0,"ob_a":1,"ib_size":0,"mv_x":64,"mv_y":48,"mv_l":0,"mv_a":0},"shapes":[{"baseVals":{"enabled":1,"sides":14,"num_inst":512,"rad":0.1026,"tex_ang":0.62832,"r2":1,"g2":0,"a2":1,"border_a":0},"init_eqs_eel":"","frame_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;\nrad=(bass+treb)/30;\na=(above(bass+mid+treb,.8));\nr=int(rand(100))/100;\ng=int(rand(100))/100;\nb=int(rand(100))/100;\nr2=int(rand(100))/100;\ng2=int(rand(100))/100;\nb2=int(rand(100))/100;\nr_border=int(rand(100))/100;\ng_border=int(rand(100))/100;\nb_border=int(rand(100))/100;"},{"baseVals":{"enabled":1,"sides":23,"num_inst":1024,"rad":0.10262,"ang":0.43982,"tex_ang":0.62832,"a":0.5,"r2":1,"g2":0,"a2":0.5,"border_a":0},"init_eqs_eel":"","frame_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;\nrad=(bass+treb)/25;\na=(above(bass+mid+treb,.1));\nr=int(rand(100))/100;\ng=int(rand(100))/100;\nb=int(rand(100))/100;\nr2=int(rand(100))/100;\ng2=int(rand(100))/100;\nb2=int(rand(100))/100;\nr_border=int(rand(100))/100;\ng_border=int(rand(100))/100;\nb_border=int(rand(100))/100;"},{"baseVals":{"sides":14,"additive":1,"num_inst":256,"rad":0.20269,"tex_ang":0.62832,"r2":1,"g2":0,"a2":1,"border_a":0,"enabled":0},"init_eqs_eel":"","frame_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));"},{"baseVals":{"sides":14,"additive":1,"num_inst":256,"rad":0.22389,"tex_ang":0.62832,"r2":1,"g2":0,"a2":1,"border_a":0,"enabled":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+(.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));"}],"waves":[{"baseVals":{"thick":1,"enabled":0},"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));"},{"baseVals":{"thick":1,"enabled":0},"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));"},{"baseVals":{"thick":1,"enabled":0},"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));"},{"baseVals":{"thick":1,"enabled":0},"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));"}],"init_eqs_eel":"","frame_eqs_eel":"xx1 = xx1*0.9 + (bass)*0.01;\nxx2 = xx2*0.9 + (treb)*0.01;\nyy1 = yy1*0.94 + (treb+bass)*0.0075;\n\nx1 = 0.5 + (xx1-xx2)*2;\ny1 = 0.4 + yy1;\n\nx1 = max(0,min(1,x1)); y1 = max(0,min(1,y1));\n\nspring = 10;\ngrav = .5;\nresist = 1;\nbounce = 0.75;\ndt = 0.0005*(60/fps);\n\nvx2 = vx2*(1-resist*dt) + dt*((x1+x3-2*x2)*spring);\nvy2 = vy2*(1-resist*dt) + dt*((y1+y3-2*y2)*spring-grav);\nvx3 = vx3*(1-resist*dt) + dt*((x2+x4-2*x3)*spring);\nvy3 = vy3*(1-resist*dt) + dt*((y2+y4-2*y3)*spring-grav);\nvx4 = vx4*(1-resist*dt) + dt*((x3-x4)*spring);\nvy4 = vy4*(1-resist*dt) + dt*((y3-y4)*spring-grav);\n\nx2 = x2 + vx2;\ny2 = y2 + vy2;\nx3 = x3 + vx3;\ny3 = y3 + vy3;\nx4 = x4 + vx4;\ny4 = y4 + vy4;\n\nvx2 = if(above(x2,0),vx2,abs(vx2)*bounce);\nvx2 = if(below(x2,1),vx2,-abs(vx2)*bounce);\nvx3 = if(above(x3,0),vx3,abs(vx3)*bounce);\nvx3 = if(below(x3,1),vx3,-abs(vx3)*bounce);\nvx4 = if(above(x4,0),vx4,abs(vx4)*bounce);\nvx4 = if(below(x4,1),vx4,-abs(vx4)*bounce);\nvy2 = if(above(y2,0),vy2,abs(vy2)*bounce);\nvy2 = if(below(y2,1),vy2,-abs(vy2)*bounce);\nvy3 = if(above(y3,0),vy3,abs(vy3)*bounce);\nvy3 = if(below(y3,1),vy3,-abs(vy3)*bounce);\nvy4 = if(above(y4,0),vy4,abs(vy4)*bounce);\nvy4 = if(below(y4,1),vy4,-abs(vy4)*bounce);\n\n\nq1 = x1; q2 = x2; q3 = x3; q4 = x4;\nq5 = y1; q6 = y2; q7 = y3; q8 = y4;\nq9 =1/ aspectX;\nq10 = 1/aspectY;\n\nzoom = 1;\nr = r*0.96 +(x1-0.5);\nrot = (r*0.1);\n\nq12 = atan2(vx4,vy4);\nq11 = sqrt(vx4*vx4 + vy4*vy4);\n\nzoom = 1.001;\nrot = 0.00;\nwarp = 0.2;\nwave_a = 0;","pixel_eqs_eel":"dir = -q12 + asin(1);\n\nb1 = 0.1;\nm1 = q11*25;\n\nxx = q4;\nyy = 1-q8;\n\n\nx1 = xx -sin(dir)*b1;\ny1 = yy -cos(dir)*b1;\nx2 = xx +sin(dir)*b1;\ny2 = yy +cos(dir)*b1;\n\nd1 = sqrt((x1-x)*(x1-x)+(y1-y)*(y1-y))-b1*2;\nd2 = sqrt((x2-x)*(x2-x)+(y2-y)*(y2-y))-b1*2;\n\nsi1 = sigmoid(-d1,1000);\nsi2 = sigmoid(-d2,1000);\n\ndx = (si1*sin(y1-y)*m1*d1 - si2*sin(y2-y)*m1*d2)*2;\ndy = (-si1*sin(x1-x)*m1*d1 + si2*sin(x2-x)*m1*d2)*2;","warp":" shader_body { \n vec2 tmpvar_1;\n tmpvar_1 = mix (uv_orig, uv, vec2(0.3, 0.3));\n vec2 tmpvar_2;\n tmpvar_2 = (texsize.zw * 3.0);\n vec2 tmpvar_3;\n tmpvar_3.x = dot (((\n (texture (sampler_blur1, (tmpvar_1 + (vec2(1.0, 0.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 * 9.0))) - 0.01).xyz;\n ret = tmpvar_4.xyz;\n }","comp":" shader_body { \n vec2 uv_1;\n vec3 ret3_2;\n vec3 ret_3;\n vec2 tmpvar_4;\n tmpvar_4 = (((uv - 0.5) * vec2(-1.0, 1.0)) + 0.5);\n vec3 tmpvar_5;\n tmpvar_5 = abs(((texture (sampler_main, uv).xyz * \n clamp ((((\n (texture (sampler_blur2, uv).xyz * scale2)\n + bias2) * 2.8) - 0.13), 0.0, 1.0)\n ) - (texture (sampler_main, tmpvar_4).xyz * \n clamp ((((\n (texture (sampler_blur2, tmpvar_4).xyz * scale2)\n + bias2) * 2.8) - 0.13), 0.0, 1.0)\n )));\n ret3_2 = (tmpvar_5 * sqrt(tmpvar_5));\n ret3_2 = (ret3_2 * vec3(0.9, 1.6, 2.3));\n ret3_2 = (ret3_2 * 3.0);\n vec3 tmpvar_6;\n tmpvar_6 = pow (ret3_2, (1.0 - ret3_2));\n ret3_2 = tmpvar_6;\n uv_1 = (uv * 2.0);\n vec2 tmpvar_7;\n tmpvar_7 = floor((fract(\n (uv_1 * 0.5)\n ) * 2.0));\n uv_1 = ((fract(uv_1) * (1.0 - tmpvar_7)) + (tmpvar_7 * fract(\n (1.0 - uv_1)\n )));\n vec2 tmpvar_8;\n tmpvar_8.x = rad;\n tmpvar_8.y = uv_1.y;\n uv_1 = tmpvar_8;\n vec2 tmpvar_9;\n tmpvar_9 = ((0.5 - tmpvar_8.yx) + 0.5);\n ret_3 = (texture (sampler_main, tmpvar_8.yx).xyz * clamp ((\n (((texture (sampler_blur2, tmpvar_8.yx).xyz * scale2) + bias2) * 2.8)\n - 0.13), 0.0, 1.0));\n vec3 tmpvar_10;\n tmpvar_10 = mix (ret_3, (texture (sampler_main, tmpvar_9).xyz * clamp (\n ((((texture (sampler_blur2, tmpvar_9).xyz * scale2) + bias2) * 2.8) - 0.13)\n , 0.0, 1.0)), vec3(0.5, 0.5, 0.5));\n ret_3 = (tmpvar_10 * tmpvar_10);\n ret_3 = (ret_3 * vec3(0.9, 1.6, 2.3));\n ret_3 = (ret_3 * 3.0);\n ret_3 = (max (tmpvar_6, (0.8 * vec3(\n (0.5 * dot (ret_3, vec3(0.32, 0.49, 0.29)))\n ))) - (roam_sin.xyz * roam_cos.zxy));\n vec4 tmpvar_11;\n tmpvar_11.w = 1.0;\n tmpvar_11.xyz = ret_3;\n ret = tmpvar_11.xyz;\n }"}