ORB - Supernova Meltdown.milk 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534
  1. MILKDROP_PRESET_VERSION=201
  2. PSVERSION=2
  3. PSVERSION_WARP=2
  4. PSVERSION_COMP=2
  5. [preset00]
  6. fRating=3.000000
  7. fGammaAdj=2.0
  8. fDecay=1.0
  9. fVideoEchoZoom=0.999609
  10. fVideoEchoAlpha=0.5
  11. nVideoEchoOrientation=2
  12. nWaveMode=1
  13. bAdditiveWaves=0
  14. bWaveDots=0
  15. bWaveThick=0
  16. bModWaveAlphaByVolume=0
  17. bMaximizeWaveColor=1
  18. bTexWrap=0
  19. bDarkenCenter=0
  20. bRedBlueStereo=0
  21. bBrighten=0
  22. bDarken=0
  23. bSolarize=0
  24. bInvert=0
  25. fWaveAlpha=0.001000
  26. fWaveScale=1.0
  27. fWaveSmoothing=0.750000
  28. fWaveParam=0.0
  29. fModWaveAlphaStart=0.750000
  30. fModWaveAlphaEnd=0.950000
  31. fWarpAnimSpeed=1.0
  32. fWarpScale=1.0
  33. fZoomExponent=1.0
  34. fShader=0.0
  35. zoom=0.960000
  36. rot=0.0
  37. cx=0.5
  38. cy=0.5
  39. dx=0.0
  40. dy=0.0
  41. warp=0.000521
  42. sx=1.0
  43. sy=1.0
  44. wave_r=0.0
  45. wave_g=0.0
  46. wave_b=0.0
  47. wave_x=0.5
  48. wave_y=0.5
  49. ob_size=0.010000
  50. ob_r=1.0
  51. ob_g=1.0
  52. ob_b=1.0
  53. ob_a=0.0
  54. ib_size=0.010000
  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=1
  80. wavecode_0_bDrawThick=0
  81. wavecode_0_bAdditive=1
  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=0.5
  88. wave_0_per_point1=u = abs(cos(q1*0.1))*3.14159;
  89. wave_0_per_point2=v = abs(cos(q1*0.015))*3.14159*2;
  90. wave_0_per_point3=s = sample*3.14*100;
  91. wave_0_per_point4=ss = sample*6.28*1000;
  92. wave_0_per_point5=
  93. wave_0_per_point6=//draw
  94. wave_0_per_point7=xs = 0.5*sin(s)*cos(ss);
  95. wave_0_per_point8=ys = 0.5*sin(s)*sin(ss);
  96. wave_0_per_point9=zs = 0.5*cos(s);
  97. wave_0_per_point10=
  98. wave_0_per_point11=
  99. wave_0_per_point12=//rotate x axis
  100. wave_0_per_point13=angle = sin(q1*0.015)*6.28;
  101. wave_0_per_point14=yx = ys*cos(angle) - zs*sin(angle);
  102. wave_0_per_point15=zx = ys*sin(angle) + zs*cos(angle);
  103. wave_0_per_point16=xx = xs;
  104. wave_0_per_point17=
  105. wave_0_per_point18=//rotate y axis
  106. wave_0_per_point19=angle2 = sin(q1*0.02)*6.28;
  107. wave_0_per_point20=xd = xx*cos(angle2) - zx*sin(angle2);
  108. wave_0_per_point21=zd = xx*sin(angle2) + zx*cos(angle2);
  109. wave_0_per_point22=yd = yx;
  110. wave_0_per_point23=
  111. wave_0_per_point24=//rotaye z axis
  112. wave_0_per_point25=angle3 = sin(q1*0.012)*6.28;
  113. wave_0_per_point26=xn = xd*cos(angle3) - yd*sin(angle3);
  114. wave_0_per_point27=yn = xd*sin(angle3) + yd*cos(angle3);
  115. wave_0_per_point28=
  116. wave_0_per_point29=//scale
  117. wave_0_per_point30=k = 5;
  118. wave_0_per_point31=
  119. wave_0_per_point32=norm = 1/sqrt(xn*xn + yn*yn + ((zd+2)*(zd+2)));
  120. wave_0_per_point33=xnorm = norm*xn;
  121. wave_0_per_point34=ynorm = norm*yn;
  122. wave_0_per_point35=znrom = norm*zd;
  123. wave_0_per_point36=
  124. wave_0_per_point37=xs = xnorm*(1 + (k-1)*q5*q5) + ynorm*((k-1)*q5*q6) + znorm*((k-1)*q5*q7);
  125. wave_0_per_point38=ys = xnorm*((k-1)*q5*q6) + ynorm*(1+(k-1)*q6*q6) + znorm*((k-1)*q6*q7);
  126. wave_0_per_point39=zd = xnorm*((k-1)*q5*q7) + ynorm*((k-1)*q6*q7) + znorm*(1+(k-1)*q7*q7);
  127. wave_0_per_point40=
  128. wave_0_per_point41=zd = zd + 2;
  129. wave_0_per_point42=
  130. wave_0_per_point43=x = xs*zd*0.1 + 0.5;
  131. wave_0_per_point44=y = ys*zd*0.1*1.2 + 0.5;
  132. wave_0_per_point45=
  133. wave_0_per_point46=
  134. wave_0_per_point47=r = 0.5 + 0.5*sin(q1*1.2 + x + x);
  135. wave_0_per_point48=g = 0.5 + 0.5*sin(q1*1.5 + x + y);
  136. wave_0_per_point49=b = 0.5 + 0.5*sin(q1*1.36 + y + y);
  137. wavecode_1_enabled=1
  138. wavecode_1_samples=512
  139. wavecode_1_sep=0
  140. wavecode_1_bSpectrum=1
  141. wavecode_1_bUseDots=1
  142. wavecode_1_bDrawThick=0
  143. wavecode_1_bAdditive=1
  144. wavecode_1_scaling=1.0
  145. wavecode_1_smoothing=0.5
  146. wavecode_1_r=1.0
  147. wavecode_1_g=1.0
  148. wavecode_1_b=1.0
  149. wavecode_1_a=0.5
  150. wave_1_per_point1=u = abs(cos(q1*0.1))*3.14159;
  151. wave_1_per_point2=v = abs(cos(q1*0.015))*3.14159*2;
  152. wave_1_per_point3=s = sample*3.14*100;
  153. wave_1_per_point4=ss = sample*6.28*1000;
  154. wave_1_per_point5=
  155. wave_1_per_point6=//draw
  156. wave_1_per_point7=xs = 0.5*sin(s)*cos(ss);
  157. wave_1_per_point8=ys = 0.5*sin(s)*sin(ss);
  158. wave_1_per_point9=zs = 0.5*cos(s);
  159. wave_1_per_point10=
  160. wave_1_per_point11=
  161. wave_1_per_point12=//rotate x axis
  162. wave_1_per_point13=angle = sin(q1*0.015)*6.28;
  163. wave_1_per_point14=yx = ys*cos(angle) - zs*sin(angle);
  164. wave_1_per_point15=zx = ys*sin(angle) + zs*cos(angle);
  165. wave_1_per_point16=xx = xs;
  166. wave_1_per_point17=
  167. wave_1_per_point18=//rotate y axis
  168. wave_1_per_point19=angle2 = sin(q1*0.05)*6.28;
  169. wave_1_per_point20=xd = xx*cos(angle2) - zx*sin(angle2);
  170. wave_1_per_point21=zd = xx*sin(angle2) + zx*cos(angle2);
  171. wave_1_per_point22=yd = yx;
  172. wave_1_per_point23=
  173. wave_1_per_point24=//rotaye z axis
  174. wave_1_per_point25=angle3 = sin(q1*0.022)*6.28;
  175. wave_1_per_point26=xn = xd*cos(angle3) - yd*sin(angle3);
  176. wave_1_per_point27=yn = xd*sin(angle3) + yd*cos(angle3);
  177. wave_1_per_point28=
  178. wave_1_per_point29=//scale
  179. wave_1_per_point30=k = 1;
  180. wave_1_per_point31=
  181. wave_1_per_point32=norm = 1/sqrt(xn*xn + yn*yn + ((zd+2)*(zd+2)));
  182. wave_1_per_point33=xnorm = norm*xn;
  183. wave_1_per_point34=ynorm = norm*yn;
  184. wave_1_per_point35=znrom = norm*zd;
  185. wave_1_per_point36=
  186. wave_1_per_point37=xs = xnorm*(1 + (k-1)*q5*q5) + ynorm*((k-1)*q5*q6) + znorm*((k-1)*q5*q7);
  187. wave_1_per_point38=ys = xnorm*((k-1)*q5*q6) + ynorm*(1+(k-1)*q6*q6) + znorm*((k-1)*q6*q7);
  188. wave_1_per_point39=zd = xnorm*((k-1)*q5*q7) + ynorm*((k-1)*q6*q7) + znorm*(1+(k-1)*q7*q7);
  189. wave_1_per_point40=
  190. wave_1_per_point41=zd = zd + 2;
  191. wave_1_per_point42=
  192. wave_1_per_point43=x = xs*zd*0.10 + 0.5;
  193. wave_1_per_point44=y = ys*zd*0.10*1.2 + 0.5;
  194. wave_1_per_point45=
  195. wave_1_per_point46=
  196. wave_1_per_point47=r = 0.5 + 0.5*sin(q1*1.2 + x + x);
  197. wave_1_per_point48=g = 0.5 + 0.5*sin(q1*1.25 + x + y);
  198. wave_1_per_point49=b = 0.5 + 0.5*sin(q1*1.36 + y + y);
  199. wavecode_2_enabled=1
  200. wavecode_2_samples=512
  201. wavecode_2_sep=0
  202. wavecode_2_bSpectrum=1
  203. wavecode_2_bUseDots=1
  204. wavecode_2_bDrawThick=1
  205. wavecode_2_bAdditive=1
  206. wavecode_2_scaling=1.0
  207. wavecode_2_smoothing=0.5
  208. wavecode_2_r=1.0
  209. wavecode_2_g=1.0
  210. wavecode_2_b=1.0
  211. wavecode_2_a=0.5
  212. wave_2_per_point1=u = abs(cos(q1*0.1))*3.14159;
  213. wave_2_per_point2=v = abs(cos(q1*0.015))*3.14159*2;
  214. wave_2_per_point3=s = sample*3.14*100;
  215. wave_2_per_point4=ss = sample*6.28*1000;
  216. wave_2_per_point5=
  217. wave_2_per_point6=//draw
  218. wave_2_per_point7=xs = 0.5*sin(s)*cos(ss);
  219. wave_2_per_point8=ys = 0.5*sin(s)*sin(ss);
  220. wave_2_per_point9=zs = 0.5*cos(s);
  221. wave_2_per_point10=
  222. wave_2_per_point11=
  223. wave_2_per_point12=//rotate x axis
  224. wave_2_per_point13=angle = sin(q1*0.015)*6.28;
  225. wave_2_per_point14=yx = ys*cos(angle) - zs*sin(angle);
  226. wave_2_per_point15=zx = ys*sin(angle) + zs*cos(angle);
  227. wave_2_per_point16=xx = xs;
  228. wave_2_per_point17=
  229. wave_2_per_point18=//rotate y axis
  230. wave_2_per_point19=angle2 = sin(q1*0.02)*6.28;
  231. wave_2_per_point20=xd = xx*cos(angle2) - zx*sin(angle2);
  232. wave_2_per_point21=zd = xx*sin(angle2) + zx*cos(angle2);
  233. wave_2_per_point22=yd = yx;
  234. wave_2_per_point23=
  235. wave_2_per_point24=//rotaye z axis
  236. wave_2_per_point25=angle3 = sin(q1*0.012)*6.28;
  237. wave_2_per_point26=xn = xd*cos(angle3) - yd*sin(angle3);
  238. wave_2_per_point27=yn = xd*sin(angle3) + yd*cos(angle3);
  239. wave_2_per_point28=
  240. wave_2_per_point29=//scale
  241. wave_2_per_point30=k = 5;
  242. wave_2_per_point31=
  243. wave_2_per_point32=norm = 1/sqrt(xn*xn + yn*yn + ((zd+2)*(zd+2)));
  244. wave_2_per_point33=xnorm = norm*xn;
  245. wave_2_per_point34=ynorm = norm*yn;
  246. wave_2_per_point35=znrom = norm*zd;
  247. wave_2_per_point36=
  248. wave_2_per_point37=xs = xnorm*(1 + (k-1)*q5*q5) + ynorm*((k-1)*q5*q6) + znorm*((k-1)*q5*q7);
  249. wave_2_per_point38=ys = xnorm*((k-1)*q5*q6) + ynorm*(1+(k-1)*q6*q6) + znorm*((k-1)*q6*q7);
  250. wave_2_per_point39=zd = xnorm*((k-1)*q5*q7) + ynorm*((k-1)*q6*q7) + znorm*(1+(k-1)*q7*q7);
  251. wave_2_per_point40=
  252. wave_2_per_point41=zd = zd + 2;
  253. wave_2_per_point42=
  254. wave_2_per_point43=
  255. wave_2_per_point44=
  256. wave_2_per_point45=x = -xs*zd*0.1 + 0.5;
  257. wave_2_per_point46=y = ys*zd*0.1*1.2 + 0.5;
  258. wave_2_per_point47=
  259. wave_2_per_point48=
  260. wave_2_per_point49=r = 0.5 + 0.5*sin(q1*1.2 + x + x);
  261. wave_2_per_point50=g = 0.5 + 0.5*sin(q1*1.5 + x + y);
  262. wave_2_per_point51=b = 0.5 + 0.5*sin(q1*1.36 + y + y);
  263. wavecode_3_enabled=0
  264. wavecode_3_samples=512
  265. wavecode_3_sep=0
  266. wavecode_3_bSpectrum=0
  267. wavecode_3_bUseDots=0
  268. wavecode_3_bDrawThick=0
  269. wavecode_3_bAdditive=0
  270. wavecode_3_scaling=1.0
  271. wavecode_3_smoothing=0.5
  272. wavecode_3_r=1.0
  273. wavecode_3_g=1.0
  274. wavecode_3_b=1.0
  275. wavecode_3_a=0.5
  276. wave_3_per_point1=u = abs(cos(q1*0.1))*3.14159;
  277. wave_3_per_point2=v = abs(cos(q1*0.015))*3.14159*2;
  278. wave_3_per_point3=s = sample*20;
  279. wave_3_per_point4=
  280. wave_3_per_point5=//draw
  281. wave_3_per_point6=xs = 0.5*sin(s)*cos(s*v);
  282. wave_3_per_point7=ys = 0.5*sin(s)*sin(s*v);
  283. wave_3_per_point8=zs = 0.5*sin(u);
  284. wave_3_per_point9=
  285. wave_3_per_point10=
  286. wave_3_per_point11=//plot x,y,z to point on circle
  287. wave_3_per_point12=//smp=sample*6.283;
  288. wave_3_per_point13=//xp=sin(smp )*0.30;
  289. wave_3_per_point14=//yp=cos(smp )*0.30;
  290. wave_3_per_point15=//zp=0;
  291. wave_3_per_point16=
  292. wave_3_per_point17=
  293. wave_3_per_point18=//alter shape;
  294. wave_3_per_point19=///angy=sin(sample*6.28*4 +t1 )*6.28;
  295. wave_3_per_point20=//xq=xp*cos(angy) - zp*sin(angy);
  296. wave_3_per_point21=//zq=xp*sin(angy) + zp*cos(angy);
  297. wave_3_per_point22=//xp=xq;
  298. wave_3_per_point23=//zp=zq;
  299. wave_3_per_point24=
  300. wave_3_per_point25=
  301. wave_3_per_point26=
  302. wave_3_per_point27=//rotate on y axis;
  303. wave_3_per_point28=//angy=t1*0.1;
  304. wave_3_per_point29=//xq=xp*cos(angy) - zp*sin(angy);
  305. wave_3_per_point30=//zq=xp*sin(angy) + zp*cos(angy);
  306. wave_3_per_point31=//xp=xq;
  307. wave_3_per_point32=//zp=zq;
  308. wave_3_per_point33=
  309. wave_3_per_point34=//rotate on x axis
  310. wave_3_per_point35=//axs1 = sin(t1*0.15) + 1.6;
  311. wave_3_per_point36=//yq= yp*cos(axs1) - zp*sin(axs1);
  312. wave_3_per_point37=//zq= yp*sin(axs1) + zp*cos(axs1);
  313. wave_3_per_point38=//yp=yq;
  314. wave_3_per_point39=//zp=zq;
  315. wave_3_per_point40=
  316. wave_3_per_point41=//rotate on y axis again
  317. wave_3_per_point42=//axs2 = sin(t1*0.1)*3.3;
  318. wave_3_per_point43=//xq=xp*cos(axs2) - zp*sin(axs2);
  319. wave_3_per_point44=//zq=xp*sin(axs2) + zp*cos(axs2);
  320. wave_3_per_point45=//xp=xq;
  321. wave_3_per_point46=//zp=zq;
  322. wave_3_per_point47=
  323. wave_3_per_point48=
  324. wave_3_per_point49=
  325. wave_3_per_point50=
  326. wave_3_per_point51=//rotate x axis
  327. wave_3_per_point52=angle = sin(q1*0.15 - 1.57);
  328. wave_3_per_point53=yx = ys*cos(angle) - zs*sin(angle);
  329. wave_3_per_point54=zx = ys*sin(angle) + zs*cos(angle);
  330. wave_3_per_point55=xx = xs;
  331. wave_3_per_point56=
  332. wave_3_per_point57=//rotate y axis
  333. wave_3_per_point58=//angle2 = sin(q1*0.2 - 1.57);
  334. wave_3_per_point59=xd = xx*cos(angle2) - zx*sin(angle2);
  335. wave_3_per_point60=zd = xx*sin(angle2) + zx*cos(angle2);
  336. wave_3_per_point61=yd = yx;
  337. wave_3_per_point62=
  338. wave_3_per_point63=
  339. wave_3_per_point64=x = xd*zd + 0.5;
  340. wave_3_per_point65=y = yd*zd + 0.5;
  341. wave_3_per_point66=
  342. wave_3_per_point67=
  343. wave_3_per_point68=r = 0.5 + 0.5*sin(q1*1.2 + x + x);
  344. wave_3_per_point69=g = 0.5 + 0.5*sin(q1*1.5 + x + y);
  345. wave_3_per_point70=b = 0.5 + 0.5*sin(q1*1.36 + y + y);
  346. shapecode_0_enabled=1
  347. shapecode_0_sides=4
  348. shapecode_0_additive=0
  349. shapecode_0_thickOutline=0
  350. shapecode_0_textured=1
  351. shapecode_0_x=0.5
  352. shapecode_0_y=0.5
  353. shapecode_0_rad=2.185871
  354. shapecode_0_ang=0.0
  355. shapecode_0_tex_ang=0.0
  356. shapecode_0_tex_zoom=1.0
  357. shapecode_0_r=1.0
  358. shapecode_0_g=1.0
  359. shapecode_0_b=1.0
  360. shapecode_0_a=0.4
  361. shapecode_0_r2=1.0
  362. shapecode_0_g2=1.0
  363. shapecode_0_b2=1.0
  364. shapecode_0_a2=0.0
  365. shapecode_0_border_r=1.0
  366. shapecode_0_border_g=1.0
  367. shapecode_0_border_b=1.0
  368. shapecode_0_border_a=0.1
  369. shape_0_per_frame1=tex_capture = above(q3,1);
  370. shapecode_1_enabled=1
  371. shapecode_1_sides=4
  372. shapecode_1_additive=0
  373. shapecode_1_thickOutline=0
  374. shapecode_1_textured=1
  375. shapecode_1_x=0.5
  376. shapecode_1_y=0.5
  377. shapecode_1_rad=2.185871
  378. shapecode_1_ang=0.0
  379. shapecode_1_tex_ang=0.0
  380. shapecode_1_tex_zoom=1.0
  381. shapecode_1_r=1.0
  382. shapecode_1_g=1.0
  383. shapecode_1_b=1.0
  384. shapecode_1_a=0.4
  385. shapecode_1_r2=1.0
  386. shapecode_1_g2=1.0
  387. shapecode_1_b2=1.0
  388. shapecode_1_a2=0.0
  389. shapecode_1_border_r=1.0
  390. shapecode_1_border_g=1.0
  391. shapecode_1_border_b=1.0
  392. shapecode_1_border_a=0.1
  393. shapecode_2_enabled=0
  394. shapecode_2_sides=4
  395. shapecode_2_additive=0
  396. shapecode_2_thickOutline=0
  397. shapecode_2_textured=0
  398. shapecode_2_x=0.5
  399. shapecode_2_y=0.5
  400. shapecode_2_rad=0.1
  401. shapecode_2_ang=0.0
  402. shapecode_2_tex_ang=0.0
  403. shapecode_2_tex_zoom=1.0
  404. shapecode_2_r=1.0
  405. shapecode_2_g=0.0
  406. shapecode_2_b=0.0
  407. shapecode_2_a=1.0
  408. shapecode_2_r2=0.0
  409. shapecode_2_g2=1.0
  410. shapecode_2_b2=0.0
  411. shapecode_2_a2=0.0
  412. shapecode_2_border_r=1.0
  413. shapecode_2_border_g=1.0
  414. shapecode_2_border_b=1.0
  415. shapecode_2_border_a=0.1
  416. shapecode_3_enabled=0
  417. shapecode_3_sides=4
  418. shapecode_3_additive=0
  419. shapecode_3_thickOutline=0
  420. shapecode_3_textured=0
  421. shapecode_3_x=0.5
  422. shapecode_3_y=0.5
  423. shapecode_3_rad=0.1
  424. shapecode_3_ang=0.0
  425. shapecode_3_tex_ang=0.0
  426. shapecode_3_tex_zoom=1.0
  427. shapecode_3_r=1.0
  428. shapecode_3_g=0.0
  429. shapecode_3_b=0.0
  430. shapecode_3_a=1.0
  431. shapecode_3_r2=0.0
  432. shapecode_3_g2=1.0
  433. shapecode_3_b2=0.0
  434. shapecode_3_a2=0.0
  435. shapecode_3_border_r=1.0
  436. shapecode_3_border_g=1.0
  437. shapecode_3_border_b=1.0
  438. shapecode_3_border_a=0.1
  439. per_frame_1=basstime = basstime + bass*0.03;
  440. per_frame_2=basstime2 = basstime + bass*0.03;
  441. per_frame_3=q1 = basstime2;
  442. per_frame_4=
  443. per_frame_5=//start in most active range
  444. per_frame_6=basstime = if(below(basstime,1000),1000,basstime);
  445. per_frame_7=//basstime = if(above(basstime,495),450,basstime);
  446. per_frame_8=
  447. per_frame_9=basstime = basstime + bass_att*0.03;
  448. per_frame_10=vol = pow(bass+mid+treb,2);
  449. per_frame_11=basssum = vol;
  450. per_frame_12=
  451. per_frame_13=stickybit = time%2;
  452. per_frame_14=
  453. per_frame_15=//avg vol
  454. per_frame_16=//buffer 1
  455. per_frame_17=volAvg = volAvg + vol*equal(stickybit,1);
  456. per_frame_18=//number of samples 1 or framerate
  457. per_frame_19=sample1 = sample1 + equal(stickybit,1);
  458. per_frame_20=//buffer 2
  459. per_frame_21=volAvg2 = volAvg2 + vol*equal(stickybit,0);
  460. per_frame_22=//number of samples 2
  461. per_frame_23=sample2 = sample2 + equal(stickybit,0);
  462. per_frame_24=
  463. per_frame_25=//transision
  464. per_frame_26=edge = bnot(equal(bit2,stickybit));
  465. per_frame_27=
  466. per_frame_28=volAvg = volAvg - volAvg*edge*stickybit;
  467. per_frame_29=volAvg2 = volAvg2 - volAvg2*edge*equal(stickybit,0);
  468. per_frame_30=
  469. per_frame_31=sample1 = sample1 - sample1*edge*stickybit;
  470. per_frame_32=sample2 = sample2 - sample2*edge*equal(stickybit,0);
  471. per_frame_33=
  472. per_frame_34=//test vol against avg buffer lvl
  473. per_frame_35=diff = if(equal(stickybit,1), (basssum/(volAvg2/sample2)) , 0);
  474. per_frame_36=diff = if(equal(stickybit,0), (basssum/(volAvg/sample1)), diff);
  475. per_frame_37=
  476. per_frame_38=q3 = diff;
  477. per_frame_39=
  478. per_frame_40=bit2 = time%2;
  479. per_frame_41=
  480. per_frame_42=difftime = difftime + diff*0.03;
  481. per_frame_43=q2 = difftime;
  482. per_frame_44=
  483. per_frame_45=//fix a strange error
  484. per_frame_46=difftime = if(above(difftime,2000),0, difftime);
  485. per_frame_47=
  486. per_frame_48=monitor = abs(cos(time))*3.14;
  487. per_frame_49=
  488. per_frame_50=rarr = rand(100)*0.01;
  489. per_frame_51=
  490. per_frame_52=decay_r = 0.5 + 0.2*(abs(sin(diff+rarr)));
  491. per_frame_53=decay_g = 0.5 + 0.25*(abs(cos(diff+rarr)));
  492. per_frame_54=decay_b = 0.5 + 0.30*(abs(atan(diff+rarr)));
  493. per_frame_55=
  494. per_frame_56=
  495. per_frame_57=//compute unit vec to scale on
  496. per_frame_58=xxx = sin(difftime*0.89);
  497. per_frame_59=yyy = sin(difftime*0.99);
  498. per_frame_60=zzz = sin(difftime*0.74);
  499. per_frame_61=
  500. per_frame_62=//normalise
  501. per_frame_63=norm = 1/sqrt(xxx*xxx + yyy*yyy + zzz*zzz);
  502. per_frame_64=xxx = xxx*norm;
  503. per_frame_65=yyy = yyy*norm;
  504. per_frame_66=zzz = zzz*norm;
  505. per_frame_67=
  506. per_frame_68=monitor = ZZZ;
  507. per_frame_69=
  508. per_frame_70=q5 = xxx;
  509. per_frame_71=q6 = yyy;
  510. per_frame_72=q7 = zzz;
  511. per_pixel_1=zoom = 1 + 0.05*q3;
  512. warp_1=`shader_body
  513. warp_2=`{
  514. warp_3=` // sample previous frame
  515. warp_4=` ret = tex2D( sampler_fc_main, uv ).xyz;
  516. warp_5=`
  517. warp_6=` // darken (decay) over time
  518. warp_7=` ret *= 0.8; //or try: ret -= 0.004;
  519. warp_8=`}
  520. comp_1=`shader_body
  521. comp_2=`{
  522. comp_3=` float2 uv_echo = (uv - 0.5)*1.000*float2(1,-1) + 0.5;
  523. comp_4=` float3 value = lerp( tex2D(sampler_main, (uv)).xyz,
  524. comp_5=` tex2D(sampler_main, (uv_echo)).xyz,
  525. comp_6=` 0.50
  526. comp_7=` ); //video echo
  527. comp_8=` float3 value2 = lerp( tex2D(sampler_main, GetBlur1(uv)).xyz,
  528. comp_9=` tex2D(sampler_main, GetBlur1(uv_echo)).xyz,
  529. comp_10=` 0.50
  530. comp_11=` )*0.5; //video echo
  531. comp_12=` ret = (value + value2);
  532. comp_13=`
  533. comp_14=` ret = ret*2.00*ret; //gamma
  534. comp_15=`}