securityos/node_modules/butterchurn-presets/presets/converted/martin - cope - laser dome....

1 line
11 KiB
JSON
Raw Permalink Normal View History

2024-09-06 15:32:35 +00:00
{"version":2,"baseVals":{"rating":4,"gammaadj":1.98,"decay":0.5,"echo_zoom":0.952,"echo_alpha":0.5,"echo_orient":3,"wave_mode":6,"additivewave":1,"wave_thick":1,"modwavealphabyvolume":1,"wave_brighten":0,"darken":1,"wave_a":0.312,"wave_scale":1.229,"wave_smoothing":0,"wave_mystery":0.2,"modwavealphastart":0.71,"modwavealphaend":1.3,"warpanimspeed":1.459,"warpscale":2.007,"zoom":0.9999,"warp":0.01,"sx":0.9999,"wave_r":0,"wave_g":0,"wave_b":0,"ob_size":0.005,"ob_a":0.2,"ib_size":0,"ib_r":0,"ib_g":0,"ib_a":1,"mv_x":32,"mv_y":24,"mv_l":0,"mv_b":0.5,"mv_a":0,"b1ed":0},"shapes":[{"baseVals":{"sides":23,"additive":1,"num_inst":128,"rad":0.01,"tex_zoom":4.57482,"r":0,"g":1,"b":1,"g2":0,"border_r":0.8,"border_g":0,"border_a":0,"enabled":0},"init_eqs_eel":"","frame_eqs_eel":"k1 = instance/num_inst*6.28;\n\noz = k1 +time*.1;\noz = 1+int(oz)-oz;\n\nfov = .001;\ntrel = time;\n\np1 = sin(trel);\np2 = sin(trel/3);\np3 = sin(trel/5);\np4 = sin(trel/7);\n\n\nang1 = 6.28*sin(k1*17);\nrad1 = 4*pow(cos(k1*7),2)+1;\n\n\nox = rad1*cos(ang1)+ oz*oz*.0/fov*(0*p1*oz + 5*p2*(1-oz));\noy = rad1*sin(ang1)+ oz*oz*.0/fov*(0*p3*oz + 5*p4*(1-oz));\n\n//oz = oz*oz;\n//oz = sqrt(oz);\n\nk2 = .002;\nx = fov*ox/(oz+k2)+.5;\ny = 0*fov*oy/(oz+k2)+.5;\ny = 0;\nrad = abs(fov/oz);\na = above(oz,0) *(2-oz)/2*q23;\na2 = 0;\n\n"},{"baseVals":{"sides":24,"additive":1,"y":1,"rad":0.08277,"tex_zoom":0.49981,"r":0,"g":0.4,"b":1,"g2":0,"border_r":0.5,"border_g":0.5,"border_b":0.5,"border_a":0,"enabled":0},"init_eqs_eel":"","frame_eqs_eel":""},{"baseVals":{"sides":32,"textured":1,"rad":0.73893,"tex_zoom":1.22384,"g":1,"b":1,"g2":0,"b2":1,"border_r":0.5,"border_g":0.5,"border_b":0.5,"border_a":0,"enabled":0},"init_eqs_eel":"","frame_eqs_eel":""},{"baseVals":{"sides":63,"textured":1,"y":1,"rad":0.54822,"tex_zoom":0.49981,"g":1,"b":1,"r2":1,"b2":1,"border_r":0.5,"border_g":0.5,"border_b":0.5,"border_a":0,"enabled":0},"init_eqs_eel":"","frame_eqs_eel":""}],"waves":[{"baseVals":{"thick":1,"scaling":0.89152,"smoothing":0,"a":0.6,"enabled":0},"init_eqs_eel":"","frame_eqs_eel":"","point_eqs_eel":"y = sample;\nx = .0 + value1*.1;"},{"baseVals":{"samples":232,"usedots":1,"additive":1,"scaling":0.89152,"smoothing":0.82,"a":0.1,"enabled":0},"init_eqs_eel":"","frame_eqs_eel":"","point_eqs_eel":""},{"baseVals":{"scaling":0.89152,"smoothing":0.82,"a":0.1,"enabled":0},"init_eqs_eel":"","frame_eqs_eel":"","point_eqs_eel":""},{"baseVals":{"spectrum":1,"usedots":1,"enabled":0},"init_eqs_eel":"","frame_eqs_eel":"","point_eqs_eel":""}],"init_eqs_eel":"index2 = rand(8);\npx = rand(100);\npy = rand(100);\npz = rand(100);","frame_eqs_eel":"dec_med = pow (0.85, 30/fps);\ndec_slow = pow (0.95, 30/fps);\nbeat = mid;\navg = avg*dec_slow + beat*(1-dec_slow);\nis_beat = above(beat, 1.2*avg) * above (time, t0+.1);\nt0 = is_beat*time + (1-is_beat)*t0;\npeak = is_beat * beat + (1-is_beat)*peak*dec_med;\nindex = (index + is_beat) %32;\nindex2 = (index2 + is_beat*bnot(index))%8;\n\nspb = min(t0-t0a + .01,2); t0a = t0;\nspb_ = if(is_beat,spb_ *.9 +.1*spb, spb_);\nmindev = min(min(abs(spb-spb_),abs(spb*2-spb_)),abs(spb-spb_*2));\nsdev = if(is_beat,sdev * .96 + .04*pow(mindev+.01,2),sdev);\n\nq20 = avg;\nq21 = beat;\nq22 = peak+.01;\nq24 = is_beat;\nq27 = index;\nq28 = index2;\npuls = puls*dec_med + (1-dec_med)*q24*16*bnot(index%4);\nq23 = min(1,puls);\n\ntest = test + above(beat,avg*1.2) * (beat-avg)/fps*30*4;\ntic = q27/2;\n\nl1angz = tic*0+ test;\nl1angy = (1+sin(2*test))*1.6/2;\nsw1 = (q28%2) * above(avg,1);\nl1angy = l1angy-1/q22*sw1+ (1-sw1)*q22/8;\nl1angy = l1angy+above(avg,1.2)*2*sin(q22);\nl1angz = l1angz+above(avg,1.2)*(q22)*above(q28,4);\n\nq10 = cos(l1angz)*sin(l1angy);\nq11 = sin(l1angz)*sin(l1angy);\nq12 = abs(cos(l1angy)*cos(l1angy));\n\ntrig = q24 * bnot(index%2);\nran1 = if (trig,rand(100)/100-.5, ran1);\nran2 = if (trig,rand(100)/100-.5, ran2);\nq13 = ran1/2;\nq14 = ran2/2;\n\npp = 4*avg*q13/fps;\npp = 1/fps;\ncrit= int(q27/8);\npx = px + equal(crit,0)*pp;\npy = py + equal(crit,1)*pp;\npz = pz + equal(crit,2)*pp;\n\ntrel = trel + 1/spb_/fps;\njump = int(trel) * below(sdev,.004*avg);\n\n