securityos/node_modules/butterchurn-presets/presets/converted/yin + Geiss - 240 - Electri...

1 line
5.9 KiB
JSON

{"version":2,"baseVals":{"rating":5,"gammaadj":1,"decay":0.8,"echo_zoom":13.69363,"wave_mode":3,"wave_thick":1,"wave_brighten":0,"wrap":0,"wave_a":0.2,"wave_scale":0.532384,"wave_smoothing":0.9,"modwavealphastart":0.5,"modwavealphaend":1,"warpscale":1.430768,"zoomexp":0.8802,"fshader":0.330001,"zoom":1.000489,"warp":0.341546,"sx":0.9999,"sy":0.9998,"ob_size":0,"ib_size":0,"ib_r":0,"ib_g":0.3,"ib_b":0,"mv_x":64,"mv_y":48,"mv_l":5,"mv_a":0,"b1n":0.25},"shapes":[{"baseVals":{"enabled":1,"sides":100,"tex_zoom":0.999999,"r":0.05,"g":0.05,"b":0.9,"g2":0,"b2":0.4,"border_a":0},"init_eqs_eel":"","frame_eqs_eel":""},{"baseVals":{"enabled":1,"sides":50,"rad":0.05033,"g":0.05,"b":0.05,"r2":0.400001,"g2":0.02,"b2":0.02,"a2":0.1,"border_a":0},"init_eqs_eel":"","frame_eqs_eel":"x=q1*cos(q8+1.0467)-q2*sin(q8+1.0467)+.5;\ny=q1*sin(q8+1.0467)+q2*cos(q8+1.0467)+.5;\nrad=.03+.02*q5+q7*.07;\nb=b+0.2*(1-q5);\nb2=b2+0.2*(1-q5);"},{"baseVals":{"enabled":1,"sides":50,"rad":0.049832,"g":0.05,"b":0.05,"r2":0.400001,"g2":0.02,"b2":0.02,"a2":0.1,"border_a":0},"init_eqs_eel":"","frame_eqs_eel":"x=q1*cos(q8+2.0933)-q2*sin(q8+2.0933)+.5;\ny=q1*sin(q8+2.0933)+q2*cos(q8+2.0933)+.5;\n\nrad=.03+.02*q5+q7*.07;\nb=b+0.2*(1-q5);\nb2=b2+0.2*(1-q5);"},{"baseVals":{"enabled":1,"sides":50,"rad":0.049832,"g":0.05,"b":0.05,"r2":0.400001,"g2":0.02,"b2":0.02,"a2":0.1,"border_a":0},"init_eqs_eel":"","frame_eqs_eel":"x=q1*cos(q8)-q2*sin(q8)+.5;\ny=q1*sin(q8)+q2*cos(q8)+.5;\nrad=.03+.02*q5+q7*.07;\nb=b+0.2*(1-q5);\nb2=b2+0.2*(1-q5);"}],"waves":[{"baseVals":{"enabled":1,"smoothing":0},"init_eqs_eel":"","frame_eqs_eel":"","point_eqs_eel":"ox=.1*cos(sample*6.2831);\noy=.35*sin(sample*6.2831)*1.2;\nx=.5+ox*cos(q8+1.0467)-oy*sin(q8+1.0467);\ny=.5+ox*sin(q8+1.0467)+oy*cos(q8+1.0467);\nr=abs(sample-.5);\ng=abs(sample-.5);\nb=abs(sample-.5);"},{"baseVals":{"enabled":1,"smoothing":0},"init_eqs_eel":"","frame_eqs_eel":"","point_eqs_eel":"ox=.1*cos(sample*6.2831);\noy=.35*sin(sample*6.2831)*1.2;\nx=.5+ox*cos(q8)-oy*sin(q8);\ny=.5+ox*sin(q8)+oy*cos(q8);\nr=abs(sample-.5);\ng=abs(sample-.5);\nb=abs(sample-.5);"},{"baseVals":{"enabled":1,"smoothing":0},"init_eqs_eel":"","frame_eqs_eel":"","point_eqs_eel":"ox=.1*cos(sample*6.2831);\noy=.35*sin(sample*6.2831)*1.2;\nx=.5+ox*cos(q8+2.0933)-oy*sin(q8+2.0933);\ny=.5+ox*sin(q8+2.0933)+oy*cos(q8+2.0933);\nr=abs(sample-.5);\ng=abs(sample-.5);\nb=abs(sample-.5);"},{"baseVals":{"enabled":1,"additive":1,"scaling":1.0303,"smoothing":0,"b":0.47},"init_eqs_eel":"","frame_eqs_eel":"fbx=.5+q1*cos(6.2831/3)-q2*sin(6.2831/3);\nfby=.5+q1*sin(6.2831/3)+q2*cos(6.2831/3);\nox=(q1+.5+fbx)*.5;\noy=(q2+.5+fby)*.5;\nnx=.5+(ox-.5)*cos(q8)-(oy-.5)*sin(q8);\nny=.5+(ox-.5)*sin(q8)+(oy-.5)*cos(q8);\nt1=nx;\nt2=ny;\nnx=.5+(fbx-.5)*cos(q8)-(fby-.5)*sin(q8);\nny=.5+(fbx-.5)*sin(q8)+(fby-.5)*cos(q8);\nt3=sqrt(sqr(ox-fbx)+sqr(oy-fby));\nt4=sqrt(q1*q1+q2*q2)*.5;\nt5=atan2(t2-ny,t1-nx);\nb=b+.2*(1-q5)","point_eqs_eel":"v1=t3*(1+.3*(1+q7)*value1*(1-sqr(2*abs(sample-.5))))*cos(3.1415*sample);\nv2=t4*(1+.3*(1+q7)*value2*(1-sqr(2*abs(sample-.5))))*sin(3.1415*sample);\nv2=v2*pow((1-abs(sample-.5)),1.3);\na=max(q7,.15*abs(cos(time*4.32+.63+sin(time*7.3+1.07)))*( 1-sqrt(2*abs(sample-.5))));\nnx=v1*cos(t5)-v2*sin(t5);\nny=v1*sin(t5)+v2*cos(t5);\nx=nx+t1;\ny=ny+t2;"}],"init_eqs_eel":"","frame_eqs_eel":"// -------------------------------- beat detection code ----------------------------------\nsure=if(equal(sure,0),.75,sure);\ninterval=if(equal(interval,0),.7*FPS,interval);\navginterval=if(equal(avginterval,0),.7*FPS,avginterval);\nlockinterval=if(equal(lockinterval,0),.7*FPS,lockinterval );\nlastbeat=if(equal(lastbeat,0),frame-FPS,lastbeat);\ndbass=(bass-pbass)*FPS;\nbeat=below(dbass,0)*above(pdbass,0)*above(bass,.95*avgbass)*above(frame-lastbeat,FPS/3);\nsure=if(beat*below(abs(frame-(interval+lastbeat)),FPS/5),\nmin(.095+sure,1),beat*(sure-.095)+(1-beat)*sure*.9996);\nsure=max(.5,sure);\navgbass=.995*avgbass+.005*bass;\nmaxdbass=max(maxdbass*.999,dbass);\nmaxdbass=min(200,maxdbass);\nmaxdbass=max(.02,maxdbass);\ninterval=if(beat*below(frame-lastbeat,1.8*interval), ((frame-lastbeat)*.25+.75*interval),interval);\nlastbeat=if((1-force)*beat+equal(lastbeat+interval,frame),frame,lastbeat);\navginterval=if(beat,.9*avginterval+.1*interval, avginterval);\nlockinterval=if(beat,.9*lockinterval+.1*avginterval,lockinterval);\npbass=bass;\npdbass=dbass;\nbpm=60*FPS*.3333*( ((2*(1-sure))/interval)+((2*sure)/avginterval)+(1/lockinterval) );\nphase=min( (frame-lastbeat)/(.333*(2*sure*avginterval+2*(1-sure)*interval+lockinterval)), 1 );\nbeat=if(equal(phase,0),1,beat);\ninterval=min(interval,.7*FPS);\navginterval=min(avginterval,.7*FPS);\nlockinterval=min(lockinterval,.7*FPS);\n// ----------------------------------------------------------------------------------------------\n\n//warp=0;\n//zoom=1;\nq1=.1*cos(time);\nq2=.35*sin(time)*1.2;\nq8=time*.1;\nq7=beat;\nq6=(time/6.2831-int(time/6.2831));\nq5=abs(q6*6.2831-3.1415)/3.1415;\nmonitor=q6;","pixel_eqs_eel":"","warp":"uniform sampler2D sampler_smalltiled_electric_nebula;\n shader_body { \n float tmpvar_1;\n tmpvar_1 = fract((time * 0.5));\n float tmpvar_2;\n tmpvar_2 = pow (0.5, tmpvar_1);\n vec2 tmpvar_3;\n tmpvar_3 = (uv - 0.5);\n vec4 tmpvar_4;\n tmpvar_4.w = 1.0;\n tmpvar_4.xyz = (mix (texture (sampler_fc_main, uv).xyz, (\n mix (texture (sampler_smalltiled_electric_nebula, (((\n (tmpvar_3 * tmpvar_2)\n + 0.5) * texsize.xy) * texsize_smalltiled_electric_nebula.zw)).xyz, texture (sampler_smalltiled_electric_nebula, (((\n (tmpvar_3 * (tmpvar_2 * 2.0))\n + 0.5) * texsize.xy) * texsize_smalltiled_electric_nebula.zw)).xyz, vec3(tmpvar_1))\n * \n (clamp ((rad * 1.3), 0.0, 1.0) * 1.1)\n ), vec3(0.15, 0.15, 0.15)) * 0.8);\n ret = tmpvar_4.xyz;\n }","comp":" shader_body { \n vec4 tmpvar_1;\n tmpvar_1.w = 1.0;\n tmpvar_1.xyz = (texture (sampler_main, uv).xyz + ((\n ((texture (sampler_blur1, uv).xyz * scale1) + bias1)\n - blur1_min) * 2.0));\n ret = tmpvar_1.xyz;\n }"}