1
0

martin - jellyfish dance.milk 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429
  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=0
  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=3.749209
  26. fWaveScale=2.466119
  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.110000
  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=0.699900
  72. b2x=1.000000
  73. b3x=1.000000
  74. b1ed=0.000000
  75. wavecode_0_enabled=0
  76. wavecode_0_samples=132
  77. wavecode_0_sep=29
  78. wavecode_0_bSpectrum=0
  79. wavecode_0_bUseDots=1
  80. wavecode_0_bDrawThick=1
  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=0.200000
  86. wavecode_0_b=0.000000
  87. wavecode_0_a=0.600000
  88. wave_0_per_frame1=t2 = t2 + bass_att;
  89. wave_0_per_point1=
  90. wave_0_per_point2=
  91. wave_0_per_point3=ska = sqr(sin(sample*3.14));
  92. wave_0_per_point4=
  93. wave_0_per_point5=
  94. wave_0_per_point6=b = 0; g = .1; r = 0.6;
  95. wave_0_per_point7=a = ska * (bass_att);
  96. wave_0_per_point8=x = .5 + sample *(.1+value1);
  97. wave_0_per_point9=y = .5 + sample*(.1+value2);
  98. wavecode_1_enabled=0
  99. wavecode_1_samples=512
  100. wavecode_1_sep=0
  101. wavecode_1_bSpectrum=0
  102. wavecode_1_bUseDots=0
  103. wavecode_1_bDrawThick=1
  104. wavecode_1_bAdditive=0
  105. wavecode_1_scaling=0.891519
  106. wavecode_1_smoothing=0.820000
  107. wavecode_1_r=1.000000
  108. wavecode_1_g=1.000000
  109. wavecode_1_b=1.000000
  110. wavecode_1_a=0.100000
  111. wavecode_2_enabled=0
  112. wavecode_2_samples=512
  113. wavecode_2_sep=0
  114. wavecode_2_bSpectrum=0
  115. wavecode_2_bUseDots=0
  116. wavecode_2_bDrawThick=1
  117. wavecode_2_bAdditive=0
  118. wavecode_2_scaling=0.891519
  119. wavecode_2_smoothing=0.820000
  120. wavecode_2_r=1.000000
  121. wavecode_2_g=1.000000
  122. wavecode_2_b=1.000000
  123. wavecode_2_a=0.100000
  124. wavecode_3_enabled=0
  125. wavecode_3_samples=512
  126. wavecode_3_sep=0
  127. wavecode_3_bSpectrum=1
  128. wavecode_3_bUseDots=1
  129. wavecode_3_bDrawThick=0
  130. wavecode_3_bAdditive=0
  131. wavecode_3_scaling=1.000000
  132. wavecode_3_smoothing=0.500000
  133. wavecode_3_r=1.000000
  134. wavecode_3_g=1.000000
  135. wavecode_3_b=1.000000
  136. wavecode_3_a=1.000000
  137. wave_3_per_point1=ra = .8;
  138. wave_3_per_point2=rb = .5;
  139. wave_3_per_point3=pib = 6.28318530718;
  140. wave_3_per_point4=
  141. wave_3_per_point5=
  142. wave_3_per_point6=tic = min(time-tin,.1);
  143. wave_3_per_point7=tin = if(equal(sample,0),time,tin);
  144. wave_3_per_point8=
  145. wave_3_per_point9=mod = 1.5 + .5*sin(time*.15);
  146. wave_3_per_point10=med = 1.5 + .5*sin(time*.134);
  147. wave_3_per_point11=med = 5;
  148. wave_3_per_point12=amod = 3;
  149. wave_3_per_point13=
  150. wave_3_per_point14=vr = rand(10001)*.0001;
  151. wave_3_per_point15=rb = rb + rand(10001)*.0001*.1;
  152. wave_3_per_point16=
  153. wave_3_per_point17=a = vr;
  154. wave_3_per_point18=
  155. wave_3_per_point19=sa = vr*pib*.5;
  156. wave_3_per_point20=sp = sa*mod + q1*1.3;
  157. wave_3_per_point21=sam = sa*med - q1*.219;
  158. wave_3_per_point22=
  159. wave_3_per_point23=ox = ra*sin(sam*pib);
  160. wave_3_per_point24=oy = ra*cos(sam*pib);
  161. wave_3_per_point25=ox = ox + rb*-cos(sp)*sin(sam*pib);
  162. wave_3_per_point26=oz = rb*-sin(sp);
  163. wave_3_per_point27=oy = oy + rb*-cos(sp)*cos(sam*pib);
  164. wave_3_per_point28=
  165. wave_3_per_point29=
  166. wave_3_per_point30=xang = time*.132;
  167. wave_3_per_point31=xang = q2;
  168. wave_3_per_point32=yang = time*.153;
  169. wave_3_per_point33=yang = q3;
  170. wave_3_per_point34=zang = time*.110;
  171. wave_3_per_point35=zang = q4;
  172. wave_3_per_point36=fov = 0.6 + 0.2*sin(time);
  173. wave_3_per_point37=fov = .5;
  174. wave_3_per_point38=
  175. wave_3_per_point39=mx = ox*cos(zang) - oy*sin(zang);
  176. wave_3_per_point40=my = ox*sin(zang) + oy*cos(zang);
  177. wave_3_per_point41=ox = mx;
  178. wave_3_per_point42=oy = my;
  179. wave_3_per_point43=mx = ox*cos(yang) + oz*sin(yang);
  180. wave_3_per_point44=mz = - ox*sin(yang) + oz*cos(yang);
  181. wave_3_per_point45=ox = mx;
  182. wave_3_per_point46=oz = mz;
  183. wave_3_per_point47=my = oy*cos(xang) - oz*sin(xang);
  184. wave_3_per_point48=mz = oy*sin(xang) + oz*cos(xang);
  185. wave_3_per_point49=oy = my;
  186. wave_3_per_point50=oz = mz;
  187. wave_3_per_point51=
  188. wave_3_per_point52=oz = oz - 2;
  189. wave_3_per_point53=x = ox*fov/oz + 0.5;
  190. wave_3_per_point54=x = (x-.5)*0.75 + 0.5;
  191. wave_3_per_point55=y = oy*fov/oz + 0.5;
  192. wave_3_per_point56=
  193. shapecode_0_enabled=1
  194. shapecode_0_sides=15
  195. shapecode_0_additive=0
  196. shapecode_0_thickOutline=0
  197. shapecode_0_textured=1
  198. shapecode_0_x=0.500000
  199. shapecode_0_y=0.500000
  200. shapecode_0_rad=0.720720
  201. shapecode_0_ang=0.000000
  202. shapecode_0_tex_ang=0.000000
  203. shapecode_0_tex_zoom=1.242906
  204. shapecode_0_r=1.000000
  205. shapecode_0_g=0.400000
  206. shapecode_0_b=0.890000
  207. shapecode_0_a=0.800000
  208. shapecode_0_r2=1.000000
  209. shapecode_0_g2=0.000000
  210. shapecode_0_b2=1.000000
  211. shapecode_0_a2=0.000000
  212. shapecode_0_border_r=1.000000
  213. shapecode_0_border_g=1.000000
  214. shapecode_0_border_b=0.000000
  215. shapecode_0_border_a=0.000000
  216. shape_0_per_frame1=tex_ang = .7 + .3 * sin(time);
  217. shapecode_1_enabled=1
  218. shapecode_1_sides=63
  219. shapecode_1_additive=0
  220. shapecode_1_thickOutline=0
  221. shapecode_1_textured=1
  222. shapecode_1_x=0.810000
  223. shapecode_1_y=0.300000
  224. shapecode_1_rad=0.397104
  225. shapecode_1_ang=0.000000
  226. shapecode_1_tex_ang=2.513274
  227. shapecode_1_tex_zoom=0.907991
  228. shapecode_1_r=1.000000
  229. shapecode_1_g=1.000000
  230. shapecode_1_b=1.000000
  231. shapecode_1_a=0.600000
  232. shapecode_1_r2=1.000000
  233. shapecode_1_g2=1.000000
  234. shapecode_1_b2=1.000000
  235. shapecode_1_a2=0.470000
  236. shapecode_1_border_r=0.500000
  237. shapecode_1_border_g=0.500000
  238. shapecode_1_border_b=0.500000
  239. shapecode_1_border_a=0.000000
  240. shapecode_2_enabled=1
  241. shapecode_2_sides=63
  242. shapecode_2_additive=0
  243. shapecode_2_thickOutline=0
  244. shapecode_2_textured=0
  245. shapecode_2_x=0.323000
  246. shapecode_2_y=0.000000
  247. shapecode_2_rad=0.273185
  248. shapecode_2_ang=0.000000
  249. shapecode_2_tex_ang=0.000000
  250. shapecode_2_tex_zoom=0.499805
  251. shapecode_2_r=1.000000
  252. shapecode_2_g=1.000000
  253. shapecode_2_b=1.000000
  254. shapecode_2_a=0.700000
  255. shapecode_2_r2=1.000000
  256. shapecode_2_g2=1.000000
  257. shapecode_2_b2=1.000000
  258. shapecode_2_a2=0.000000
  259. shapecode_2_border_r=0.000000
  260. shapecode_2_border_g=1.000000
  261. shapecode_2_border_b=1.000000
  262. shapecode_2_border_a=0.000000
  263. shape_2_per_frame1=x = rand(100)/100;
  264. shape_2_per_frame2=y = rand(100)/100;
  265. shape_2_per_frame3=
  266. shape_2_per_frame4=a = 0.8; r = 0; b = 1; g = 1;
  267. shape_2_per_frame5=a2 = 1; r2=0; b2 = 0; g2 = 0;
  268. shape_2_per_frame6=rad = .02;
  269. shapecode_3_enabled=0
  270. shapecode_3_sides=4
  271. shapecode_3_additive=1
  272. shapecode_3_thickOutline=0
  273. shapecode_3_textured=0
  274. shapecode_3_x=0.600000
  275. shapecode_3_y=0.500000
  276. shapecode_3_rad=0.080814
  277. shapecode_3_ang=0.000000
  278. shapecode_3_tex_ang=0.000000
  279. shapecode_3_tex_zoom=0.499805
  280. shapecode_3_r=0.000000
  281. shapecode_3_g=1.000000
  282. shapecode_3_b=1.000000
  283. shapecode_3_a=1.000000
  284. shapecode_3_r2=0.000000
  285. shapecode_3_g2=1.000000
  286. shapecode_3_b2=1.000000
  287. shapecode_3_a2=1.000000
  288. shapecode_3_border_r=0.500000
  289. shapecode_3_border_g=0.500000
  290. shapecode_3_border_b=0.500000
  291. shapecode_3_border_a=0.000000
  292. per_frame_1=dec_med = pow (0.9, 30/fps);
  293. per_frame_2=dec_slow = pow (0.99, 30/fps);
  294. per_frame_3=beat = max (max (bass, mid), treb);
  295. per_frame_4=avg = avg*dec_slow + beat*(1-dec_slow);
  296. per_frame_5=is_beat = above(beat, .5+avg+peak) * above (time, t0+.2);
  297. per_frame_6=t0 = is_beat*time + (1-is_beat)*t0;
  298. per_frame_7=peak = is_beat * beat + (1-is_beat)*peak*dec_med;
  299. per_frame_8=index = (index + is_beat) %8;
  300. per_frame_9=index2 = (index2 + is_beat*bnot(index))%8;
  301. per_frame_10=index3 = (index3 + is_beat*bnot(index)*bnot(index2))%3;
  302. per_frame_11=
  303. per_frame_12=q20 = avg;
  304. per_frame_13=q21 = beat;
  305. per_frame_14=q22 = peak;
  306. per_frame_15=q23 = index;
  307. per_frame_16=q24 = is_beat;
  308. per_frame_17=q26 = bass + mid + treb + 1;
  309. per_frame_18=q27 = index + 1;
  310. per_frame_19=q28 = index2+1;
  311. per_frame_20=
  312. per_frame_21=k1 = is_beat*equal(index%2,0);
  313. per_frame_22=p1 = k1*(p1+1) + (1-k1)*p1;
  314. per_frame_23=p2 = dec_med * p2+ (1-dec_med)*p1;
  315. per_frame_24=rott = p2 * 3.1416/4;
  316. per_frame_25=
  317. per_frame_26=q1 = cos(rott);
  318. per_frame_27=q2 = sin(rott);
  319. per_frame_28=q3 = -q2;
  320. per_frame_29=q4 = q1;
  321. per_frame_30=
  322. per_frame_31=movex = movex + .03*30/fps;
  323. per_frame_32=q29 = movex;
  324. per_frame_33=movez = movez + .07*30/fps;
  325. per_frame_34=q30 = movez;
  326. per_frame_35=
  327. per_frame_36=crawl = crawl + .001*(2+q22)*30/fps;
  328. per_frame_37=q31 = crawl;
  329. per_frame_38=
  330. per_frame_39=q32 = 2 + sin(time/7);
  331. per_frame_40=monitor = index2;
  332. per_pixel_1=zoom = 1.0;
  333. warp_1=`sampler sampler_worms;
  334. warp_2=`float3 color, crab;
  335. warp_3=`float sr,cr,dx,dy;
  336. warp_4=`
  337. warp_5=`shader_body {
  338. warp_6=`float corr = texsize.xy*texsize_noise_lq.zw;
  339. warp_7=`
  340. warp_8=`float2 uv1 = (uv-.5);
  341. warp_9=`
  342. warp_10=`float f1 = 2;
  343. warp_11=`
  344. warp_12=`float2 uv6 = uv1-.1;
  345. warp_13=`
  346. warp_14=`float rota = 3.14/4 * uv.x*2;
  347. warp_15=`
  348. warp_16=`//LIESMICH - diese Formel gibt nur eine Spinne:
  349. warp_17=`rota = lum(tex2D (sampler_noise_hq,uv1/5 + q31))*2;
  350. warp_18=`
  351. warp_19=`sr = sin(rota); cr = cos(rota);
  352. warp_20=`uv6 = mul(uv1,float2x2(cr,sr,-sr,cr));
  353. warp_21=`
  354. warp_22=`float z = 4*length(uv6);
  355. warp_23=`float2 dz = normalize(uv6*z);
  356. warp_24=`float2 rs = 20*tan(z)*dz*dz; //#evtl. nochmal x dz
  357. warp_25=`
  358. warp_26=`
  359. warp_27=`crab = saturate((1-abs(rs.y*rs.x)));
  360. warp_28=`crab *= float3 (1,0,0);
  361. warp_29=`//crab*= (1-crab)*4; //Loch in der Mitte
  362. warp_30=`
  363. warp_31=`float3 blur = GetBlur1(frac(uv));
  364. warp_32=`
  365. warp_33=`ret = crab *(1-2*rad) +
  366. warp_34=`GetPixel(uv)*(1-.1*pow(rad,3))*float3(0,1,1)-.004;
  367. warp_35=`}
  368. comp_1=`float dx,dy, c, s;;
  369. comp_2=`float3 ret1, neu;
  370. comp_3=`float2 rs,rs2,uv1,uv4,dz,uv3, uv2, tmp;
  371. comp_4=`shader_body
  372. comp_5=`{
  373. comp_6=`
  374. comp_7=`float2 hor = float2 (texsize.z,0);
  375. comp_8=`float2 ver = float2 (0,texsize.w);
  376. comp_9=`
  377. comp_10=`dz = 0;
  378. comp_11=`float dist = 1;
  379. comp_12=`float3 inten = 1;
  380. comp_13=`float mask = 0;
  381. comp_14=`ret1 = 0;
  382. comp_15=`int anz = 4;
  383. comp_16=`int n = 0; dx = 0; dy = 0;
  384. comp_17=`tmp = (uv-.5) * aspect.xy;
  385. comp_18=`while (n <= anz) {
  386. comp_19=` dist = 1-frac(.25*n+q29); //evtl sqrt !
  387. comp_20=`uv2 = tmp;
  388. comp_21=`
  389. comp_22=` c = n%2;
  390. comp_23=` s = (n+1)%2;
  391. comp_24=` uv2.x = tmp.x*c - tmp.y*s;
  392. comp_25=` uv2.y = tmp.x*s + tmp.y*c;
  393. comp_26=` uv2*= aspect.yx;
  394. comp_27=` inten.r = sqrt(dist)*(1-dist*dist)*2;
  395. comp_28=` inten.g = 1;
  396. comp_29=` inten.b = 1;
  397. comp_30=`
  398. comp_31=` uv3 = 4*(uv2)*dist + .7* n + .2*q29*c;
  399. comp_32=` neu = GetPixel(uv3);
  400. comp_33=`
  401. comp_34=` dx = lum(GetPixel(uv3+hor)- GetPixel(uv3-hor));
  402. comp_35=` dy = lum(GetPixel(uv3+ver)- GetPixel(uv3-ver));
  403. comp_36=` dz += inten.r*float2 (dx,dy);
  404. comp_37=`
  405. comp_38=` ret1 = max(ret1,neu*inten);
  406. comp_39=`n++;
  407. comp_40=`}
  408. comp_41=`
  409. comp_42=`//******************
  410. comp_43=`
  411. comp_44=`float2 uv1 = (uv-.5)*aspect.xy ;
  412. comp_45=`float rad2 = 6*length(uv1);
  413. comp_46=`float rad1 = 1/(rad2+.1);
  414. comp_47=`
  415. comp_48=`uv2 = float2 (ang/2, rad1);
  416. comp_49=`rs2 = uv2;
  417. comp_50=`uv2.y = uv2.y + q30;
  418. comp_51=`
  419. comp_52=`float3 noise = .5;
  420. comp_53=`float3 dots = noise * rs2.y * float3(.0,.1,.9);
  421. comp_54=`dots = saturate(dots);
  422. comp_55=`
  423. comp_56=`rs2 = cos(uv2*4) + (ret1)*12;
  424. comp_57=`dots += (.5+q22)*(1-rad)*saturate(.05/length(rs2)) ;
  425. comp_58=`
  426. comp_59=`ret = ret1*float3(q26/2,.6,.3) - 2*ret1.r*(1-dots)
  427. comp_60=` + .4*q32*dots * saturate(1-2*ret1.r) ;
  428. comp_61=`
  429. comp_62=`}