1
0

Flexi + fiShbRaiN - operation fatcap II.milk 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518
  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.955
  9. fVideoEchoZoom=0.997
  10. fVideoEchoAlpha=0.500
  11. nVideoEchoOrientation=0
  12. nWaveMode=7
  13. bAdditiveWaves=1
  14. bWaveDots=0
  15. bWaveThick=0
  16. bModWaveAlphaByVolume=1
  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=1.286
  27. fWaveSmoothing=0.630
  28. fWaveParam=0.000
  29. fModWaveAlphaStart=0.710
  30. fModWaveAlphaEnd=1.300
  31. fWarpAnimSpeed=0.010
  32. fWarpScale=100.000
  33. fZoomExponent=0.92178
  34. fShader=1.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=0.650
  45. wave_g=0.650
  46. wave_b=0.650
  47. wave_x=0.500
  48. wave_y=0.500
  49. ob_size=0.005
  50. ob_r=0.000
  51. ob_g=1.000
  52. ob_b=0.000
  53. ob_a=1.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=1.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=0
  80. wavecode_0_bDrawThick=1
  81. wavecode_0_bAdditive=0
  82. wavecode_0_scaling=1.00000
  83. wavecode_0_smoothing=0.50000
  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_per_point1=ma=ma+(above(bass,1)*3.1415*.01*bass);
  89. wave_0_per_point2=ma=ma-(above(treb,1)*3.1415*.01*treb);
  90. wave_0_per_point3=
  91. wave_0_per_point4=mx=mx+(.0002*cos(ma));
  92. wave_0_per_point5=my=my+(.0002*sin(ma));
  93. wave_0_per_point6=
  94. wave_0_per_point7=mx=if(above(mx,.9),(.9-mx),mx);
  95. wave_0_per_point8=my=if(above(my,.9),(.9-my),my);
  96. wave_0_per_point9=mx=if(below(mx,.1),(.9+mx),mx);
  97. wave_0_per_point10=my=if(below(my,.1),(.9+my),my);
  98. wave_0_per_point11=
  99. wave_0_per_point12=x=mx;
  100. wave_0_per_point13=y=my;
  101. wave_0_per_point14=
  102. wave_0_per_point15=a=(above(bass+mid+treb,.8));
  103. wavecode_1_enabled=0
  104. wavecode_1_samples=512
  105. wavecode_1_sep=0
  106. wavecode_1_bSpectrum=0
  107. wavecode_1_bUseDots=0
  108. wavecode_1_bDrawThick=1
  109. wavecode_1_bAdditive=0
  110. wavecode_1_scaling=1.00000
  111. wavecode_1_smoothing=0.50000
  112. wavecode_1_r=1.000
  113. wavecode_1_g=1.000
  114. wavecode_1_b=1.000
  115. wavecode_1_a=1.000
  116. wave_1_per_point1=ma=ma+(above(bass,1)*3.1415*.05*bass);
  117. wave_1_per_point2=ma=ma-(above(mid,1)*3.1415*.05*mid);
  118. wave_1_per_point3=
  119. wave_1_per_point4=mx=mx+(.0001*cos(ma));
  120. wave_1_per_point5=my=my+(.0001*sin(ma));
  121. wave_1_per_point6=
  122. wave_1_per_point7=mx=if(above(mx,.9),(.9-mx),mx);
  123. wave_1_per_point8=my=if(above(my,.9),(.9-my),my);
  124. wave_1_per_point9=mx=if(below(mx,.1),(.9+mx),mx);
  125. wave_1_per_point10=my=if(below(my,.1),(.9+my),my);
  126. wave_1_per_point11=
  127. wave_1_per_point12=x=mx;
  128. wave_1_per_point13=y=my;
  129. wave_1_per_point14=
  130. wave_1_per_point15=a=(above(bass+mid+treb,.1));
  131. wavecode_2_enabled=0
  132. wavecode_2_samples=512
  133. wavecode_2_sep=0
  134. wavecode_2_bSpectrum=0
  135. wavecode_2_bUseDots=0
  136. wavecode_2_bDrawThick=1
  137. wavecode_2_bAdditive=0
  138. wavecode_2_scaling=1.00000
  139. wavecode_2_smoothing=0.50000
  140. wavecode_2_r=1.000
  141. wavecode_2_g=1.000
  142. wavecode_2_b=1.000
  143. wavecode_2_a=1.000
  144. wave_2_per_point1=ma=ma+(above(mid,1)*3.1415*.01*mid);
  145. wave_2_per_point2=ma=ma-(above(treb,1)*3.1415*.01*treb);
  146. wave_2_per_point3=
  147. wave_2_per_point4=mx=mx+(.0004*cos(ma));
  148. wave_2_per_point5=my=my+(.0004*sin(ma));
  149. wave_2_per_point6=
  150. wave_2_per_point7=mx=if(above(mx,.9),(.9-mx),mx);
  151. wave_2_per_point8=my=if(above(my,.9),(.9-my),my);
  152. wave_2_per_point9=mx=if(below(mx,.1),(.9+mx),mx);
  153. wave_2_per_point10=my=if(below(my,.1),(.9+my),my);
  154. wave_2_per_point11=
  155. wave_2_per_point12=x=mx;
  156. wave_2_per_point13=y=my;
  157. wave_2_per_point14=
  158. wave_2_per_point15=a=(above(bass+mid+treb,.3));
  159. wavecode_3_enabled=0
  160. wavecode_3_samples=512
  161. wavecode_3_sep=0
  162. wavecode_3_bSpectrum=0
  163. wavecode_3_bUseDots=0
  164. wavecode_3_bDrawThick=1
  165. wavecode_3_bAdditive=0
  166. wavecode_3_scaling=1.00000
  167. wavecode_3_smoothing=0.50000
  168. wavecode_3_r=1.000
  169. wavecode_3_g=1.000
  170. wavecode_3_b=1.000
  171. wavecode_3_a=1.000
  172. wave_3_per_point1=ma=ma+(above(bass,.5)*3.1415*.02*bass);
  173. wave_3_per_point2=ma=ma-(above(treb,.5)*3.1415*.02*treb);
  174. wave_3_per_point3=
  175. wave_3_per_point4=mx=mx+(.0008*cos(ma));
  176. wave_3_per_point5=my=my+(.0008*sin(ma));
  177. wave_3_per_point6=
  178. wave_3_per_point7=mx=if(above(mx,.9),(.9-mx),mx);
  179. wave_3_per_point8=my=if(above(my,.9),(.9-my),my);
  180. wave_3_per_point9=mx=if(below(mx,.1),(.9+mx),mx);
  181. wave_3_per_point10=my=if(below(my,.1),(.9+my),my);
  182. wave_3_per_point11=
  183. wave_3_per_point12=x=mx;
  184. wave_3_per_point13=y=my;
  185. wave_3_per_point14=
  186. wave_3_per_point15=a=(above(bass+mid+treb,.2));
  187. shapecode_0_enabled=1
  188. shapecode_0_sides=14
  189. shapecode_0_additive=1
  190. shapecode_0_thickOutline=0
  191. shapecode_0_textured=0
  192. shapecode_0_num_inst=48
  193. shapecode_0_x=0.500
  194. shapecode_0_y=0.500
  195. shapecode_0_rad=0.05237
  196. shapecode_0_ang=0.00000
  197. shapecode_0_tex_ang=0.62832
  198. shapecode_0_tex_zoom=1.00000
  199. shapecode_0_r=1.000
  200. shapecode_0_g=0.000
  201. shapecode_0_b=0.000
  202. shapecode_0_a=1.000
  203. shapecode_0_r2=1.000
  204. shapecode_0_g2=0.000
  205. shapecode_0_b2=0.000
  206. shapecode_0_a2=1.000
  207. shapecode_0_border_r=1.000
  208. shapecode_0_border_g=1.000
  209. shapecode_0_border_b=1.000
  210. shapecode_0_border_a=0.000
  211. shape_0_per_frame1=ma=ma+(above(bass,1)*3.1415*.01*bass);
  212. shape_0_per_frame2=ma=ma-(above(treb,1)*3.1415*.01*treb);
  213. shape_0_per_frame3=
  214. shape_0_per_frame4=mx=mx+(.0002*cos(ma));
  215. shape_0_per_frame5=my=my+(.0002*sin(ma));
  216. shape_0_per_frame6=
  217. shape_0_per_frame7=mx=if(above(mx,.9),(.9-mx),mx);
  218. shape_0_per_frame8=my=if(above(my,.9),(.9-my),my);
  219. shape_0_per_frame9=mx=if(below(mx,.1),(.9+mx),mx);
  220. shape_0_per_frame10=my=if(below(my,.1),(.9+my),my);
  221. shape_0_per_frame11=
  222. shape_0_per_frame12=x=mx;
  223. shape_0_per_frame13=y=my;
  224. shape_0_per_frame14=
  225. shape_0_per_frame15=a=(above(bass+mid+treb,.8));
  226. shapecode_1_enabled=1
  227. shapecode_1_sides=14
  228. shapecode_1_additive=1
  229. shapecode_1_thickOutline=0
  230. shapecode_1_textured=0
  231. shapecode_1_num_inst=48
  232. shapecode_1_x=0.500
  233. shapecode_1_y=0.500
  234. shapecode_1_rad=0.05186
  235. shapecode_1_ang=0.00000
  236. shapecode_1_tex_ang=0.62832
  237. shapecode_1_tex_zoom=1.00000
  238. shapecode_1_r=1.000
  239. shapecode_1_g=0.000
  240. shapecode_1_b=0.000
  241. shapecode_1_a=1.000
  242. shapecode_1_r2=1.000
  243. shapecode_1_g2=0.000
  244. shapecode_1_b2=0.000
  245. shapecode_1_a2=1.000
  246. shapecode_1_border_r=1.000
  247. shapecode_1_border_g=1.000
  248. shapecode_1_border_b=1.000
  249. shapecode_1_border_a=0.000
  250. shape_1_per_frame1=ma=ma+(above(bass,1)*3.1415*.05*bass);
  251. shape_1_per_frame2=ma=ma-(above(mid,1)*3.1415*.05*mid);
  252. shape_1_per_frame3=
  253. shape_1_per_frame4=mx=mx+(.0001*cos(ma));
  254. shape_1_per_frame5=my=my+(.0001*sin(ma));
  255. shape_1_per_frame6=
  256. shape_1_per_frame7=mx=if(above(mx,.9),(.9-mx),mx);
  257. shape_1_per_frame8=my=if(above(my,.9),(.9-my),my);
  258. shape_1_per_frame9=mx=if(below(mx,.1),(.9+mx),mx);
  259. shape_1_per_frame10=my=if(below(my,.1),(.9+my),my);
  260. shape_1_per_frame11=
  261. shape_1_per_frame12=x=mx;
  262. shape_1_per_frame13=y=my;
  263. shape_1_per_frame14=
  264. shape_1_per_frame15=a=(above(bass+mid+treb,.1));
  265. shapecode_2_enabled=1
  266. shapecode_2_sides=12
  267. shapecode_2_additive=1
  268. shapecode_2_thickOutline=0
  269. shapecode_2_textured=0
  270. shapecode_2_num_inst=512
  271. shapecode_2_x=0.500
  272. shapecode_2_y=0.550
  273. shapecode_2_rad=0.09105
  274. shapecode_2_ang=0.00000
  275. shapecode_2_tex_ang=0.00000
  276. shapecode_2_tex_zoom=0.78740
  277. shapecode_2_r=0.000
  278. shapecode_2_g=0.060
  279. shapecode_2_b=1.000
  280. shapecode_2_a=1.000
  281. shapecode_2_r2=0.000
  282. shapecode_2_g2=0.000
  283. shapecode_2_b2=0.000
  284. shapecode_2_a2=0.000
  285. shapecode_2_border_r=1.000
  286. shapecode_2_border_g=1.000
  287. shapecode_2_border_b=1.000
  288. shapecode_2_border_a=0.000
  289. shape_2_init1=started = 0;
  290. shape_2_init2=t1 = 0.412; //seeds for pseudo random generator
  291. shape_2_init3=t2 = 0.4563;
  292. shape_2_init4=t3 = 0.6452;
  293. shape_2_init5=t4 = 0.2565;
  294. shape_2_per_frame1=bb = bb + bass*bass*0.85*equal(instance,0);
  295. shape_2_per_frame2=mm = mm + mid*mid*0.85*equal(instance,0);
  296. shape_2_per_frame3=tt = tt + treb*treb*0.85*equal(instance,0);
  297. shape_2_per_frame4=
  298. shape_2_per_frame5=q3 = bb*0.012;
  299. shape_2_per_frame6=q4 = mm*0.012;
  300. shape_2_per_frame7=q5 = tt*0.012;
  301. shape_2_per_frame8=
  302. shape_2_per_frame9=rnd1 = if(equal(instance,0),t1,rnd1);
  303. shape_2_per_frame10=rnd2 = if(equal(instance,0),t2,rnd2);
  304. shape_2_per_frame11=rnd3 = if(equal(instance,0),t3,rnd3);
  305. shape_2_per_frame12=rnd4 = if(equal(instance,0),t4,rnd4);
  306. shape_2_per_frame13=rnd1 = 4*rnd1*(1-rnd1);
  307. shape_2_per_frame14=rnd2 = 4*rnd2*(1-rnd2);
  308. shape_2_per_frame15=rnd3 = 4*rnd3*(1-rnd3);
  309. shape_2_per_frame16=rnd4 = 4*rnd4*(1-rnd4);
  310. shape_2_per_frame17=t = .6;
  311. shape_2_per_frame18=t = (rnd1+time*t) - int(rnd1+time*t);
  312. shape_2_per_frame19=t = t + rnd2*0.1;
  313. shape_2_per_frame20=wh = rnd4*asin(1)*4;
  314. shape_2_per_frame21=wv = 0.25 + rnd3*0.1;
  315. shape_2_per_frame22=
  316. shape_2_per_frame23=d = 1.4; // makes the perspective impact
  317. shape_2_per_frame24=zoom = 1;
  318. shape_2_per_frame25=l = 1;
  319. shape_2_per_frame26=
  320. shape_2_per_frame27=// Kardan angles
  321. shape_2_per_frame28=
  322. shape_2_per_frame29=w1 = q3; // first rotation: clockwise in the desktop pane
  323. shape_2_per_frame30=w2 = q4; // rotation around vertical axis
  324. shape_2_per_frame31=w3 = q5; // rotation around horizontal axis
  325. shape_2_per_frame32=
  326. shape_2_per_frame33=
  327. shape_2_per_frame34=// definition of the 3D shape
  328. shape_2_per_frame35=
  329. shape_2_per_frame36=i = instance;
  330. shape_2_per_frame37=
  331. shape_2_per_frame38=my_x = t *(cos(wh)*sin(wv)*l);
  332. shape_2_per_frame39=my_y = (-0.5 +(t-0.75)*(t-0.75))*cos(wv)*l;
  333. shape_2_per_frame40=my_z = t*(sin(wh)*sin(wv)*l);
  334. shape_2_per_frame41=
  335. shape_2_per_frame42=
  336. shape_2_per_frame43=// 3D rotations
  337. shape_2_per_frame44=
  338. shape_2_per_frame45=x1 = cos(w1)*my_x + sin(w1)*my_y;
  339. shape_2_per_frame46=y1 = -sin(w1)*my_x + cos(w1)*my_y;
  340. shape_2_per_frame47=z1 = my_z;
  341. shape_2_per_frame48=
  342. shape_2_per_frame49=x2 = cos(w2)*x1 + sin(w2)*z1;
  343. shape_2_per_frame50=z2 = -sin(w2)*x1 + cos(w2)*z1;
  344. shape_2_per_frame51=y2 = y1;
  345. shape_2_per_frame52=
  346. shape_2_per_frame53=y3 = cos(w3)*y2 + sin(w3)*z2;
  347. shape_2_per_frame54=z3 = -sin(w3)*y2 + cos(w3)*z2;
  348. shape_2_per_frame55=x3 = x2;
  349. shape_2_per_frame56=
  350. shape_2_per_frame57=// perspective calculation
  351. shape_2_per_frame58=
  352. shape_2_per_frame59=p = tan(asin(1) + atan2(d+z3,sqrt(x3*x3 + y3*y3)));
  353. shape_2_per_frame60=d = sqrt(x3*x3 + y3*y3 + (z3+d)*(z3+d));
  354. shape_2_per_frame61=
  355. shape_2_per_frame62=rad = rad/d;
  356. shape_2_per_frame63=my_x = zoom*sin(atan2(x3,y3))*p;
  357. shape_2_per_frame64=my_y = zoom*cos(atan2(x3,y3))*p;
  358. shape_2_per_frame65=
  359. shape_2_per_frame66=x = 0.5 + my_x;
  360. shape_2_per_frame67=y = 0.5 + my_y;
  361. shape_2_per_frame68=
  362. shape_2_per_frame69=x = 0.5 + (x-0.5)/q2;
  363. shape_2_per_frame70=y = 0.5 + (y-0.5)/q1;
  364. shapecode_3_enabled=1
  365. shapecode_3_sides=14
  366. shapecode_3_additive=1
  367. shapecode_3_thickOutline=0
  368. shapecode_3_textured=0
  369. shapecode_3_num_inst=222
  370. shapecode_3_x=0.500
  371. shapecode_3_y=0.500
  372. shapecode_3_rad=0.05186
  373. shapecode_3_ang=0.00000
  374. shapecode_3_tex_ang=0.62832
  375. shapecode_3_tex_zoom=1.00000
  376. shapecode_3_r=1.000
  377. shapecode_3_g=0.000
  378. shapecode_3_b=0.000
  379. shapecode_3_a=1.000
  380. shapecode_3_r2=1.000
  381. shapecode_3_g2=0.000
  382. shapecode_3_b2=0.000
  383. shapecode_3_a2=1.000
  384. shapecode_3_border_r=1.000
  385. shapecode_3_border_g=1.000
  386. shapecode_3_border_b=1.000
  387. shapecode_3_border_a=0.000
  388. shape_3_per_frame1=ma=ma+(above(bass,.5)*3.1415*.02*bass);
  389. shape_3_per_frame2=ma=ma-(above(treb,.5)*3.1415*.02*treb);
  390. shape_3_per_frame3=
  391. shape_3_per_frame4=mx=mx+(.0008*cos(ma));
  392. shape_3_per_frame5=my=my+(.0008*sin(ma));
  393. shape_3_per_frame6=
  394. shape_3_per_frame7=mx=if(above(mx,.9),(.9-mx),mx);
  395. shape_3_per_frame8=my=if(above(my,.9),(.9-my),my);
  396. shape_3_per_frame9=mx=if(below(mx,.1),(.9+mx),mx);
  397. shape_3_per_frame10=my=if(below(my,.1),(.9+my),my);
  398. shape_3_per_frame11=
  399. shape_3_per_frame12=x=mx;
  400. shape_3_per_frame13=y=my;
  401. shape_3_per_frame14=
  402. shape_3_per_frame15=a=(above(bass+mid+treb,.2));
  403. per_frame_init_1=x1 = 0.9;
  404. per_frame_init_2=y1 = 0.5;
  405. per_frame_init_3=
  406. per_frame_init_4=x2 = 0.5; y2 = 0.5;
  407. per_frame_init_5=x3 = 0.5; y3 = 0.5;
  408. per_frame_init_6=x4 = 0.5; y4 = 0.5;
  409. per_frame_1=xx1 = xx1*0.9 + (bass)*0.01;
  410. per_frame_2=xx2 = xx2*0.9 + (treb)*0.01;
  411. per_frame_3=yy1 = yy1*0.94 + (treb+bass)*0.0075;
  412. per_frame_4=
  413. per_frame_5=x1 = 0.5 + (xx1-xx2)*2;
  414. per_frame_6=y1 = 0.4 + yy1;
  415. per_frame_7=
  416. per_frame_8=x1 = max(0,min(1,x1)); y1 = max(0,min(1,y1));
  417. per_frame_9=
  418. per_frame_10=spring = 10;
  419. per_frame_11=grav = .5;
  420. per_frame_12=resist = 1;
  421. per_frame_13=bounce = 0.75;
  422. per_frame_14=dt = 0.0008*(60/fps);
  423. per_frame_15=
  424. per_frame_16=vx2 = vx2*(1-resist*dt) + dt*((x1+x3-2*x2)*spring);
  425. per_frame_17=vy2 = vy2*(1-resist*dt) + dt*((y1+y3-2*y2)*spring-grav);
  426. per_frame_18=vx3 = vx3*(1-resist*dt) + dt*((x2+x4-2*x3)*spring);
  427. per_frame_19=vy3 = vy3*(1-resist*dt) + dt*((y2+y4-2*y3)*spring-grav);
  428. per_frame_20=vx4 = vx4*(1-resist*dt) + dt*((x3-x4)*spring);
  429. per_frame_21=vy4 = vy4*(1-resist*dt) + dt*((y3-y4)*spring-grav);
  430. per_frame_22=
  431. per_frame_23=x2 = x2 + vx2;
  432. per_frame_24=y2 = y2 + vy2;
  433. per_frame_25=x3 = x3 + vx3;
  434. per_frame_26=y3 = y3 + vy3;
  435. per_frame_27=x4 = x4 + vx4;
  436. per_frame_28=y4 = y4 + vy4;
  437. per_frame_29=
  438. per_frame_30=vx2 = if(above(x2,0),vx2,abs(vx2)*bounce);
  439. per_frame_31=vx2 = if(below(x2,1),vx2,-abs(vx2)*bounce);
  440. per_frame_32=vx3 = if(above(x3,0),vx3,abs(vx3)*bounce);
  441. per_frame_33=vx3 = if(below(x3,1),vx3,-abs(vx3)*bounce);
  442. per_frame_34=vx4 = if(above(x4,0),vx4,abs(vx4)*bounce);
  443. per_frame_35=vx4 = if(below(x4,1),vx4,-abs(vx4)*bounce);
  444. per_frame_36=vy2 = if(above(y2,0),vy2,abs(vy2)*bounce);
  445. per_frame_37=vy2 = if(below(y2,1),vy2,-abs(vy2)*bounce);
  446. per_frame_38=vy3 = if(above(y3,0),vy3,abs(vy3)*bounce);
  447. per_frame_39=vy3 = if(below(y3,1),vy3,-abs(vy3)*bounce);
  448. per_frame_40=vy4 = if(above(y4,0),vy4,abs(vy4)*bounce);
  449. per_frame_41=vy4 = if(below(y4,1),vy4,-abs(vy4)*bounce);
  450. per_frame_42=q4 = x4;
  451. per_frame_43=q8 = y4;
  452. per_frame_44=
  453. per_frame_45=q1 = aspectx;
  454. per_frame_46=q2 = aspecty;
  455. per_frame_47=q10 = x1;
  456. per_frame_48=q11 = y1;
  457. per_frame_49=zoom = 1;
  458. per_frame_50=warp = 0;
  459. per_frame_51=q6 = atan2(vx4,vy4);
  460. per_frame_52=q5 = sqrt(vx4*vx4 + vy4*vy4);
  461. per_frame_53=
  462. per_frame_54=a = a*0.95 + q5;
  463. per_frame_55=
  464. per_frame_56=s = s*0.9 + a;
  465. per_frame_57=q3 = s*0.1;
  466. per_frame_58=monitor = s;
  467. per_frame_59=
  468. per_frame_60=wave_a = 0;
  469. per_pixel_1=x = 0.5 + (x-0.5)*q1;
  470. per_pixel_2=y = 0.5 + (y-0.5)*q2;
  471. per_pixel_3=xx = q4;
  472. per_pixel_4=yy = 1-q8;
  473. per_pixel_5=
  474. per_pixel_6=dx = 0; dy = 0;
  475. per_pixel_7=
  476. per_pixel_8=d = sqrt((x-xx)*(x-xx)+(y-yy)*(y-yy));
  477. per_pixel_9=
  478. per_pixel_10=r = 0.11;
  479. per_pixel_11=v = 20;
  480. per_pixel_12=v2 = q5;
  481. per_pixel_13=dx = (v*(sin(y-yy)*(d-r)-(x-xx)*(d-r/2)) + cos(dir)*v2)*(1.00-sigmoid(d-r,100));
  482. per_pixel_14=dy = (-v*(sin(x-xx)*(d-r)+(y-yy)*(d-r/2)) -sin(dir)*v2)*(1.00-sigmoid(d-r,100));
  483. warp_1=`shader_body
  484. warp_2=`{
  485. warp_3=` float2 d = texsize.zw * 4;
  486. warp_4=` float3 dx = ( GetBlur1(uv + float2(1,0)*d) - GetBlur1(uv-float2(1,0)*d) );
  487. warp_5=` float3 dy = ( GetBlur1(uv + float2(0,1)*d) - GetBlur1(uv-float2(0,1)*d) );
  488. warp_6=` float2 dither_uv = uv_orig*texsize.xy*texsize_noise_lq.zw * 1 + rand_frame.xy;
  489. warp_7=` float2 uv_bg = lerp(uv_orig,uv,1) + float2(dx.x,dy.x)*texsize.zw*4;
  490. warp_8=` ret.x = GetPixel(uv_bg).x - (GetPixel(uv_bg).x - GetBlur3(uv_bg).x)*0.02 - 0.008
  491. warp_9=` +(tex2D(sampler_noise_lq, dither_uv).xyz-0.5) *0.1;
  492. warp_10=`
  493. warp_11=`// there 2 channels unused, see? - hav fun :P
  494. warp_12=`
  495. warp_13=` ret.y = tex2D(sampler_fc_main, uv).y - ret.x*0.04;
  496. warp_14=`
  497. warp_15=`}
  498. comp_1=`float2 uv_x, uv_y, uv_z, uv_echo;
  499. comp_2=`shader_body
  500. comp_3=`{
  501. comp_4=`uv = 0.5 + (uv-0.5)*0.86;
  502. comp_5=` float2 d = -texsize.zw*4;
  503. comp_6=` float3 dx = ( GetBlur1(uv + float2(1,0)*d) - GetBlur1(uv-float2(1,0)*d) );
  504. comp_7=` float3 dy = ( GetBlur1(uv + float2(0,1)*d) - GetBlur1(uv-float2(0,1)*d) );
  505. comp_8=`
  506. comp_9=`
  507. comp_10=` float2 uv_light1 = (float2(q4,q8)*float2(1,-1) + float2(0,1));
  508. comp_11=` float1 light1_dy = pow(length( uv + float2(dx.y,dy.y)*4 - uv_light1),2);
  509. comp_12=` float1 light1_dx = pow(length( uv + float2(dx.x,dy.x)*4 - uv_light1),2);
  510. comp_13=` float1 light1_dz = pow(length( uv + float2(dx.z,dy.z)*4 - uv_light1),2);
  511. comp_14=`
  512. comp_15=`
  513. comp_16=`
  514. comp_17=`ret = (1-pow(1.1-pow(float3(light1_dx,light1_dy,light1_dz)*2,0.3),2))*GetPixel(uv);
  515. comp_18=`
  516. comp_19=`ret.zyx = ret;
  517. comp_20=`ret.yz -= ret.xx*0.5;
  518. comp_21=`}