martin - starfield sectors.milk 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429
  1. MILKDROP_PRESET_VERSION=201
  2. PSVERSION=2
  3. PSVERSION_WARP=2
  4. PSVERSION_COMP=2
  5. [preset00]
  6. fRating=4.000000
  7. fGammaAdj=1.980001
  8. fDecay=0.500000
  9. fVideoEchoZoom=0.999998
  10. fVideoEchoAlpha=0.500000
  11. nVideoEchoOrientation=3
  12. nWaveMode=0
  13. bAdditiveWaves=0
  14. bWaveDots=0
  15. bWaveThick=0
  16. bModWaveAlphaByVolume=1
  17. bMaximizeWaveColor=1
  18. bTexWrap=1
  19. bDarkenCenter=0
  20. bRedBlueStereo=0
  21. bBrighten=0
  22. bDarken=1
  23. bSolarize=0
  24. bInvert=0
  25. fWaveAlpha=0.001000
  26. fWaveScale=10.437056
  27. fWaveSmoothing=0.450000
  28. fWaveParam=0.080000
  29. fModWaveAlphaStart=0.000000
  30. fModWaveAlphaEnd=1.320000
  31. fWarpAnimSpeed=1.459500
  32. fWarpScale=2.006700
  33. fZoomExponent=1.000000
  34. fShader=0.000000
  35. zoom=0.999900
  36. rot=0.000000
  37. cx=0.500000
  38. cy=0.500000
  39. dx=0.000000
  40. dy=0.000000
  41. warp=0.010000
  42. sx=0.999900
  43. sy=1.000000
  44. wave_r=0.000000
  45. wave_g=0.990000
  46. wave_b=1.000000
  47. wave_x=0.500000
  48. wave_y=0.500000
  49. ob_size=0.000000
  50. ob_r=0.000000
  51. ob_g=0.000000
  52. ob_b=0.200000
  53. ob_a=1.000000
  54. ib_size=0.000000
  55. ib_r=0.000000
  56. ib_g=0.000000
  57. ib_b=0.250000
  58. ib_a=1.000000
  59. nMotionVectorsX=64.000000
  60. nMotionVectorsY=48.000000
  61. mv_dx=0.000000
  62. mv_dy=0.000000
  63. mv_l=0.000000
  64. mv_r=0.499900
  65. mv_g=0.499900
  66. mv_b=0.499900
  67. mv_a=0.100000
  68. b1n=0.000000
  69. b2n=0.000000
  70. b3n=0.000000
  71. b1x=1.000000
  72. b2x=1.000000
  73. b3x=1.000000
  74. b1ed=0.000000
  75. wavecode_0_enabled=1
  76. wavecode_0_samples=182
  77. wavecode_0_sep=120
  78. wavecode_0_bSpectrum=0
  79. wavecode_0_bUseDots=1
  80. wavecode_0_bDrawThick=0
  81. wavecode_0_bAdditive=0
  82. wavecode_0_scaling=0.891519
  83. wavecode_0_smoothing=0.820000
  84. wavecode_0_r=1.000000
  85. wavecode_0_g=1.000000
  86. wavecode_0_b=1.000000
  87. wavecode_0_a=0.600000
  88. wave_0_init1=t1 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
  89. wave_0_init2=t2 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
  90. wave_0_init3=t3 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
  91. wave_0_init4=t4 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
  92. wave_0_init5=t5 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
  93. wave_0_init6=t6 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
  94. wave_0_init7=t7 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
  95. wave_0_init8=t8 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
  96. wave_0_init9=
  97. wave_0_per_frame1=t1 = sin(t/7);
  98. wave_0_per_point1=
  99. wave_0_per_point2=t_abs = sample ;
  100. wave_0_per_point3=
  101. wave_0_per_point4=ox = sin (t_abs*68);
  102. wave_0_per_point5=oy = cos (t_abs*63);
  103. wave_0_per_point6=oz = sin (t_abs*125);
  104. wave_0_per_point7=
  105. wave_0_per_point8=r = 0;
  106. wave_0_per_point9=g = 1 ;
  107. wave_0_per_point10=b = 1 ;
  108. wave_0_per_point11=
  109. wave_0_per_point12=t_rel = sample - time/127;
  110. wave_0_per_point13=t_rel = t_rel - int(t_rel);
  111. wave_0_per_point14=
  112. wave_0_per_point15=a = (512*sample-time*2)%2;
  113. wave_0_per_point16=a = 1;
  114. wave_0_per_point17=
  115. wave_0_per_point18=xang = 0 ;
  116. wave_0_per_point19=yang = t1;
  117. wave_0_per_point20=zang = t1;
  118. wave_0_per_point21=fov = 0.15;
  119. wave_0_per_point22=
  120. wave_0_per_point23=
  121. wave_0_per_point24=// Rotation um x,y,z
  122. wave_0_per_point25=
  123. wave_0_per_point26=mx = ox*cos(zang) - oy*sin(zang);
  124. wave_0_per_point27=my = ox*sin(zang) + oy*cos(zang);
  125. wave_0_per_point28=
  126. wave_0_per_point29=ox = mx;
  127. wave_0_per_point30=oy = my;
  128. wave_0_per_point31=mx = ox*cos(yang) + oz*sin(yang);
  129. wave_0_per_point32=mz = - ox*sin(yang) + oz*cos(yang);
  130. wave_0_per_point33=ox = mx;
  131. wave_0_per_point34=oz = mz;
  132. wave_0_per_point35=my = oy*cos(xang) - oz*sin(xang);
  133. wave_0_per_point36=mz = oy*sin(xang) + oz*cos(xang);
  134. wave_0_per_point37=oy = my;
  135. wave_0_per_point38=oz = mz;
  136. wave_0_per_point39=
  137. wave_0_per_point40=//oz = oz - 6;
  138. wave_0_per_point41=x = ox*fov/oz +0.5;
  139. wave_0_per_point42=//x = (x-.5)*0.75 + 0.5;
  140. wave_0_per_point43=y = oy*fov/oz + 0.5;
  141. wavecode_1_enabled=0
  142. wavecode_1_samples=512
  143. wavecode_1_sep=0
  144. wavecode_1_bSpectrum=0
  145. wavecode_1_bUseDots=1
  146. wavecode_1_bDrawThick=1
  147. wavecode_1_bAdditive=0
  148. wavecode_1_scaling=0.891519
  149. wavecode_1_smoothing=0.820000
  150. wavecode_1_r=1.000000
  151. wavecode_1_g=1.000000
  152. wavecode_1_b=1.000000
  153. wavecode_1_a=0.100000
  154. wave_1_init1=t1 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
  155. wave_1_init2=t2 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
  156. wave_1_init3=t3 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
  157. wave_1_init4=t4 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
  158. wave_1_init5=t5 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
  159. wave_1_init6=t6 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
  160. wave_1_init7=t7 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
  161. wave_1_init8=t8 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
  162. wave_1_init9=
  163. wave_1_per_frame1=tm = time*.1;
  164. wave_1_per_frame2=t1 = t1*sin(tm*t4) + (1-t1)*sin(tm*t7);
  165. wave_1_per_frame3=t2 = t2*sin(tm*t5) + (1-t2)*sin(tm*t8);
  166. wave_1_per_frame4=t3 = t3*sin(tm*t6) + (1-t3)*sin(tm*1);
  167. wave_1_per_frame5=
  168. wave_1_per_frame6=tic = min(time - tin,1);
  169. wave_1_per_frame7=tin = time;
  170. wave_1_per_frame8=
  171. wave_1_per_frame9=tva = (tic*q1*.5);
  172. wave_1_per_frame10=tvb = (tic*q2*.5);
  173. wave_1_per_frame11=tvc = (tic*q3*.5);
  174. wave_1_per_frame12=
  175. wave_1_per_frame13=q1 = tva;
  176. wave_1_per_frame14=q2 = tvb;
  177. wave_1_per_frame15=q3 = tvc;
  178. wave_1_per_frame16=
  179. wave_1_per_frame17=sz = .5;
  180. wave_1_per_frame18=len = q4;
  181. wave_1_per_frame19=t4 = len;
  182. wavecode_2_enabled=0
  183. wavecode_2_samples=512
  184. wavecode_2_sep=0
  185. wavecode_2_bSpectrum=0
  186. wavecode_2_bUseDots=0
  187. wavecode_2_bDrawThick=1
  188. wavecode_2_bAdditive=0
  189. wavecode_2_scaling=0.891519
  190. wavecode_2_smoothing=0.820000
  191. wavecode_2_r=0.000000
  192. wavecode_2_g=0.200000
  193. wavecode_2_b=0.000000
  194. wavecode_2_a=1.000000
  195. wave_2_init1=t1 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
  196. wave_2_init2=t2 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
  197. wave_2_init3=t3 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
  198. wave_2_init4=t4 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
  199. wave_2_init5=t5 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
  200. wave_2_init6=t6 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
  201. wave_2_init7=t7 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
  202. wave_2_init8=t8 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
  203. wave_2_init9=
  204. wave_2_per_frame1=tm = time*.1;
  205. wave_2_per_frame2=t1 = t1*sin(tm*t4) + (1-t1)*sin(tm*t7);
  206. wave_2_per_frame3=t2 = t2*sin(tm*t5) + (1-t2)*sin(tm*t8);
  207. wave_2_per_frame4=t3 = t3*sin(tm*t6) + (1-t3)*sin(tm*1);
  208. wave_2_per_frame5=
  209. wave_2_per_frame6=tic = min(time - tin,1);
  210. wave_2_per_frame7=tin = time;
  211. wave_2_per_frame8=
  212. wave_2_per_frame9=tva = (tic*q1*.5);
  213. wave_2_per_frame10=tvb = (tic*q2*.5);
  214. wave_2_per_frame11=tvc = (tic*q3*.5);
  215. wave_2_per_frame12=
  216. wave_2_per_frame13=q1 = tva;
  217. wave_2_per_frame14=q2 = tvb;
  218. wave_2_per_frame15=q3 = tvc;
  219. wave_2_per_frame16=
  220. wave_2_per_frame17=sz = .5;
  221. wave_2_per_frame18=len = 1;
  222. wave_2_per_frame19=t4 = len;
  223. wavecode_3_enabled=0
  224. wavecode_3_samples=512
  225. wavecode_3_sep=0
  226. wavecode_3_bSpectrum=1
  227. wavecode_3_bUseDots=1
  228. wavecode_3_bDrawThick=0
  229. wavecode_3_bAdditive=0
  230. wavecode_3_scaling=1.000000
  231. wavecode_3_smoothing=0.500000
  232. wavecode_3_r=1.000000
  233. wavecode_3_g=1.000000
  234. wavecode_3_b=1.000000
  235. wavecode_3_a=1.000000
  236. shapecode_0_enabled=0
  237. shapecode_0_sides=4
  238. shapecode_0_additive=0
  239. shapecode_0_thickOutline=0
  240. shapecode_0_textured=0
  241. shapecode_0_x=0.500000
  242. shapecode_0_y=0.500000
  243. shapecode_0_rad=0.048958
  244. shapecode_0_ang=0.000000
  245. shapecode_0_tex_ang=1.005310
  246. shapecode_0_tex_zoom=1.531168
  247. shapecode_0_r=0.500000
  248. shapecode_0_g=1.000000
  249. shapecode_0_b=0.900000
  250. shapecode_0_a=1.000000
  251. shapecode_0_r2=0.830000
  252. shapecode_0_g2=0.930000
  253. shapecode_0_b2=0.800000
  254. shapecode_0_a2=1.000000
  255. shapecode_0_border_r=1.000000
  256. shapecode_0_border_g=1.000000
  257. shapecode_0_border_b=0.000000
  258. shapecode_0_border_a=0.000000
  259. shape_0_per_frame1=
  260. shape_0_per_frame2=trel = time/2+q20;
  261. shape_0_per_frame3=
  262. shape_0_per_frame4=x = .5+sin(trel*2);
  263. shape_0_per_frame5=y = .5+cos(trel*1.3 +q28/3);
  264. shape_0_per_frame6=
  265. shape_0_per_frame7=a = q26/4+.2;
  266. shape_0_per_frame8=//a = 1;
  267. shapecode_1_enabled=1
  268. shapecode_1_sides=4
  269. shapecode_1_additive=0
  270. shapecode_1_thickOutline=1
  271. shapecode_1_textured=0
  272. shapecode_1_x=0.400000
  273. shapecode_1_y=0.500000
  274. shapecode_1_rad=2.366958
  275. shapecode_1_ang=0.000000
  276. shapecode_1_tex_ang=3.455753
  277. shapecode_1_tex_zoom=0.993053
  278. shapecode_1_r=0.500000
  279. shapecode_1_g=0.000000
  280. shapecode_1_b=1.000000
  281. shapecode_1_a=0.200000
  282. shapecode_1_r2=0.700000
  283. shapecode_1_g2=0.400000
  284. shapecode_1_b2=0.000000
  285. shapecode_1_a2=0.000000
  286. shapecode_1_border_r=0.500000
  287. shapecode_1_border_g=0.500000
  288. shapecode_1_border_b=0.500000
  289. shapecode_1_border_a=0.000000
  290. shape_1_per_frame1=a2 =0;a = 0;
  291. shape_1_per_frame2=a = q24/12;
  292. shapecode_2_enabled=1
  293. shapecode_2_sides=100
  294. shapecode_2_additive=0
  295. shapecode_2_thickOutline=0
  296. shapecode_2_textured=0
  297. shapecode_2_x=0.503000
  298. shapecode_2_y=0.500000
  299. shapecode_2_rad=0.038857
  300. shapecode_2_ang=0.000000
  301. shapecode_2_tex_ang=0.000000
  302. shapecode_2_tex_zoom=0.609857
  303. shapecode_2_r=1.000000
  304. shapecode_2_g=0.100000
  305. shapecode_2_b=0.000000
  306. shapecode_2_a=0.900000
  307. shapecode_2_r2=1.000000
  308. shapecode_2_g2=1.000000
  309. shapecode_2_b2=1.000000
  310. shapecode_2_a2=0.000000
  311. shapecode_2_border_r=0.500000
  312. shapecode_2_border_g=0.500000
  313. shapecode_2_border_b=0.500000
  314. shapecode_2_border_a=0.000000
  315. shape_2_per_frame1=x = rand(10)/10;
  316. shape_2_per_frame2=y = rand(10)/10;
  317. shape_2_per_frame3=
  318. shape_2_per_frame4=r = rand(50)/50;
  319. shape_2_per_frame5=g = rand(50)/50;
  320. shape_2_per_frame6=b = rand(50)/50;
  321. shape_2_per_frame7=
  322. shape_2_per_frame8=r2 = 1;
  323. shape_2_per_frame9=g2 = 1;
  324. shape_2_per_frame10=b2 = 1;
  325. shape_2_per_frame11=
  326. shape_2_per_frame12=a = min(q21/2 ,1);
  327. shape_2_per_frame13=a = .5;
  328. shape_2_per_frame14=rad = a*a/16 ;
  329. shape_2_per_frame15=a2 = .5;
  330. shapecode_3_enabled=1
  331. shapecode_3_sides=4
  332. shapecode_3_additive=0
  333. shapecode_3_thickOutline=0
  334. shapecode_3_textured=1
  335. shapecode_3_x=0.500000
  336. shapecode_3_y=0.500000
  337. shapecode_3_rad=0.845919
  338. shapecode_3_ang=0.000000
  339. shapecode_3_tex_ang=0.000000
  340. shapecode_3_tex_zoom=0.622112
  341. shapecode_3_r=1.000000
  342. shapecode_3_g=1.000000
  343. shapecode_3_b=1.000000
  344. shapecode_3_a=0.900000
  345. shapecode_3_r2=1.000000
  346. shapecode_3_g2=1.000000
  347. shapecode_3_b2=1.000000
  348. shapecode_3_a2=0.500000
  349. shapecode_3_border_r=0.500000
  350. shapecode_3_border_g=0.500000
  351. shapecode_3_border_b=0.500000
  352. shapecode_3_border_a=0.299900
  353. per_frame_1=dec_med = pow (0.9, 30/fps);
  354. per_frame_2=dec_slow = pow (0.99, 30/fps);
  355. per_frame_3=beat = max (max (bass, mid), treb);
  356. per_frame_4=avg = avg*dec_slow + beat*(1-dec_slow);
  357. per_frame_5=is_beat = above(beat, .5+avg+peak) * above (time, t0+.2);
  358. per_frame_6=t0 = is_beat*time + (1-is_beat)*t0;
  359. per_frame_7=peak = is_beat * beat + (1-is_beat)*peak*dec_med;
  360. per_frame_8=index = (index + is_beat) %4;
  361. per_frame_9=index2 = (index2 + is_beat*bnot(index))%4;
  362. per_frame_10=monitor = index2;
  363. per_frame_11=q20 = avg;
  364. per_frame_12=q21 = beat;
  365. per_frame_13=q22 = peak;
  366. per_frame_14=q23 = index;
  367. per_frame_15=q24 = is_beat;
  368. per_frame_16=q26 = bass + mid + treb;
  369. per_frame_17=
  370. per_frame_18=k1 = is_beat*bnot(index)*bnot(index2);
  371. per_frame_19=p1 = k1*(p1+1) + (1-k1)*p1;
  372. per_frame_20=p2 = dec_med * p2+ (1-dec_med)*p1;
  373. per_frame_21=p3 = dec_med * p3+ (1-dec_med)*p2;
  374. per_frame_22=rott = p3 * 3.1416/4;
  375. per_frame_23=
  376. per_frame_24=pos = pos + q20/140;
  377. per_frame_25=q28 = pos;
  378. per_frame_26=q27 = index+1;
  379. per_frame_27=
  380. per_frame_28=q1 = cos(rott);
  381. per_frame_29=q2 = sin(rott);
  382. per_frame_30=q3 = -q2;
  383. per_frame_31=q4 = q1;
  384. per_frame_32=
  385. per_frame_33=movez = movez + +.005*(1.5+q1)*30/fps;
  386. per_frame_34=q30 = movez;
  387. per_frame_35=
  388. per_frame_36=
  389. per_frame_37=zoom = 1.0;
  390. per_frame_38=rot = -0.00 * index;
  391. per_frame_39=
  392. per_pixel_1=zoom = 1 + q1/25;
  393. warp_1=`
  394. warp_2=`shader_body {
  395. warp_3=`
  396. warp_4=`float2 uv1 = (uv-.5) * aspect.xy;
  397. warp_5=`
  398. warp_6=`float3 ret1 = GetPixel(uv);
  399. warp_7=`ret = ret1 * .99 - .002 ;
  400. warp_8=`
  401. warp_9=`}
  402. comp_1=`shader_body
  403. comp_2=`{
  404. comp_3=`float2 uv1 = (uv-0.5)*aspect.xy;
  405. comp_4=`
  406. comp_5=`float rad2 = length(uv1) + .05;
  407. comp_6=`float rad1 = .1/rad2 ;
  408. comp_7=`
  409. comp_8=`float2 uv2 = float2 (ang/3.14, rad1*1.5);
  410. comp_9=`uv2.y = uv2.y +0.1*time;
  411. comp_10=`uv2.x = uv2.x +.02*time;
  412. comp_11=`
  413. comp_12=`float2 uv3 = float2 (ang/3.14, rad1);
  414. comp_13=`uv3.y = uv3.y + q30 ;
  415. comp_14=`uv3.x = uv3.x + time/32;
  416. comp_15=`
  417. comp_16=`
  418. comp_17=`float3 crisp = GetPixel(uv2) + 2*GetPixel(uv3);
  419. comp_18=`crisp += 2*GetBlur2(frac(uv2)) + 2*GetBlur2(frac(uv3));
  420. comp_19=`
  421. comp_20=`float3 lay1 = float3 (1,0,1)*uv.y*pow(1-rad,8);
  422. comp_21=`
  423. comp_22=`crisp = 3*crisp * pow(rad,1);
  424. comp_23=`
  425. comp_24=`float mask = saturate(1-4*rad);
  426. comp_25=`
  427. comp_26=`ret = crisp + lay1*mask + mask * GetPixel(uv);
  428. comp_27=`
  429. comp_28=`}