securityos/node_modules/butterchurn-presets/presets/converted/Redi Jedi - i dont think th...

1 line
3.6 KiB
JSON

{"version":1,"baseVals":{"rating":0,"gammaadj":1,"decay":0.925,"echo_zoom":1.006593,"echo_orient":3,"wave_mode":7,"additivewave":1,"modwavealphabyvolume":1,"wave_brighten":0,"wave_a":4.099998,"wave_scale":1.285751,"wave_smoothing":0.63,"modwavealphastart":0.71,"modwavealphaend":1.3,"warpscale":1.331,"zoom":0.999514,"warp":0.01,"wave_r":0,"wave_g":0,"wave_b":0,"ob_size":0.005,"ob_r":0.01,"ob_a":0.5,"ib_size":0.26,"mv_a":0},"shapes":[{"baseVals":{"sides":100,"thickoutline":1,"textured":1,"rad":0.090528,"g":1,"b":1,"a":0.5,"r2":1,"b2":1,"a2":0.5,"enabled":0},"init_eqs_eel":"","frame_eqs_eel":"x=q6;\ny=q7;"},{"baseVals":{"enabled":1,"g":1,"b":1,"r2":1,"b2":1,"a2":1},"init_eqs_eel":"","frame_eqs_eel":"rad=q2*.3;\nx=.2;\ny=.2;"},{"baseVals":{"additive":1,"thickoutline":1,"rad":0.436055,"g":1,"b":1,"r2":1,"b2":1,"a2":1,"enabled":0},"init_eqs_eel":"","frame_eqs_eel":"rad=q5*.33;\ny=.75;\nx=.2;"},{"baseVals":{"enabled":0},"init_eqs_eel":"","frame_eqs_eel":""}],"waves":[{"baseVals":{"enabled":1,"sep":256,"usedots":1,"thick":1,"a":0.5},"init_eqs_eel":"","frame_eqs_eel":"","point_eqs_eel":"x=q6+value1*.2;\ny=q7+value2*.2;\n\nr=sin(q2+sample*3.14*treb)*.4+.5;\ng=cos(q2+sample*3.14*bass)*.3+.4;\nb=sin(q2+sample*3.14*mid)*.3+.6;"},{"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":"db=.01;\nbeatrate=1;\navgbeatrate=2;\nlbbtime=time;\navgdb=.01;\nvol=1;\navgvol=.2;\nphase=0;\nbool=0;\nconst=.02;\nmtime=150+bass_att*1000;\nt3=200+treb_att*1000;\nt4=100+mid_att*1000;","frame_eqs_eel":"db=(bass-lbass)*fps;\nlbass=bass;\navgdb=avgdb*.99+abs(db)*.01;\navgvol=avgvol*.99+(bass+mid+treb)*.0033;\n\n//beatdection\nrawbeatb=above(abs(db),avgdb*avgvol*4);\nbeatb=rawbeatb*above(time-lbbtime,avgbeatrate*.5);\nbeathard=beatb*(abs(db)-avgdb*4);\n//beatrate calc\nbeatrate=beatb*(time-lbbtime)+(1-beatb)*beatrate;\navgbeatrate=beatb*(avgbeatrate*.9+beatrate*.1)+(1-beatb)*avgbeatrate;\nlbbtime=time*beatb+(1-beatb)*lbbtime;\n\nph=(time-lbbtime)*(60/avgbeatrate)*const;\nphase=max(min( ph, 1 ),0);\n\n//const=beatb*( bool*(const-.001)+(1-bool)*(const+.001) ) + (1-beatb)*const;\nconst=const*(1-beatb)+beatb*( const+ (.01*bool) );\n\nbool=below(phase,.98)*(.99-ph)-above(phase,.98)*(ph*.5);\nmonitor=const;\nbc=bc+beatb;\n\nvol=(rawbeatb*(db-(avgdb))*.01);\navgvol=avgvol*.999+vol*.01;\n\nmtime=mtime+min(avgvol*.5,.25)*(60/fps);\n\ndecay=.9999;\nwarp=0;\nwrap=1;\n\n\n// This is the version you should use...\n// ----------- start copying -----------\nhue=(mtime*.01+phase*.5); // change this\nh=6*(hue-int(hue));\nsw1=below(h,1); sw2=(1-sw1)*below(h,2); sw3=(1-sw1)*(1-sw2)*below(h,3); sw4=(1-sw1)*(1-sw2)*(1-sw3)*below(h,4);\nsw6=above(h,5); sw5=(1-sw1)*(1-sw2)*(1-sw3)*(1-sw4)*(1-sw6);\nob_r=sw1+sw2*(2-h)+sw5*(h-4)+sw6; // resulting Red value, assign it to q1\nob_g=sw1*h+sw2+sw3+sw4*(4-h); // resulting Green value, assign it to q2\nob_b=sw3*(h-2)+sw4+sw5+sw6*(6-h); // resulting Blue value, assign it to q3\n// ----------- end ----------------\nob_a=.3+phase*.6;\n\nq8=phase;\nt3=t3+min(avgvol*.0005*treb*(60/avgbeatrate),.3)*(60/fps);\nt4=t4+min(avgvol*.0005*bass*(60/avgbeatrate),.3)*(60/fps);\nq3=t3;\nq4=t4;\ncx=sin((t3+t4)*.01)*.4+.5;\ncy=sin((mtime+t3)*.01)*.4+.5;\n\nq6=cx;\nq7=cy;\n\nq5=mtime;","pixel_eqs_eel":"pi=3.1415;\nzmx=1+sin(q3+mtime)*.05;\nzmy=1+sin(q4-mtime)*.05;\n\nsx=zmx;\nsy=zmy;\n\nax=ang;\nay=ang;\n\nmrot=sin(q5*.01)*.5;\n//rot=(1-mrot);\ndx= sin(ax)*mrot*zmx*.1;\ndy= (cos(ay)*mrot)*zmy*.1;","warp":"","comp":""}