Eo.S. - repeater 15 - kaleidoscope b.milk 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640
  1. [preset00]
  2. fRating=2.000000
  3. fGammaAdj=1.980000
  4. fDecay=0.960000
  5. fVideoEchoZoom=0.996630
  6. fVideoEchoAlpha=0.000000
  7. nVideoEchoOrientation=1
  8. nWaveMode=2
  9. bAdditiveWaves=0
  10. bWaveDots=1
  11. bWaveThick=0
  12. bModWaveAlphaByVolume=0
  13. bMaximizeWaveColor=0
  14. bTexWrap=0
  15. bDarkenCenter=0
  16. bRedBlueStereo=0
  17. bBrighten=0
  18. bDarken=1
  19. bSolarize=0
  20. bInvert=0
  21. fWaveAlpha=0.001000
  22. fWaveScale=0.011726
  23. fWaveSmoothing=0.900000
  24. fWaveParam=0.000000
  25. fModWaveAlphaStart=0.750000
  26. fModWaveAlphaEnd=0.950000
  27. fWarpAnimSpeed=0.037492
  28. fWarpScale=0.014889
  29. fZoomExponent=1.000000
  30. fShader=0.000000
  31. zoom=1.000000
  32. rot=0.000000
  33. cx=0.500000
  34. cy=0.500000
  35. dx=0.000000
  36. dy=0.000000
  37. warp=0.033004
  38. sx=1.000000
  39. sy=1.000000
  40. wave_r=0.500000
  41. wave_g=0.400000
  42. wave_b=0.300000
  43. wave_x=0.500000
  44. wave_y=0.500000
  45. ob_size=0.000000
  46. ob_r=0.110000
  47. ob_g=0.000000
  48. ob_b=0.100000
  49. ob_a=0.000000
  50. ib_size=0.000000
  51. ib_r=0.000000
  52. ib_g=0.000000
  53. ib_b=0.000000
  54. ib_a=0.000000
  55. nMotionVectorsX=0.000000
  56. nMotionVectorsY=43.199997
  57. mv_dx=0.000000
  58. mv_dy=0.000000
  59. mv_l=1.000000
  60. mv_r=1.000000
  61. mv_g=0.910000
  62. mv_b=0.710000
  63. mv_a=0.000000
  64. wavecode_0_enabled=1
  65. wavecode_0_samples=512
  66. wavecode_0_sep=0
  67. wavecode_0_bSpectrum=0
  68. wavecode_0_bUseDots=0
  69. wavecode_0_bDrawThick=0
  70. wavecode_0_bAdditive=0
  71. wavecode_0_scaling=1.000000
  72. wavecode_0_smoothing=0.500000
  73. wavecode_0_r=0.100000
  74. wavecode_0_g=1.000000
  75. wavecode_0_b=0.700000
  76. wavecode_0_a=1.000000
  77. wave_0_per_frame1=t1=sin(time)*0.5+0.5;
  78. wave_0_per_frame2=t2=sin(time+2.1)*0.5+0.5;
  79. wave_0_per_frame3=t3=sin(time+4.2)*0.5+0.5;
  80. wave_0_per_frame4=
  81. wave_0_per_frame5=t4=sin(time+1.1)*0.5+0.5;
  82. wave_0_per_frame6=t5=sin(time+3.1)*0.5+0.5;
  83. wave_0_per_frame7=t6=sin(time+5.2)*0.5+0.5;
  84. wave_0_per_point1=n=sample*6.283;
  85. wave_0_per_point2=phs=-sample * 0.2;
  86. wave_0_per_point3=tm=q1 + phs;
  87. wave_0_per_point4=
  88. wave_0_per_point5=flip=flip+1;
  89. wave_0_per_point6=flip=flip*below(flip,2);
  90. wave_0_per_point7=
  91. wave_0_per_point8=xp=0;
  92. wave_0_per_point9=yp=flip*0.1 + (sin(tm)*0.5 + 0.5)*0.2;
  93. wave_0_per_point10=zp=0;
  94. wave_0_per_point11=
  95. wave_0_per_point12=//wrist movement;
  96. wave_0_per_point13=ang=sin(tm*2 )*0.5 +0.5;
  97. wave_0_per_point14=
  98. wave_0_per_point15=xq=xp;
  99. wave_0_per_point16=sinang=sin(ang);cosang=cos(ang);
  100. wave_0_per_point17=yq=yp*sinang + zp*cosang;
  101. wave_0_per_point18=zq=yp*cosang - zp*sinang;
  102. wave_0_per_point19=yq=yp;
  103. wave_0_per_point20=zq=zp;
  104. wave_0_per_point21=
  105. wave_0_per_point22=ang=tm*8;
  106. wave_0_per_point23=sinang=sin(ang);cosang=cos(ang);
  107. wave_0_per_point24=xp=xq*sinang + yq*cosang;
  108. wave_0_per_point25=yp=xq*cosang - yq*sinang;
  109. wave_0_per_point26=zp=zq;
  110. wave_0_per_point27=
  111. wave_0_per_point28=//forearm movement;
  112. wave_0_per_point29=zp=zp-0.3;
  113. wave_0_per_point30=ang=3.14 + sin(tm*2 - 0.5)*1.5;
  114. wave_0_per_point31=sinang=sin(ang);cosang=cos(ang);
  115. wave_0_per_point32=xq=xp;
  116. wave_0_per_point33=yq=yp*sinang + zp*cosang;
  117. wave_0_per_point34=zq=yp*cosang - zp*sinang;
  118. wave_0_per_point35=
  119. wave_0_per_point36=//upper arm twist
  120. wave_0_per_point37=ang=-1.0 + cos(tm*3.1 + 0.5);
  121. wave_0_per_point38=sinang=sin(ang);cosang=cos(ang);
  122. wave_0_per_point39=xp=xq*sinang + yq*cosang;
  123. wave_0_per_point40=yp=xq*cosang - yq*sinang;
  124. wave_0_per_point41=zp=zq;
  125. wave_0_per_point42=
  126. wave_0_per_point43=//upper arm outward;
  127. wave_0_per_point44=zp=zp-0.35;
  128. wave_0_per_point45=ang=cos(tm*2.3)*1.75 - 1.05;
  129. wave_0_per_point46=sinang=sin(ang);cosang=cos(ang);
  130. wave_0_per_point47=xq=xp*sinang + zp*cosang;
  131. wave_0_per_point48=yq=yp;
  132. wave_0_per_point49=zq=xp*cosang - zp*sinang;
  133. wave_0_per_point50=
  134. wave_0_per_point51=//upper arm up down;
  135. wave_0_per_point52=ang=cos(tm)*0.5 - 0.5;
  136. wave_0_per_point53=sinang=sin(ang);cosang=cos(ang);
  137. wave_0_per_point54=xp=xq;
  138. wave_0_per_point55=yp=yq*cosang - zq*sinang;
  139. wave_0_per_point56=zp=yq*sinang + zq*cosang;
  140. wave_0_per_point57=
  141. wave_0_per_point58=//xp=xq;yp=yq;zp=zq;
  142. wave_0_per_point59=
  143. wave_0_per_point60=
  144. wave_0_per_point61=//project into screenspace and draw on screen
  145. wave_0_per_point62=zp=zp+2;
  146. wave_0_per_point63=xs=xp/zp;
  147. wave_0_per_point64=ys=yp/zp;
  148. wave_0_per_point65=
  149. wave_0_per_point66=x=xs+0.5;
  150. wave_0_per_point67=y=ys*1.3+0.5;
  151. wave_0_per_point68=
  152. wave_0_per_point69=
  153. wave_0_per_point70=a=if( equal(q8,1) , (1-sample) , sample);
  154. wave_0_per_point71=a=a*a;
  155. wave_0_per_point72=
  156. wave_0_per_point73=b=b+pow(1-sample,2)*0.3;
  157. wave_0_per_point74=
  158. wave_0_per_point75=
  159. wave_0_per_point76=
  160. wave_0_per_point77=r1=t1;
  161. wave_0_per_point78=g1=t2;
  162. wave_0_per_point79=b1=t3;
  163. wave_0_per_point80=r2=t4;
  164. wave_0_per_point81=g2=t5;
  165. wave_0_per_point82=b2=t6;
  166. wave_0_per_point83=
  167. wave_0_per_point84=r=r1*flip + r2*(1-flip);
  168. wave_0_per_point85=g=g1*flip + g2*(1-flip);
  169. wave_0_per_point86=b=b1*flip + b2*(1-flip);
  170. wavecode_1_enabled=1
  171. wavecode_1_samples=512
  172. wavecode_1_sep=0
  173. wavecode_1_bSpectrum=0
  174. wavecode_1_bUseDots=0
  175. wavecode_1_bDrawThick=0
  176. wavecode_1_bAdditive=0
  177. wavecode_1_scaling=1.000000
  178. wavecode_1_smoothing=0.500000
  179. wavecode_1_r=0.100000
  180. wavecode_1_g=1.000000
  181. wavecode_1_b=0.700000
  182. wavecode_1_a=1.000000
  183. wave_1_per_frame1=t1=sin(time)*0.5+0.5;
  184. wave_1_per_frame2=t2=sin(time+2.1)*0.5+0.5;
  185. wave_1_per_frame3=t3=sin(time+4.2)*0.5+0.5;
  186. wave_1_per_frame4=
  187. wave_1_per_frame5=t4=sin(time+1.1)*0.5+0.5;
  188. wave_1_per_frame6=t5=sin(time+3.1)*0.5+0.5;
  189. wave_1_per_frame7=t6=sin(time+5.2)*0.5+0.5;
  190. wave_1_per_point1=n=sample*6.283;
  191. wave_1_per_point2=phs=-sample * 0.2;
  192. wave_1_per_point3=tm=q1 + phs;
  193. wave_1_per_point4=
  194. wave_1_per_point5=flip=flip+1;
  195. wave_1_per_point6=flip=flip*below(flip,2);
  196. wave_1_per_point7=
  197. wave_1_per_point8=xp=0;
  198. wave_1_per_point9=yp=flip*0.1 + (sin(tm)*0.5 + 0.5)*0.2;
  199. wave_1_per_point10=zp=0;
  200. wave_1_per_point11=
  201. wave_1_per_point12=//wrist movement;
  202. wave_1_per_point13=ang=sin(tm*2 )*0.5 +0.5;
  203. wave_1_per_point14=
  204. wave_1_per_point15=xq=xp;
  205. wave_1_per_point16=sinang=sin(ang);cosang=cos(ang);
  206. wave_1_per_point17=yq=yp*sinang + zp*cosang;
  207. wave_1_per_point18=zq=yp*cosang - zp*sinang;
  208. wave_1_per_point19=yq=yp;
  209. wave_1_per_point20=zq=zp;
  210. wave_1_per_point21=
  211. wave_1_per_point22=ang=tm*8;
  212. wave_1_per_point23=sinang=sin(ang);cosang=cos(ang);
  213. wave_1_per_point24=xp=xq*sinang + yq*cosang;
  214. wave_1_per_point25=yp=xq*cosang - yq*sinang;
  215. wave_1_per_point26=zp=zq;
  216. wave_1_per_point27=
  217. wave_1_per_point28=//forearm movement;
  218. wave_1_per_point29=zp=zp-0.3;
  219. wave_1_per_point30=ang=3.14 + sin(tm*2 - 0.5)*1.5;
  220. wave_1_per_point31=sinang=sin(ang);cosang=cos(ang);
  221. wave_1_per_point32=xq=xp;
  222. wave_1_per_point33=yq=yp*sinang + zp*cosang;
  223. wave_1_per_point34=zq=yp*cosang - zp*sinang;
  224. wave_1_per_point35=
  225. wave_1_per_point36=//upper arm twist
  226. wave_1_per_point37=ang=-1.0 + cos(tm*3.1 + 0.5);
  227. wave_1_per_point38=sinang=sin(ang);cosang=cos(ang);
  228. wave_1_per_point39=xp=xq*sinang + yq*cosang;
  229. wave_1_per_point40=yp=xq*cosang - yq*sinang;
  230. wave_1_per_point41=zp=zq;
  231. wave_1_per_point42=
  232. wave_1_per_point43=//upper arm outward;
  233. wave_1_per_point44=zp=zp-0.35;
  234. wave_1_per_point45=ang=cos(tm*2.3)*1.75 - 1.05;
  235. wave_1_per_point46=sinang=sin(ang);cosang=cos(ang);
  236. wave_1_per_point47=xq=xp*sinang + zp*cosang;
  237. wave_1_per_point48=yq=yp;
  238. wave_1_per_point49=zq=xp*cosang - zp*sinang;
  239. wave_1_per_point50=
  240. wave_1_per_point51=//upper arm up down;
  241. wave_1_per_point52=ang=cos(tm)*0.5 - 0.5;
  242. wave_1_per_point53=sinang=sin(ang);cosang=cos(ang);
  243. wave_1_per_point54=xp=xq;
  244. wave_1_per_point55=yp=yq*cosang - zq*sinang;
  245. wave_1_per_point56=zp=yq*sinang + zq*cosang;
  246. wave_1_per_point57=
  247. wave_1_per_point58=//xp=xq;yp=yq;zp=zq;
  248. wave_1_per_point59=
  249. wave_1_per_point60=
  250. wave_1_per_point61=//project into screenspace and draw on screen
  251. wave_1_per_point62=zp=zp+2;
  252. wave_1_per_point63=xs=-xp/zp;
  253. wave_1_per_point64=ys=yp/zp;
  254. wave_1_per_point65=
  255. wave_1_per_point66=x=xs+0.5;
  256. wave_1_per_point67=y=ys*1.3+0.5;
  257. wave_1_per_point68=
  258. wave_1_per_point69=
  259. wave_1_per_point70=a=if( equal(q8,1) , (1-sample) , sample);
  260. wave_1_per_point71=a=a*a;
  261. wave_1_per_point72=
  262. wave_1_per_point73=b=b+pow(1-sample,2)*0.3;
  263. wave_1_per_point74=
  264. wave_1_per_point75=
  265. wave_1_per_point76=
  266. wave_1_per_point77=r1=t1;
  267. wave_1_per_point78=g1=t2;
  268. wave_1_per_point79=b1=t3;
  269. wave_1_per_point80=r2=t4;
  270. wave_1_per_point81=g2=t5;
  271. wave_1_per_point82=b2=t6;
  272. wave_1_per_point83=
  273. wave_1_per_point84=r=r1*flip + r2*(1-flip);
  274. wave_1_per_point85=g=g1*flip + g2*(1-flip);
  275. wave_1_per_point86=b=b1*flip + b2*(1-flip);
  276. wavecode_2_enabled=0
  277. wavecode_2_samples=512
  278. wavecode_2_sep=0
  279. wavecode_2_bSpectrum=0
  280. wavecode_2_bUseDots=1
  281. wavecode_2_bDrawThick=1
  282. wavecode_2_bAdditive=1
  283. wavecode_2_scaling=1.000000
  284. wavecode_2_smoothing=0.500000
  285. wavecode_2_r=1.000000
  286. wavecode_2_g=0.600000
  287. wavecode_2_b=0.100000
  288. wavecode_2_a=1.000000
  289. wave_2_per_frame1=t1=sin(time)*0.5+0.5;
  290. wave_2_per_frame2=t2=sin(time+2.1)*0.5+0.5;
  291. wave_2_per_frame3=t3=sin(time+4.2)*0.5+0.5;
  292. wave_2_per_frame4=
  293. wave_2_per_frame5=t4=sin(time+1.1)*0.5+0.5;
  294. wave_2_per_frame6=t5=sin(time+3.1)*0.5+0.5;
  295. wave_2_per_frame7=t6=sin(time+5.2)*0.5+0.5;
  296. wave_2_per_frame8=
  297. wave_2_per_frame9=
  298. wave_2_per_frame10=t8= int( sin(time*2)*2 + 3);
  299. wave_2_per_point1=n=sample*6.283;
  300. wave_2_per_point2=phs=-sample * 0.2;
  301. wave_2_per_point3=tm=q1 + phs;
  302. wave_2_per_point4=
  303. wave_2_per_point5=flip=flip+1;
  304. wave_2_per_point6=flip=flip*below(flip,2);
  305. wave_2_per_point7=
  306. wave_2_per_point8=xp=0;
  307. wave_2_per_point9=yp=flip*0.1 + (sin(tm)*0.5 + 0.5)*0.2;
  308. wave_2_per_point10=zp=0;
  309. wave_2_per_point11=
  310. wave_2_per_point12=//wrist movement;
  311. wave_2_per_point13=ang=sin(tm*2)*0.5 +0.5;
  312. wave_2_per_point14=
  313. wave_2_per_point15=xq=xp;
  314. wave_2_per_point16=sinang=sin(ang);cosang=cos(ang);
  315. wave_2_per_point17=yq=yp*sinang + zp*cosang;
  316. wave_2_per_point18=zq=yp*cosang - zp*sinang;
  317. wave_2_per_point19=yq=yp;
  318. wave_2_per_point20=zq=zp;
  319. wave_2_per_point21=
  320. wave_2_per_point22=ang=tm*8 + 1;
  321. wave_2_per_point23=sinang=sin(ang);cosang=cos(ang);
  322. wave_2_per_point24=xp=xq*sinang + yq*cosang;
  323. wave_2_per_point25=yp=xq*cosang - yq*sinang;
  324. wave_2_per_point26=zp=zq;
  325. wave_2_per_point27=
  326. wave_2_per_point28=//forearm movement;
  327. wave_2_per_point29=zp=zp-0.3;
  328. wave_2_per_point30=ang=3.14 + sin(tm*2 - 0.5)*1.5;
  329. wave_2_per_point31=sinang=sin(ang);cosang=cos(ang);
  330. wave_2_per_point32=xq=xp;
  331. wave_2_per_point33=yq=yp*sinang + zp*cosang;
  332. wave_2_per_point34=zq=yp*cosang - zp*sinang;
  333. wave_2_per_point35=
  334. wave_2_per_point36=//upper arm twist
  335. wave_2_per_point37=ang=-1.0 + cos(tm*3.1 + 0.5);
  336. wave_2_per_point38=sinang=sin(ang);cosang=cos(ang);
  337. wave_2_per_point39=xp=xq*sinang + yq*cosang;
  338. wave_2_per_point40=yp=xq*cosang - yq*sinang;
  339. wave_2_per_point41=zp=zq;
  340. wave_2_per_point42=
  341. wave_2_per_point43=//upper arm outward;
  342. wave_2_per_point44=zp=zp-0.35;
  343. wave_2_per_point45=ang=cos(tm*2.3)*1.75 - 1.05;
  344. wave_2_per_point46=sinang=sin(ang);cosang=cos(ang);
  345. wave_2_per_point47=xq=xp*sinang + zp*cosang;
  346. wave_2_per_point48=yq=yp;
  347. wave_2_per_point49=zq=xp*cosang - zp*sinang;
  348. wave_2_per_point50=
  349. wave_2_per_point51=//upper arm up down;
  350. wave_2_per_point52=ang=cos(tm)*0.5 - 0.5;
  351. wave_2_per_point53=sinang=sin(ang);cosang=cos(ang);
  352. wave_2_per_point54=xp=xq;
  353. wave_2_per_point55=yp=yq*cosang - zq*sinang;
  354. wave_2_per_point56=zp=yq*sinang + zq*cosang;
  355. wave_2_per_point57=
  356. wave_2_per_point58=//xp=xq;yp=yq;zp=zq;
  357. wave_2_per_point59=
  358. wave_2_per_point60=
  359. wave_2_per_point61=//project into screenspace and draw on screen
  360. wave_2_per_point62=zp=zp+2;
  361. wave_2_per_point63=xs=xp/zp;
  362. wave_2_per_point64=ys=yp/zp;
  363. wave_2_per_point65=
  364. wave_2_per_point66=x=xs+0.5;
  365. wave_2_per_point67=y=ys*1.3+0.5;
  366. wave_2_per_point68=
  367. wave_2_per_point69=a=if( equal(q8,1) , (1-sample) , sample);
  368. wave_2_per_point70=
  369. wave_2_per_point71=
  370. wave_2_per_point72=a=a* above( sin(tm*128*t8) , 0 );
  371. wave_2_per_point73=
  372. wave_2_per_point74=
  373. wave_2_per_point75=r=t4;
  374. wave_2_per_point76=g=t5;
  375. wave_2_per_point77=b=t6;
  376. wave_2_per_point78=
  377. wavecode_3_enabled=0
  378. wavecode_3_samples=512
  379. wavecode_3_sep=0
  380. wavecode_3_bSpectrum=0
  381. wavecode_3_bUseDots=1
  382. wavecode_3_bDrawThick=1
  383. wavecode_3_bAdditive=1
  384. wavecode_3_scaling=1.000000
  385. wavecode_3_smoothing=0.500000
  386. wavecode_3_r=1.000000
  387. wavecode_3_g=0.600000
  388. wavecode_3_b=0.100000
  389. wavecode_3_a=1.000000
  390. wave_3_per_frame1=t1=sin(time)*0.5+0.5;
  391. wave_3_per_frame2=t2=sin(time+2.1)*0.5+0.5;
  392. wave_3_per_frame3=t3=sin(time+4.2)*0.5+0.5;
  393. wave_3_per_frame4=
  394. wave_3_per_frame5=t4=sin(time+1.1)*0.5+0.5;
  395. wave_3_per_frame6=t5=sin(time+3.1)*0.5+0.5;
  396. wave_3_per_frame7=t6=sin(time+5.2)*0.5+0.5;
  397. wave_3_per_frame8=
  398. wave_3_per_frame9=
  399. wave_3_per_frame10=t8= int( sin(time*2)*2 + 3);
  400. wave_3_per_point1=n=sample*6.283;
  401. wave_3_per_point2=phs=-sample * 0.2;
  402. wave_3_per_point3=tm=q1 + phs;
  403. wave_3_per_point4=
  404. wave_3_per_point5=flip=flip+1;
  405. wave_3_per_point6=flip=flip*below(flip,2);
  406. wave_3_per_point7=
  407. wave_3_per_point8=xp=0;
  408. wave_3_per_point9=yp=flip*0.1 + (sin(tm)*0.5 + 0.5)*0.2;
  409. wave_3_per_point10=zp=0;
  410. wave_3_per_point11=
  411. wave_3_per_point12=//wrist movement;
  412. wave_3_per_point13=ang=sin(tm*2)*0.5 +0.5;
  413. wave_3_per_point14=
  414. wave_3_per_point15=xq=xp;
  415. wave_3_per_point16=sinang=sin(ang);cosang=cos(ang);
  416. wave_3_per_point17=yq=yp*sinang + zp*cosang;
  417. wave_3_per_point18=zq=yp*cosang - zp*sinang;
  418. wave_3_per_point19=yq=yp;
  419. wave_3_per_point20=zq=zp;
  420. wave_3_per_point21=
  421. wave_3_per_point22=ang=tm*8 + 1;
  422. wave_3_per_point23=sinang=sin(ang);cosang=cos(ang);
  423. wave_3_per_point24=xp=xq*sinang + yq*cosang;
  424. wave_3_per_point25=yp=xq*cosang - yq*sinang;
  425. wave_3_per_point26=zp=zq;
  426. wave_3_per_point27=
  427. wave_3_per_point28=//forearm movement;
  428. wave_3_per_point29=zp=zp-0.3;
  429. wave_3_per_point30=ang=3.14 + sin(tm*2 - 0.5)*1.5;
  430. wave_3_per_point31=sinang=sin(ang);cosang=cos(ang);
  431. wave_3_per_point32=xq=xp;
  432. wave_3_per_point33=yq=yp*sinang + zp*cosang;
  433. wave_3_per_point34=zq=yp*cosang - zp*sinang;
  434. wave_3_per_point35=
  435. wave_3_per_point36=//upper arm twist
  436. wave_3_per_point37=ang=-1.0 + cos(tm*3.1 + 0.5);
  437. wave_3_per_point38=sinang=sin(ang);cosang=cos(ang);
  438. wave_3_per_point39=xp=xq*sinang + yq*cosang;
  439. wave_3_per_point40=yp=xq*cosang - yq*sinang;
  440. wave_3_per_point41=zp=zq;
  441. wave_3_per_point42=
  442. wave_3_per_point43=//upper arm outward;
  443. wave_3_per_point44=zp=zp-0.35;
  444. wave_3_per_point45=ang=cos(tm*2.3)*1.75 - 1.05;
  445. wave_3_per_point46=sinang=sin(ang);cosang=cos(ang);
  446. wave_3_per_point47=xq=xp*sinang + zp*cosang;
  447. wave_3_per_point48=yq=yp;
  448. wave_3_per_point49=zq=xp*cosang - zp*sinang;
  449. wave_3_per_point50=
  450. wave_3_per_point51=//upper arm up down;
  451. wave_3_per_point52=ang=cos(tm)*0.5 - 0.5;
  452. wave_3_per_point53=sinang=sin(ang);cosang=cos(ang);
  453. wave_3_per_point54=xp=xq;
  454. wave_3_per_point55=yp=yq*cosang - zq*sinang;
  455. wave_3_per_point56=zp=yq*sinang + zq*cosang;
  456. wave_3_per_point57=
  457. wave_3_per_point58=//xp=xq;yp=yq;zp=zq;
  458. wave_3_per_point59=
  459. wave_3_per_point60=
  460. wave_3_per_point61=//project into screenspace and draw on screen
  461. wave_3_per_point62=zp=zp+2;
  462. wave_3_per_point63=xs=-xp/zp;
  463. wave_3_per_point64=ys=yp/zp;
  464. wave_3_per_point65=
  465. wave_3_per_point66=x=xs+0.5;
  466. wave_3_per_point67=y=ys*1.3+0.5;
  467. wave_3_per_point68=
  468. wave_3_per_point69=a=if( equal(q8,1) , (1-sample) , sample);
  469. wave_3_per_point70=
  470. wave_3_per_point71=
  471. wave_3_per_point72=a=a* above( sin(tm*128*t8) , 0 );
  472. wave_3_per_point73=
  473. wave_3_per_point74=
  474. wave_3_per_point75=r=t4;
  475. wave_3_per_point76=g=t5;
  476. wave_3_per_point77=b=t6;
  477. wave_3_per_point78=
  478. shapecode_0_enabled=1
  479. shapecode_0_sides=4
  480. shapecode_0_additive=0
  481. shapecode_0_thickOutline=0
  482. shapecode_0_textured=1
  483. shapecode_0_x=0.260000
  484. shapecode_0_y=0.809999
  485. shapecode_0_rad=0.892690
  486. shapecode_0_ang=0.000000
  487. shapecode_0_tex_ang=0.000000
  488. shapecode_0_tex_zoom=1.082857
  489. shapecode_0_r=1.000000
  490. shapecode_0_g=1.000000
  491. shapecode_0_b=1.000000
  492. shapecode_0_a=1.000000
  493. shapecode_0_r2=1.000000
  494. shapecode_0_g2=1.000000
  495. shapecode_0_b2=1.000000
  496. shapecode_0_a2=1.000000
  497. shapecode_0_border_r=1.000000
  498. shapecode_0_border_g=1.000000
  499. shapecode_0_border_b=1.000000
  500. shapecode_0_border_a=0.000000
  501. shape_0_per_frame1=x = 0.264;
  502. shape_0_per_frame2=
  503. shape_0_per_frame3=r2=r2*q4;
  504. shape_0_per_frame4=g2=g2*q4;
  505. shape_0_per_frame5=b2=b2*q4;
  506. shape_0_per_frame6=
  507. shape_0_per_frame7=tex_ang= q2
  508. shapecode_1_enabled=0
  509. shapecode_1_sides=4
  510. shapecode_1_additive=0
  511. shapecode_1_thickOutline=0
  512. shapecode_1_textured=1
  513. shapecode_1_x=0.740000
  514. shapecode_1_y=0.809999
  515. shapecode_1_rad=0.892690
  516. shapecode_1_ang=0.000000
  517. shapecode_1_tex_ang=0.000000
  518. shapecode_1_tex_zoom=1.082857
  519. shapecode_1_r=1.000000
  520. shapecode_1_g=1.000000
  521. shapecode_1_b=1.000000
  522. shapecode_1_a=1.000000
  523. shapecode_1_r2=1.000000
  524. shapecode_1_g2=1.000000
  525. shapecode_1_b2=1.000000
  526. shapecode_1_a2=1.000000
  527. shapecode_1_border_r=1.000000
  528. shapecode_1_border_g=1.000000
  529. shapecode_1_border_b=1.000000
  530. shapecode_1_border_a=0.000000
  531. shape_1_per_frame1=x=0.737;
  532. shape_1_per_frame2=
  533. shape_1_per_frame3=
  534. shape_1_per_frame4=r2=r2*q4;
  535. shape_1_per_frame5=g2=g2*q4;
  536. shape_1_per_frame6=b2=b2*q4;
  537. shape_1_per_frame7=
  538. shape_1_per_frame8=
  539. shape_1_per_frame9=tex_ang= -q2
  540. shapecode_2_enabled=1
  541. shapecode_2_sides=4
  542. shapecode_2_additive=0
  543. shapecode_2_thickOutline=0
  544. shapecode_2_textured=1
  545. shapecode_2_x=0.260000
  546. shapecode_2_y=0.179999
  547. shapecode_2_rad=0.892690
  548. shapecode_2_ang=0.000000
  549. shapecode_2_tex_ang=0.000000
  550. shapecode_2_tex_zoom=1.082857
  551. shapecode_2_r=1.000000
  552. shapecode_2_g=1.000000
  553. shapecode_2_b=1.000000
  554. shapecode_2_a=1.000000
  555. shapecode_2_r2=1.000000
  556. shapecode_2_g2=1.000000
  557. shapecode_2_b2=1.000000
  558. shapecode_2_a2=1.000000
  559. shapecode_2_border_r=1.000000
  560. shapecode_2_border_g=1.000000
  561. shapecode_2_border_b=1.000000
  562. shapecode_2_border_a=0.000000
  563. shape_2_per_frame1=x = 0.264;
  564. shape_2_per_frame2=y = 0.178;
  565. shape_2_per_frame3=
  566. shape_2_per_frame4=
  567. shape_2_per_frame5=r2=r2*q4;
  568. shape_2_per_frame6=g2=g2*q4;
  569. shape_2_per_frame7=b2=b2*q4;
  570. shape_2_per_frame8=
  571. shape_2_per_frame9=
  572. shape_2_per_frame10=tex_ang= -q2/2
  573. shapecode_3_enabled=1
  574. shapecode_3_sides=4
  575. shapecode_3_additive=0
  576. shapecode_3_thickOutline=0
  577. shapecode_3_textured=1
  578. shapecode_3_x=0.500000
  579. shapecode_3_y=0.499999
  580. shapecode_3_rad=0.476930
  581. shapecode_3_ang=0.000000
  582. shapecode_3_tex_ang=0.000000
  583. shapecode_3_tex_zoom=2.026830
  584. shapecode_3_r=1.000000
  585. shapecode_3_g=1.000000
  586. shapecode_3_b=1.000000
  587. shapecode_3_a=1.000000
  588. shapecode_3_r2=1.000000
  589. shapecode_3_g2=1.000000
  590. shapecode_3_b2=1.000000
  591. shapecode_3_a2=1.000000
  592. shapecode_3_border_r=1.000000
  593. shapecode_3_border_g=1.000000
  594. shapecode_3_border_b=1.000000
  595. shapecode_3_border_a=0.000000
  596. shape_3_per_frame1=x=0.4998
  597. per_frame_init_1=mv_x=64;mv_y=48;
  598. per_frame_init_2=nut=0;
  599. per_frame_init_3=stp=0;stq=0;
  600. per_frame_init_4=rtp=0;rtq=0;
  601. per_frame_init_5=wvr=0;
  602. per_frame_init_6=decay=0;
  603. per_frame_init_7=dcsp=0;
  604. per_frame_init_8=warp=0
  605. per_frame_init_9=
  606. per_frame_1=
  607. per_frame_2=//krash's beat detection code
  608. per_frame_3=volume = 0.3*(bass+mid+att);
  609. per_frame_4=beatrate = equal(beatrate,0) + (1-equal(beatrate,0))*(below(volume,0.01) + (1-below(volume,0.01))*beatrate);
  610. per_frame_5=lastbeat = lastbeat + equal(lastbeat,0)*time;
  611. per_frame_6=meanbass_att = 0.1*(meanbass_att*9 + bass_att);
  612. per_frame_7=peakbass_att = max(bass_att,peakbass_att);
  613. per_frame_8=beatrate = max(if(beat,if(below(time-lastbeat,2*beatrate),0.1*(beatrate*9 + time - lastbeat),beatrate),beatrate),0.1);
  614. per_frame_9=peakbass_att = beat*bass_att + (1-beat)*peakbass_att*(above(time - lastbeat, 2*beatrate)*0.95 + (1-above(time - lastbeat, 2*beatrate))*0.995);
  615. per_frame_10=lastbeat = beat*time + (1-beat)*lastbeat;
  616. per_frame_11=peakbass_att = max(peakbass_att,1.1*meanbass_att);
  617. per_frame_12=beat = above(volume,0.8)*below(peakbass_att - bass_att, 0.05*peakbass_att)*above(time - lastbeat, 0.1 + 0.5*(beatrate - 0.1));
  618. per_frame_13=beatcounter = beatcounter + beat;
  619. per_frame_14=mode = if(beat*equal(beatcounter%2,0),1-mode,mode);
  620. per_frame_15=flip = 2*mode-1;
  621. per_frame_16=monitor=flip;
  622. per_frame_17=q8=flip;
  623. per_frame_18=
  624. per_frame_19=
  625. per_frame_20=decay=0.98;
  626. per_frame_21=zoom=1.01;
  627. per_frame_22=
  628. per_frame_23=vol=(bass_att+mid_att+treb_att)*0.25;
  629. per_frame_24=vol=vol*vol;
  630. per_frame_25=mtime=mtime+vol*0.05*flip*(65/fps);
  631. per_frame_26=mtimeb=mtimeb+vol*0.1*(65/fps);
  632. per_frame_27=
  633. per_frame_28=q1=time*3;
  634. per_frame_29=
  635. per_frame_30=warp=0.0;
  636. per_frame_31=
  637. per_frame_32=
  638. per_frame_33=q4 = min( vol*0.8 , 1 )*0.1 + 0.9;
  639. per_frame_34=q2 = mtimeb/30;
  640. per_frame_35=sx=-1