martin - ludicrous speed.milk 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463
  1. MILKDROP_PRESET_VERSION=201
  2. PSVERSION=3
  3. PSVERSION_WARP=3
  4. PSVERSION_COMP=3
  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=6
  13. bAdditiveWaves=1
  14. bWaveDots=0
  15. bWaveThick=1
  16. bModWaveAlphaByVolume=1
  17. bMaximizeWaveColor=0
  18. bTexWrap=1
  19. bDarkenCenter=0
  20. bRedBlueStereo=0
  21. bBrighten=0
  22. bDarken=1
  23. bSolarize=0
  24. bInvert=0
  25. fWaveAlpha=0.311600
  26. fWaveScale=1.228910
  27. fWaveSmoothing=0.000000
  28. fWaveParam=0.200000
  29. fModWaveAlphaStart=0.710000
  30. fModWaveAlphaEnd=1.300000
  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.000000
  46. wave_b=0.000000
  47. wave_x=0.500000
  48. wave_y=0.500000
  49. ob_size=0.010000
  50. ob_r=1.000000
  51. ob_g=1.000000
  52. ob_b=1.000000
  53. ob_a=0.000000
  54. ib_size=0.000000
  55. ib_r=0.250000
  56. ib_g=0.250000
  57. ib_b=0.250000
  58. ib_a=0.500000
  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=1.000000
  65. mv_g=1.000000
  66. mv_b=0.499900
  67. mv_a=0.000000
  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=512
  77. wavecode_0_sep=0
  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.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_per_frame1=t1 = 1*cos(time/3);
  89. wave_0_per_frame2=t2 = 1*sin(time/7);
  90. wave_0_per_frame3=
  91. wave_0_per_frame4=vol = mid_att + treb_att;
  92. wave_0_per_frame5=vol_m = vol_m*0.999+vol*0.001;
  93. wave_0_per_frame6=exc = above (vol, vol_m*1.1);
  94. wave_0_per_frame7=
  95. wave_0_per_frame8=pulse = 0.95*pulse + 0.05*exc;
  96. wave_0_per_frame9=winkel = winkel + pulse/3;
  97. wave_0_per_frame10=t3 = winkel;
  98. wave_0_per_frame11=
  99. wave_0_per_frame12=
  100. wave_0_per_frame13=
  101. wave_0_per_point1= //Alle Funktionen muessen rel. zu t_rel sein
  102. wave_0_per_point2=
  103. wave_0_per_point3=
  104. wave_0_per_point4=t_abs = sample;
  105. wave_0_per_point5=t_rel = sample-time/6;
  106. wave_0_per_point6=ampl = sin(t_abs*3)-0.0;
  107. wave_0_per_point7=
  108. wave_0_per_point8=ox = 3*sin (time) + ampl*(sin (t_rel*267)) ;
  109. wave_0_per_point9=oy = 3*cos (time) + ampl*(cos (t_rel*277)) ;
  110. wave_0_per_point10=oz = 0*cos (t_rel*time/23)+t_abs*4 ;
  111. wave_0_per_point11=
  112. wave_0_per_point12=
  113. wave_0_per_point13=r = sqr(sin(t_rel*3.4));
  114. wave_0_per_point14=g = sqr(sin(t_rel*2.3));
  115. wave_0_per_point15=b = sqr (cos(t_rel*.9));
  116. wave_0_per_point16=
  117. wave_0_per_point17=a= 0.2*(cos(t_abs*1 )) + q26/16 ;
  118. wave_0_per_point18=
  119. wave_0_per_point19=xang = t2+t3/3;
  120. wave_0_per_point20=yang = t1*t2-t3/4;
  121. wave_0_per_point21=zang = t3;
  122. wave_0_per_point22=fov = 0.2;
  123. wave_0_per_point23=
  124. wave_0_per_point24=monitor = t2;
  125. wave_0_per_point25=
  126. wave_0_per_point26=// Rotation um x,y,z
  127. wave_0_per_point27=
  128. wave_0_per_point28=mx = ox*cos(zang) - oy*sin(zang);
  129. wave_0_per_point29=my = ox*sin(zang) + oy*cos(zang);
  130. wave_0_per_point30=
  131. wave_0_per_point31=ox = mx;
  132. wave_0_per_point32=oy = my;
  133. wave_0_per_point33=mx = ox*cos(yang) + oz*sin(yang);
  134. wave_0_per_point34=mz = - ox*sin(yang) + oz*cos(yang);
  135. wave_0_per_point35=ox = mx;
  136. wave_0_per_point36=oz = mz;
  137. wave_0_per_point37=my = oy*cos(xang) - oz*sin(xang);
  138. wave_0_per_point38=mz = oy*sin(xang) + oz*cos(xang);
  139. wave_0_per_point39=oy = my;
  140. wave_0_per_point40=oz = mz;
  141. wave_0_per_point41=
  142. wave_0_per_point42=oz = oz - 6;
  143. wave_0_per_point43=x = ox*fov/oz +0.5;
  144. wave_0_per_point44=//x = (x-.5)*0.75 + 0.5;
  145. wave_0_per_point45=y = oy*fov/oz + 0.5;
  146. wave_0_per_point46=
  147. wavecode_1_enabled=1
  148. wavecode_1_samples=232
  149. wavecode_1_sep=0
  150. wavecode_1_bSpectrum=0
  151. wavecode_1_bUseDots=1
  152. wavecode_1_bDrawThick=0
  153. wavecode_1_bAdditive=1
  154. wavecode_1_scaling=0.891519
  155. wavecode_1_smoothing=0.820000
  156. wavecode_1_r=1.000000
  157. wavecode_1_g=1.000000
  158. wavecode_1_b=1.000000
  159. wavecode_1_a=0.100000
  160. wave_1_per_frame1=t1 = 2*sin(time/15);
  161. wave_1_per_frame2=t2 = 2*sin(time/11);
  162. wave_1_per_frame3=monitor = time;
  163. wave_1_per_point1=
  164. wave_1_per_point2=t_abs = sample;
  165. wave_1_per_point3=t_rel = sample-time/5;
  166. wave_1_per_point4=ampl = time;
  167. wave_1_per_point5=
  168. wave_1_per_point6=ox = ampl*10*sin (t_abs*68);
  169. wave_1_per_point7=oy = ampl*10*cos (t_abs*28);
  170. wave_1_per_point8=oz = ampl*10*cos (t_abs*128);
  171. wave_1_per_point9=
  172. wave_1_per_point10=
  173. wave_1_per_point11=r = sin(t_abs*1335)+1;
  174. wave_1_per_point12=g = sin(t_abs*1783)+1 ;
  175. wave_1_per_point13=b = rand(5)/5 ;
  176. wave_1_per_point14=
  177. wave_1_per_point15=a=0.5+0.25 * sin(t_rel*15);
  178. wave_1_per_point16=xang = t1 ;
  179. wave_1_per_point17=yang = t1;
  180. wave_1_per_point18=zang = t1;
  181. wave_1_per_point19=fov = 0.12;
  182. wave_1_per_point20=
  183. wave_1_per_point21=
  184. wave_1_per_point22=// Rotation um x,y,z
  185. wave_1_per_point23=
  186. wave_1_per_point24=mx = ox*cos(zang) - oy*sin(zang);
  187. wave_1_per_point25=my = ox*sin(zang) + oy*cos(zang);
  188. wave_1_per_point26=
  189. wave_1_per_point27=ox = mx;
  190. wave_1_per_point28=oy = my;
  191. wave_1_per_point29=mx = ox*cos(yang) + oz*sin(yang);
  192. wave_1_per_point30=mz = - ox*sin(yang) + oz*cos(yang);
  193. wave_1_per_point31=ox = mx;
  194. wave_1_per_point32=oz = mz;
  195. wave_1_per_point33=my = oy*cos(xang) - oz*sin(xang);
  196. wave_1_per_point34=mz = oy*sin(xang) + oz*cos(xang);
  197. wave_1_per_point35=oy = my;
  198. wave_1_per_point36=oz = mz;
  199. wave_1_per_point37=
  200. wave_1_per_point38=oz = oz - 6;
  201. wave_1_per_point39=x = ox*fov/oz +0.5;
  202. wave_1_per_point40=//x = (x-.5)*0.75 + 0.5;
  203. wave_1_per_point41=y = oy*fov/oz + 0.5;
  204. wavecode_2_enabled=0
  205. wavecode_2_samples=512
  206. wavecode_2_sep=0
  207. wavecode_2_bSpectrum=0
  208. wavecode_2_bUseDots=0
  209. wavecode_2_bDrawThick=0
  210. wavecode_2_bAdditive=0
  211. wavecode_2_scaling=0.891519
  212. wavecode_2_smoothing=0.820000
  213. wavecode_2_r=1.000000
  214. wavecode_2_g=1.000000
  215. wavecode_2_b=1.000000
  216. wavecode_2_a=0.100000
  217. wave_2_per_point1=ampl = time - int(time);
  218. wave_2_per_point2=aml = ampl/2;
  219. wave_2_per_point3=x = .5 + ampl * sin(sample*230);
  220. wave_2_per_point4=y = .5 + ampl * cos(sample*230);
  221. wave_2_per_point5=a = .03;
  222. wavecode_3_enabled=0
  223. wavecode_3_samples=512
  224. wavecode_3_sep=0
  225. wavecode_3_bSpectrum=1
  226. wavecode_3_bUseDots=1
  227. wavecode_3_bDrawThick=0
  228. wavecode_3_bAdditive=0
  229. wavecode_3_scaling=1.000000
  230. wavecode_3_smoothing=0.500000
  231. wavecode_3_r=1.000000
  232. wavecode_3_g=1.000000
  233. wavecode_3_b=1.000000
  234. wavecode_3_a=1.000000
  235. shapecode_0_enabled=1
  236. shapecode_0_sides=100
  237. shapecode_0_additive=0
  238. shapecode_0_thickOutline=0
  239. shapecode_0_textured=1
  240. shapecode_0_x=0.499900
  241. shapecode_0_y=0.500000
  242. shapecode_0_rad=0.143922
  243. shapecode_0_ang=0.000000
  244. shapecode_0_tex_ang=0.000000
  245. shapecode_0_tex_zoom=4.574821
  246. shapecode_0_r=1.000000
  247. shapecode_0_g=1.000000
  248. shapecode_0_b=1.000000
  249. shapecode_0_a=0.900000
  250. shapecode_0_r2=0.840000
  251. shapecode_0_g2=0.930000
  252. shapecode_0_b2=1.000000
  253. shapecode_0_a2=0.000000
  254. shapecode_0_border_r=0.800000
  255. shapecode_0_border_g=0.000000
  256. shapecode_0_border_b=1.000000
  257. shapecode_0_border_a=0.400000
  258. shape_0_per_frame1=textured = bnot(q24);
  259. shape_0_per_frame2=rad = .2*max(sin(time/9)-.6,0);
  260. shape_0_per_frame3=x = .5 + .01 * sin(time/2); //slightly off-center
  261. shape_0_per_frame4=
  262. shape_0_per_frame5=border_r = .4 * (1.5+sin(time/18));
  263. shape_0_per_frame6=border_g = .4 * (1.5+sin(time/38));
  264. shape_0_per_frame7=border_b = .4 * (1.5+sin(time/28));
  265. shapecode_1_enabled=1
  266. shapecode_1_sides=63
  267. shapecode_1_additive=1
  268. shapecode_1_thickOutline=0
  269. shapecode_1_textured=0
  270. shapecode_1_x=0.500000
  271. shapecode_1_y=0.500000
  272. shapecode_1_rad=1.998625
  273. shapecode_1_ang=0.000000
  274. shapecode_1_tex_ang=0.000000
  275. shapecode_1_tex_zoom=0.499805
  276. shapecode_1_r=1.000000
  277. shapecode_1_g=1.000000
  278. shapecode_1_b=1.000000
  279. shapecode_1_a=0.100000
  280. shapecode_1_r2=1.000000
  281. shapecode_1_g2=1.000000
  282. shapecode_1_b2=1.000000
  283. shapecode_1_a2=0.600000
  284. shapecode_1_border_r=0.500000
  285. shapecode_1_border_g=0.500000
  286. shapecode_1_border_b=0.500000
  287. shapecode_1_border_a=0.000000
  288. shape_1_per_frame1=
  289. shape_1_per_frame2=trel = time/2+q20;
  290. shape_1_per_frame3=
  291. shape_1_per_frame4=x = .5+sin(trel);
  292. shape_1_per_frame5=y = .5+cos(trel*1.3 +q28/3);
  293. shape_1_per_frame6=rad = .03;
  294. shape_1_per_frame7=a = q26/4+.2; a2 = 0;
  295. shape_1_per_frame8=a = 1;
  296. shapecode_2_enabled=0
  297. shapecode_2_sides=63
  298. shapecode_2_additive=0
  299. shapecode_2_thickOutline=0
  300. shapecode_2_textured=1
  301. shapecode_2_x=0.123000
  302. shapecode_2_y=0.000000
  303. shapecode_2_rad=0.273185
  304. shapecode_2_ang=0.000000
  305. shapecode_2_tex_ang=0.000000
  306. shapecode_2_tex_zoom=0.499805
  307. shapecode_2_r=1.000000
  308. shapecode_2_g=1.000000
  309. shapecode_2_b=1.000000
  310. shapecode_2_a=1.000000
  311. shapecode_2_r2=1.000000
  312. shapecode_2_g2=1.000000
  313. shapecode_2_b2=1.000000
  314. shapecode_2_a2=0.000000
  315. shapecode_2_border_r=0.500000
  316. shapecode_2_border_g=0.500000
  317. shapecode_2_border_b=0.500000
  318. shapecode_2_border_a=0.000000
  319. shapecode_3_enabled=0
  320. shapecode_3_sides=63
  321. shapecode_3_additive=0
  322. shapecode_3_thickOutline=0
  323. shapecode_3_textured=1
  324. shapecode_3_x=0.500000
  325. shapecode_3_y=1.000000
  326. shapecode_3_rad=0.548217
  327. shapecode_3_ang=0.000000
  328. shapecode_3_tex_ang=0.000000
  329. shapecode_3_tex_zoom=0.499805
  330. shapecode_3_r=1.000000
  331. shapecode_3_g=1.000000
  332. shapecode_3_b=1.000000
  333. shapecode_3_a=1.000000
  334. shapecode_3_r2=1.000000
  335. shapecode_3_g2=1.000000
  336. shapecode_3_b2=1.000000
  337. shapecode_3_a2=0.000000
  338. shapecode_3_border_r=0.500000
  339. shapecode_3_border_g=0.500000
  340. shapecode_3_border_b=0.500000
  341. shapecode_3_border_a=0.000000
  342. per_frame_init_1=index4 = rand(12); p1 = 0;
  343. per_frame_1=dec_med = pow (0.9, 30/fps);
  344. per_frame_2=dec_slow = pow (0.99, 30/fps);
  345. per_frame_3=beat = max (max (bass, mid), treb);
  346. per_frame_4=avg = avg*dec_slow + beat*(1-dec_slow);
  347. per_frame_5=is_beat = above(beat, .5+avg+peak) * above (time, t0+.2);
  348. per_frame_6=t0 = is_beat*time + (1-is_beat)*t0;
  349. per_frame_7=peak = is_beat * beat + (1-is_beat)*peak*dec_med;
  350. per_frame_8=index = (index + is_beat) %8;
  351. per_frame_9=index2 = (index2 + is_beat*bnot(index))%4;
  352. per_frame_10=index3 = (index3 + is_beat*bnot(index)*bnot(index2))%3;
  353. per_frame_11=index4 = (index4 + is_beat*bnot(index)*bnot(index2)*bnot(index3))%8;
  354. per_frame_12=monitor = index4;
  355. per_frame_13=
  356. per_frame_14=q20 = avg;
  357. per_frame_15=q21 = beat;
  358. per_frame_16=q22 = peak;
  359. per_frame_17=q23 = index;
  360. per_frame_18=q24 = is_beat;
  361. per_frame_19=q26 = bass + mid + treb;
  362. per_frame_20=
  363. per_frame_21=//k1 = is_beat*bnot(index)*bnot(index2);
  364. per_frame_22=
  365. per_frame_23=k1 = is_beat*equal(index,0);
  366. per_frame_24=p1 = k1*(p1+1) + (1-k1)*p1;
  367. per_frame_25=p2 = dec_med * p2+ (1-dec_med)*p1;
  368. per_frame_26=rott = p2 * 3.14159265359/2;
  369. per_frame_27=
  370. per_frame_28=q27 = 8-index;
  371. per_frame_29=q28 = index3;
  372. per_frame_30=q29 = index4;
  373. per_frame_31=
  374. per_frame_32=stop = equal (index,4);
  375. per_frame_33=stop2 = .9 * stop2 + .1 * stop;
  376. per_frame_34=accel = stop - stop2;
  377. per_frame_35=
  378. per_frame_36=//movez = movez + .01*(2+ q21)*30/fps;
  379. per_frame_37=movez = movez + .01*4*30/fps;
  380. per_frame_38=q30 = movez;
  381. per_frame_39=
  382. per_frame_40=q1 = cos(rott);
  383. per_frame_41=q2 = sin(rott);
  384. per_frame_42=q3 = -q2;
  385. per_frame_43=q4 = q1;
  386. per_frame_44=
  387. per_frame_45=zoom = 1.0;
  388. per_frame_46=q32 = pow(0.996, 30/fps); //fade
  389. warp_1=`shader_body {
  390. warp_2=`float corr = texsize.xy*texsize_noise_lq.zw;
  391. warp_3=`float2 arg;
  392. warp_4=`
  393. warp_5=`int k2 = int(q29); //index4
  394. warp_6=`int k1 = k2%4;
  395. warp_7=`float clp = 8;
  396. warp_8=`
  397. warp_9=`float3 noiseVal =.03*(tex2D(sampler_noise_lq, uv*.3+.01*rand_frame));
  398. warp_10=`
  399. warp_11=`float2 zz = (uv-.5) *texsize.xy *.015*q27;
  400. warp_12=`zz *= aspect.zw;
  401. warp_13=`zz =mul(zz,float2x2(_qa));
  402. warp_14=`
  403. warp_15=`//zz = zz * cos(1/rad*8);
  404. warp_16=`/// {zz = 5*(zz.xy+zz.yx);} //evtl,
  405. warp_17=`
  406. warp_18=`if (k1==0) {arg = clamp(tan(zz),-clp,clp);}
  407. warp_19=`else if (k1==1) {arg = clamp(tan(zz) / cos(zz.yx),-clp,clp);}
  408. warp_20=`else if (k1==2) {arg = clamp(exp((zz.yx)),-clp,clp) ;}
  409. warp_21=`else if (k1==3) {arg = clamp(sin(2*zz.yx),-clp,clp) ;}
  410. warp_22=`
  411. warp_23=`//float2 arg = (k1==0)*h1 + (k1==1)*h2 + (k1==2)*h3 + (k1==3)*h4;
  412. warp_24=`
  413. warp_25=`//arg *= (zz+0.1);
  414. warp_26=`if (k2 >= 4) {arg -= length(zz)/4;} //ja
  415. warp_27=`
  416. warp_28=`//arg = atan(arg.yx*8);//ja, aber flimmer
  417. warp_29=`//if (k2>=8) {arg = pow(arg,3);} // ja aber ohne das vorige
  418. warp_30=`//g *= aspect.xy * cos(16*(.5-rad)*ang); //ok
  419. warp_31=`uv += arg*texsize.zw* (1+ 4 * q28);
  420. warp_32=`
  421. warp_33=`float3 crisp = tex2D(sampler_main,uv);
  422. warp_34=`
  423. warp_35=`ret = q32*crisp + noiseVal*.8-.03;
  424. warp_36=`}
  425. comp_1=`float3 ret1, neu, blur;
  426. comp_2=`
  427. comp_3=`shader_body
  428. comp_4=`{
  429. comp_5=`float2 uv2;
  430. comp_6=`float ang2, c, s;
  431. comp_7=`uv -= 0.5;
  432. comp_8=`uv *= aspect.xy;
  433. comp_9=`
  434. comp_10=`float2 tmp = uv;
  435. comp_11=`float dist = 1;
  436. comp_12=`float inten = 1;
  437. comp_13=`float mask = 0;
  438. comp_14=`ret1 = 0;
  439. comp_15=`int anz = 4;
  440. comp_16=`float n = 1;
  441. comp_17=`uv = mul(uv,float2x2(_qa));
  442. comp_18=`//uv +=.3*q1;
  443. comp_19=`while (n <= anz) {
  444. comp_20=` ang2 = 6.28*n/anz;
  445. comp_21=` c = cos(ang2);
  446. comp_22=` s = sin(ang2);
  447. comp_23=` uv2.x = uv.x*c - uv.y*s;
  448. comp_24=` uv2.y = uv.x*s + uv.y*c;
  449. comp_25=` uv2 *= aspect.yx;
  450. comp_26=` dist = 1-frac(1.0/anz*n+q30); //evtl sqrt !
  451. comp_27=` inten = pow(dist,.3)*(1-dist)*2;
  452. comp_28=` float2 uv3 = 2*uv2*dist+.5;
  453. comp_29=` neu = GetPixel (uv3);
  454. comp_30=` blur = GetBlur2 (uv3);
  455. comp_31=` neu += blur;
  456. comp_32=` ret1 = ret1*.9+neu*inten;
  457. comp_33=`n++;
  458. comp_34=`}
  459. comp_35=`
  460. comp_36=`
  461. comp_37=`ret = ret1 + .5*float3(0,0,.3)*rad ;
  462. comp_38=`
  463. comp_39=`}