1
0

shifter - tumbling cubes (endless) radial blur.milk 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449
  1. MILKDROP_PRESET_VERSION=201
  2. PSVERSION=2
  3. PSVERSION_WARP=2
  4. PSVERSION_COMP=0
  5. [preset00]
  6. fRating=4.000000
  7. fGammaAdj=1.0
  8. fDecay=0.9
  9. fVideoEchoZoom=0.999607
  10. fVideoEchoAlpha=0.0
  11. nVideoEchoOrientation=1
  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=1
  22. bDarken=0
  23. bSolarize=0
  24. bInvert=0
  25. fWaveAlpha=4.099998
  26. fWaveScale=1.285751
  27. fWaveSmoothing=0.630000
  28. fWaveParam=0.0
  29. fModWaveAlphaStart=0.710000
  30. fModWaveAlphaEnd=1.3
  31. fWarpAnimSpeed=1.0
  32. fWarpScale=1.331000
  33. fZoomExponent=0.999836
  34. fShader=0.0
  35. zoom=0.999511
  36. rot=0.0
  37. cx=0.5
  38. cy=0.5
  39. dx=0.0
  40. dy=0.0
  41. warp=0.010000
  42. sx=1.0
  43. sy=1.0
  44. wave_r=0.650000
  45. wave_g=0.650000
  46. wave_b=0.650000
  47. wave_x=0.5
  48. wave_y=0.5
  49. ob_size=0.005000
  50. ob_r=0.0
  51. ob_g=0.0
  52. ob_b=0.0
  53. ob_a=1.0
  54. ib_size=0.260000
  55. ib_r=0.25
  56. ib_g=0.25
  57. ib_b=0.25
  58. ib_a=0.0
  59. nMotionVectorsX=12.0
  60. nMotionVectorsY=9.0
  61. mv_dx=0.0
  62. mv_dy=0.0
  63. mv_l=0.9
  64. mv_r=1.0
  65. mv_g=1.0
  66. mv_b=1.0
  67. mv_a=0.0
  68. b1n=0.0
  69. b2n=0.0
  70. b3n=0.0
  71. b1x=1.0
  72. b2x=1.0
  73. b3x=1.0
  74. b1ed=0.25
  75. wavecode_0_enabled=1
  76. wavecode_0_samples=512
  77. wavecode_0_sep=0
  78. wavecode_0_bSpectrum=1
  79. wavecode_0_bUseDots=0
  80. wavecode_0_bDrawThick=1
  81. wavecode_0_bAdditive=0
  82. wavecode_0_scaling=1.0
  83. wavecode_0_smoothing=0.5
  84. wavecode_0_r=1.0
  85. wavecode_0_g=1.0
  86. wavecode_0_b=1.0
  87. wavecode_0_a=1.0
  88. wave_0_per_frame1=ps = if(above(time-tin,tr),1,0);
  89. wave_0_per_frame2=tin = if(ps,time,tin);
  90. wave_0_per_frame3=
  91. wave_0_per_frame4=sz = 3.5;
  92. wave_0_per_frame5=
  93. wave_0_per_frame6=xr = if(ps,rand(sz*10*2 + 1)*.1 - sz,xr);
  94. wave_0_per_frame7=yr = if(ps,rand(sz*10*2*.75 + 1)*.1 - sz*.75,yr);
  95. wave_0_per_frame8=tr = if(ps,rand(11)*.1*.1,tr);
  96. wave_0_per_frame9=
  97. wave_0_per_frame10=sr = if(ps,(rand(8)+3)*.1*.6,sr);
  98. wave_0_per_frame11=
  99. wave_0_per_frame12=bob = if(ps,rand(q5)*100,bob);
  100. wave_0_per_frame13=
  101. wave_0_per_frame14=t1 = xr + bob;
  102. wave_0_per_frame15=t2 = yr + bob;
  103. wave_0_per_frame16=t3 = sr;
  104. wave_0_per_point1=sp = sample*6.28*8*8*4;
  105. wave_0_per_point2=it = it+1;
  106. wave_0_per_point3=it = it*above(sample,0);
  107. wave_0_per_point4=sz = t3;
  108. wave_0_per_point5=ss = sample*6;
  109. wave_0_per_point6=ox = sz*.5*pow(-1,it)*below(ss,1) + .5*pow(-1,it)*above(ss,1)*sz*below(ss,2) + above(ss,2)*.5*pow(-1,it)*sz*below(ss,3);
  110. wave_0_per_point7=oy = (ss-.5)*sz*below(ss,1) + sz*.5*above(ss,1)*below(ss,2) + (.5-(ss-2))*sz*above(ss,2)*below(ss,3);
  111. wave_0_per_point8=oz = -sz*.5*below(ss,1) + ((ss-1)-.5)*sz*above(ss,1)*below(ss,2) + sz*.5*above(ss,2)*below(ss,3);
  112. wave_0_per_point9=ox = ox + above(ss,3)*below(ss,4)*-.5*sz + above(ss,4)*below(ss,5)*sz*(-.5+(ss-4)) + above(ss,5)*sz*.5;
  113. wave_0_per_point10=oy = oy + above(ss,3)*below(ss,4)*.5*sz*pow(-1,it) + above(ss,4)*below(ss,5)*sz*-.5 + above(ss,5)*sz*(-.5+(ss-5));
  114. wave_0_per_point11=oz = oz + above(ss,3)*below(ss,4)*sz*(.5-(ss-3)) + above(ss,4)*below(ss,5)*sz*.5*pow(-1,it) + above(ss,5)*sz*.5*pow(-1,it);
  115. wave_0_per_point12=
  116. wave_0_per_point13=fov = .3;
  117. wave_0_per_point14=
  118. wave_0_per_point15=a = .05;
  119. wave_0_per_point16=mod = (oz+1)*.5;
  120. wave_0_per_point17=a = a*max(min(mod,1),0);
  121. wave_0_per_point18=oz = oz - 2;
  122. wave_0_per_point19=
  123. wave_0_per_point20=ox = ox + t1;
  124. wave_0_per_point21=oy = oy + t2;
  125. wave_0_per_point22=
  126. wave_0_per_point23=x = ox*fov/oz + 0.5;
  127. wave_0_per_point24=x = (x-.5)*0.75 + 0.5;
  128. wave_0_per_point25=y = oy*fov/oz + 0.5;
  129. wave_0_per_point26=
  130. wave_0_per_point27=r = 1;
  131. wave_0_per_point28=g = .25+.25*sin(sp);
  132. wave_0_per_point29=b = 0;
  133. wave_0_per_point30=
  134. wave_0_per_point31=minrgb = min(r,min(g,b));
  135. wave_0_per_point32=maxrgb = max(r,max(g,b));
  136. wave_0_per_point33=l = (maxrgb-minrgb)*.5;
  137. wave_0_per_point34=diff = maxrgb-minrgb;
  138. wave_0_per_point35=sum = maxrgb+minrgb;
  139. wave_0_per_point36=s = if(above(l,0.5),diff/(2-sum),diff/sum)*(1-equal(l,0));
  140. wave_0_per_point37=h = if(equal(r,maxrgb),(g-b)/diff,if(equal(g,maxrgb),2+(b-r)/diff,4+(r-g)/diff));
  141. wave_0_per_point38=h = h*0.1666666;
  142. wave_0_per_point39=h = if(below(h,0),0,if(above(h,1),1,h));
  143. wave_0_per_point40=
  144. wave_0_per_point41=h = h + time*0.05*1.324;
  145. wave_0_per_point42=h = h - int(h);
  146. wave_0_per_point43=
  147. wave_0_per_point44=tmpb = if(below(l,0.5),l*(1+s),(l+s)-(s*l));
  148. wave_0_per_point45=tmpa = 2*l - tmpb;
  149. wave_0_per_point46=hvr = h + .333333;
  150. wave_0_per_point47=hvr = if(below(hvr,0),hvr+1,if(above(hvr,1),hvr-1,hvr));
  151. wave_0_per_point48=hvg = h;
  152. wave_0_per_point49=hvg = if(below(hvg,0),hvg+1,if(above(hvg,1),hvg-1,hvg));
  153. wave_0_per_point50=hvb = h - .333333;
  154. wave_0_per_point51=hvb = if(below(hvb,0),hvb+1,if(above(hvb,1),hvb-1,hvb));
  155. wave_0_per_point52=
  156. wave_0_per_point53=r = if(below(6*hvr,1),tmpa+(tmpb-tmpa)*6*hvr, if(below(2*hvr,1),tmpb, if(below(hvr*3,2),tmpa+(tmpb-tmpa)*(.666666-hvr)*6,tmpa)));
  157. wave_0_per_point54=g = if(below(6*hvg,1),tmpa+(tmpb-tmpa)*6*hvg, if(below(2*hvg,1),tmpb, if(below(hvg*3,2),tmpa+(tmpb-tmpa)*(.666666-hvg)*6,tmpa)));
  158. wave_0_per_point55=b = if(below(6*hvb,1),tmpa+(tmpb-tmpa)*6*hvb, if(below(2*hvb,1),tmpb, if(below(hvb*3,2),tmpa+(tmpb-tmpa)*(.666666-hvb)*6,tmpa)));
  159. wavecode_1_enabled=1
  160. wavecode_1_samples=512
  161. wavecode_1_sep=0
  162. wavecode_1_bSpectrum=1
  163. wavecode_1_bUseDots=0
  164. wavecode_1_bDrawThick=1
  165. wavecode_1_bAdditive=0
  166. wavecode_1_scaling=1.0
  167. wavecode_1_smoothing=0.5
  168. wavecode_1_r=1.0
  169. wavecode_1_g=1.0
  170. wavecode_1_b=1.0
  171. wavecode_1_a=1.0
  172. wave_1_per_frame1=ps = if(above(time-tin,tr),1,0);
  173. wave_1_per_frame2=tin = if(ps,time,tin);
  174. wave_1_per_frame3=
  175. wave_1_per_frame4=sz = 3.5;
  176. wave_1_per_frame5=
  177. wave_1_per_frame6=xr = if(ps,rand(sz*10*2 + 1)*.1 - sz,xr);
  178. wave_1_per_frame7=yr = if(ps,rand(sz*10*2*.75 + 1)*.1 - sz*.75,yr);
  179. wave_1_per_frame8=tr = if(ps,rand(11)*.1*.1,tr);
  180. wave_1_per_frame9=
  181. wave_1_per_frame10=sr = if(ps,(rand(8)+3)*.1*.6,sr);
  182. wave_1_per_frame11=
  183. wave_1_per_frame12=bob = if(ps,rand(q5)*100,bob);
  184. wave_1_per_frame13=
  185. wave_1_per_frame14=t1 = xr + bob;
  186. wave_1_per_frame15=t2 = yr + bob;
  187. wave_1_per_frame16=t3 = sr;
  188. wave_1_per_point1=sp = sample*6.28*8*8*4;
  189. wave_1_per_point2=it = it+1;
  190. wave_1_per_point3=it = it*above(sample,0);
  191. wave_1_per_point4=sz = t3;
  192. wave_1_per_point5=ss = sample*6;
  193. wave_1_per_point6=ox = sz*.5*pow(-1,it)*below(ss,1) + .5*pow(-1,it)*above(ss,1)*sz*below(ss,2) + above(ss,2)*.5*pow(-1,it)*sz*below(ss,3);
  194. wave_1_per_point7=oy = (ss-.5)*sz*below(ss,1) + sz*.5*above(ss,1)*below(ss,2) + (.5-(ss-2))*sz*above(ss,2)*below(ss,3);
  195. wave_1_per_point8=oz = -sz*.5*below(ss,1) + ((ss-1)-.5)*sz*above(ss,1)*below(ss,2) + sz*.5*above(ss,2)*below(ss,3);
  196. wave_1_per_point9=ox = ox + above(ss,3)*below(ss,4)*-.5*sz + above(ss,4)*below(ss,5)*sz*(-.5+(ss-4)) + above(ss,5)*sz*.5;
  197. wave_1_per_point10=oy = oy + above(ss,3)*below(ss,4)*.5*sz*pow(-1,it) + above(ss,4)*below(ss,5)*sz*-.5 + above(ss,5)*sz*(-.5+(ss-5));
  198. wave_1_per_point11=oz = oz + above(ss,3)*below(ss,4)*sz*(.5-(ss-3)) + above(ss,4)*below(ss,5)*sz*.5*pow(-1,it) + above(ss,5)*sz*.5*pow(-1,it);
  199. wave_1_per_point12=
  200. wave_1_per_point13=fov = .3;
  201. wave_1_per_point14=
  202. wave_1_per_point15=a = .05;
  203. wave_1_per_point16=mod = (oz+1)*.5;
  204. wave_1_per_point17=a = a*max(min(mod,1),0);
  205. wave_1_per_point18=oz = oz - 2;
  206. wave_1_per_point19=
  207. wave_1_per_point20=ox = ox + t1;
  208. wave_1_per_point21=oy = oy + t2;
  209. wave_1_per_point22=
  210. wave_1_per_point23=x = ox*fov/oz + 0.5;
  211. wave_1_per_point24=x = (x-.5)*0.75 + 0.5;
  212. wave_1_per_point25=y = oy*fov/oz + 0.5;
  213. wave_1_per_point26=
  214. wave_1_per_point27=r = 1+sin(sp);
  215. wave_1_per_point28=g = 0.5 + 0.5*sin(sample*1.57);
  216. wave_1_per_point29=b = 0.5 + 0.5*cos(sample*1.57);
  217. wavecode_2_enabled=1
  218. wavecode_2_samples=512
  219. wavecode_2_sep=0
  220. wavecode_2_bSpectrum=1
  221. wavecode_2_bUseDots=0
  222. wavecode_2_bDrawThick=1
  223. wavecode_2_bAdditive=0
  224. wavecode_2_scaling=1.0
  225. wavecode_2_smoothing=0.5
  226. wavecode_2_r=1.0
  227. wavecode_2_g=1.0
  228. wavecode_2_b=1.0
  229. wavecode_2_a=1.0
  230. wave_2_per_frame1=ps = if(above(time-tin,tr),1,0);
  231. wave_2_per_frame2=tin = if(ps,time,tin);
  232. wave_2_per_frame3=
  233. wave_2_per_frame4=sz = 3.5;
  234. wave_2_per_frame5=
  235. wave_2_per_frame6=xr = if(ps,rand(sz*10*2 + 1)*.1 - sz,xr);
  236. wave_2_per_frame7=yr = if(ps,rand(sz*10*2*.75 + 1)*.1 - sz*.75,yr);
  237. wave_2_per_frame8=tr = if(ps,rand(11)*.1*.1,tr);
  238. wave_2_per_frame9=
  239. wave_2_per_frame10=sr = if(ps,(rand(8)+3)*.1*.6,sr);
  240. wave_2_per_frame11=
  241. wave_2_per_frame12=bob = if(ps,rand(q5)*100,bob);
  242. wave_2_per_frame13=
  243. wave_2_per_frame14=t1 = xr + bob;
  244. wave_2_per_frame15=t2 = yr + bob;
  245. wave_2_per_frame16=t3 = sr;
  246. wave_2_per_point1=sp = sample*6.28*8*8*4;
  247. wave_2_per_point2=it = it+1;
  248. wave_2_per_point3=it = it*above(sample,0);
  249. wave_2_per_point4=sz = t3;
  250. wave_2_per_point5=ss = sample*6;
  251. wave_2_per_point6=ox = sz*.5*pow(-1,it)*below(ss,1) + .5*pow(-1,it)*above(ss,1)*sz*below(ss,2) + above(ss,2)*.5*pow(-1,it)*sz*below(ss,3);
  252. wave_2_per_point7=oy = (ss-.5)*sz*below(ss,1) + sz*.5*above(ss,1)*below(ss,2) + (.5-(ss-2))*sz*above(ss,2)*below(ss,3);
  253. wave_2_per_point8=oz = -sz*.5*below(ss,1) + ((ss-1)-.5)*sz*above(ss,1)*below(ss,2) + sz*.5*above(ss,2)*below(ss,3);
  254. wave_2_per_point9=ox = ox + above(ss,3)*below(ss,4)*-.5*sz + above(ss,4)*below(ss,5)*sz*(-.5+(ss-4)) + above(ss,5)*sz*.5;
  255. wave_2_per_point10=oy = oy + above(ss,3)*below(ss,4)*.5*sz*pow(-1,it) + above(ss,4)*below(ss,5)*sz*-.5 + above(ss,5)*sz*(-.5+(ss-5));
  256. wave_2_per_point11=oz = oz + above(ss,3)*below(ss,4)*sz*(.5-(ss-3)) + above(ss,4)*below(ss,5)*sz*.5*pow(-1,it) + above(ss,5)*sz*.5*pow(-1,it);
  257. wave_2_per_point12=
  258. wave_2_per_point13=fov = .3;
  259. wave_2_per_point14=
  260. wave_2_per_point15=a = .05;
  261. wave_2_per_point16=mod = (oz+1)*.5;
  262. wave_2_per_point17=a = a*max(min(mod,1),0);
  263. wave_2_per_point18=oz = oz - 2;
  264. wave_2_per_point19=
  265. wave_2_per_point20=ox = ox + t1;
  266. wave_2_per_point21=oy = oy + t2;
  267. wave_2_per_point22=
  268. wave_2_per_point23=x = ox*fov/oz + 0.5;
  269. wave_2_per_point24=x = (x-.5)*0.75 + 0.5;
  270. wave_2_per_point25=y = oy*fov/oz + 0.5;
  271. wave_2_per_point26=
  272. wave_2_per_point27=r = 1+sin(sp);
  273. wave_2_per_point28=g = 0.5 + 0.5*sin(sample*1.57);
  274. wave_2_per_point29=b = 0.5 + 0.5*cos(sample*1.57);
  275. wavecode_3_enabled=1
  276. wavecode_3_samples=512
  277. wavecode_3_sep=0
  278. wavecode_3_bSpectrum=1
  279. wavecode_3_bUseDots=0
  280. wavecode_3_bDrawThick=1
  281. wavecode_3_bAdditive=0
  282. wavecode_3_scaling=1.0
  283. wavecode_3_smoothing=0.5
  284. wavecode_3_r=1.0
  285. wavecode_3_g=1.0
  286. wavecode_3_b=1.0
  287. wavecode_3_a=1.0
  288. wave_3_per_frame1=ps = if(above(time-tin,tr),1,0);
  289. wave_3_per_frame2=tin = if(ps,time,tin);
  290. wave_3_per_frame3=
  291. wave_3_per_frame4=sz = 3.5;
  292. wave_3_per_frame5=
  293. wave_3_per_frame6=xr = if(ps,rand(sz*10*2 + 1)*.1 - sz,xr);
  294. wave_3_per_frame7=yr = if(ps,rand(sz*10*2*.75 + 1)*.1 - sz*.75,yr);
  295. wave_3_per_frame8=tr = if(ps,rand(11)*.1*.1,tr);
  296. wave_3_per_frame9=
  297. wave_3_per_frame10=sr = if(ps,(rand(8)+3)*.1*.6,sr);
  298. wave_3_per_frame11=
  299. wave_3_per_frame12=bob = if(ps,rand(q5)*100,bob);
  300. wave_3_per_frame13=
  301. wave_3_per_frame14=t1 = xr + bob;
  302. wave_3_per_frame15=t2 = yr + bob;
  303. wave_3_per_frame16=t3 = sr;
  304. wave_3_per_point1=sp = sample*6.28*8*8*4;
  305. wave_3_per_point2=it = it+1;
  306. wave_3_per_point3=it = it*above(sample,0);
  307. wave_3_per_point4=sz = t3;
  308. wave_3_per_point5=ss = sample*6;
  309. wave_3_per_point6=ox = sz*.5*pow(-1,it)*below(ss,1) + .5*pow(-1,it)*above(ss,1)*sz*below(ss,2) + above(ss,2)*.5*pow(-1,it)*sz*below(ss,3);
  310. wave_3_per_point7=oy = (ss-.5)*sz*below(ss,1) + sz*.5*above(ss,1)*below(ss,2) + (.5-(ss-2))*sz*above(ss,2)*below(ss,3);
  311. wave_3_per_point8=oz = -sz*.5*below(ss,1) + ((ss-1)-.5)*sz*above(ss,1)*below(ss,2) + sz*.5*above(ss,2)*below(ss,3);
  312. wave_3_per_point9=ox = ox + above(ss,3)*below(ss,4)*-.5*sz + above(ss,4)*below(ss,5)*sz*(-.5+(ss-4)) + above(ss,5)*sz*.5;
  313. wave_3_per_point10=oy = oy + above(ss,3)*below(ss,4)*.5*sz*pow(-1,it) + above(ss,4)*below(ss,5)*sz*-.5 + above(ss,5)*sz*(-.5+(ss-5));
  314. wave_3_per_point11=oz = oz + above(ss,3)*below(ss,4)*sz*(.5-(ss-3)) + above(ss,4)*below(ss,5)*sz*.5*pow(-1,it) + above(ss,5)*sz*.5*pow(-1,it);
  315. wave_3_per_point12=
  316. wave_3_per_point13=fov = .3;
  317. wave_3_per_point14=
  318. wave_3_per_point15=a = .05;
  319. wave_3_per_point16=mod = (oz+1)*.5;
  320. wave_3_per_point17=a = a*max(min(mod,1),0);
  321. wave_3_per_point18=oz = oz - 2;
  322. wave_3_per_point19=
  323. wave_3_per_point20=ox = ox + t1;
  324. wave_3_per_point21=oy = oy + t2;
  325. wave_3_per_point22=
  326. wave_3_per_point23=x = ox*fov/oz + 0.5;
  327. wave_3_per_point24=x = (x-.5)*0.75 + 0.5;
  328. wave_3_per_point25=y = oy*fov/oz + 0.5;
  329. wave_3_per_point26=
  330. wave_3_per_point27=r = 1+sin(sp);
  331. wave_3_per_point28=g = 0.5 + 0.5*sin(sample*1.57);
  332. wave_3_per_point29=b = 0.5 + 0.5*cos(sample*1.57);
  333. shapecode_0_enabled=0
  334. shapecode_0_sides=4
  335. shapecode_0_additive=0
  336. shapecode_0_thickOutline=0
  337. shapecode_0_textured=1
  338. shapecode_0_x=0.2
  339. shapecode_0_y=0.3
  340. shapecode_0_rad=0.270481
  341. shapecode_0_ang=0.0
  342. shapecode_0_tex_ang=0.0
  343. shapecode_0_tex_zoom=3.999140
  344. shapecode_0_r=1.0
  345. shapecode_0_g=1.0
  346. shapecode_0_b=1.0
  347. shapecode_0_a=1.0
  348. shapecode_0_r2=1.0
  349. shapecode_0_g2=1.0
  350. shapecode_0_b2=1.0
  351. shapecode_0_a2=1.0
  352. shapecode_0_border_r=1.0
  353. shapecode_0_border_g=1.0
  354. shapecode_0_border_b=1.0
  355. shapecode_0_border_a=0.1
  356. shapecode_1_enabled=0
  357. shapecode_1_sides=4
  358. shapecode_1_additive=0
  359. shapecode_1_thickOutline=0
  360. shapecode_1_textured=0
  361. shapecode_1_x=0.5
  362. shapecode_1_y=0.5
  363. shapecode_1_rad=0.1
  364. shapecode_1_ang=0.0
  365. shapecode_1_tex_ang=0.0
  366. shapecode_1_tex_zoom=1.0
  367. shapecode_1_r=1.0
  368. shapecode_1_g=0.0
  369. shapecode_1_b=0.0
  370. shapecode_1_a=1.0
  371. shapecode_1_r2=0.0
  372. shapecode_1_g2=1.0
  373. shapecode_1_b2=0.0
  374. shapecode_1_a2=0.0
  375. shapecode_1_border_r=1.0
  376. shapecode_1_border_g=1.0
  377. shapecode_1_border_b=1.0
  378. shapecode_1_border_a=0.1
  379. shapecode_2_enabled=0
  380. shapecode_2_sides=4
  381. shapecode_2_additive=0
  382. shapecode_2_thickOutline=0
  383. shapecode_2_textured=0
  384. shapecode_2_x=0.5
  385. shapecode_2_y=0.5
  386. shapecode_2_rad=0.1
  387. shapecode_2_ang=0.0
  388. shapecode_2_tex_ang=0.0
  389. shapecode_2_tex_zoom=1.0
  390. shapecode_2_r=1.0
  391. shapecode_2_g=0.0
  392. shapecode_2_b=0.0
  393. shapecode_2_a=1.0
  394. shapecode_2_r2=0.0
  395. shapecode_2_g2=1.0
  396. shapecode_2_b2=0.0
  397. shapecode_2_a2=0.0
  398. shapecode_2_border_r=1.0
  399. shapecode_2_border_g=1.0
  400. shapecode_2_border_b=1.0
  401. shapecode_2_border_a=0.1
  402. shapecode_3_enabled=0
  403. shapecode_3_sides=4
  404. shapecode_3_additive=0
  405. shapecode_3_thickOutline=0
  406. shapecode_3_textured=0
  407. shapecode_3_x=0.5
  408. shapecode_3_y=0.5
  409. shapecode_3_rad=0.1
  410. shapecode_3_ang=0.0
  411. shapecode_3_tex_ang=0.0
  412. shapecode_3_tex_zoom=1.0
  413. shapecode_3_r=1.0
  414. shapecode_3_g=0.0
  415. shapecode_3_b=0.0
  416. shapecode_3_a=1.0
  417. shapecode_3_r2=0.0
  418. shapecode_3_g2=1.0
  419. shapecode_3_b2=0.0
  420. shapecode_3_a2=0.0
  421. shapecode_3_border_r=1.0
  422. shapecode_3_border_g=1.0
  423. shapecode_3_border_b=1.0
  424. shapecode_3_border_a=0.1
  425. per_frame_1=wave_a = 0;
  426. per_frame_2=
  427. per_frame_3=sw = above(time-fin,0.06);
  428. per_frame_4=fin = if(sw,time,fin);
  429. per_frame_5=zoom = if(sw,.85,1);
  430. per_frame_6=monitor = tic;
  431. per_frame_7=
  432. per_frame_8=vol = .1*(vol*9 + (bass_att+mid_att+treb_att)*.333333);
  433. per_frame_9=q5 = 5 - vol*3.5;
  434. per_frame_10=
  435. warp_1=`shader_body
  436. warp_2=`{
  437. warp_3=` // sample previous frame 3 times, creating radial blur
  438. warp_4=` float2 v = normalize(uv - 0.5)*aspect.xy;
  439. warp_5=` //v = v.yx * float2(1,-1);
  440. warp_6=` v *= texsize.zw*3;
  441. warp_7=` ret = 0.25*( tex2D( sampler_main, uv ).xyz
  442. warp_8=` + tex2D(sampler_main, uv + v*2.5 ).xyz
  443. warp_9=` + tex2D(sampler_main, uv + v*5.5 ).xyz
  444. warp_10=` + tex2D(sampler_main, uv + v*-4 ).xyz
  445. warp_11=` );
  446. warp_12=`
  447. warp_13=` // darken over time
  448. warp_14=` ret -= 0.01;
  449. warp_15=`}