1
0

Flexi - strangely dynamic world.milk 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497
  1. MILKDROP_PRESET_VERSION=201
  2. PSVERSION=2
  3. PSVERSION_WARP=2
  4. PSVERSION_COMP=2
  5. [preset00]
  6. fRating=4.000000
  7. fGammaAdj=1.000
  8. fDecay=0.980
  9. fVideoEchoZoom=2.000
  10. fVideoEchoAlpha=0.000
  11. nVideoEchoOrientation=0
  12. nWaveMode=0
  13. bAdditiveWaves=0
  14. bWaveDots=0
  15. bWaveThick=1
  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.004
  26. fWaveScale=0.037
  27. fWaveSmoothing=0.000
  28. fWaveParam=-0.440
  29. fModWaveAlphaStart=1.000
  30. fModWaveAlphaEnd=1.000
  31. fWarpAnimSpeed=0.010
  32. fWarpScale=100.000
  33. fZoomExponent=1.83149
  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.01000
  42. sx=1.00000
  43. sy=1.00000
  44. wave_r=1.000
  45. wave_g=1.000
  46. wave_b=1.000
  47. wave_x=0.500
  48. wave_y=0.040
  49. ob_size=0.020
  50. ob_r=0.000
  51. ob_g=0.000
  52. ob_b=1.000
  53. ob_a=1.000
  54. ib_size=0.030
  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=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=0
  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=0.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.002;
  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 -1*q1;
  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.001;
  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 = 0.4;
  167. wavecode_1_enabled=0
  168. wavecode_1_samples=512
  169. wavecode_1_sep=0
  170. wavecode_1_bSpectrum=0
  171. wavecode_1_bUseDots=0
  172. wavecode_1_bDrawThick=0
  173. wavecode_1_bAdditive=0
  174. wavecode_1_scaling=7.75180
  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=1.000
  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_frame2=
  186. wave_1_per_frame3=t1 = 0.5;
  187. wave_1_per_frame4=t2 = 0.9;
  188. wave_1_per_point1=d = d*0.85 + (value1)*1;
  189. wave_1_per_point2=
  190. wave_1_per_point3=x = 0.5 + d*sample*(1-sample);
  191. wave_1_per_point4=y = 0.9 - sample*0.8;
  192. wavecode_2_enabled=1
  193. wavecode_2_samples=512
  194. wavecode_2_sep=0
  195. wavecode_2_bSpectrum=0
  196. wavecode_2_bUseDots=0
  197. wavecode_2_bDrawThick=1
  198. wavecode_2_bAdditive=1
  199. wavecode_2_scaling=5.92556
  200. wavecode_2_smoothing=0.00000
  201. wavecode_2_r=0.000
  202. wavecode_2_g=1.000
  203. wavecode_2_b=0.000
  204. wavecode_2_a=1.000
  205. wave_2_per_frame1=t1 = q1;
  206. wave_2_per_frame2=t2 = q2;
  207. wave_2_per_frame3=t3 = q3;
  208. wave_2_per_frame4=t4 = q4;
  209. wave_2_per_frame5=t5 = q5;
  210. wave_2_per_frame6=t6 = q6;
  211. wave_2_per_frame7=t7 = q7;
  212. wave_2_per_frame8=t8 = q8;
  213. wave_2_per_point1=sample = 1-sample;
  214. wave_2_per_point2=xxx = xx;
  215. wave_2_per_point3=yyy = yy;
  216. wave_2_per_point4=xx = pow(sample,5)*t1 + 5*pow(sample,4)*(1-sample)*t1 + 10*pow(sample,3)*sqr(1-sample)*t2
  217. wave_2_per_point5=+ 10*sqr(sample)*pow(1-sample,3)*t3 + 5*pow(1-sample,4)*sample*t4 + pow(1-sample,5)*t4;
  218. wave_2_per_point6=
  219. wave_2_per_point7=yy = pow(sample,5)*t5 + 5*pow(sample,4)*(1-sample)*t5 + 10*pow(sample,3)*sqr(1-sample)*t6
  220. wave_2_per_point8=+ 10*sqr(sample)*pow(1-sample,3)*t7 + 5*pow(1-sample,4)*sample*t8 + pow(1-sample,5)*t8;
  221. wave_2_per_point9=
  222. wave_2_per_point10=d = 1/sqrt(sqr(xx-xxx)+sqr(yy-yyy));
  223. wave_2_per_point11=dd = dd*0.95 + (value1);
  224. wave_2_per_point12=ddd = dd*sample*(1-sample)*d;
  225. wave_2_per_point13=
  226. wave_2_per_point14=x = xx + (yy-yyy)*ddd;
  227. wave_2_per_point15=y = yy - (xx-xxx)*ddd;
  228. wave_2_per_point16=
  229. wave_2_per_point17=
  230. wave_2_per_point18=x = 0.5 + (x-0.5)*q9;
  231. wave_2_per_point19=y = 0.5 + (y-0.5)*q10;
  232. wave_2_per_point20=
  233. wavecode_3_enabled=1
  234. wavecode_3_samples=512
  235. wavecode_3_sep=0
  236. wavecode_3_bSpectrum=0
  237. wavecode_3_bUseDots=0
  238. wavecode_3_bDrawThick=1
  239. wavecode_3_bAdditive=1
  240. wavecode_3_scaling=5.92556
  241. wavecode_3_smoothing=0.00000
  242. wavecode_3_r=1.000
  243. wavecode_3_g=0.000
  244. wavecode_3_b=0.000
  245. wavecode_3_a=0.340
  246. wave_3_init1=t2 = 0
  247. wave_3_per_frame1=t1 = q1;
  248. wave_3_per_frame2=t2 = q2;
  249. wave_3_per_frame3=t3 = q3;
  250. wave_3_per_frame4=t4 = q4;
  251. wave_3_per_frame5=t5 = q5;
  252. wave_3_per_frame6=t6 = q6;
  253. wave_3_per_frame7=t7 = q7;
  254. wave_3_per_frame8=t8 = q8;
  255. wave_3_per_point1=sample = 1-sample;
  256. wave_3_per_point2=xxx = xx;
  257. wave_3_per_point3=yyy = yy;
  258. wave_3_per_point4=xx = pow(sample,5)*t1 + 5*pow(sample,4)*(1-sample)*t1 + 10*pow(sample,3)*sqr(1-sample)*t2
  259. wave_3_per_point5=+ 10*sqr(sample)*pow(1-sample,3)*t3 + 5*pow(1-sample,4)*sample*t4 + pow(1-sample,5)*t4;
  260. wave_3_per_point6=
  261. wave_3_per_point7=yy = pow(sample,5)*t5 + 5*pow(sample,4)*(1-sample)*t5 + 10*pow(sample,3)*sqr(1-sample)*t6
  262. wave_3_per_point8=+ 10*sqr(sample)*pow(1-sample,3)*t7 + 5*pow(1-sample,4)*sample*t8 + pow(1-sample,5)*t8;
  263. wave_3_per_point9=
  264. wave_3_per_point10=d = 1/sqrt(sqr(xx-xxx)+sqr(yy-yyy));
  265. wave_3_per_point11=dd = dd*0.95 + (value1);
  266. wave_3_per_point12=ddd = dd*sample*(1-sample)*d;
  267. wave_3_per_point13=ddd = sample*(1-sample)*sin(sample*120)*d*0.1;
  268. wave_3_per_point14=x = xx + (yy-yyy)*ddd;
  269. wave_3_per_point15=y = yy - (xx-xxx)*ddd;
  270. wave_3_per_point16=
  271. wave_3_per_point17=x = 0.5 + (x-0.5)*q9;
  272. wave_3_per_point18=y = 0.5 + (y-0.5)*q10;
  273. wave_3_per_point19=
  274. shapecode_0_enabled=1
  275. shapecode_0_sides=100
  276. shapecode_0_additive=1
  277. shapecode_0_thickOutline=1
  278. shapecode_0_textured=0
  279. shapecode_0_num_inst=1
  280. shapecode_0_x=0.500
  281. shapecode_0_y=0.750
  282. shapecode_0_rad=0.07201
  283. shapecode_0_ang=0.00000
  284. shapecode_0_tex_ang=0.00000
  285. shapecode_0_tex_zoom=0.73458
  286. shapecode_0_r=1.000
  287. shapecode_0_g=0.500
  288. shapecode_0_b=0.000
  289. shapecode_0_a=1.000
  290. shapecode_0_r2=0.000
  291. shapecode_0_g2=0.000
  292. shapecode_0_b2=0.000
  293. shapecode_0_a2=0.000
  294. shapecode_0_border_r=1.000
  295. shapecode_0_border_g=1.000
  296. shapecode_0_border_b=1.000
  297. shapecode_0_border_a=0.000
  298. shape_0_init1=vx = 0
  299. shape_0_per_frame1=x = q4;
  300. shape_0_per_frame2=y = q8;
  301. shapecode_1_enabled=1
  302. shapecode_1_sides=100
  303. shapecode_1_additive=1
  304. shapecode_1_thickOutline=1
  305. shapecode_1_textured=0
  306. shapecode_1_num_inst=1
  307. shapecode_1_x=0.500
  308. shapecode_1_y=0.750
  309. shapecode_1_rad=0.04208
  310. shapecode_1_ang=0.00000
  311. shapecode_1_tex_ang=0.00000
  312. shapecode_1_tex_zoom=0.73458
  313. shapecode_1_r=0.000
  314. shapecode_1_g=1.000
  315. shapecode_1_b=0.000
  316. shapecode_1_a=1.000
  317. shapecode_1_r2=0.000
  318. shapecode_1_g2=0.000
  319. shapecode_1_b2=0.000
  320. shapecode_1_a2=0.000
  321. shapecode_1_border_r=1.000
  322. shapecode_1_border_g=1.000
  323. shapecode_1_border_b=1.000
  324. shapecode_1_border_a=0.000
  325. shape_1_init1=vx = 0
  326. shape_1_per_frame1=x = q3;
  327. shape_1_per_frame2=y = q7;
  328. shapecode_2_enabled=1
  329. shapecode_2_sides=100
  330. shapecode_2_additive=1
  331. shapecode_2_thickOutline=1
  332. shapecode_2_textured=0
  333. shapecode_2_num_inst=1
  334. shapecode_2_x=0.500
  335. shapecode_2_y=0.750
  336. shapecode_2_rad=0.04208
  337. shapecode_2_ang=0.00000
  338. shapecode_2_tex_ang=0.00000
  339. shapecode_2_tex_zoom=0.73458
  340. shapecode_2_r=0.000
  341. shapecode_2_g=1.000
  342. shapecode_2_b=0.000
  343. shapecode_2_a=1.000
  344. shapecode_2_r2=0.000
  345. shapecode_2_g2=0.000
  346. shapecode_2_b2=0.000
  347. shapecode_2_a2=0.000
  348. shapecode_2_border_r=1.000
  349. shapecode_2_border_g=1.000
  350. shapecode_2_border_b=1.000
  351. shapecode_2_border_a=0.000
  352. shape_2_init1=vx = 0
  353. shape_2_per_frame1=x = q2;
  354. shape_2_per_frame2=y = q6;
  355. shapecode_3_enabled=1
  356. shapecode_3_sides=100
  357. shapecode_3_additive=1
  358. shapecode_3_thickOutline=1
  359. shapecode_3_textured=0
  360. shapecode_3_num_inst=1
  361. shapecode_3_x=0.500
  362. shapecode_3_y=0.750
  363. shapecode_3_rad=0.07059
  364. shapecode_3_ang=0.00000
  365. shapecode_3_tex_ang=0.00000
  366. shapecode_3_tex_zoom=0.73458
  367. shapecode_3_r=1.000
  368. shapecode_3_g=0.500
  369. shapecode_3_b=0.000
  370. shapecode_3_a=1.000
  371. shapecode_3_r2=0.000
  372. shapecode_3_g2=0.000
  373. shapecode_3_b2=0.000
  374. shapecode_3_a2=0.000
  375. shapecode_3_border_r=1.000
  376. shapecode_3_border_g=1.000
  377. shapecode_3_border_b=1.000
  378. shapecode_3_border_a=0.000
  379. shape_3_init1=vx = 0
  380. shape_3_per_frame1=x = q1;
  381. shape_3_per_frame2=y = q5;
  382. per_frame_init_1=x1 = 0.9;
  383. per_frame_init_2=y1 = 0.5;
  384. per_frame_init_3=
  385. per_frame_init_4=x2 = 0.5; y2 = 0.5;
  386. per_frame_init_5=x3 = 0.5; y3 = 0.5;
  387. per_frame_init_6=x4 = 0.5; y4 = 0.5;
  388. per_frame_1=xx1 = xx1*0.9 + (bass)*0.01;
  389. per_frame_2=xx2 = xx2*0.9 + (treb)*0.01;
  390. per_frame_3=yy1 = yy1*0.94 + (treb+bass)*0.0075;
  391. per_frame_4=
  392. per_frame_5=x1 = 0.5 + (xx1-xx2)*2;
  393. per_frame_6=y1 = 0.4 + yy1;
  394. per_frame_7=
  395. per_frame_8=x1 = max(0,min(1,x1)); y1 = max(0,min(1,y1));
  396. per_frame_9=
  397. per_frame_10=spring = 10;
  398. per_frame_11=grav = .5;
  399. per_frame_12=resist = 1;
  400. per_frame_13=bounce = 0.75;
  401. per_frame_14=dt = 0.001*(60/fps);
  402. per_frame_15=
  403. per_frame_16=vx2 = vx2*(1-resist*dt) + dt*((x1+x3-2*x2)*spring);
  404. per_frame_17=vy2 = vy2*(1-resist*dt) + dt*((y1+y3-2*y2)*spring-grav);
  405. per_frame_18=vx3 = vx3*(1-resist*dt) + dt*((x2+x4-2*x3)*spring);
  406. per_frame_19=vy3 = vy3*(1-resist*dt) + dt*((y2+y4-2*y3)*spring-grav);
  407. per_frame_20=vx4 = vx4*(1-resist*dt) + dt*((x3-x4)*spring);
  408. per_frame_21=vy4 = vy4*(1-resist*dt) + dt*((y3-y4)*spring-grav);
  409. per_frame_22=
  410. per_frame_23=x2 = x2 + vx2;
  411. per_frame_24=y2 = y2 + vy2;
  412. per_frame_25=x3 = x3 + vx3;
  413. per_frame_26=y3 = y3 + vy3;
  414. per_frame_27=x4 = x4 + vx4;
  415. per_frame_28=y4 = y4 + vy4;
  416. per_frame_29=
  417. per_frame_30=vx2 = if(above(x2,0),vx2,abs(vx2)*bounce);
  418. per_frame_31=vx2 = if(below(x2,1),vx2,-abs(vx2)*bounce);
  419. per_frame_32=vx3 = if(above(x3,0),vx3,abs(vx3)*bounce);
  420. per_frame_33=vx3 = if(below(x3,1),vx3,-abs(vx3)*bounce);
  421. per_frame_34=vx4 = if(above(x4,0),vx4,abs(vx4)*bounce);
  422. per_frame_35=vx4 = if(below(x4,1),vx4,-abs(vx4)*bounce);
  423. per_frame_36=vy2 = if(above(y2,0),vy2,abs(vy2)*bounce);
  424. per_frame_37=vy2 = if(below(y2,1),vy2,-abs(vy2)*bounce);
  425. per_frame_38=vy3 = if(above(y3,0),vy3,abs(vy3)*bounce);
  426. per_frame_39=vy3 = if(below(y3,1),vy3,-abs(vy3)*bounce);
  427. per_frame_40=vy4 = if(above(y4,0),vy4,abs(vy4)*bounce);
  428. per_frame_41=vy4 = if(below(y4,1),vy4,-abs(vy4)*bounce);
  429. per_frame_42=
  430. per_frame_43=
  431. per_frame_44=q1 = x1; q2 = x2; q3 = x3; q4 = x4;
  432. per_frame_45=q5 = y1; q6 = y2; q7 = y3; q8 = y4;
  433. per_frame_46=q9 =1/ aspectX;
  434. per_frame_47=q10 = 1/aspectY;
  435. per_frame_48=
  436. per_frame_49=zoom = 1;
  437. per_frame_50=r = r*0.96 +(x1-0.5);
  438. per_frame_51=rot = (r*0.1);
  439. per_frame_52=
  440. per_frame_53=q12 = atan2(vx4,vy4);
  441. per_frame_54=q11 = sqrt(vx4*vx4 + vy4*vy4);
  442. per_pixel_1=dir = -q12*1 + asin(1)*1;
  443. per_pixel_2=
  444. per_pixel_3=b1 = 0.05; // distance
  445. per_pixel_4=m1 = q11*25;//-0.6 + q5*200; // size
  446. per_pixel_5=t1 = 0.05; // velocity
  447. per_pixel_6=
  448. per_pixel_7=xx = q4;
  449. per_pixel_8=yy = 1-q8;
  450. per_pixel_9=
  451. per_pixel_10=
  452. per_pixel_11=x1 = xx +cos(dir+1.5708)*b1;
  453. per_pixel_12=y1 = yy -sin(dir+1.5708)*b1;
  454. per_pixel_13=
  455. per_pixel_14=x2 = xx -cos(dir+1.5708)*b1;
  456. per_pixel_15=y2 = yy +sin(dir+1.5708)*b1;
  457. per_pixel_16=
  458. per_pixel_17=d1 = sqrt((x1-x)*(x1-x)+(y1-y)*(y1-y))-b1*2;
  459. per_pixel_18=si1 = 1- 1/(1+pow(2,-d1*1000));
  460. per_pixel_19=
  461. per_pixel_20=d2 = sqrt((x2-x)*(x2-x)+(y2-y)*(y2-y))-b1*2;
  462. per_pixel_21=si2 = 1- 1/(1+pow(2,-d2*1000));
  463. per_pixel_22=
  464. per_pixel_23=si3 = -pow(q5,3)*00;
  465. per_pixel_24=
  466. per_pixel_25=dx = (si1*sin(y1-y)*m1*d1 - si2*sin(y2-y)*m1*d2 + si3*cos(dir)*t1)*12;
  467. per_pixel_26=dy = (-si1*sin(x1-x)*m1*d1 + si2*sin(x2-x)*m1*d2 - si3*sin(dir)*t1)*12;
  468. warp_1=`shader_body
  469. warp_2=`{
  470. warp_3=`float2 zoom = 3;
  471. warp_4=`float2 cntr = float2(-0,-0);
  472. warp_5=`float2 c = float2(0,2);
  473. warp_6=`float2 my_uv = (uv-0.5-cntr)*zoom;
  474. warp_7=`float2 u2 = float2(my_uv.x*my_uv.x - my_uv.y*my_uv.y, 2*my_uv.x*my_uv.y);
  475. warp_8=`float2 cu2 = float2(u2.x*c.x - u2.y*c.y, u2.x*c.y + c.x*u2.y);
  476. warp_9=`float denom = 1/((cu2.x+1)*(cu2.x+1)+cu2.y*cu2.y);
  477. warp_10=`my_uv = float2(u2.x*(cu2.x+1)+u2.y*cu2.y,u2.y*(cu2.x+1)-u2.x*cu2.y)*denom;
  478. warp_11=`
  479. warp_12=`
  480. warp_13=`ret.z = tex2D( sampler_fc_main, my_uv - floor(my_uv) ).z - 0.004;
  481. warp_14=`ret.y = GetPixel(0.5 + (uv_orig-0.5)*0.992).y*0.98 - 0.004;
  482. warp_15=`ret.x = GetPixel(0.5 + (uv_orig-0.5)*1.004).x*0.9 - 0.008;
  483. warp_16=`
  484. warp_17=`}
  485. comp_1=`shader_body
  486. comp_2=`{
  487. comp_3=` float2 d = texsize.zw*4;
  488. comp_4=` float3 dx = ( GetBlur1(uv + float2(1,0)*d) - GetBlur1(uv-float2(1,0)*d) );
  489. comp_5=` float3 dy = ( GetBlur1(uv + float2(0,1)*d) - GetBlur1(uv-float2(0,1)*d) );
  490. comp_6=` float2 my_uv = uv + float2(dx.y,dy.y)*0.04;
  491. comp_7=`
  492. comp_8=`float3 base = GetPixel(my_uv) + GetBlur3(my_uv) - GetBlur1(my_uv)*0.8;
  493. comp_9=`ret = lerp(float3(0.2,0,0.2),float3(1,1,0),base.z);
  494. comp_10=`ret *= 1 - GetPixel(uv).y*0.5;
  495. comp_11=`ret += GetPixel(uv).y*float3(0,0.5,1);
  496. comp_12=`ret = lerp(ret, float3(1,1,1), (GetPixel(uv).x + GetBlur1(uv - (my_uv-uv)*6).x )*1 - GetBlur1(uv).y*0.5);
  497. comp_13=`}