1
0

martin - soma in pink.milk 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460
  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=4
  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.038558
  26. fWaveScale=0.372353
  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.800000
  45. wave_g=0.300000
  46. wave_b=1.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.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=48.000000
  61. mv_dx=0.000000
  62. mv_dy=0.000000
  63. mv_l=1.850000
  64. mv_r=0.499900
  65. mv_g=0.499900
  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=0
  76. wavecode_0_samples=512
  77. wavecode_0_sep=0
  78. wavecode_0_bSpectrum=0
  79. wavecode_0_bUseDots=1
  80. wavecode_0_bDrawThick=0
  81. wavecode_0_bAdditive=1
  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_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-2.5;
  95. wave_0_per_point8=iy = (100*value2)%7-2.5;
  96. wave_0_per_point9=
  97. wave_0_per_point10=sp = bass + treb;
  98. wave_0_per_point11=sp = sp /3000;
  99. wave_0_per_point12=
  100. wave_0_per_point13=
  101. wave_0_per_point14=dx = (dx+sp*ix) * .998;
  102. wave_0_per_point15=dy = (dy+sp*iy) * .998 ;
  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 = 1;
  116. wave_0_per_point29=g = 1;
  117. wave_0_per_point30=b = 1;
  118. wave_0_per_point31=a = 1;
  119. wavecode_1_enabled=1
  120. wavecode_1_samples=512
  121. wavecode_1_sep=0
  122. wavecode_1_bSpectrum=0
  123. wavecode_1_bUseDots=1
  124. wavecode_1_bDrawThick=0
  125. wavecode_1_bAdditive=0
  126. wavecode_1_scaling=0.891519
  127. wavecode_1_smoothing=0.820000
  128. wavecode_1_r=1.000000
  129. wavecode_1_g=1.000000
  130. wavecode_1_b=1.000000
  131. wavecode_1_a=0.100000
  132. wave_1_per_frame1=t1 = 2*sin(time/15);
  133. wave_1_per_frame2=t2 = 2*sin(time/11);
  134. wave_1_per_frame3=monitor = time;
  135. wave_1_per_point1=
  136. wave_1_per_point2=t_abs = sample ;
  137. wave_1_per_point3=
  138. wave_1_per_point4=ox = sin (t_abs*68);
  139. wave_1_per_point5=oy = cos (t_abs*63);
  140. wave_1_per_point6=oz = sin (t_abs*125);
  141. wave_1_per_point7=
  142. wave_1_per_point8=r = 1;
  143. wave_1_per_point9=g = .5 ;
  144. wave_1_per_point10=b = 1 ;
  145. wave_1_per_point11=
  146. wave_1_per_point12=t_rel = sample - time/127;
  147. wave_1_per_point13=t_rel = t_rel - int(t_rel);
  148. wave_1_per_point14=
  149. wave_1_per_point15=a = (512*sample-time*2)%2;
  150. wave_1_per_point16=a = 1;
  151. wave_1_per_point17=
  152. wave_1_per_point18=xang = 0 ;
  153. wave_1_per_point19=yang = t1;
  154. wave_1_per_point20=zang = t1;
  155. wave_1_per_point21=fov = 0.15;
  156. wave_1_per_point22=
  157. wave_1_per_point23=
  158. wave_1_per_point24=// Rotation um x,y,z
  159. wave_1_per_point25=
  160. wave_1_per_point26=mx = ox*cos(zang) - oy*sin(zang);
  161. wave_1_per_point27=my = ox*sin(zang) + oy*cos(zang);
  162. wave_1_per_point28=
  163. wave_1_per_point29=ox = mx;
  164. wave_1_per_point30=oy = my;
  165. wave_1_per_point31=mx = ox*cos(yang) + oz*sin(yang);
  166. wave_1_per_point32=mz = - ox*sin(yang) + oz*cos(yang);
  167. wave_1_per_point33=ox = mx;
  168. wave_1_per_point34=oz = mz;
  169. wave_1_per_point35=my = oy*cos(xang) - oz*sin(xang);
  170. wave_1_per_point36=mz = oy*sin(xang) + oz*cos(xang);
  171. wave_1_per_point37=oy = my;
  172. wave_1_per_point38=oz = mz;
  173. wave_1_per_point39=
  174. wave_1_per_point40=//oz = oz - 6;
  175. wave_1_per_point41=x = ox*fov/oz +0.5;
  176. wave_1_per_point42=//x = (x-.5)*0.75 + 0.5;
  177. wave_1_per_point43=y = oy*fov/oz + 0.5;
  178. wavecode_2_enabled=0
  179. wavecode_2_samples=512
  180. wavecode_2_sep=0
  181. wavecode_2_bSpectrum=0
  182. wavecode_2_bUseDots=0
  183. wavecode_2_bDrawThick=1
  184. wavecode_2_bAdditive=0
  185. wavecode_2_scaling=0.891519
  186. wavecode_2_smoothing=0.820000
  187. wavecode_2_r=1.000000
  188. wavecode_2_g=1.000000
  189. wavecode_2_b=1.000000
  190. wavecode_2_a=0.100000
  191. wave_2_per_point1=k1 = (sample*512) % 8;
  192. wave_2_per_point2=
  193. wave_2_per_point3=t1 = equal (k1,0)*((t1 * 61 + 27) % 4096)
  194. wave_2_per_point4= + (1-equal(k1,0))*t1;
  195. wave_2_per_point5=
  196. wave_2_per_point6=exc = 1+rand(5);
  197. wave_2_per_point7=ampl = sample*sqrt(t2) * (1+exc);
  198. wave_2_per_point8=
  199. wave_2_per_point9=f1 = q4*ampl* sin(t1*6.28/4096);
  200. wave_2_per_point10=f2 = q4*ampl* cos(t1*6.28/4096);
  201. wave_2_per_point11=
  202. wave_2_per_point12=x = q2 + k1* f1 ;
  203. wave_2_per_point13=y = q3 + k1* f2;
  204. wave_2_per_point14=
  205. wave_2_per_point15=a = equal(k1,6) + equal (k1,0);
  206. wave_2_per_point16=
  207. wave_2_per_point17=r = 1;
  208. wave_2_per_point18=b = equal (k1,0);
  209. wave_2_per_point19=g = .6* (1+.6*equal (k1,0)) ;
  210. wave_2_per_point20=a = a * q5 * (1-0*t2*t2);
  211. wave_2_per_point21=//a = 0;
  212. wave_2_per_point22=
  213. wave_2_per_point23=
  214. wavecode_3_enabled=0
  215. wavecode_3_samples=512
  216. wavecode_3_sep=0
  217. wavecode_3_bSpectrum=1
  218. wavecode_3_bUseDots=1
  219. wavecode_3_bDrawThick=0
  220. wavecode_3_bAdditive=0
  221. wavecode_3_scaling=1.000000
  222. wavecode_3_smoothing=0.500000
  223. wavecode_3_r=1.000000
  224. wavecode_3_g=1.000000
  225. wavecode_3_b=1.000000
  226. wavecode_3_a=1.000000
  227. wave_3_per_point1=
  228. wave_3_per_point2=t_abs = sample;
  229. wave_3_per_point3=t_rel = sample-time/8;
  230. wave_3_per_point4=
  231. wave_3_per_point5=ox = sin (sample*110) ;
  232. wave_3_per_point6=oy = cos (sample*110);
  233. wave_3_per_point7=
  234. wave_3_per_point8=oz = 4+1/(t_rel - int(t_rel));
  235. wave_3_per_point9=
  236. wave_3_per_point10=r = .3;
  237. wave_3_per_point11=g = 0.7;
  238. wave_3_per_point12=b = 1;
  239. wave_3_per_point13=
  240. wave_3_per_point14=a = .8;
  241. wave_3_per_point15=
  242. wave_3_per_point16=xang = 0;
  243. wave_3_per_point17=yang = 0;
  244. wave_3_per_point18=zang = 0;
  245. wave_3_per_point19=fov = .5;
  246. wave_3_per_point20=
  247. wave_3_per_point21=
  248. wave_3_per_point22=// Rotation um x,y,z
  249. wave_3_per_point23=
  250. wave_3_per_point24=mx = ox*cos(zang) - oy*sin(zang);
  251. wave_3_per_point25=my = ox*sin(zang) + oy*cos(zang);
  252. wave_3_per_point26=
  253. wave_3_per_point27=ox = mx;
  254. wave_3_per_point28=oy = my;
  255. wave_3_per_point29=mx = ox*cos(yang) + oz*sin(yang);
  256. wave_3_per_point30=mz = - ox*sin(yang) + oz*cos(yang);
  257. wave_3_per_point31=ox = mx;
  258. wave_3_per_point32=oz = mz;
  259. wave_3_per_point33=my = oy*cos(xang) - oz*sin(xang);
  260. wave_3_per_point34=mz = oy*sin(xang) + oz*cos(xang);
  261. wave_3_per_point35=oy = my;
  262. wave_3_per_point36=oz = mz;
  263. wave_3_per_point37=
  264. wave_3_per_point38=x = ox*fov/oz +0.45;
  265. wave_3_per_point39=y = oy*fov/oz + 0.45;
  266. shapecode_0_enabled=0
  267. shapecode_0_sides=44
  268. shapecode_0_additive=1
  269. shapecode_0_thickOutline=1
  270. shapecode_0_textured=0
  271. shapecode_0_x=0.500000
  272. shapecode_0_y=0.500000
  273. shapecode_0_rad=0.126338
  274. shapecode_0_ang=1.570796
  275. shapecode_0_tex_ang=0.000000
  276. shapecode_0_tex_zoom=0.539067
  277. shapecode_0_r=0.000000
  278. shapecode_0_g=0.540000
  279. shapecode_0_b=0.890000
  280. shapecode_0_a=0.100000
  281. shapecode_0_r2=0.840000
  282. shapecode_0_g2=0.930000
  283. shapecode_0_b2=1.000000
  284. shapecode_0_a2=0.000000
  285. shapecode_0_border_r=1.000000
  286. shapecode_0_border_g=1.000000
  287. shapecode_0_border_b=0.000000
  288. shapecode_0_border_a=0.000000
  289. shape_0_per_frame1=x = .5 + .5 * sin(time);
  290. shape_0_per_frame2=y = .5 + .5 * sin(time);
  291. shapecode_1_enabled=0
  292. shapecode_1_sides=63
  293. shapecode_1_additive=0
  294. shapecode_1_thickOutline=0
  295. shapecode_1_textured=1
  296. shapecode_1_x=0.500000
  297. shapecode_1_y=0.500000
  298. shapecode_1_rad=1.998625
  299. shapecode_1_ang=0.000000
  300. shapecode_1_tex_ang=0.000000
  301. shapecode_1_tex_zoom=0.499805
  302. shapecode_1_r=1.000000
  303. shapecode_1_g=1.000000
  304. shapecode_1_b=1.000000
  305. shapecode_1_a=0.100000
  306. shapecode_1_r2=1.000000
  307. shapecode_1_g2=1.000000
  308. shapecode_1_b2=1.000000
  309. shapecode_1_a2=0.600000
  310. shapecode_1_border_r=0.500000
  311. shapecode_1_border_g=0.500000
  312. shapecode_1_border_b=0.500000
  313. shapecode_1_border_a=0.000000
  314. shapecode_2_enabled=0
  315. shapecode_2_sides=63
  316. shapecode_2_additive=0
  317. shapecode_2_thickOutline=0
  318. shapecode_2_textured=1
  319. shapecode_2_x=0.123000
  320. shapecode_2_y=0.000000
  321. shapecode_2_rad=0.273185
  322. shapecode_2_ang=0.000000
  323. shapecode_2_tex_ang=0.000000
  324. shapecode_2_tex_zoom=0.499805
  325. shapecode_2_r=1.000000
  326. shapecode_2_g=1.000000
  327. shapecode_2_b=1.000000
  328. shapecode_2_a=1.000000
  329. shapecode_2_r2=1.000000
  330. shapecode_2_g2=1.000000
  331. shapecode_2_b2=1.000000
  332. shapecode_2_a2=0.000000
  333. shapecode_2_border_r=0.500000
  334. shapecode_2_border_g=0.500000
  335. shapecode_2_border_b=0.500000
  336. shapecode_2_border_a=0.000000
  337. shapecode_3_enabled=0
  338. shapecode_3_sides=63
  339. shapecode_3_additive=0
  340. shapecode_3_thickOutline=0
  341. shapecode_3_textured=1
  342. shapecode_3_x=0.500000
  343. shapecode_3_y=1.000000
  344. shapecode_3_rad=0.548217
  345. shapecode_3_ang=0.000000
  346. shapecode_3_tex_ang=0.000000
  347. shapecode_3_tex_zoom=0.499805
  348. shapecode_3_r=1.000000
  349. shapecode_3_g=1.000000
  350. shapecode_3_b=1.000000
  351. shapecode_3_a=1.000000
  352. shapecode_3_r2=1.000000
  353. shapecode_3_g2=1.000000
  354. shapecode_3_b2=1.000000
  355. shapecode_3_a2=0.000000
  356. shapecode_3_border_r=0.500000
  357. shapecode_3_border_g=0.500000
  358. shapecode_3_border_b=0.500000
  359. shapecode_3_border_a=0.000000
  360. per_frame_1=dec_med = pow (0.96, 30/fps);
  361. per_frame_2=dec_slow = pow (0.99, 30/fps);
  362. per_frame_3=beat = max (max (bass, mid), treb);
  363. per_frame_4=avg = avg*dec_slow + beat*(1-dec_slow);
  364. per_frame_5=is_beat = above(beat, .5+avg+peak) * above (time, t0+.2);
  365. per_frame_6=t0 = is_beat*time + (1-is_beat)*t0;
  366. per_frame_7=peak = is_beat * beat + (1-is_beat)*peak*dec_med;
  367. per_frame_8=index = (index + is_beat) %4;
  368. per_frame_9=index2 = (index2 + is_beat*bnot(index))%8;
  369. per_frame_10=index3 = (index3 + is_beat*bnot(index)*bnot(index2))%3;
  370. per_frame_11=
  371. per_frame_12=
  372. per_frame_13=q20 = avg;
  373. per_frame_14=q21 = beat;
  374. per_frame_15=q22 = peak;
  375. per_frame_16=q23 = index;
  376. per_frame_17=q24 = is_beat;
  377. per_frame_18=q26 = bass + mid + treb;
  378. per_frame_19=
  379. per_frame_20=//k1 = is_beat*bnot(index)*bnot(index2);
  380. per_frame_21=
  381. per_frame_22=k1 = is_beat*equal(index,0);
  382. per_frame_23=p1 = k1*(p1+1) + (1-k1)*p1;
  383. per_frame_24=p2 = dec_med * p2+ (1-dec_med)*p1;
  384. per_frame_25=p3 = dec_med * p3+ (1-dec_med)*p2;
  385. per_frame_26=rott = p3*3.1416/2;
  386. per_frame_27=
  387. per_frame_28=rot1 = rot1 + q26;
  388. per_frame_29=q25 = .01*rot1;
  389. per_frame_30=
  390. per_frame_31=q27 = 8-index;
  391. per_frame_32=q28 = index3;
  392. per_frame_33=
  393. per_frame_34=dx1 = dec_med*dx1 + (1-dec_med)*bnot(index2);
  394. per_frame_35=q29 = dx1;
  395. per_frame_36=monitor = q29;
  396. per_frame_37=
  397. per_frame_38=q1 = cos(rott);
  398. per_frame_39=q2 = sin(rott);
  399. per_frame_40=q3 = -q2;
  400. per_frame_41=q4 = q1;
  401. per_frame_42=
  402. per_frame_43=
  403. per_pixel_1=rot = 0;
  404. per_pixel_2=dx = .02*q29;
  405. per_pixel_3=zoom = 1;
  406. warp_1=`shader_body {
  407. warp_2=`float corr = texsize.xy*texsize_noise_lq.zw;
  408. warp_3=`float2 uv1 = float2(uv.x-0.5,uv.y-0.5);//*aspect.xy;
  409. warp_4=`
  410. warp_5=`float3 noiseVal =.03*(tex2D(sampler_noise_lq, uv*.3+.01*rand_frame));
  411. warp_6=`noiseVal = .01;
  412. warp_7=`float3 Feedback = GetBlur1(1-uv);
  413. warp_8=`
  414. warp_9=`float2 zz = uv1 *texsize.xy *.015;
  415. warp_10=`//zz =mul(zz,float2x2(_qa));
  416. warp_11=`zz = zz.yx;
  417. warp_12=`float2 h1 = clamp(tan(zz.yx),-12,12) * cos(4*(q2+1)*zz);
  418. warp_13=`
  419. warp_14=`uv.xy += h1*texsize.zw * 4*(2+q1);
  420. warp_15=`
  421. warp_16=`
  422. warp_17=`float r = tex2D (sampler_noise_hq,uv/14).x*12;
  423. warp_18=`float2 uv6 = uv1;
  424. warp_19=`uv6 = mul(uv6, float2x2(cos(r),sin(r),-sin(r),cos(r)));
  425. warp_20=`float3 mus = .1/(sqrt(uv6.y));
  426. warp_21=`
  427. warp_22=`float3 crisp = tex2D(sampler_main,uv);
  428. warp_23=`//crisp = lerp(crisp.bgr,crisp.rgb,2*crisp);
  429. warp_24=`ret = .995*crisp+noiseVal-.02;
  430. warp_25=`}
  431. comp_1=`shader_body
  432. comp_2=`{
  433. comp_3=`float2 uv1 = (uv-0.5)*aspect.xy;
  434. comp_4=`
  435. comp_5=`//float ang1 = atan2(uv1.y, uv1.x);
  436. comp_6=`//float rad1 = log(length(uv1)-0.1);
  437. comp_7=`
  438. comp_8=`float rad2 = length(uv1) + .1;
  439. comp_9=`float rad1 = .1/rad2 ;
  440. comp_10=`
  441. comp_11=`float2 uv2 = float2 (ang/3.14, rad1);
  442. comp_12=`uv2.y = uv2.y +0.1*time;
  443. comp_13=`uv2.x = uv2.x +.0*time;
  444. comp_14=`
  445. comp_15=`float2 uv3 = float2 (ang/3.14, rad1*1.5);
  446. comp_16=`uv3.y = uv3.y +0.08*time ;
  447. comp_17=`uv3.x = uv3.x + time/32;
  448. comp_18=`
  449. comp_19=`float3 crisp = 2*GetPixel(uv2) + GetPixel(uv3);
  450. comp_20=`crisp += 2*GetBlur2(frac(uv2)) + 2*GetBlur2(frac(uv3));
  451. comp_21=`
  452. comp_22=`float3 lay1 = float3 (0,0,1)*uv.y*pow(1-rad,8);
  453. comp_23=`
  454. comp_24=`crisp = 3*crisp * pow(rad,1);
  455. comp_25=`
  456. comp_26=`float mask = saturate(1-4*rad);
  457. comp_27=`
  458. comp_28=`ret = crisp + lay1*mask + mask * GetPixel(uv);
  459. comp_29=`
  460. comp_30=`}