1
0

Flexi + Martin - astral projection.milk 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423
  1. MILKDROP_PRESET_VERSION=201
  2. PSVERSION=2
  3. PSVERSION_WARP=2
  4. PSVERSION_COMP=2
  5. [preset00]
  6. fRating=4.000
  7. fGammaAdj=1.000
  8. fDecay=0.900
  9. fVideoEchoZoom=1.000
  10. fVideoEchoAlpha=0.000
  11. nVideoEchoOrientation=0
  12. nWaveMode=0
  13. bAdditiveWaves=0
  14. bWaveDots=0
  15. bWaveThick=0
  16. bModWaveAlphaByVolume=0
  17. bMaximizeWaveColor=0
  18. bTexWrap=0
  19. bDarkenCenter=0
  20. bRedBlueStereo=0
  21. bBrighten=0
  22. bDarken=0
  23. bSolarize=0
  24. bInvert=0
  25. fWaveAlpha=0.001
  26. fWaveScale=5.715
  27. fWaveSmoothing=0.900
  28. fWaveParam=0.000
  29. fModWaveAlphaStart=1.000
  30. fModWaveAlphaEnd=1.000
  31. fWarpAnimSpeed=0.162
  32. fWarpScale=5.582
  33. fZoomExponent=0.32104
  34. fShader=0.000
  35. zoom=0.99010
  36. rot=0.00000
  37. cx=0.500
  38. cy=0.500
  39. dx=0.00000
  40. dy=0.00000
  41. warp=0.11563
  42. sx=1.00000
  43. sy=1.00000
  44. wave_r=0.000
  45. wave_g=0.000
  46. wave_b=0.000
  47. wave_x=0.500
  48. wave_y=0.500
  49. ob_size=0.000
  50. ob_r=0.000
  51. ob_g=0.000
  52. ob_b=0.000
  53. ob_a=0.000
  54. ib_size=0.000
  55. ib_r=0.000
  56. ib_g=0.000
  57. ib_b=0.000
  58. ib_a=1.000
  59. nMotionVectorsX=64.000
  60. nMotionVectorsY=48.000
  61. mv_dx=0.000
  62. mv_dy=0.000
  63. mv_l=0.000
  64. mv_r=1.000
  65. mv_g=1.000
  66. mv_b=0.000
  67. mv_a=0.000
  68. b1n=0.000
  69. b2n=0.000
  70. b3n=0.000
  71. b1x=1.000
  72. b2x=1.000
  73. b3x=1.000
  74. b1ed=0.250
  75. wavecode_0_enabled=1
  76. wavecode_0_samples=512
  77. wavecode_0_sep=0
  78. wavecode_0_bSpectrum=0
  79. wavecode_0_bUseDots=1
  80. wavecode_0_bDrawThick=1
  81. wavecode_0_bAdditive=1
  82. wavecode_0_scaling=2.44415
  83. wavecode_0_smoothing=0.00000
  84. wavecode_0_r=1.000
  85. wavecode_0_g=1.000
  86. wavecode_0_b=1.000
  87. wavecode_0_a=1.000
  88. wave_0_init1=t2 = 0;
  89. wave_0_init2=t3 = 0;
  90. wave_0_init3=t4 = 0;
  91. wave_0_init4=cl = 0;
  92. wave_0_per_frame1=t1 = 0;
  93. wave_0_per_frame2=v = 0.01;
  94. wave_0_per_frame3=j = j + (bass)*0.01;
  95. wave_0_per_frame4=j2 = j2 + (mid_att)*0.01;
  96. wave_0_per_frame5=j3 = j3 + (treb_att)*0.01;
  97. wave_0_per_frame6=t2 = j;
  98. wave_0_per_frame7=t3 = j2;
  99. wave_0_per_frame8=t4 = j3;
  100. wave_0_per_frame9=//t5 = 0;
  101. wave_0_per_frame10=k = k*0.99 + 10*mid/fps;
  102. wave_0_per_frame11=t5 = -k;
  103. wave_0_per_frame12=
  104. wave_0_per_frame13=cl1 = cl1 - 0.0005 - bass*0.003;
  105. wave_0_per_frame14=cl1 = if(above(cl1,1),0,cl1);
  106. wave_0_per_frame15=cl1 = if(below(cl1,0),1,cl1);
  107. wave_0_per_frame16=t8 = cl1;
  108. wave_0_per_frame17=
  109. wave_0_per_frame18=cl2 = cl2 +0.0001 + mid*0.001 - bass*0.0005 -treb*0.0005;
  110. wave_0_per_frame19=cl2 = if(above(cl2,1),0,cl2);
  111. wave_0_per_frame20=cl2 = if(below(cl2,0),1,cl2);
  112. wave_0_per_frame21=t7 = cl2;
  113. wave_0_per_frame22=
  114. wave_0_per_frame23=cl3 = cl3 +0.0001+ treb*0.001 - bass*0.0005 - mid*0.0005;
  115. wave_0_per_frame24=cl3 = if(above(cl3,1),0,cl3);
  116. wave_0_per_frame25=cl3 = if(below(cl3,0),1,cl3);
  117. wave_0_per_frame26=t6 = cl3;
  118. wave_0_per_point1=xx = ((sample*0983624912364)%10000000+100)/10000000;
  119. wave_0_per_point2=yy = ((xx*1896575575)%10000000+100)/10000000;
  120. wave_0_per_point3=zz = ((yy*58652340875)%10000000+100)/10000000;
  121. wave_0_per_point4=
  122. wave_0_per_point5=
  123. wave_0_per_point6=d = sqrt(sqr(xx)+sqr(yy)+sqr(zz));
  124. wave_0_per_point7=
  125. wave_0_per_point8=zz = zz + t8 - if(above(zz+t8,1),1,0) - 0.5;
  126. wave_0_per_point9=xx = xx + t7 - if(above(xx+t7,1),1,0) - 0.5;
  127. wave_0_per_point10=yy = yy + t6 - if(above(yy+t6,1),1,0) - 0.5;
  128. wave_0_per_point11=
  129. wave_0_per_point12=v = 0.001;
  130. wave_0_per_point13=
  131. wave_0_per_point14=w = 1;// (sample*sin(time*0.3)*0.01-1);
  132. wave_0_per_point15=bb = d*d*0.5;
  133. wave_0_per_point16=n= 0.3;
  134. wave_0_per_point17=s1 = sin(sin(t2*w+bb)*n);
  135. wave_0_per_point18=s2 = sin(sin(t3*w+bb)*n);
  136. wave_0_per_point19=s3 = sin(sin(t4*w+bb)*n);
  137. wave_0_per_point20=c1 = cos(sin(t2*w+bb)*n);
  138. wave_0_per_point21=c2 = cos(sin(t3*w+bb)*n);
  139. wave_0_per_point22=c3 = cos(sin(t4*w+bb)*n);
  140. wave_0_per_point23=
  141. wave_0_per_point24=z = (c3*s1*c2 + s3*s2)*xx - (c3*s1*s2-s3*c2)*yy + c3*c1*zz;
  142. wave_0_per_point25=x1 = (c1*c2*xx + c1*s2*yy - s1*zz);
  143. wave_0_per_point26=y1 = ((s3*s1*c2 - c3*s2)*xx + (s3*s1*s2+c3*c2)*yy + s3*c1*zz);
  144. wave_0_per_point27=
  145. wave_0_per_point28=zoom = .5*(1/(z+0.5));
  146. wave_0_per_point29=x = 0.5 + zoom*x1 + sin(time*0.1)*0.;;
  147. wave_0_per_point30=y = 0.5 + zoom*y1 + cos(time*0.16801)*0.;
  148. wave_0_per_point31=
  149. wave_0_per_point32=pi3 = 3.1415*2*0.3333;
  150. wave_0_per_point33=t = z*2+t2*1;
  151. wave_0_per_point34=c=3;
  152. wave_0_per_point35=r = sin(t)*c;
  153. wave_0_per_point36=
  154. wave_0_per_point37=g = sin(t+pi3)*c;
  155. wave_0_per_point38=
  156. wave_0_per_point39=b = sin(t-pi3)*c;
  157. wave_0_per_point40=
  158. wave_0_per_point41=
  159. wave_0_per_point42=r = if(above(r,1),1,r);
  160. wave_0_per_point43=r = if(below(r,0),0,r);
  161. wave_0_per_point44=g = if(above(g,1),1,g);
  162. wave_0_per_point45=g = if(below(g,0),0,g);
  163. wave_0_per_point46=b = if(above(b,1),1,b);
  164. wave_0_per_point47=b = if(below(b,0),0,b);
  165. wave_0_per_point48=
  166. wave_0_per_point49=a = -z+0.7;
  167. wavecode_1_enabled=1
  168. wavecode_1_samples=512
  169. wavecode_1_sep=0
  170. wavecode_1_bSpectrum=0
  171. wavecode_1_bUseDots=0
  172. wavecode_1_bDrawThick=1
  173. wavecode_1_bAdditive=0
  174. wavecode_1_scaling=2.44415
  175. wavecode_1_smoothing=0.00000
  176. wavecode_1_r=1.000
  177. wavecode_1_g=1.000
  178. wavecode_1_b=1.000
  179. wavecode_1_a=0.050
  180. wave_1_init1=t2 = 0;
  181. wave_1_init2=t3 = 0;
  182. wave_1_init3=t4 = 0;
  183. wave_1_init4=cl = 0;
  184. wave_1_per_frame1=t8 = 1;
  185. wave_1_per_point1=t8 = -t8;
  186. wave_1_per_point2=y = sample*0.48;
  187. wave_1_per_point3=x = 0.5 + t8*0.04 - t8*sample*0.02 + (sqr(sample*2-1)-1)*q1*0.5;
  188. wave_1_per_point4=
  189. wave_1_per_point5=pi3 = 3.1415*2*0.3333;
  190. wave_1_per_point6=t = -(q4-q6)*10+sample*asin(1)*4.01;
  191. wave_1_per_point7=c=9;
  192. wave_1_per_point8=r = sin(t)*c;
  193. wave_1_per_point9=
  194. wave_1_per_point10=g = sin(t+pi3)*c;
  195. wave_1_per_point11=
  196. wave_1_per_point12=b = sin(t-pi3)*c;
  197. wave_1_per_point13=
  198. wave_1_per_point14=
  199. wave_1_per_point15=r = if(above(r,1),1,r);
  200. wave_1_per_point16=r = if(below(r,0),0,r);
  201. wave_1_per_point17=g = if(above(g,1),1,g);
  202. wave_1_per_point18=g = if(below(g,0),0,g);
  203. wave_1_per_point19=b = if(above(b,1),1,b);
  204. wave_1_per_point20=b = if(below(b,0),0,b);
  205. wave_1_per_point21=
  206. wavecode_2_enabled=1
  207. wavecode_2_samples=49
  208. wavecode_2_sep=0
  209. wavecode_2_bSpectrum=0
  210. wavecode_2_bUseDots=0
  211. wavecode_2_bDrawThick=0
  212. wavecode_2_bAdditive=0
  213. wavecode_2_scaling=2.44415
  214. wavecode_2_smoothing=0.00000
  215. wavecode_2_r=0.000
  216. wavecode_2_g=0.000
  217. wavecode_2_b=0.000
  218. wavecode_2_a=1.000
  219. wave_2_init1=t2 = 0;
  220. wave_2_init2=t3 = 0;
  221. wave_2_init3=t4 = 0;
  222. wave_2_init4=cl = 0;
  223. wave_2_per_frame1=t8 = 1;
  224. wave_2_per_point1=t8 = -1;
  225. wave_2_per_point2=y = sample*0.48;
  226. wave_2_per_point3=x = 0.5 + t8*0.04 - t8*sample*0.02 + (sqr(sample*2-1)-1)*q1*0.5;
  227. wavecode_3_enabled=1
  228. wavecode_3_samples=49
  229. wavecode_3_sep=0
  230. wavecode_3_bSpectrum=0
  231. wavecode_3_bUseDots=0
  232. wavecode_3_bDrawThick=0
  233. wavecode_3_bAdditive=0
  234. wavecode_3_scaling=2.44415
  235. wavecode_3_smoothing=0.00000
  236. wavecode_3_r=0.000
  237. wavecode_3_g=0.000
  238. wavecode_3_b=0.000
  239. wavecode_3_a=1.000
  240. wave_3_init1=t2 = 0;
  241. wave_3_init2=t3 = 0;
  242. wave_3_init3=t4 = 0;
  243. wave_3_init4=cl = 0;
  244. wave_3_per_frame1=t8 = 1;
  245. wave_3_per_point1=t8 = 1;
  246. wave_3_per_point2=y = sample*0.48;
  247. wave_3_per_point3=x = 0.5 + t8*0.04 - t8*sample*0.02 + (sqr(sample*2-1)-1)*q1*0.5;
  248. shapecode_0_enabled=1
  249. shapecode_0_sides=100
  250. shapecode_0_additive=0
  251. shapecode_0_thickOutline=1
  252. shapecode_0_textured=1
  253. shapecode_0_num_inst=1
  254. shapecode_0_x=0.500
  255. shapecode_0_y=0.500
  256. shapecode_0_rad=0.05343
  257. shapecode_0_ang=0.00000
  258. shapecode_0_tex_ang=0.00000
  259. shapecode_0_tex_zoom=12.77228
  260. shapecode_0_r=1.000
  261. shapecode_0_g=1.000
  262. shapecode_0_b=1.000
  263. shapecode_0_a=0.000
  264. shapecode_0_r2=1.000
  265. shapecode_0_g2=1.000
  266. shapecode_0_b2=1.000
  267. shapecode_0_a2=1.000
  268. shapecode_0_border_r=1.000
  269. shapecode_0_border_g=0.000
  270. shapecode_0_border_b=1.000
  271. shapecode_0_border_a=0.000
  272. shape_0_init1=vx = 0;
  273. shape_0_init2=vy = 0;
  274. shapecode_1_enabled=1
  275. shapecode_1_sides=100
  276. shapecode_1_additive=0
  277. shapecode_1_thickOutline=0
  278. shapecode_1_textured=1
  279. shapecode_1_num_inst=1
  280. shapecode_1_x=0.500
  281. shapecode_1_y=0.750
  282. shapecode_1_rad=0.46753
  283. shapecode_1_ang=0.00000
  284. shapecode_1_tex_ang=0.00000
  285. shapecode_1_tex_zoom=1.00000
  286. shapecode_1_r=1.000
  287. shapecode_1_g=1.000
  288. shapecode_1_b=1.000
  289. shapecode_1_a=1.000
  290. shapecode_1_r2=1.000
  291. shapecode_1_g2=1.000
  292. shapecode_1_b2=1.000
  293. shapecode_1_a2=0.000
  294. shapecode_1_border_r=1.000
  295. shapecode_1_border_g=1.000
  296. shapecode_1_border_b=1.000
  297. shapecode_1_border_a=0.000
  298. shape_1_per_frame1=w = -atan2(0.5,q1)*4+asin(1)*4;
  299. shape_1_per_frame2=ang = w;
  300. shape_1_per_frame3=x = 0.5 +sin(w)*0.19;
  301. shape_1_per_frame4=y = 0.5 +cos(w)*0.26;
  302. shapecode_2_enabled=1
  303. shapecode_2_sides=100
  304. shapecode_2_additive=0
  305. shapecode_2_thickOutline=0
  306. shapecode_2_textured=1
  307. shapecode_2_num_inst=1
  308. shapecode_2_x=0.500
  309. shapecode_2_y=0.750
  310. shapecode_2_rad=0.46753
  311. shapecode_2_ang=0.00000
  312. shapecode_2_tex_ang=0.00000
  313. shapecode_2_tex_zoom=1.00000
  314. shapecode_2_r=1.000
  315. shapecode_2_g=1.000
  316. shapecode_2_b=1.000
  317. shapecode_2_a=1.000
  318. shapecode_2_r2=1.000
  319. shapecode_2_g2=1.000
  320. shapecode_2_b2=1.000
  321. shapecode_2_a2=0.000
  322. shapecode_2_border_r=1.000
  323. shapecode_2_border_g=1.000
  324. shapecode_2_border_b=1.000
  325. shapecode_2_border_a=0.000
  326. shape_2_per_frame1=w = -atan2(0.5,q1)*4+asin(1)*4 + asin(1)*2/3;
  327. shape_2_per_frame2=ang = w;
  328. shape_2_per_frame3=x = 0.5 +sin(w)*0.19;
  329. shape_2_per_frame4=y = 0.5 +cos(w)*0.26;
  330. shapecode_3_enabled=1
  331. shapecode_3_sides=100
  332. shapecode_3_additive=0
  333. shapecode_3_thickOutline=0
  334. shapecode_3_textured=1
  335. shapecode_3_num_inst=1
  336. shapecode_3_x=0.500
  337. shapecode_3_y=0.750
  338. shapecode_3_rad=0.46753
  339. shapecode_3_ang=0.00000
  340. shapecode_3_tex_ang=0.00000
  341. shapecode_3_tex_zoom=1.00000
  342. shapecode_3_r=1.000
  343. shapecode_3_g=1.000
  344. shapecode_3_b=1.000
  345. shapecode_3_a=1.000
  346. shapecode_3_r2=1.000
  347. shapecode_3_g2=1.000
  348. shapecode_3_b2=1.000
  349. shapecode_3_a2=0.000
  350. shapecode_3_border_r=1.000
  351. shapecode_3_border_g=1.000
  352. shapecode_3_border_b=1.000
  353. shapecode_3_border_a=0.000
  354. shape_3_per_frame1=w = -atan2(0.5,q1)*4+asin(1)*4 - asin(1)*2/3;
  355. shape_3_per_frame2=ang = w;
  356. shape_3_per_frame3=x = 0.5 +sin(w)*0.19;
  357. shape_3_per_frame4=y = 0.5 +cos(w)*0.26;
  358. per_frame_init_1=x1 = 0;
  359. per_frame_init_2=y1 = 0;
  360. per_frame_1=zoom = 1.0;
  361. per_frame_2=
  362. per_frame_3=q1 = .1*(bass-treb);
  363. per_frame_4=
  364. per_frame_5=vvb = if(below(vvb,0),0,vvb);
  365. per_frame_6=vvm = if(below(vvm,0),0,vvm);
  366. per_frame_7=vvt = if(below(vvt,0),0,vvt);
  367. per_frame_8=vb = vb*0.85 + (1-vb)*pow(bass,2)*0.001;
  368. per_frame_9=vvb = vvb*0.95 + (1-vvb)*vb*0.2;
  369. per_frame_10=vm = vm*0.85 + (1-vm)*pow(mid,2)*0.01;
  370. per_frame_11=vvm = vvm*0.95 + (1-vvm)*vm*0.2;
  371. per_frame_12=vt = vt*0.85 + (1-vt)*pow(treb,2)*0.001;
  372. per_frame_13=vvt = vvt*0.95 + (1-vvt)*vt*0.2;
  373. per_frame_14=
  374. per_frame_15=q1 = (vvb-vvt)*vvm;//0.5 + vb - vvb;
  375. per_frame_16=q2 = vvm;//0.5 + vm - vvm;
  376. per_frame_17=q3 = vvt;//0.5 + vt - vvt;
  377. per_frame_18=
  378. per_frame_19=v=0.2;
  379. per_frame_20=d = 0;//v*0.2;
  380. per_frame_21=bb = bb + vvb*v - d;
  381. per_frame_22=mm = mm + vvm*v - d;
  382. per_frame_23=tt = tt + vvt*v - d;
  383. per_frame_24=q4 = bb;
  384. per_frame_25=q5 = mm;
  385. per_frame_26=q6 = tt;
  386. per_frame_27=
  387. per_frame_28=
  388. per_frame_29=q4 = if(above(abs(q1),0.02),0.99,1);
  389. per_frame_30=q9 = 0.5 + 0.5*sin(time*0.14);
  390. warp_1=`shader_body
  391. warp_2=`{
  392. warp_3=` ret = tex2D( sampler_fc_main, uv )*q4;
  393. warp_4=`}
  394. comp_1=`shader_body
  395. comp_2=`{
  396. comp_3=`
  397. comp_4=`
  398. comp_5=`// ***** Martin's ripples on water surface code, parameterized by Flexi *****
  399. comp_6=`
  400. comp_7=`float h = q9; // height of the horizon
  401. comp_8=`float cut_off = 0.0; // cut off lower border
  402. comp_9=`float2 t = float2(0.1,-0.05)*time; // velocity
  403. comp_10=`float strength = 0.025;
  404. comp_11=`
  405. comp_12=`
  406. comp_13=`float2 c = uv_orig-float2(0.5,1-h);
  407. comp_14=`float z = 3/c.y;
  408. comp_15=`float2 uv_water = float2(c.x*z*h,z*h)*0.05+t;
  409. comp_16=`int mask = (c.y>0);
  410. comp_17=`uv_water = (tex2D(sampler_noise_hq,uv_water)-0.5)*mask;
  411. comp_18=`float2 uv_mirror = 1.0-abs(frac((c+float2(0.5,1))*0.5)*2-1)+float2(0,-cut_off);
  412. comp_19=`uv_mirror =frac(uv_mirror-uv_water.xy*strength);
  413. comp_20=`
  414. comp_21=`// ***** :)
  415. comp_22=`
  416. comp_23=`uv = uv_mirror;
  417. comp_24=`
  418. comp_25=`ret = tex2D(sampler_main, uv);
  419. comp_26=`ret = pow(ret,2)*1.4 - 0.04;
  420. comp_27=`
  421. comp_28=`
  422. comp_29=`}
  423. comp_30=`