ORB - Nova Sunrise.milk 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511
  1. MILKDROP_PRESET_VERSION=201
  2. PSVERSION=2
  3. PSVERSION_WARP=2
  4. PSVERSION_COMP=2
  5. [preset00]
  6. fRating=3.000
  7. fGammaAdj=2.000
  8. fDecay=0.900
  9. fVideoEchoZoom=1.007
  10. fVideoEchoAlpha=0.500
  11. nVideoEchoOrientation=1
  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=1
  22. bDarken=0
  23. bSolarize=0
  24. bInvert=0
  25. fWaveAlpha=0.001
  26. fWaveScale=1.000
  27. fWaveSmoothing=0.750
  28. fWaveParam=0.000
  29. fModWaveAlphaStart=0.750
  30. fModWaveAlphaEnd=0.950
  31. fWarpAnimSpeed=1.000
  32. fWarpScale=1.000
  33. fZoomExponent=1.00000
  34. fShader=0.000
  35. zoom=0.96000
  36. rot=-6.27999
  37. cx=0.500
  38. cy=0.500
  39. dx=0.00000
  40. dy=0.00000
  41. warp=0.00052
  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.010
  50. ob_r=1.000
  51. ob_g=1.000
  52. ob_b=1.000
  53. ob_a=0.000
  54. ib_size=0.010
  55. ib_r=0.250
  56. ib_g=0.250
  57. ib_b=0.250
  58. ib_a=0.000
  59. nMotionVectorsX=64.000
  60. nMotionVectorsY=48.000
  61. mv_dx=0.000
  62. mv_dy=0.000
  63. mv_l=4.950
  64. mv_r=0.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=1
  79. wavecode_0_bUseDots=0
  80. wavecode_0_bDrawThick=1
  81. wavecode_0_bAdditive=1
  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=0.100
  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.3*sin(s)*cos(ss);
  95. wave_0_per_point8=ys = 0.3*sin(s)*sin(ss);
  96. wave_0_per_point9=zs = 0.3*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.027)*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.03)*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.028)*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=zd = zd + 2;
  117. wave_0_per_point30=
  118. wave_0_per_point31=x = xn*zd*0.3 + 0.5;
  119. wave_0_per_point32=y = yn*zd*0.3*1.2 + 0.5;
  120. wave_0_per_point33=
  121. wave_0_per_point34=
  122. wave_0_per_point35=r = 0.5 + 0.5*sin(q1*0.2 + x + x) + xn;
  123. wave_0_per_point36=g = 0.5 + 0.5*sin(q1*0.5 + x + y) + yn;
  124. wave_0_per_point37=b = 0.5 + 0.5*sin(q1*0.36 + y + y) + zn;
  125. wavecode_1_enabled=1
  126. wavecode_1_samples=512
  127. wavecode_1_sep=0
  128. wavecode_1_bSpectrum=1
  129. wavecode_1_bUseDots=1
  130. wavecode_1_bDrawThick=0
  131. wavecode_1_bAdditive=1
  132. wavecode_1_scaling=1.00000
  133. wavecode_1_smoothing=0.50000
  134. wavecode_1_r=1.000
  135. wavecode_1_g=1.000
  136. wavecode_1_b=1.000
  137. wavecode_1_a=1.000
  138. wave_1_per_point1=//init
  139. wave_1_per_point2=zs = if(below(zs,100),100,zs);
  140. wave_1_per_point3=zs = if(above(zs, 10100),100, zs);
  141. wave_1_per_point4=
  142. wave_1_per_point5=zs = if(above(zs, 1100),1, zs);
  143. wave_1_per_point6=
  144. wave_1_per_point7=pi = 3.141592;
  145. wave_1_per_point8=
  146. wave_1_per_point9=samp = sample;
  147. wave_1_per_point10=
  148. wave_1_per_point11=xx = cos(q1*samp+ q1)*1;
  149. wave_1_per_point12=yy = sin(q1*samp+ q1*0.9)*1;
  150. wave_1_per_point13=
  151. wave_1_per_point14=zz = 2.5*samp*0.1;
  152. wave_1_per_point15=
  153. wave_1_per_point16=x = xx*zz*4;
  154. wave_1_per_point17=y = yy*zz*4;
  155. wave_1_per_point18=
  156. wave_1_per_point19=x = x*0.5 + 0.5;
  157. wave_1_per_point20=y = y*0.5 + 0.5;
  158. wave_1_per_point21=
  159. wave_1_per_point22=r = 1;;//0.5 + 0.5*cos(q1*2*0.1)*sin(q1*0.1);
  160. wave_1_per_point23=g = 1;//0.5 + 0.5*sin(q1*2*0.1)*sin(q1*0.1);
  161. wave_1_per_point24=b = 1;//0.5 + 0.5*cos(q1);
  162. wavecode_2_enabled=1
  163. wavecode_2_samples=512
  164. wavecode_2_sep=0
  165. wavecode_2_bSpectrum=1
  166. wavecode_2_bUseDots=0
  167. wavecode_2_bDrawThick=1
  168. wavecode_2_bAdditive=1
  169. wavecode_2_scaling=1.00000
  170. wavecode_2_smoothing=0.50000
  171. wavecode_2_r=1.000
  172. wavecode_2_g=1.000
  173. wavecode_2_b=1.000
  174. wavecode_2_a=0.010
  175. wave_2_per_point1=//init
  176. wave_2_per_point2=zs = if(below(zs,100),100,zs);
  177. wave_2_per_point3=zs = if(above(zs, 10100),100, zs);
  178. wave_2_per_point4=
  179. wave_2_per_point5=zs = if(above(zs, 1100),1, zs);
  180. wave_2_per_point6=
  181. wave_2_per_point7=pi = 3.141592;
  182. wave_2_per_point8=
  183. wave_2_per_point9=samp = sample;
  184. wave_2_per_point10=
  185. wave_2_per_point11=xx = cos(q1*samp+ q1)*1;
  186. wave_2_per_point12=yy = sin(q1*samp+ q1*0.9)*1;
  187. wave_2_per_point13=
  188. wave_2_per_point14=zz = 2.5*samp*0.1;
  189. wave_2_per_point15=
  190. wave_2_per_point16=x = xx*zz*4;
  191. wave_2_per_point17=y = yy*zz*4;
  192. wave_2_per_point18=
  193. wave_2_per_point19=x = x*0.5 + 0.5;
  194. wave_2_per_point20=y = y*0.5 + 0.5;
  195. wave_2_per_point21=
  196. wave_2_per_point22=r = 0.5 + 0.5*cos(q1*2*0.1)*sin(q1*0.1);
  197. wave_2_per_point23=g = 0.5 + 0.5*sin(q1*2*0.1)*sin(q1*0.1);
  198. wave_2_per_point24=b = 0.5 + 0.5*cos(q1);
  199. wave_2_per_point25=
  200. wavecode_3_enabled=0
  201. wavecode_3_samples=512
  202. wavecode_3_sep=0
  203. wavecode_3_bSpectrum=1
  204. wavecode_3_bUseDots=1
  205. wavecode_3_bDrawThick=1
  206. wavecode_3_bAdditive=1
  207. wavecode_3_scaling=1.00000
  208. wavecode_3_smoothing=0.50000
  209. wavecode_3_r=1.000
  210. wavecode_3_g=1.000
  211. wavecode_3_b=1.000
  212. wavecode_3_a=1.000
  213. wave_3_per_point1=//apply zoom burst on beat
  214. wave_3_per_point2=flag = above(q3,2);
  215. wave_3_per_point3=//state zero is ready state
  216. wave_3_per_point4=state = state + flag*equal(state,0);
  217. wave_3_per_point5=
  218. wave_3_per_point6=//upwards flight
  219. wave_3_per_point7=yval = if(equal(state,0),0, yval);
  220. wave_3_per_point8=yval = yval + 0.00004*equal(state,1);
  221. wave_3_per_point9=ymax = if(equal(state,0),rand(100)*0.004,ymax);
  222. wave_3_per_point10=
  223. wave_3_per_point11=//hit apogee
  224. wave_3_per_point12=state = if(above(yval,0.5+ymax),2,state);
  225. wave_3_per_point13=
  226. wave_3_per_point14=//reset variable
  227. wave_3_per_point15=yval = if(equal(state,0),0, yval);
  228. wave_3_per_point16=burst = if(equal(state,0),0.001,burst);
  229. wave_3_per_point17=alphax = if(equal(state,0),1,alphax);
  230. wave_3_per_point18=xdriftinc = if(equal(state,0),0,xdriftinc);
  231. wave_3_per_point19=
  232. wave_3_per_point20=burstspeed = if(equal(state,0),rand(10),burstspeed);
  233. wave_3_per_point21=xdrift = if(equal(state,0),rand(20),xdrift);
  234. wave_3_per_point22=//to get the numbers small enough have to use constants
  235. wave_3_per_point23=xdriftinc = xdriftinc
  236. wave_3_per_point24=+ equal(xdrift,0)*equal(state,1)*0.00002
  237. wave_3_per_point25=+ equal(xdrift,1)*equal(state,1)*0.000018
  238. wave_3_per_point26=+ equal(xdrift,2)*equal(state,1)*0.000016
  239. wave_3_per_point27=+ equal(xdrift,3)*equal(state,1)*0.000014
  240. wave_3_per_point28=+ equal(xdrift,4)*equal(state,1)*0.000012
  241. wave_3_per_point29=+ equal(xdrift,5)*equal(state,1)*0.00001
  242. wave_3_per_point30=+ equal(xdrift,6)*equal(state,1)*0.000008
  243. wave_3_per_point31=+ equal(xdrift,7)*equal(state,1)*0.000006
  244. wave_3_per_point32=+ equal(xdrift,8)*equal(state,1)*0.000004
  245. wave_3_per_point33=+ equal(xdrift,9)*equal(state,1)*0.000002
  246. wave_3_per_point34=+ equal(xdrift,11)*equal(state,1)*-0.000002
  247. wave_3_per_point35=+ equal(xdrift,12)*equal(state,1)*-0.000004
  248. wave_3_per_point36=+ equal(xdrift,13)*equal(state,1)*-0.000006
  249. wave_3_per_point37=+ equal(xdrift,14)*equal(state,1)*-0.000008
  250. wave_3_per_point38=+ equal(xdrift,15)*equal(state,1)*-0.00001
  251. wave_3_per_point39=+ equal(xdrift,16)*equal(state,1)*-0.000012
  252. wave_3_per_point40=+ equal(xdrift,17)*equal(state,1)*-0.000014
  253. wave_3_per_point41=+ equal(xdrift,18)*equal(state,1)*-0.000016
  254. wave_3_per_point42=+ equal(xdrift,19)*equal(state,1)*-0.000018;
  255. wave_3_per_point43=
  256. wave_3_per_point44=burst = burst
  257. wave_3_per_point45=+ equal(burstspeed,0)*equal(state,2)*0.000024
  258. wave_3_per_point46=+ equal(burstspeed,1)*equal(state,2)*0.000022
  259. wave_3_per_point47=+ equal(burstspeed,2)*equal(state,2)*0.00002
  260. wave_3_per_point48=+ equal(burstspeed,3)*equal(state,2)*0.000018
  261. wave_3_per_point49=+ equal(burstspeed,4)*equal(state,2)*0.000016
  262. wave_3_per_point50=+ equal(burstspeed,5)*equal(state,2)*0.000014
  263. wave_3_per_point51=+ equal(burstspeed,6)*equal(state,2)*0.000012
  264. wave_3_per_point52=+ equal(burstspeed,7)*equal(state,2)*0.00001
  265. wave_3_per_point53=+ equal(burstspeed,8)*equal(state,2)*0.000008
  266. wave_3_per_point54=+ equal(burstspeed,9)*equal(state,2)*0.000008;
  267. wave_3_per_point55=
  268. wave_3_per_point56=alphax = alphax - 0.00004*equal(state,2);
  269. wave_3_per_point57=state = if(below(alphax,0),0,state);
  270. wave_3_per_point58=
  271. wave_3_per_point59=
  272. wave_3_per_point60=s = sample*3.14*100;
  273. wave_3_per_point61=ss = sample*6.28*1000;
  274. wave_3_per_point62=
  275. wave_3_per_point63=//draw torus
  276. wave_3_per_point64=xs = (burst + 0.0001*cos(s))*cos(ss);
  277. wave_3_per_point65=ys = (burst + 0.0001*cos(s))*sin(ss);
  278. wave_3_per_point66=zs = 0.1*burst*sin(s);
  279. wave_3_per_point67=
  280. wave_3_per_point68=
  281. wave_3_per_point69=//rotate x axis
  282. wave_3_per_point70=angle = sin(-q1*0.035)*6.28;
  283. wave_3_per_point71=yx = ys*cos(angle) - zs*sin(angle);
  284. wave_3_per_point72=zx = ys*sin(angle) + zs*cos(angle);
  285. wave_3_per_point73=xx = xs;
  286. wave_3_per_point74=
  287. wave_3_per_point75=//rotate y axis
  288. wave_3_per_point76=angle2 = sin(-q1*0.03)*6.28;
  289. wave_3_per_point77=xd = xx*cos(angle2) - zx*sin(angle2);
  290. wave_3_per_point78=zd = xx*sin(angle2) + zx*cos(angle2);
  291. wave_3_per_point79=yd = yx;
  292. wave_3_per_point80=
  293. wave_3_per_point81=//rotaye z axis
  294. wave_3_per_point82=angle3 = sin(-q1*0.022)*6.28;
  295. wave_3_per_point83=xn = xd*cos(angle3) - yd*sin(angle3);
  296. wave_3_per_point84=yn = xd*sin(angle3) + yd*cos(angle3);
  297. wave_3_per_point85=
  298. wave_3_per_point86=zd = zd + 2;
  299. wave_3_per_point87=
  300. wave_3_per_point88=x = xn*zd*0.3 + 0.5;
  301. wave_3_per_point89=y = yn*zd*0.3*1.2;
  302. wave_3_per_point90=
  303. wave_3_per_point91=
  304. wave_3_per_point92=x = x + xdriftinc;
  305. wave_3_per_point93=y = y + sin(yval*1.5) - 0.18;
  306. wave_3_per_point94=
  307. wave_3_per_point95=
  308. wave_3_per_point96=r = 0.5 + 0.5*sin(q1*1.3 + x + x);
  309. wave_3_per_point97=g = 0.5 + 0.5*sin(q1*1.1 + x + y);
  310. wave_3_per_point98=b = 0.5 + 0.5*sin(q1*1.66 + y + y);
  311. shapecode_0_enabled=1
  312. shapecode_0_sides=4
  313. shapecode_0_additive=0
  314. shapecode_0_thickOutline=0
  315. shapecode_0_textured=1
  316. shapecode_0_num_inst=1
  317. shapecode_0_x=0.500
  318. shapecode_0_y=0.500
  319. shapecode_0_rad=2.66718
  320. shapecode_0_ang=0.00000
  321. shapecode_0_tex_ang=0.00000
  322. shapecode_0_tex_zoom=0.45112
  323. shapecode_0_r=1.000
  324. shapecode_0_g=1.000
  325. shapecode_0_b=0.000
  326. shapecode_0_a=0.150
  327. shapecode_0_r2=0.000
  328. shapecode_0_g2=0.000
  329. shapecode_0_b2=0.000
  330. shapecode_0_a2=0.050
  331. shapecode_0_border_r=1.000
  332. shapecode_0_border_g=1.000
  333. shapecode_0_border_b=1.000
  334. shapecode_0_border_a=0.100
  335. shape_0_per_frame1=r = 0.1 + 0.5*sin(q1);
  336. shape_0_per_frame2=g = 0.1 + 0.5*sin(q1*0.9878);
  337. shape_0_per_frame3=b = 0.1 + 0.5*sin(q1*0.897);
  338. shapecode_1_enabled=0
  339. shapecode_1_sides=100
  340. shapecode_1_additive=0
  341. shapecode_1_thickOutline=0
  342. shapecode_1_textured=1
  343. shapecode_1_num_inst=1
  344. shapecode_1_x=0.500
  345. shapecode_1_y=0.500
  346. shapecode_1_rad=2.38096
  347. shapecode_1_ang=0.00000
  348. shapecode_1_tex_ang=0.00000
  349. shapecode_1_tex_zoom=0.42497
  350. shapecode_1_r=0.000
  351. shapecode_1_g=0.000
  352. shapecode_1_b=1.000
  353. shapecode_1_a=0.400
  354. shapecode_1_r2=0.000
  355. shapecode_1_g2=0.000
  356. shapecode_1_b2=0.000
  357. shapecode_1_a2=0.900
  358. shapecode_1_border_r=1.000
  359. shapecode_1_border_g=1.000
  360. shapecode_1_border_b=1.000
  361. shapecode_1_border_a=1.000
  362. shape_1_per_frame1=r = 0.1 + 0.5*sin(q1);
  363. shape_1_per_frame2=g = 0.1 + 0.5*sin(q1*0.9878);
  364. shape_1_per_frame3=b = 0.1 + 0.5*sin(q1*0.897);
  365. shapecode_2_enabled=1
  366. shapecode_2_sides=100
  367. shapecode_2_additive=0
  368. shapecode_2_thickOutline=0
  369. shapecode_2_textured=0
  370. shapecode_2_num_inst=1
  371. shapecode_2_x=1.000
  372. shapecode_2_y=0.500
  373. shapecode_2_rad=0.10201
  374. shapecode_2_ang=0.00000
  375. shapecode_2_tex_ang=0.00000
  376. shapecode_2_tex_zoom=1.00000
  377. shapecode_2_r=1.000
  378. shapecode_2_g=0.000
  379. shapecode_2_b=0.000
  380. shapecode_2_a=1.000
  381. shapecode_2_r2=0.000
  382. shapecode_2_g2=1.000
  383. shapecode_2_b2=0.000
  384. shapecode_2_a2=0.000
  385. shapecode_2_border_r=1.000
  386. shapecode_2_border_g=1.000
  387. shapecode_2_border_b=1.000
  388. shapecode_2_border_a=0.100
  389. shape_2_per_frame1=x = 0.5 + 0.02*sin(time);
  390. shape_2_per_frame2=y = 0.5 + 0.02*cos(time);
  391. shape_2_per_frame3=
  392. shape_2_per_frame4=r = 0.1 + 0.5*sin(q1*0.01);
  393. shape_2_per_frame5=g = 0.1 + 0.5*sin(q1*0.09878);
  394. shape_2_per_frame6=b = 0.1 + 0.5*sin(q1*0.0897);
  395. shape_2_per_frame7=
  396. shape_2_per_frame8=r2 = 0.1 + 0.5*sin(q1*0.035);
  397. shape_2_per_frame9=g2 = 0.1 + 0.5*sin(q1*0.09878);
  398. shape_2_per_frame10=b2 = 0.1 + 0.5*sin(q1*0.0897);
  399. shapecode_3_enabled=0
  400. shapecode_3_sides=100
  401. shapecode_3_additive=0
  402. shapecode_3_thickOutline=0
  403. shapecode_3_textured=0
  404. shapecode_3_num_inst=1
  405. shapecode_3_x=0.500
  406. shapecode_3_y=0.500
  407. shapecode_3_rad=0.10000
  408. shapecode_3_ang=0.00000
  409. shapecode_3_tex_ang=0.00000
  410. shapecode_3_tex_zoom=1.00000
  411. shapecode_3_r=1.000
  412. shapecode_3_g=1.000
  413. shapecode_3_b=1.000
  414. shapecode_3_a=1.000
  415. shapecode_3_r2=1.000
  416. shapecode_3_g2=0.000
  417. shapecode_3_b2=1.000
  418. shapecode_3_a2=1.000
  419. shapecode_3_border_r=1.000
  420. shapecode_3_border_g=1.000
  421. shapecode_3_border_b=1.000
  422. shapecode_3_border_a=0.100
  423. shape_3_per_frame1=x = 0.5 + 0.02*sin(time*0.5 + 1.68);
  424. shape_3_per_frame2=y = 0.5 + 0.02*cos(time*0.5 + 1.68);
  425. shape_3_per_frame3=
  426. shape_3_per_frame4=
  427. shape_3_per_frame5=r = 0.1 + 0.5*sin(q1*0.0144);
  428. shape_3_per_frame6=g = 0.1 + 0.5*sin(q1*0.05878);
  429. shape_3_per_frame7=b = 0.1 + 0.5*sin(q1*0.0797);
  430. shape_3_per_frame8=
  431. shape_3_per_frame9=r2 = 0.1 + 0.5*sin(q1*0.065);
  432. shape_3_per_frame10=g2 = 0.1 + 0.5*sin(q1*0.07878);
  433. shape_3_per_frame11=b2 = 0.1 + 0.5*sin(q1*0.0897);
  434. per_frame_init_1=state = 0;
  435. per_frame_1=basstime = basstime + bass*0.06;
  436. per_frame_2=q1 = basstime;
  437. per_frame_3=
  438. per_frame_4=q9 = basstime * 0.000005;
  439. per_frame_5=
  440. per_frame_6=basstime = if(below(basstime,1000),1000,basstime);
  441. per_frame_7=
  442. per_frame_8=vol = pow(bass+mid+treb,2);
  443. per_frame_9=basssum = vol;
  444. per_frame_10=
  445. per_frame_11=stickybit = time%2;
  446. per_frame_12=
  447. per_frame_13=//avg vol
  448. per_frame_14=//buffer 1
  449. per_frame_15=volAvg = volAvg + vol*equal(stickybit,1);
  450. per_frame_16=//number of samples 1 or framerate
  451. per_frame_17=sample1 = sample1 + equal(stickybit,1);
  452. per_frame_18=//buffer 2
  453. per_frame_19=volAvg2 = volAvg2 + vol*equal(stickybit,0);
  454. per_frame_20=//number of samples 2
  455. per_frame_21=sample2 = sample2 + equal(stickybit,0);
  456. per_frame_22=
  457. per_frame_23=//transision
  458. per_frame_24=edge = bnot(equal(bit2,stickybit));
  459. per_frame_25=
  460. per_frame_26=volAvg = volAvg - volAvg*edge*stickybit;
  461. per_frame_27=volAvg2 = volAvg2 - volAvg2*edge*equal(stickybit,0);
  462. per_frame_28=
  463. per_frame_29=sample1 = sample1 - sample1*edge*stickybit;
  464. per_frame_30=sample2 = sample2 - sample2*edge*equal(stickybit,0);
  465. per_frame_31=
  466. per_frame_32=//test vol against avg buffer lvl
  467. per_frame_33=diff = if(equal(stickybit,1), (basssum/(volAvg2/sample2)) , 0);
  468. per_frame_34=diff = if(equal(stickybit,0), (basssum/(volAvg/sample1)), diff);
  469. per_frame_35=
  470. per_frame_36=q3 = diff;
  471. per_frame_37=
  472. per_frame_38=bit2 = time%2;
  473. per_frame_39=
  474. per_frame_40=difftime = difftime + diff*0.03;
  475. per_frame_41=q2 = difftime;
  476. per_frame_42=
  477. per_frame_43=//fix a strange error
  478. per_frame_44=difftime = if(above(difftime,2000),0, difftime);
  479. per_frame_45=
  480. per_frame_46=
  481. per_frame_47=
  482. per_frame_48=monitor = q1;
  483. per_pixel_1=zoom = 1;
  484. warp_1=`sampler sampler_cells;
  485. warp_2=`
  486. warp_3=`shader_body
  487. warp_4=`{
  488. warp_5=`
  489. warp_6=`
  490. warp_7=` //float3 txr = float3(uv,q2*0.1);
  491. warp_8=` float2 txr = float2(uv);
  492. warp_9=`
  493. warp_10=`
  494. warp_11=` float3 final_noise = 0;
  495. warp_12=` final_noise += tex2D(sampler_cells, (txr-0.5)*(1 - bass_att*0.1) + 0.5);;
  496. warp_13=`
  497. warp_14=` final_noise = 1 - final_noise*0.25;
  498. warp_15=`
  499. warp_16=` ret = tex2D(sampler_main, (uv-0.5)*(1 - bass_att*0.01)*final_noise + 0.5).xyz;
  500. warp_17=`
  501. warp_18=` // darken (decay) over time
  502. warp_19=` ret = ret-0.0; //or try: ret -= 0.004;
  503. warp_20=`}
  504. comp_1=`shader_body
  505. comp_2=`{
  506. comp_3=` float2 uv_echo = (uv - 0.5)*0.993*float2(-1,1) + 0.5;
  507. comp_4=` ret = tex2D(sampler_main, uv).xyz;
  508. comp_5=` ret *= 2.00; //gamma
  509. comp_6=` ret = sqrt(ret); //brighten
  510. comp_7=` ret = 1-ret*(1-ret)*4;
  511. comp_8=`}