1
0

martin - violet flash.milk 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458
  1. MILKDROP_PRESET_VERSION=201
  2. PSVERSION=2
  3. PSVERSION_WARP=2
  4. PSVERSION_COMP=2
  5. [preset00]
  6. fRating=3.000000
  7. fGammaAdj=1.980001
  8. fDecay=0.500000
  9. fVideoEchoZoom=0.999998
  10. fVideoEchoAlpha=0.500000
  11. nVideoEchoOrientation=3
  12. nWaveMode=1
  13. bAdditiveWaves=1
  14. bWaveDots=1
  15. bWaveThick=0
  16. bModWaveAlphaByVolume=0
  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.005428
  26. fWaveScale=3.782626
  27. fWaveSmoothing=0.810000
  28. fWaveParam=-1.000000
  29. fModWaveAlphaStart=0.470000
  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.450000
  45. wave_g=0.400000
  46. wave_b=0.500000
  47. wave_x=0.500000
  48. wave_y=0.500000
  49. ob_size=0.060000
  50. ob_r=1.000000
  51. ob_g=1.000000
  52. ob_b=1.000000
  53. ob_a=0.000000
  54. ib_size=0.260000
  55. ib_r=0.250000
  56. ib_g=0.250000
  57. ib_b=0.250000
  58. ib_a=0.000000
  59. nMotionVectorsX=64.000000
  60. nMotionVectorsY=47.999996
  61. mv_dx=0.000000
  62. mv_dy=0.000000
  63. mv_l=0.150000
  64. mv_r=0.600000
  65. mv_g=0.200000
  66. mv_b=0.699900
  67. mv_a=0.300000
  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=102
  77. wavecode_0_sep=10
  78. wavecode_0_bSpectrum=0
  79. wavecode_0_bUseDots=0
  80. wavecode_0_bDrawThick=0
  81. wavecode_0_bAdditive=0
  82. wavecode_0_scaling=0.891519
  83. wavecode_0_smoothing=0.000000
  84. wavecode_0_r=1.000000
  85. wavecode_0_g=0.500000
  86. wavecode_0_b=0.500000
  87. wavecode_0_a=0.600000
  88. wave_0_per_point1=k0 = int(100.0*sample);
  89. wave_0_per_point2=k2 = int(100.0*sample+1);
  90. wave_0_per_point3=k1 = equal(k0%2,0);
  91. wave_0_per_point4=k2 = equal(k0%2,1);
  92. wave_0_per_point5=
  93. wave_0_per_point6=
  94. wave_0_per_point7=ix = (100*value1)%7-3;
  95. wave_0_per_point8=iy = (100*value2)%7-3;
  96. wave_0_per_point9=
  97. wave_0_per_point10=sp = bass_att + treb_att;
  98. wave_0_per_point11=sp = sp /1000;
  99. wave_0_per_point12=
  100. wave_0_per_point13=
  101. wave_0_per_point14=dx = (dx+sp*ix) * .99;
  102. wave_0_per_point15=dy = (dy+sp*iy) * .99 ;
  103. wave_0_per_point16=
  104. wave_0_per_point17=
  105. wave_0_per_point18=ox = k1*dx + (1-k1)*ox;
  106. wave_0_per_point19=oy = k2*dy + (1-k2)*oy;
  107. wave_0_per_point20=
  108. wave_0_per_point21=
  109. wave_0_per_point22=
  110. wave_0_per_point23=//ox = 0; oy = 0;
  111. wave_0_per_point24=
  112. wave_0_per_point25=x = ox+.5;
  113. wave_0_per_point26=y = oy+.5;
  114. wave_0_per_point27=
  115. wave_0_per_point28=r = .6;
  116. wave_0_per_point29=g = .8;
  117. wave_0_per_point30=b = .9;
  118. wave_0_per_point31=a = .1 + q26/8;
  119. wave_0_per_point32=a = max(a,1) / 4;
  120. wavecode_1_enabled=0
  121. wavecode_1_samples=512
  122. wavecode_1_sep=0
  123. wavecode_1_bSpectrum=0
  124. wavecode_1_bUseDots=0
  125. wavecode_1_bDrawThick=1
  126. wavecode_1_bAdditive=0
  127. wavecode_1_scaling=0.891519
  128. wavecode_1_smoothing=0.820000
  129. wavecode_1_r=1.000000
  130. wavecode_1_g=1.000000
  131. wavecode_1_b=1.000000
  132. wavecode_1_a=0.100000
  133. wavecode_2_enabled=0
  134. wavecode_2_samples=512
  135. wavecode_2_sep=0
  136. wavecode_2_bSpectrum=0
  137. wavecode_2_bUseDots=0
  138. wavecode_2_bDrawThick=1
  139. wavecode_2_bAdditive=0
  140. wavecode_2_scaling=0.891519
  141. wavecode_2_smoothing=0.820000
  142. wavecode_2_r=1.000000
  143. wavecode_2_g=1.000000
  144. wavecode_2_b=1.000000
  145. wavecode_2_a=0.100000
  146. wavecode_3_enabled=0
  147. wavecode_3_samples=512
  148. wavecode_3_sep=0
  149. wavecode_3_bSpectrum=1
  150. wavecode_3_bUseDots=1
  151. wavecode_3_bDrawThick=0
  152. wavecode_3_bAdditive=0
  153. wavecode_3_scaling=1.000000
  154. wavecode_3_smoothing=0.500000
  155. wavecode_3_r=1.000000
  156. wavecode_3_g=1.000000
  157. wavecode_3_b=1.000000
  158. wavecode_3_a=1.000000
  159. wave_3_per_point1=ra = .8;
  160. wave_3_per_point2=rb = .5;
  161. wave_3_per_point3=pib = 6.28318530718;
  162. wave_3_per_point4=
  163. wave_3_per_point5=
  164. wave_3_per_point6=tic = min(time-tin,.1);
  165. wave_3_per_point7=tin = if(equal(sample,0),time,tin);
  166. wave_3_per_point8=
  167. wave_3_per_point9=mod = 1.5 + .5*sin(time*.15);
  168. wave_3_per_point10=med = 1.5 + .5*sin(time*.134);
  169. wave_3_per_point11=med = 5;
  170. wave_3_per_point12=amod = 3;
  171. wave_3_per_point13=
  172. wave_3_per_point14=vr = rand(10001)*.0001;
  173. wave_3_per_point15=rb = rb + rand(10001)*.0001*.1;
  174. wave_3_per_point16=
  175. wave_3_per_point17=a = vr;
  176. wave_3_per_point18=
  177. wave_3_per_point19=sa = vr*pib*.5;
  178. wave_3_per_point20=sp = sa*mod + q1*1.3;
  179. wave_3_per_point21=sam = sa*med - q1*.219;
  180. wave_3_per_point22=
  181. wave_3_per_point23=ox = ra*sin(sam*pib);
  182. wave_3_per_point24=oy = ra*cos(sam*pib);
  183. wave_3_per_point25=ox = ox + rb*-cos(sp)*sin(sam*pib);
  184. wave_3_per_point26=oz = rb*-sin(sp);
  185. wave_3_per_point27=oy = oy + rb*-cos(sp)*cos(sam*pib);
  186. wave_3_per_point28=
  187. wave_3_per_point29=
  188. wave_3_per_point30=xang = time*.132;
  189. wave_3_per_point31=xang = q2;
  190. wave_3_per_point32=yang = time*.153;
  191. wave_3_per_point33=yang = q3;
  192. wave_3_per_point34=zang = time*.110;
  193. wave_3_per_point35=zang = q4;
  194. wave_3_per_point36=fov = 0.6 + 0.2*sin(time);
  195. wave_3_per_point37=fov = .5;
  196. wave_3_per_point38=
  197. wave_3_per_point39=mx = ox*cos(zang) - oy*sin(zang);
  198. wave_3_per_point40=my = ox*sin(zang) + oy*cos(zang);
  199. wave_3_per_point41=ox = mx;
  200. wave_3_per_point42=oy = my;
  201. wave_3_per_point43=mx = ox*cos(yang) + oz*sin(yang);
  202. wave_3_per_point44=mz = - ox*sin(yang) + oz*cos(yang);
  203. wave_3_per_point45=ox = mx;
  204. wave_3_per_point46=oz = mz;
  205. wave_3_per_point47=my = oy*cos(xang) - oz*sin(xang);
  206. wave_3_per_point48=mz = oy*sin(xang) + oz*cos(xang);
  207. wave_3_per_point49=oy = my;
  208. wave_3_per_point50=oz = mz;
  209. wave_3_per_point51=
  210. wave_3_per_point52=oz = oz - 2;
  211. wave_3_per_point53=x = ox*fov/oz + 0.5;
  212. wave_3_per_point54=x = (x-.5)*0.75 + 0.5;
  213. wave_3_per_point55=y = oy*fov/oz + 0.5;
  214. wave_3_per_point56=
  215. shapecode_0_enabled=1
  216. shapecode_0_sides=4
  217. shapecode_0_additive=0
  218. shapecode_0_thickOutline=0
  219. shapecode_0_textured=1
  220. shapecode_0_x=0.530000
  221. shapecode_0_y=0.500000
  222. shapecode_0_rad=0.088200
  223. shapecode_0_ang=0.000000
  224. shapecode_0_tex_ang=0.000000
  225. shapecode_0_tex_zoom=0.492800
  226. shapecode_0_r=1.000000
  227. shapecode_0_g=1.000000
  228. shapecode_0_b=0.700000
  229. shapecode_0_a=0.700000
  230. shapecode_0_r2=0.400000
  231. shapecode_0_g2=0.000000
  232. shapecode_0_b2=0.800000
  233. shapecode_0_a2=0.600000
  234. shapecode_0_border_r=1.000000
  235. shapecode_0_border_g=1.000000
  236. shapecode_0_border_b=0.200000
  237. shapecode_0_border_a=0.200000
  238. shape_0_per_frame1=trig = equal(q28%2,1)*q24;
  239. shape_0_per_frame2=
  240. shape_0_per_frame3=seed = sqr(time - int(time));
  241. shape_0_per_frame4=rr1 = rr1 * (1-trig) + seed*trig;
  242. shape_0_per_frame5=
  243. shape_0_per_frame6=textured = bnot(q24);
  244. shape_0_per_frame7=ang = 3.1416 /4 * q28;
  245. shape_0_per_frame8=
  246. shape_0_per_frame9=x = .5 + .01*rr1*(q28%3); y = x + .002;
  247. shape_0_per_frame10=border_a = .4;
  248. shape_0_per_frame11=
  249. shape_0_per_frame12=a = .8; a2 = .5;
  250. shape_0_per_frame13=rad = 0.14*rr1+.0;//MUSS HIER STEHEN - MIST
  251. shape_0_per_frame14=tex_zoom = .7/rad;
  252. shapecode_1_enabled=0
  253. shapecode_1_sides=4
  254. shapecode_1_additive=0
  255. shapecode_1_thickOutline=0
  256. shapecode_1_textured=0
  257. shapecode_1_x=0.460000
  258. shapecode_1_y=0.500000
  259. shapecode_1_rad=0.159625
  260. shapecode_1_ang=0.000000
  261. shapecode_1_tex_ang=0.000000
  262. shapecode_1_tex_zoom=0.028461
  263. shapecode_1_r=1.000000
  264. shapecode_1_g=1.000000
  265. shapecode_1_b=1.000000
  266. shapecode_1_a=0.030000
  267. shapecode_1_r2=1.000000
  268. shapecode_1_g2=1.000000
  269. shapecode_1_b2=1.000000
  270. shapecode_1_a2=0.000000
  271. shapecode_1_border_r=0.500000
  272. shapecode_1_border_g=0.500000
  273. shapecode_1_border_b=0.500000
  274. shapecode_1_border_a=0.000000
  275. shape_1_per_frame1=x = rand(10)/10;
  276. shape_1_per_frame2=y = rand(10)/10;
  277. shape_1_per_frame3=
  278. shape_1_per_frame4=r = rand(4)/3;
  279. shape_1_per_frame5=g = rand(4)/3;
  280. shape_1_per_frame6=b = rand(4)/3;
  281. shape_1_per_frame7=
  282. shape_1_per_frame8=
  283. shape_1_per_frame9=is_beat = above(time, t0+.03);
  284. shape_1_per_frame10=t0 = is_beat*time + (1-is_beat)*t0;
  285. shape_1_per_frame11=
  286. shape_1_per_frame12=
  287. shape_1_per_frame13=a = min(q21/2 ,.9) * is_beat;
  288. shape_1_per_frame14=rad = a*a/3 ;
  289. shapecode_2_enabled=1
  290. shapecode_2_sides=4
  291. shapecode_2_additive=0
  292. shapecode_2_thickOutline=0
  293. shapecode_2_textured=0
  294. shapecode_2_x=0.553000
  295. shapecode_2_y=0.600000
  296. shapecode_2_rad=0.049138
  297. shapecode_2_ang=0.000000
  298. shapecode_2_tex_ang=0.000000
  299. shapecode_2_tex_zoom=0.499805
  300. shapecode_2_r=1.000000
  301. shapecode_2_g=1.000000
  302. shapecode_2_b=1.000000
  303. shapecode_2_a=1.000000
  304. shapecode_2_r2=1.000000
  305. shapecode_2_g2=0.000000
  306. shapecode_2_b2=1.000000
  307. shapecode_2_a2=0.000000
  308. shapecode_2_border_r=0.500000
  309. shapecode_2_border_g=0.500000
  310. shapecode_2_border_b=0.500000
  311. shapecode_2_border_a=0.000000
  312. shape_2_per_frame1=textured = bnot(q24);
  313. shapecode_3_enabled=0
  314. shapecode_3_sides=4
  315. shapecode_3_additive=0
  316. shapecode_3_thickOutline=0
  317. shapecode_3_textured=1
  318. shapecode_3_x=0.450000
  319. shapecode_3_y=0.500000
  320. shapecode_3_rad=0.202682
  321. shapecode_3_ang=0.000000
  322. shapecode_3_tex_ang=0.628319
  323. shapecode_3_tex_zoom=4.461715
  324. shapecode_3_r=1.000000
  325. shapecode_3_g=1.000000
  326. shapecode_3_b=1.000000
  327. shapecode_3_a=0.500000
  328. shapecode_3_r2=1.000000
  329. shapecode_3_g2=1.000000
  330. shapecode_3_b2=1.000000
  331. shapecode_3_a2=0.000000
  332. shapecode_3_border_r=0.500000
  333. shapecode_3_border_g=0.500000
  334. shapecode_3_border_b=0.500000
  335. shapecode_3_border_a=0.400000
  336. per_frame_init_1=index4 = rand(2);
  337. per_frame_init_2=index3 = rand(4);
  338. per_frame_1=dec_med = pow (0.9, 30/fps);
  339. per_frame_2=dec_slow = pow (0.99, 30/fps);
  340. per_frame_3=beat = max (max (bass, mid), treb);
  341. per_frame_4=avg = avg*dec_slow + beat*(1-dec_slow);
  342. per_frame_5=is_beat = above(beat, .5+avg+peak) * above (time, t0+.2);
  343. per_frame_6=t0 = is_beat*time + (1-is_beat)*t0;
  344. per_frame_7=peak = is_beat * beat + (1-is_beat)*peak*dec_med;
  345. per_frame_8=index = (index + is_beat) %4;
  346. per_frame_9=index2 = (index2 + is_beat*bnot(index))%4;
  347. per_frame_10=index3 = (index3 + is_beat*bnot(index)*bnot(index2))%4;
  348. per_frame_11=index4 = (index4 + is_beat*bnot(index)*bnot(index2)*bnot(index3))%2;
  349. per_frame_12=
  350. per_frame_13=
  351. per_frame_14=q20 = avg;
  352. per_frame_15=q21 = beat;
  353. per_frame_16=q22 = peak;
  354. per_frame_17=q23 = index;
  355. per_frame_18=q24 = is_beat;
  356. per_frame_19=q26 = bass + mid + treb;
  357. per_frame_20=
  358. per_frame_21=ready = is_beat * bnot(ready) + bnot(is_beat2)*ready;
  359. per_frame_22=is_beat2 = ready * above (time, t0+.2);
  360. per_frame_23=q19 = is_beat2;
  361. per_frame_24=
  362. per_frame_25=//k1 = is_beat*bnot(index)*bnot(index2);
  363. per_frame_26=
  364. per_frame_27=k1 = is_beat*equal(index,0);
  365. per_frame_28=p1 = k1*(p1+1) + (1-k1)*p1;
  366. per_frame_29=p2 = dec_med * p2+ (1-dec_med)*p1;
  367. per_frame_30=rott = p2 * 3.14159265359/2;
  368. per_frame_31=
  369. per_frame_32=q27 = index+1;
  370. per_frame_33=q28 = index2;
  371. per_frame_34=q29 = index3*4+1;
  372. per_frame_35=q30 = index4;
  373. per_frame_36=
  374. per_frame_37=q1 = cos(rott);
  375. per_frame_38=q2 = sin(rott);
  376. per_frame_39=q3 = -q2;
  377. per_frame_40=q4 = q1;
  378. per_frame_41=
  379. per_frame_42=sp0 = dec_slow*sp0 + (q24+.05)*(1-dec_slow);
  380. per_frame_43=go = go * dec_med + (1-dec_med)*(1-bnot(index2+index3));
  381. per_frame_44=movez = movez + .015*30/fps * go ;
  382. per_frame_45=q31 = movez;
  383. per_frame_46=q32 = .5 + .02*sin(time/5);
  384. per_frame_47=
  385. per_frame_48=q5 = index4%2;
  386. per_frame_49=
  387. per_frame_50=zoom = 1.0; rot = 0;
  388. per_frame_51=cx = .5 + .1*sin(time/2);
  389. per_frame_52=dx = .05*max(sin(time/9.7)-.95,0);
  390. per_frame_53=dy = .002*(1-go);
  391. per_frame_54=rot = 50*(dx-dy);
  392. per_frame_55=
  393. per_frame_56=monitor = q5;
  394. warp_1=`shader_body {
  395. warp_2=`float2 uv1 = float2(uv.x-0.5,uv.y-0.5)*aspect.xy;
  396. warp_3=`
  397. warp_4=`
  398. warp_5=`float2 uv6 = uv1;
  399. warp_6=`float z = (16)*length(uv1+.0)+time/7;
  400. warp_7=`float2 uvn = normalize(uv1);
  401. warp_8=`float2 rs = clamp(tan(z)*uvn,-6,6)/3;
  402. warp_9=`rs *= clamp(cos(8*z)*uvn,-3,3);
  403. warp_10=`
  404. warp_11=`rs += 0;
  405. warp_12=`//uv1 = rs.yx;
  406. warp_13=`
  407. warp_14=`
  408. warp_15=`float2 zz = uv1 *texsize.xy*.006*q28;
  409. warp_16=`zz =mul(zz,float2x2(_qa));
  410. warp_17=`zz = zz.yx*q5 + (1-q5)*zz.xy;
  411. warp_18=`
  412. warp_19=`float2 h1 = clamp(tan(zz.yx),-8,8);
  413. warp_20=`h1 *= cos(rand_preset*8*zz.xy);
  414. warp_21=`
  415. warp_22=`uv += h1 * texsize.zw*q29;
  416. warp_23=`
  417. warp_24=`uv1 = uv1*0+.3*cos(uv1*16+time/8);
  418. warp_25=`float dots = (.004/length(uv1))*q19 ;
  419. warp_26=`
  420. warp_27=`
  421. warp_28=`float3 crisp = tex2D(sampler_main,uv)
  422. warp_29=` + dots * float3 (.5,0,1);
  423. warp_30=`
  424. warp_31=`//crisp = lerp(crisp,crisp.brg,saturate(.2*lum(crisp)));
  425. warp_32=`ret = .995*crisp-.005;
  426. warp_33=`}
  427. comp_1=`float3 ret1, neu;
  428. comp_2=`
  429. comp_3=`shader_body
  430. comp_4=`{
  431. comp_5=`float2 uv2;
  432. comp_6=`float ang2, c, s;
  433. comp_7=`uv -= 0.5;
  434. comp_8=`uv *= aspect.xy;
  435. comp_9=`
  436. comp_10=`float2 tmp = uv;
  437. comp_11=`float dist = 1;
  438. comp_12=`float inten = 1;
  439. comp_13=`ret1 = 0;
  440. comp_14=`int anz = 4;
  441. comp_15=`float n = 1;
  442. comp_16=`while (n <= anz) {
  443. comp_17=` c = n%2-.5;
  444. comp_18=` s = (n+1)%2-.5;
  445. comp_19=` uv2.x = uv.x*c - uv.y*s;
  446. comp_20=` uv2.y = uv.x*s + uv.y*c;
  447. comp_21=` uv2 *= aspect.yx;
  448. comp_22=` dist = 1-frac(.25*n+q31);
  449. comp_23=` inten = 2*sqrt(dist)*(1-dist*dist);
  450. comp_24=`
  451. comp_25=` neu = tex2D(sampler_main, 2*uv2*dist + q32);
  452. comp_26=` ret1 = max(ret1,neu*inten);
  453. comp_27=`n++;
  454. comp_28=`}
  455. comp_29=`
  456. comp_30=`ret = ret1*1.6;// * lum(ret1) ;
  457. comp_31=`
  458. comp_32=`}