securityos/node_modules/butterchurn-presets/presets/converted/martin - city of shadows.json

1 line
18 KiB
JSON
Raw Normal View History

2024-09-06 15:32:35 +00:00
{"version":2,"baseVals":{"rating":5,"gammaadj":1.98,"decay":0.5,"echo_zoom":1,"echo_alpha":0.5,"echo_orient":3,"wave_mode":7,"additivewave":1,"wave_thick":1,"modwavealphabyvolume":1,"wave_brighten":0,"wrap":0,"darken":1,"wave_a":0.001,"wave_scale":0.958,"wave_smoothing":0.45,"modwavealphastart":0,"modwavealphaend":1.32,"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_g":0.5,"ob_b":0.5,"ob_a":0.1,"ib_size":0,"ib_r":0,"ib_g":0,"ib_b":0,"mv_x":25.6,"mv_y":9.6,"mv_l":0,"mv_r":0.5,"mv_g":0.5,"mv_b":0.5,"mv_a":0,"b1ed":0},"shapes":[{"baseVals":{"textured":1,"x":0.09,"y":0.9,"rad":0.22437,"tex_zoom":1.76002,"r2":1,"g2":0,"a2":0.6,"border_a":0,"enabled":0},"init_eqs_eel":"","frame_eqs_eel":""},{"baseVals":{"sides":100,"additive":1,"x":0.26,"y":0.2,"rad":0.39317,"tex_zoom":6.19589,"r":0,"g":0.55,"b":0.5,"g2":0.4,"b2":0.4,"a2":0.07,"border_r":0.3,"border_g":0.7,"border_b":0.8,"border_a":0,"enabled":0},"init_eqs_eel":"","frame_eqs_eel":""},{"baseVals":{"sides":44,"additive":1,"x":0.503,"rad":0.03886,"tex_zoom":0.60986,"g":0.1,"a":0.9,"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":""},{"baseVals":{"sides":100,"rad":0.01,"tex_zoom":0.49981,"r":0,"g2":0,"border_r":0.2,"border_g":0.7,"border_b":0.5,"border_a":0,"enabled":0},"init_eqs_eel":"","frame_eqs_eel":""}],"waves":[{"baseVals":{"samples":282,"sep":20,"usedots":1,"thick":1,"additive":1,"scaling":3.91581,"smoothing":0.1,"r":0.2,"g":0.3,"a":0.6,"enabled":0},"init_eqs_eel":"","frame_eqs_eel":"","point_eqs_eel":""},{"baseVals":{"usedots":1,"thick":1,"scaling":0.89152,"smoothing":0.82,"a":0.1,"enabled":0},"init_eqs_eel":"","frame_eqs_eel":"","point_eqs_eel":""},{"baseVals":{"thick":1,"scaling":0.89152,"smoothing":0.82,"r":0,"g":0.2,"b":0,"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":"//******** INITIALIZATION *********\nmyzoom = .1; //MyZoom\n\ntele = 1.5; //tele\nffac = 2.4; //fractal density factor ffac\nstart = 1;\n\nn = 0; loop (10000, gmegabuf(n)=0; n=n+1; );\nn = 0; loop (10000, megabuf(n)=0; n=n+1; );\n\ngmegabuf(0) = 0; gmegabuf (1) = 2; gmegabuf(2) = 1; gmegabuf (3) = -4;\ngmegabuf(4) = 3; gmegabuf (5) = 0; gmegabuf(6) = 1; gmegabuf (7) = 5;\ngmegabuf(8) = 1; gmegabuf (9) = -3; gmegabuf(10) = 2; gmegabuf (11) = -4;\ngmegabuf(12) = -4; gmegabuf (13) = 1; gmegabuf(14) = 2; gmegabuf (15) = 0;\n\n\ngvol = 1;\nwait = 1;","frame_eqs_eel":"fps_ = .0 * fps_ + 1*if(fps<=25,fps,25+.5*(fps-25));\ndec_s = 1-.05*30/fps_;\ndec_xs = 1-.01*30/fps_;\n\ndvol = (bass_att + mid_att + treb_att) - (bass+mid+treb);\ngvol = gvol*dec_xs + (1-dec_xs) * max(0.1,dvol)*6;\nq8 = min(gvol*.9,1);\n\ntrel = trel + sqrt(gvol)/fps_;\nctrl = pow(max(0,sin(trel*.25)*5-4),4);\nq31 = ctrl;\nq32 = .2/(ctrl+.05);\n\nchange = (ctrl >= 0.8) && (t0 > 2) || (start == 1);\nt0 = if ( change, 0, t0 + 1/fps);\n\nq7 = myzoom;\nq16 = tele;\nq17 = ffac;\n\n//Find random starting point\nif (change == 1,\n par1 = rand(100)/40-.5; //fractal parameter\n q19 = par1;\n while (exec2(\n up = rand(120)/100; //look up\n\n ran1 = rand(800)/100; ran2 = 0; ran3 = 1.5 + up;\n PosX = rand(10); PosY = rand(10);\n PosZ = if ((up >= 0.4) && (rand(10)> 5), 1.8+rand(100)/100, 2*(rand(100)/100-.5)-.75);\n\n index = 0; mindist = 1; maxdist = 0; avg = 0;\n loop (17,\n dax = (index%4-1.5) * q16/8; day = (floor(index/4) -1.5) * q16/8;\n if (index==16, dax=0; day=0; ,0);\n c1 = cos(ran1+dax); c2 = cos(ran2); c3 = cos(ran3+day);\n s1 = sin(ran1+dax); s2 = sin(ran2); s3 = sin(ran3+day);\n\n reg20 = c2*c1; reg21 = c2*s1; reg22 = -s2;\n reg23 = s3*s2*c1 - c3*s1; reg24 = s3*s2*s1 + c3*c1; reg25 = s3*c2;\n reg26 = c3*s2*c1 + s3*s1; reg27 = c3*s2*s1 - s3*c1; reg28 = c3*c2;\n\n //***********BOT*************\n //Coord. Trans. must exactly match def in warp S. !!!!\n dist = 0.004;\n