shifter - tumbling cubes.milk 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471
  1. [preset00]
  2. fRating=5.000000
  3. fGammaAdj=1.0
  4. fDecay=0.5
  5. fVideoEchoZoom=4.946229
  6. fVideoEchoAlpha=0.0
  7. nVideoEchoOrientation=3
  8. nWaveMode=7
  9. bAdditiveWaves=1
  10. bWaveDots=0
  11. bWaveThick=0
  12. bModWaveAlphaByVolume=1
  13. bMaximizeWaveColor=0
  14. bTexWrap=0
  15. bDarkenCenter=0
  16. bRedBlueStereo=0
  17. bBrighten=1
  18. bDarken=0
  19. bSolarize=0
  20. bInvert=0
  21. fWaveAlpha=4.099998
  22. fWaveScale=1.285751
  23. fWaveSmoothing=0.630000
  24. fWaveParam=0.0
  25. fModWaveAlphaStart=0.710000
  26. fModWaveAlphaEnd=1.3
  27. fWarpAnimSpeed=1.0
  28. fWarpScale=1.331000
  29. fZoomExponent=0.999835
  30. fShader=0.0
  31. zoom=0.999512
  32. rot=0.0
  33. cx=0.5
  34. cy=0.5
  35. dx=0.0
  36. dy=0.0
  37. warp=0.010000
  38. sx=1.0
  39. sy=1.0
  40. wave_r=0.650000
  41. wave_g=0.650000
  42. wave_b=0.650000
  43. wave_x=0.5
  44. wave_y=0.5
  45. ob_size=0.5
  46. ob_r=0.010000
  47. ob_g=0.0
  48. ob_b=0.0
  49. ob_a=0.0
  50. ib_size=0.260000
  51. ib_r=0.25
  52. ib_g=0.25
  53. ib_b=0.25
  54. ib_a=0.0
  55. nMotionVectorsX=12.0
  56. nMotionVectorsY=9.0
  57. mv_dx=0.0
  58. mv_dy=0.0
  59. mv_l=0.9
  60. mv_r=1.0
  61. mv_g=1.0
  62. mv_b=1.0
  63. mv_a=0.0
  64. wavecode_0_enabled=1
  65. wavecode_0_samples=512
  66. wavecode_0_sep=0
  67. wavecode_0_bSpectrum=1
  68. wavecode_0_bUseDots=0
  69. wavecode_0_bDrawThick=1
  70. wavecode_0_bAdditive=0
  71. wavecode_0_scaling=1.0
  72. wavecode_0_smoothing=0.5
  73. wavecode_0_r=1.0
  74. wavecode_0_g=1.0
  75. wavecode_0_b=1.0
  76. wavecode_0_a=1.0
  77. wave_0_per_point1=sp = sample*6.28*8*8*4;
  78. wave_0_per_point2=it = it+1;
  79. wave_0_per_point3=it = it*above(sample,0);
  80. wave_0_per_point4=sz = q1;
  81. wave_0_per_point5=ss = sample*6;
  82. 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);
  83. 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);
  84. 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);
  85. 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;
  86. 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));
  87. 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);
  88. wave_0_per_point12=
  89. wave_0_per_point13=xang = q2;
  90. wave_0_per_point14=axang = 0;
  91. wave_0_per_point15=yang = q3;
  92. wave_0_per_point16=ayang = 0;
  93. wave_0_per_point17=zang = q4;
  94. wave_0_per_point18=azang = 0;
  95. wave_0_per_point19=fov = .3;
  96. wave_0_per_point20=
  97. wave_0_per_point21=mx = ox*cos(zang) - oy*sin(zang);
  98. wave_0_per_point22=my = ox*sin(zang) + oy*cos(zang);
  99. wave_0_per_point23=ox = mx;
  100. wave_0_per_point24=oy = my;
  101. wave_0_per_point25=mx = ox*cos(yang) + oz*sin(yang);
  102. wave_0_per_point26=mz = - ox*sin(yang) + oz*cos(yang);
  103. wave_0_per_point27=ox = mx;
  104. wave_0_per_point28=oz = mz;
  105. wave_0_per_point29=my = oy*cos(xang) - oz*sin(xang);
  106. wave_0_per_point30=mz = oy*sin(xang) + oz*cos(xang);
  107. wave_0_per_point31=oy = my;
  108. wave_0_per_point32=oz = mz;
  109. wave_0_per_point33=
  110. wave_0_per_point34=a = .05;
  111. wave_0_per_point35=mod = (oz+1)*.5;
  112. wave_0_per_point36=a = a*max(min(mod,1),0);
  113. wave_0_per_point37=oz = oz - 2;
  114. wave_0_per_point38=x = ox*fov/oz + 0.5;
  115. wave_0_per_point39=x = (x-.5)*0.75 + 0.5;
  116. wave_0_per_point40=y = oy*fov/oz + 0.5;
  117. wave_0_per_point41=
  118. wave_0_per_point42=r = 1+sin(sp);
  119. wave_0_per_point43=g = 0.5 + 0.5*sin(sample*1.57);
  120. wave_0_per_point44=b = 0.5 + 0.5*cos(sample*1.57);
  121. wavecode_1_enabled=1
  122. wavecode_1_samples=512
  123. wavecode_1_sep=0
  124. wavecode_1_bSpectrum=1
  125. wavecode_1_bUseDots=0
  126. wavecode_1_bDrawThick=1
  127. wavecode_1_bAdditive=0
  128. wavecode_1_scaling=1.0
  129. wavecode_1_smoothing=0.5
  130. wavecode_1_r=1.0
  131. wavecode_1_g=1.0
  132. wavecode_1_b=1.0
  133. wavecode_1_a=1.0
  134. wave_1_per_frame1=tic = time - tin;
  135. wave_1_per_frame2=tin = time;
  136. wave_1_per_frame3=mod = .1*(mod*9 + bass_att);
  137. wave_1_per_frame4=tt = tt + tic*((mod+1)*(mod+1)-1);
  138. wave_1_per_frame5=t1 = tt;
  139. wave_1_per_point1=sp = sample*6.28*8*8*4;
  140. wave_1_per_point2=it = it+1;
  141. wave_1_per_point3=it = it*above(sample,0);
  142. wave_1_per_point4=sz = q1;
  143. wave_1_per_point5=pi = 3.141592653;
  144. wave_1_per_point6=ss = sample*6;
  145. wave_1_per_point7=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);
  146. wave_1_per_point8=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);
  147. wave_1_per_point9=oz = -sz*.5*below(ss,1) + ((ss-1)-.5)*sz*above(ss,1)*below(ss,2) + sz*.5*above(ss,2)*below(ss,3);
  148. wave_1_per_point10=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;
  149. wave_1_per_point11=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));
  150. wave_1_per_point12=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);
  151. wave_1_per_point13=
  152. wave_1_per_point14=zang = t1;
  153. wave_1_per_point15=mx = ox*cos(zang) - oy*sin(zang);
  154. wave_1_per_point16=my = ox*sin(zang) + oy*cos(zang);
  155. wave_1_per_point17=ox = mx;
  156. wave_1_per_point18=oy = my;
  157. wave_1_per_point19=
  158. wave_1_per_point20=sh = sz*.5;
  159. wave_1_per_point21=br = (zang/pi) + .5;
  160. wave_1_per_point22=br = br - int(br*.25)*4;
  161. wave_1_per_point23=br = int(br);
  162. wave_1_per_point24=ra = pow(sh*sh*2,.5);
  163. wave_1_per_point25=
  164. wave_1_per_point26=ox = ox - (sh + ra*sin(-zang + pi*.25))*equal(br,0) - (-sh + ra*sin(zang + pi*.25))*equal(br,1) - (-sh - ra*sin(-zang + pi*.25))*equal(br,2) - (sh - ra*sin(zang + pi*.25))*equal(br,3);
  165. wave_1_per_point27=oy = oy - (sh + ra*cos(-zang + pi*.25))*equal(br,0) - (sh - ra*cos(zang + pi*.25))*equal(br,1) - (-sh - ra*cos(-zang + pi*.25))*equal(br,2) - (-sh + ra*cos(zang + pi*.25))*equal(br,3);
  166. wave_1_per_point28=
  167. wave_1_per_point29=xang = q2;
  168. wave_1_per_point30=axang = 0;
  169. wave_1_per_point31=yang = q3;
  170. wave_1_per_point32=ayang = 0;
  171. wave_1_per_point33=zang = q4;
  172. wave_1_per_point34=azang = 0;
  173. wave_1_per_point35=fov = .3;
  174. wave_1_per_point36=
  175. wave_1_per_point37=mx = ox*cos(zang) - oy*sin(zang);
  176. wave_1_per_point38=my = ox*sin(zang) + oy*cos(zang);
  177. wave_1_per_point39=ox = mx;
  178. wave_1_per_point40=oy = my;
  179. wave_1_per_point41=mx = ox*cos(yang) + oz*sin(yang);
  180. wave_1_per_point42=mz = - ox*sin(yang) + oz*cos(yang);
  181. wave_1_per_point43=ox = mx;
  182. wave_1_per_point44=oz = mz;
  183. wave_1_per_point45=my = oy*cos(xang) - oz*sin(xang);
  184. wave_1_per_point46=mz = oy*sin(xang) + oz*cos(xang);
  185. wave_1_per_point47=oy = my;
  186. wave_1_per_point48=oz = mz;
  187. wave_1_per_point49=
  188. wave_1_per_point50=a = .05;
  189. wave_1_per_point51=mod = (oz+1)*.5;
  190. wave_1_per_point52=a = a*max(min(mod,1),0);
  191. wave_1_per_point53=oz = oz - 2;
  192. wave_1_per_point54=x = ox*fov/oz + 0.5;
  193. wave_1_per_point55=x = (x-.5)*0.75 + 0.5;
  194. wave_1_per_point56=y = oy*fov/oz + 0.5;
  195. wave_1_per_point57=
  196. wave_1_per_point58=r = -sin(sp);
  197. wave_1_per_point59=g = 0.5 - 0.5*sin(sample*1.57);
  198. wave_1_per_point60=b = 0.5 - 0.5*cos(sample*1.57);
  199. wavecode_2_enabled=1
  200. wavecode_2_samples=512
  201. wavecode_2_sep=0
  202. wavecode_2_bSpectrum=1
  203. wavecode_2_bUseDots=0
  204. wavecode_2_bDrawThick=1
  205. wavecode_2_bAdditive=0
  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=1.0
  212. wave_2_per_frame1=tic = time - tin;
  213. wave_2_per_frame2=tin = time;
  214. wave_2_per_frame3=mod = .1*(mod*9 + mid_att);
  215. wave_2_per_frame4=tt = tt + tic*((mod+1)*(mod+1)-1);
  216. wave_2_per_frame5=t1 = tt;
  217. wave_2_per_point1=sp = sample*6.28*8*8*4;
  218. wave_2_per_point2=it = it+1;
  219. wave_2_per_point3=it = it*above(sample,0);
  220. wave_2_per_point4=sz = q1;
  221. wave_2_per_point5=pi = 3.141592653;
  222. wave_2_per_point6=ss = sample*6;
  223. wave_2_per_point7=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);
  224. wave_2_per_point8=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);
  225. wave_2_per_point9=oz = -sz*.5*below(ss,1) + ((ss-1)-.5)*sz*above(ss,1)*below(ss,2) + sz*.5*above(ss,2)*below(ss,3);
  226. wave_2_per_point10=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;
  227. wave_2_per_point11=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));
  228. wave_2_per_point12=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);
  229. wave_2_per_point13=
  230. wave_2_per_point14=ang = t1;
  231. wave_2_per_point15=mx = ox*cos(ang) + oz*sin(ang);
  232. wave_2_per_point16=mz = - ox*sin(ang) + oz*cos(ang);
  233. wave_2_per_point17=ox = mx;
  234. wave_2_per_point18=oz = mz;
  235. wave_2_per_point19=
  236. wave_2_per_point20=sh = sz*.5;
  237. wave_2_per_point21=br = (ang/pi) + .5;
  238. wave_2_per_point22=br = br - int(br*.25)*4;
  239. wave_2_per_point23=br = 4-int(br);
  240. wave_2_per_point24=br = br - 4*equal(br,4);
  241. wave_2_per_point25=ra = pow(sh*sh*2,.5);
  242. wave_2_per_point26=ang = -ang;
  243. wave_2_per_point27=ox = ox - (sh + ra*sin(-ang + pi*.25))*equal(br,0) - (-sh + ra*sin(ang + pi*.25))*equal(br,1) - (-sh - ra*sin(-ang + pi*.25))*equal(br,2) - (sh - ra*sin(ang + pi*.25))*equal(br,3);
  244. wave_2_per_point28=oz = oz - (sh + ra*cos(-ang + pi*.25))*equal(br,0) - (sh - ra*cos(ang + pi*.25))*equal(br,1) - (-sh - ra*cos(-ang + pi*.25))*equal(br,2) - (-sh + ra*cos(ang + pi*.25))*equal(br,3);
  245. wave_2_per_point29=
  246. wave_2_per_point30=xang = q2;
  247. wave_2_per_point31=axang = 0;
  248. wave_2_per_point32=yang = q3;
  249. wave_2_per_point33=ayang = 0;
  250. wave_2_per_point34=zang = q4;
  251. wave_2_per_point35=azang = 0;
  252. wave_2_per_point36=fov = .3;
  253. wave_2_per_point37=
  254. wave_2_per_point38=mx = ox*cos(zang) - oy*sin(zang);
  255. wave_2_per_point39=my = ox*sin(zang) + oy*cos(zang);
  256. wave_2_per_point40=ox = mx;
  257. wave_2_per_point41=oy = my;
  258. wave_2_per_point42=mx = ox*cos(yang) + oz*sin(yang);
  259. wave_2_per_point43=mz = - ox*sin(yang) + oz*cos(yang);
  260. wave_2_per_point44=ox = mx;
  261. wave_2_per_point45=oz = mz;
  262. wave_2_per_point46=my = oy*cos(xang) - oz*sin(xang);
  263. wave_2_per_point47=mz = oy*sin(xang) + oz*cos(xang);
  264. wave_2_per_point48=oy = my;
  265. wave_2_per_point49=oz = mz;
  266. wave_2_per_point50=
  267. wave_2_per_point51=a = .05;
  268. wave_2_per_point52=mod = (oz+1)*.5;
  269. wave_2_per_point53=a = a*max(min(mod,1),0);
  270. wave_2_per_point54=oz = oz - 2;
  271. wave_2_per_point55=x = ox*fov/oz + 0.5;
  272. wave_2_per_point56=x = (x-.5)*0.75 + 0.5;
  273. wave_2_per_point57=y = oy*fov/oz + 0.5;
  274. wave_2_per_point58=
  275. wave_2_per_point59=g = -sin(sp);
  276. wave_2_per_point60=b = 0.5 - 0.5*sin(sample*1.57);
  277. wave_2_per_point61=r = 0.5 - 0.5*cos(sample*1.57);
  278. wavecode_3_enabled=1
  279. wavecode_3_samples=512
  280. wavecode_3_sep=0
  281. wavecode_3_bSpectrum=1
  282. wavecode_3_bUseDots=0
  283. wavecode_3_bDrawThick=1
  284. wavecode_3_bAdditive=0
  285. wavecode_3_scaling=1.0
  286. wavecode_3_smoothing=0.5
  287. wavecode_3_r=1.0
  288. wavecode_3_g=1.0
  289. wavecode_3_b=1.0
  290. wavecode_3_a=1.0
  291. wave_3_per_frame1=tic = time - tin;
  292. wave_3_per_frame2=tin = time;
  293. wave_3_per_frame3=mod = .1*(mod*9 + treb_att);
  294. wave_3_per_frame4=tt = tt + tic*((mod+1)*(mod+1)-1);
  295. wave_3_per_frame5=t1 = tt;
  296. wave_3_per_point1=sp = sample*6.28*8*8*4;
  297. wave_3_per_point2=it = it+1;
  298. wave_3_per_point3=it = it*above(sample,0);
  299. wave_3_per_point4=sz = q1;
  300. wave_3_per_point5=pi = 3.141592653;
  301. wave_3_per_point6=ss = sample*6;
  302. wave_3_per_point7=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);
  303. wave_3_per_point8=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);
  304. wave_3_per_point9=oz = -sz*.5*below(ss,1) + ((ss-1)-.5)*sz*above(ss,1)*below(ss,2) + sz*.5*above(ss,2)*below(ss,3);
  305. wave_3_per_point10=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;
  306. wave_3_per_point11=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));
  307. wave_3_per_point12=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);
  308. wave_3_per_point13=
  309. wave_3_per_point14=zang = t1;
  310. wave_3_per_point15=mx = ox*cos(zang) - oy*sin(zang);
  311. wave_3_per_point16=my = ox*sin(zang) + oy*cos(zang);
  312. wave_3_per_point17=ox = mx;
  313. wave_3_per_point18=oy = my;
  314. wave_3_per_point19=
  315. wave_3_per_point20=sh = sz*.5;
  316. wave_3_per_point21=br = (zang/pi) + .5;
  317. wave_3_per_point22=br = br - int(br*.25)*4;
  318. wave_3_per_point23=br = int(br);
  319. wave_3_per_point24=ra = pow(sh*sh*2,.5);
  320. wave_3_per_point25=
  321. wave_3_per_point26=ox = ox - (sh + ra*sin(-zang + pi*.25))*equal(br,0) - (-sh + ra*sin(zang + pi*.25))*equal(br,1) - (-sh - ra*sin(-zang + pi*.25))*equal(br,2) - (sh - ra*sin(zang + pi*.25))*equal(br,3);
  322. wave_3_per_point27=oy = oy - (sh + ra*cos(-zang + pi*.25))*equal(br,0) - (sh - ra*cos(zang + pi*.25))*equal(br,1) - (-sh - ra*cos(-zang + pi*.25))*equal(br,2) - (-sh + ra*cos(zang + pi*.25))*equal(br,3);
  323. wave_3_per_point28=
  324. wave_3_per_point29=yang = pi*.5;
  325. wave_3_per_point30=mx = ox*cos(yang) + oz*sin(yang);
  326. wave_3_per_point31=mz = - ox*sin(yang) + oz*cos(yang);
  327. wave_3_per_point32=ox = mx;
  328. wave_3_per_point33=oz = mz;
  329. wave_3_per_point34=
  330. wave_3_per_point35=xang = q2;
  331. wave_3_per_point36=axang = 0;
  332. wave_3_per_point37=yang = q3;
  333. wave_3_per_point38=ayang = 0;
  334. wave_3_per_point39=zang = q4;
  335. wave_3_per_point40=azang = 0;
  336. wave_3_per_point41=fov = .3;
  337. wave_3_per_point42=
  338. wave_3_per_point43=mx = ox*cos(zang) - oy*sin(zang);
  339. wave_3_per_point44=my = ox*sin(zang) + oy*cos(zang);
  340. wave_3_per_point45=ox = mx;
  341. wave_3_per_point46=oy = my;
  342. wave_3_per_point47=mx = ox*cos(yang) + oz*sin(yang);
  343. wave_3_per_point48=mz = - ox*sin(yang) + oz*cos(yang);
  344. wave_3_per_point49=ox = mx;
  345. wave_3_per_point50=oz = mz;
  346. wave_3_per_point51=my = oy*cos(xang) - oz*sin(xang);
  347. wave_3_per_point52=mz = oy*sin(xang) + oz*cos(xang);
  348. wave_3_per_point53=oy = my;
  349. wave_3_per_point54=oz = mz;
  350. wave_3_per_point55=
  351. wave_3_per_point56=a = .05;
  352. wave_3_per_point57=mod = (oz+1)*.5;
  353. wave_3_per_point58=a = a*max(min(mod,1),0);
  354. wave_3_per_point59=oz = oz - 2;
  355. wave_3_per_point60=x = ox*fov/oz + 0.5;
  356. wave_3_per_point61=x = (x-.5)*0.75 + 0.5;
  357. wave_3_per_point62=y = oy*fov/oz + 0.5;
  358. wave_3_per_point63=
  359. wave_3_per_point64=b = -sin(sp);
  360. wave_3_per_point65=r = 0.5 - 0.5*sin(sample*1.57);
  361. wave_3_per_point66=g = 0.5 - 0.5*cos(sample*1.57);
  362. shapecode_0_enabled=0
  363. shapecode_0_sides=4
  364. shapecode_0_additive=0
  365. shapecode_0_thickOutline=0
  366. shapecode_0_textured=0
  367. shapecode_0_x=0.5
  368. shapecode_0_y=0.5
  369. shapecode_0_rad=0.1
  370. shapecode_0_ang=0.0
  371. shapecode_0_tex_ang=0.0
  372. shapecode_0_tex_zoom=1.0
  373. shapecode_0_r=1.0
  374. shapecode_0_g=0.0
  375. shapecode_0_b=0.0
  376. shapecode_0_a=1.0
  377. shapecode_0_r2=0.0
  378. shapecode_0_g2=1.0
  379. shapecode_0_b2=0.0
  380. shapecode_0_a2=0.0
  381. shapecode_0_border_r=1.0
  382. shapecode_0_border_g=1.0
  383. shapecode_0_border_b=1.0
  384. shapecode_0_border_a=0.1
  385. shapecode_1_enabled=0
  386. shapecode_1_sides=4
  387. shapecode_1_additive=0
  388. shapecode_1_thickOutline=0
  389. shapecode_1_textured=0
  390. shapecode_1_x=0.5
  391. shapecode_1_y=0.5
  392. shapecode_1_rad=0.1
  393. shapecode_1_ang=0.0
  394. shapecode_1_tex_ang=0.0
  395. shapecode_1_tex_zoom=1.0
  396. shapecode_1_r=1.0
  397. shapecode_1_g=0.0
  398. shapecode_1_b=0.0
  399. shapecode_1_a=1.0
  400. shapecode_1_r2=0.0
  401. shapecode_1_g2=1.0
  402. shapecode_1_b2=0.0
  403. shapecode_1_a2=0.0
  404. shapecode_1_border_r=1.0
  405. shapecode_1_border_g=1.0
  406. shapecode_1_border_b=1.0
  407. shapecode_1_border_a=0.1
  408. shapecode_2_enabled=0
  409. shapecode_2_sides=4
  410. shapecode_2_additive=0
  411. shapecode_2_thickOutline=0
  412. shapecode_2_textured=0
  413. shapecode_2_x=0.5
  414. shapecode_2_y=0.5
  415. shapecode_2_rad=0.1
  416. shapecode_2_ang=0.0
  417. shapecode_2_tex_ang=0.0
  418. shapecode_2_tex_zoom=1.0
  419. shapecode_2_r=1.0
  420. shapecode_2_g=0.0
  421. shapecode_2_b=0.0
  422. shapecode_2_a=1.0
  423. shapecode_2_r2=0.0
  424. shapecode_2_g2=1.0
  425. shapecode_2_b2=0.0
  426. shapecode_2_a2=0.0
  427. shapecode_2_border_r=1.0
  428. shapecode_2_border_g=1.0
  429. shapecode_2_border_b=1.0
  430. shapecode_2_border_a=0.1
  431. shapecode_3_enabled=0
  432. shapecode_3_sides=4
  433. shapecode_3_additive=0
  434. shapecode_3_thickOutline=0
  435. shapecode_3_textured=0
  436. shapecode_3_x=0.5
  437. shapecode_3_y=0.5
  438. shapecode_3_rad=0.1
  439. shapecode_3_ang=0.0
  440. shapecode_3_tex_ang=0.0
  441. shapecode_3_tex_zoom=1.0
  442. shapecode_3_r=1.0
  443. shapecode_3_g=0.0
  444. shapecode_3_b=0.0
  445. shapecode_3_a=1.0
  446. shapecode_3_r2=0.0
  447. shapecode_3_g2=1.0
  448. shapecode_3_b2=0.0
  449. shapecode_3_a2=0.0
  450. shapecode_3_border_r=1.0
  451. shapecode_3_border_g=1.0
  452. shapecode_3_border_b=1.0
  453. shapecode_3_border_a=0.1
  454. per_frame_1=wave_a = 0;
  455. per_frame_2=vol = .1*(vol*9 + (bass_att+mid_att+treb_att)*.333333);
  456. per_frame_3=q1 = .1 + vol*.3;
  457. per_frame_4=
  458. per_frame_5=tic = time-tin;
  459. per_frame_6=tin = time;
  460. per_frame_7=tb = tb + tic*bass_att;
  461. per_frame_8=q2 = tb*.9;
  462. per_frame_9=tm = tm + tic*mid_att;
  463. per_frame_10=q3 = tm*.9;
  464. per_frame_11=tt = tt + tic*treb_att;
  465. per_frame_12=q4 = tt*.9;
  466. per_frame_13=
  467. per_frame_14=q1 = min(q1,1);
  468. per_frame_15=aq1 = .5;
  469. per_frame_16=aq2 = 0;
  470. per_frame_17=aq3 = 9.5;
  471. per_frame_18=aq4 = 0;