Flexi - intensive shader fractal.milk 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612
  1. MILKDROP_PRESET_VERSION=201
  2. PSVERSION=2
  3. PSVERSION_WARP=2
  4. PSVERSION_COMP=2
  5. [preset00]
  6. fRating=4.000000
  7. fGammaAdj=1.000
  8. fDecay=0.500
  9. fVideoEchoZoom=1.030
  10. fVideoEchoAlpha=0.000
  11. nVideoEchoOrientation=0
  12. nWaveMode=0
  13. bAdditiveWaves=0
  14. bWaveDots=0
  15. bWaveThick=0
  16. bModWaveAlphaByVolume=0
  17. bMaximizeWaveColor=0
  18. bTexWrap=0
  19. bDarkenCenter=0
  20. bRedBlueStereo=0
  21. bBrighten=0
  22. bDarken=0
  23. bSolarize=0
  24. bInvert=0
  25. fWaveAlpha=0.001
  26. fWaveScale=0.010
  27. fWaveSmoothing=0.000
  28. fWaveParam=0.000
  29. fModWaveAlphaStart=1.000
  30. fModWaveAlphaEnd=1.000
  31. fWarpAnimSpeed=1.549
  32. fWarpScale=2.940
  33. fZoomExponent=1.03315
  34. fShader=1.000
  35. zoom=1.56481
  36. rot=0.00000
  37. cx=0.500
  38. cy=0.500
  39. dx=0.00000
  40. dy=0.00000
  41. warp=1.45984
  42. sx=0.93272
  43. sy=0.89632
  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.005
  50. ob_r=0.000
  51. ob_g=0.000
  52. ob_b=0.000
  53. ob_a=1.000
  54. ib_size=0.000
  55. ib_r=1.000
  56. ib_g=1.000
  57. ib_b=1.000
  58. ib_a=1.000
  59. nMotionVectorsX=64.000
  60. nMotionVectorsY=48.000
  61. mv_dx=0.000
  62. mv_dy=0.000
  63. mv_l=5.000
  64. mv_r=1.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.000
  75. wavecode_0_enabled=0
  76. wavecode_0_samples=495
  77. wavecode_0_sep=4
  78. wavecode_0_bSpectrum=1
  79. wavecode_0_bUseDots=0
  80. wavecode_0_bDrawThick=1
  81. wavecode_0_bAdditive=1
  82. wavecode_0_scaling=100.00000
  83. wavecode_0_smoothing=1.00000
  84. wavecode_0_r=0.150
  85. wavecode_0_g=0.000
  86. wavecode_0_b=0.000
  87. wavecode_0_a=1.000
  88. wave_0_init1=t2 = 0;
  89. wave_0_init2=t3 = 0;
  90. wave_0_init3=t4 = 0;
  91. wave_0_init4=ab = 1;
  92. wave_0_per_frame1=t1 = q1;
  93. wave_0_per_frame2=t2 = q2;
  94. wave_0_per_frame3=t3 = q3;
  95. wave_0_per_frame4=t4 = q4;
  96. wave_0_per_frame5=t5 = q5;
  97. wave_0_per_frame6=t6 = q6;
  98. wave_0_per_frame7=t8 = .07;
  99. wave_0_per_frame8=t7 = 1;
  100. wave_0_per_point1=t7 = -t7;
  101. wave_0_per_point2=pi = asin(1);
  102. wave_0_per_point3=n = 180;
  103. wave_0_per_point4=rd = 0.075;//+(value1*10+1)*((sample*512)%2)*0.02;
  104. wave_0_per_point5=my_x = sin(sample*pi*4+(t7+1)*t8)*0.5 + cos(sample*pi*n)*rd*sin(sample*pi*4+(t7+1)*t8);
  105. wave_0_per_point6=my_y = cos(sample*pi*4+(t7+1)*t8)*0.5 + cos(sample*pi*n)*rd*cos(sample*pi*4+(t7+1)*t8);
  106. wave_0_per_point7=my_z = sin(sample*pi*n)*rd;
  107. wave_0_per_point8=
  108. wave_0_per_point9=
  109. wave_0_per_point10=
  110. wave_0_per_point11=d = 1.4; // makes the perspective impact
  111. wave_0_per_point12=zoom = 0.85;
  112. wave_0_per_point13=
  113. wave_0_per_point14=w1 = q12;
  114. wave_0_per_point15=w2 = q13;
  115. wave_0_per_point16=w3 = q14;
  116. wave_0_per_point17=
  117. wave_0_per_point18=x1 = cos(w1)*my_x + sin(w1)*my_y;
  118. wave_0_per_point19=y1 = -sin(w1)*my_x + cos(w1)*my_y;
  119. wave_0_per_point20=z1 = my_z;
  120. wave_0_per_point21=
  121. wave_0_per_point22=x2 = cos(w2)*x1 + sin(w2)*z1;
  122. wave_0_per_point23=z2 = -sin(w2)*x1 + cos(w2)*z1;
  123. wave_0_per_point24=y2 = y1;
  124. wave_0_per_point25=
  125. wave_0_per_point26=y3 = cos(w3)*y2 + sin(w3)*z2;
  126. wave_0_per_point27=z3 = -sin(w3)*y2 + cos(w3)*z2;
  127. wave_0_per_point28=x3 = x2;
  128. wave_0_per_point29=
  129. wave_0_per_point30=// perspective calculation
  130. wave_0_per_point31=
  131. wave_0_per_point32=l = sqrt(x3*x3 + y3*y3);
  132. wave_0_per_point33=w = atan2(x3,y3);
  133. wave_0_per_point34=p = tan(asin(1) + atan2(d+z3,l));
  134. wave_0_per_point35=d = sqrt(x3*x3 + y3*y3 + (z3+d)*(z3+d));
  135. wave_0_per_point36=
  136. wave_0_per_point37=my_x = zoom*sin(w)*p;
  137. wave_0_per_point38=my_y = zoom*cos(w)*p;
  138. wave_0_per_point39=
  139. wave_0_per_point40=x = 0.5 + my_x;
  140. wave_0_per_point41=y = 0.5 + my_y;
  141. wave_0_per_point42=
  142. wave_0_per_point43=g = -z3*0.8 + 0.55;
  143. wave_0_per_point44=//b = min(1,max(0,b))*0.5;
  144. wave_0_per_point45=//r = 1-b*2
  145. wave_0_per_point46=//b = (1 - r)*0.1;
  146. wave_0_per_point47=//a = 7/(d*16) - 0.1;
  147. wavecode_1_enabled=0
  148. wavecode_1_samples=445
  149. wavecode_1_sep=4
  150. wavecode_1_bSpectrum=1
  151. wavecode_1_bUseDots=1
  152. wavecode_1_bDrawThick=1
  153. wavecode_1_bAdditive=1
  154. wavecode_1_scaling=100.00000
  155. wavecode_1_smoothing=1.00000
  156. wavecode_1_r=1.000
  157. wavecode_1_g=1.000
  158. wavecode_1_b=1.000
  159. wavecode_1_a=0.990
  160. wave_1_init1=t2 = 0;
  161. wave_1_init2=t3 = 0;
  162. wave_1_init3=t4 = 0;
  163. wave_1_init4=ab = 1;
  164. wave_1_per_frame1=t1 = q1;
  165. wave_1_per_frame2=t2 = q2;
  166. wave_1_per_frame3=t3 = q3;
  167. wave_1_per_frame4=t4 = q4;
  168. wave_1_per_frame5=t5 = q5;
  169. wave_1_per_frame6=t6 = q6;
  170. wave_1_per_frame7=t8 = .09;
  171. wave_1_per_frame8=t7 = 1;
  172. wave_1_per_point1=t7 = -t7;
  173. wave_1_per_point2=pi = asin(1);
  174. wave_1_per_point3=n = 160;
  175. wave_1_per_point4=rd = 0.075;//+(value1*10+1)*((sample*512)%2)*0.02;
  176. wave_1_per_point5=xx = sin(sample*pi*4+(t7+1)*t8)*0.5 + cos(sample*pi*n)*rd*sin(sample*pi*4);
  177. wave_1_per_point6=yy = cos(sample*pi*4+(t7+1)*t8)*0.5 + cos(sample*pi*n)*rd*cos(sample*pi*4);
  178. wave_1_per_point7=zz = sin(sample*pi*n)*rd;
  179. wave_1_per_point8=
  180. wave_1_per_point9=d = sqrt( xx*xx + yy*yy + zz*zz);
  181. wave_1_per_point10=d1 = 1;
  182. wave_1_per_point11=xx = xx*d1;
  183. wave_1_per_point12=yy = yy*d1;
  184. wave_1_per_point13=zz = zz*d1;
  185. wave_1_per_point14=
  186. wave_1_per_point15=w = -d*t5;
  187. wave_1_per_point16=s1 = sin(t2*1+w);
  188. wave_1_per_point17=s2 = sin(t3*1+w);
  189. wave_1_per_point18=s3 = sin(t4*1+w);
  190. wave_1_per_point19=c1 = cos(t2*1+w);
  191. wave_1_per_point20=c2 = cos(t3*1+w);
  192. wave_1_per_point21=c3 = cos(t4*1+w);
  193. wave_1_per_point22=
  194. wave_1_per_point23=z = (c3*s1*c2 + s3*s2)*xx - (c3*s1*s2-s3*c2)*yy + c3*c1*zz;
  195. wave_1_per_point24=x1 = (c1*c2*xx + c1*s2*yy - s1*zz);
  196. wave_1_per_point25=y1 = ((s3*s1*c2 - c3*s2)*xx + (s3*s1*s2+c3*c2)*yy + s3*c1*zz);
  197. wave_1_per_point26=
  198. wave_1_per_point27=a = 0.75;
  199. wave_1_per_point28=zoom = 0.5*atan2(a,a+z);//0.5*(1/(z+a));
  200. wave_1_per_point29=x = 0.5 + zoom*x1;
  201. wave_1_per_point30=y = 0.5 + zoom*y1;
  202. wave_1_per_point31=
  203. wave_1_per_point32=pi3 = 3.1415*2*0.3333;
  204. wave_1_per_point33=t = sample*pi*4-2*time;
  205. wave_1_per_point34=c=1.6;
  206. wave_1_per_point35=r = sin(t)*c;
  207. wave_1_per_point36=
  208. wave_1_per_point37=g = sin(t+pi3)*c;
  209. wave_1_per_point38=
  210. wave_1_per_point39=b = sin(t-pi3)*c;
  211. wave_1_per_point40=
  212. wave_1_per_point41=j = 0.71;
  213. wave_1_per_point42=//r = 0.5+xx*j;
  214. wave_1_per_point43=//g = 0.5+yy*j;
  215. wave_1_per_point44=//b = 0.5+zz*j;
  216. wave_1_per_point45=
  217. wave_1_per_point46=r = if(above(r,1),1,r);
  218. wave_1_per_point47=r = if(below(r,0),0,r);
  219. wave_1_per_point48=g = if(above(g,1),1,g);
  220. wave_1_per_point49=g = if(below(g,0),0,g);
  221. wave_1_per_point50=b = if(above(b,1),1,b);
  222. wave_1_per_point51=b = if(below(b,0),0,b);
  223. wave_1_per_point52=a = 1-(z + a)/2;
  224. wave_1_per_point53=
  225. wavecode_2_enabled=0
  226. wavecode_2_samples=512
  227. wavecode_2_sep=4
  228. wavecode_2_bSpectrum=0
  229. wavecode_2_bUseDots=0
  230. wavecode_2_bDrawThick=0
  231. wavecode_2_bAdditive=0
  232. wavecode_2_scaling=0.09348
  233. wavecode_2_smoothing=1.00000
  234. wavecode_2_r=1.000
  235. wavecode_2_g=1.000
  236. wavecode_2_b=1.000
  237. wavecode_2_a=1.000
  238. wave_2_init1=t2 = 0;
  239. wave_2_init2=t3 = 0;
  240. wave_2_init3=t4 = 0;
  241. wave_2_init4=ab = 1;
  242. wave_2_per_frame1=t1 = q1;
  243. wave_2_per_frame2=t2 = q2;
  244. wave_2_per_frame3=t3 = q3;
  245. wave_2_per_frame4=t4 = q4;
  246. wave_2_per_frame5=t5 = q5;
  247. wave_2_per_frame6=t6 = q6;
  248. wave_2_per_point1=s8 = sample*383;
  249. wave_2_per_point2=
  250. wave_2_per_point3=s = 100;//0.3;
  251. wave_2_per_point4=xx = sin(sample*s);//((sample*343)%7 - 3.5)*s;
  252. wave_2_per_point5=zz = cos(sample*s);//((sample*49)%7 - 3.5)*s;
  253. wave_2_per_point6=yy = (sample-0.5);//((sample*7)%7 - 3.5)*s;
  254. wave_2_per_point7=
  255. wave_2_per_point8=d = sqrt( xx*xx + yy*yy + zz*zz);
  256. wave_2_per_point9=d1 = 1/d;
  257. wave_2_per_point10=xx = xx*d1;
  258. wave_2_per_point11=yy = yy*d1;
  259. wave_2_per_point12=zz = zz*d1;
  260. wave_2_per_point13=
  261. wave_2_per_point14=w = 1+0*(d)*(t6);//(sample*sin(time*0.3)*0.02-1);
  262. wave_2_per_point15=s1 = sin(t2*w);
  263. wave_2_per_point16=s2 = sin(t3*w);
  264. wave_2_per_point17=s3 = sin(t4*w);
  265. wave_2_per_point18=c1 = cos(t2*w);
  266. wave_2_per_point19=c2 = cos(t3*w);
  267. wave_2_per_point20=c3 = cos(t4*w);
  268. wave_2_per_point21=
  269. wave_2_per_point22=z = (c3*s1*c2 + s3*s2)*xx - (c3*s1*s2-s3*c2)*yy + c3*c1*zz;
  270. wave_2_per_point23=x1 = (c1*c2*xx + c1*s2*yy - s1*zz);
  271. wave_2_per_point24=y1 = ((s3*s1*c2 - c3*s2)*xx + (s3*s1*s2+c3*c2)*yy + s3*c1*zz);
  272. wave_2_per_point25=
  273. wave_2_per_point26=a = 2;
  274. wave_2_per_point27=zoom = 0.3*atan2(a-z,a);//0.5*(1/(z+a));
  275. wave_2_per_point28=x = 0.5 + zoom*x1;
  276. wave_2_per_point29=y = 0.5 + zoom*y1;
  277. wave_2_per_point30=
  278. wave_2_per_point31=pi3 = 3.1415*2*0.3333;
  279. wave_2_per_point32=t = -z*13+t5*20;
  280. wave_2_per_point33=c = 10;
  281. wave_2_per_point34=r = sin(t)*c;
  282. wave_2_per_point35=
  283. wave_2_per_point36=g = sin(t+pi3)*c;
  284. wave_2_per_point37=
  285. wave_2_per_point38=b = sin(t-pi3)*c;
  286. wave_2_per_point39=
  287. wave_2_per_point40=j = 0.71;
  288. wave_2_per_point41=//r = 0.5+xx*j;
  289. wave_2_per_point42=//g = 0.5+yy*j;
  290. wave_2_per_point43=//b = 0.5+zz*j;
  291. wave_2_per_point44=
  292. wave_2_per_point45=r = if(above(r,1),1,r);
  293. wave_2_per_point46=r = if(below(r,0),0,r);
  294. wave_2_per_point47=g = if(above(g,1),1,g);
  295. wave_2_per_point48=g = if(below(g,0),0,g);
  296. wave_2_per_point49=b = if(above(b,1),1,b);
  297. wave_2_per_point50=b = if(below(b,0),0,b);
  298. wave_2_per_point51=
  299. wave_2_per_point52=
  300. wave_2_per_point53=a = sigmoid(-z,10)*1.0+0.0;
  301. wavecode_3_enabled=0
  302. wavecode_3_samples=484
  303. wavecode_3_sep=4
  304. wavecode_3_bSpectrum=0
  305. wavecode_3_bUseDots=1
  306. wavecode_3_bDrawThick=0
  307. wavecode_3_bAdditive=0
  308. wavecode_3_scaling=9.94125
  309. wavecode_3_smoothing=1.00000
  310. wavecode_3_r=1.000
  311. wavecode_3_g=1.000
  312. wavecode_3_b=1.000
  313. wavecode_3_a=1.000
  314. wave_3_init1=t2 = 0;
  315. wave_3_init2=t3 = 0;
  316. wave_3_init3=t4 = 0;
  317. wave_3_init4=ab = 1;
  318. wave_3_per_frame1=t1 = q1;
  319. wave_3_per_frame2=t2 = q2;
  320. wave_3_per_frame3=t3 = q3;
  321. wave_3_per_frame4=t4 = q4;
  322. wave_3_per_frame5=t5 = q5;
  323. wave_3_per_frame6=t6 = q6;
  324. wave_3_per_point1=s8 = sample*383;
  325. wave_3_per_point2=
  326. wave_3_per_point3=s = 0.25;
  327. wave_3_per_point4=xx = ((sample*(465))%15 - 8)*s*2;
  328. wave_3_per_point5=yy = ((sample*31)%31 - 16)*s;
  329. wave_3_per_point6=zz = 0;
  330. wave_3_per_point7=
  331. wave_3_per_point8=d = sqrt( xx*xx + yy*yy + zz*zz);
  332. wave_3_per_point9=w = 1;
  333. wave_3_per_point10=
  334. wave_3_per_point11=s1 = sin(t2*1);
  335. wave_3_per_point12=s2 = sin(t3*0);
  336. wave_3_per_point13=s3 = sin(t4*1);
  337. wave_3_per_point14=c1 = cos(t2*1);
  338. wave_3_per_point15=c2 = cos(t3*0);
  339. wave_3_per_point16=c3 = cos(t4*1);
  340. wave_3_per_point17=
  341. wave_3_per_point18=
  342. wave_3_per_point19=z = (c3*s1*c2 + s3*s2)*xx - (c3*s1*s2-s3*c2)*yy + c3*c1*zz;
  343. wave_3_per_point20=x1 = (c1*c2*xx + c1*s2*yy - s1*zz);
  344. wave_3_per_point21=y1 = ((s3*s1*c2 - c3*s2)*xx + (s3*s1*s2+c3*c2)*yy + s3*c1*zz);
  345. wave_3_per_point22=
  346. wave_3_per_point23=a = 500;
  347. wave_3_per_point24=zoom = 0.05*atan2(a-z,a);//0.5*(1/(z+a));
  348. wave_3_per_point25=x = 0.5 + zoom*x1;
  349. wave_3_per_point26=y = 0.5 + zoom*y1;
  350. wave_3_per_point27=
  351. wave_3_per_point28=pi3 = 3.1415*2*0.3333;
  352. wave_3_per_point29=t = -z*5+t5;
  353. wave_3_per_point30=c = 10;
  354. wave_3_per_point31=r = sin(t)*c;
  355. wave_3_per_point32=
  356. wave_3_per_point33=g = sin(t+pi3)*c;
  357. wave_3_per_point34=
  358. wave_3_per_point35=b = sin(t-pi3)*c;
  359. wave_3_per_point36=
  360. wave_3_per_point37=j = 0.71;
  361. wave_3_per_point38=//r = 0.5+xx*j;
  362. wave_3_per_point39=//g = 0.5+yy*j;
  363. wave_3_per_point40=//b = 0.5+zz*j;
  364. wave_3_per_point41=
  365. wave_3_per_point42=r = if(above(r,1),1,r);
  366. wave_3_per_point43=r = if(below(r,0),0,r);
  367. wave_3_per_point44=g = if(above(g,1),1,g);
  368. wave_3_per_point45=g = if(below(g,0),0,g);
  369. wave_3_per_point46=b = if(above(b,1),1,b);
  370. wave_3_per_point47=b = if(below(b,0),0,b);
  371. wave_3_per_point48=
  372. wave_3_per_point49=
  373. wave_3_per_point50=a = sigmoid(z,5);
  374. shapecode_0_enabled=1
  375. shapecode_0_sides=100
  376. shapecode_0_additive=1
  377. shapecode_0_thickOutline=0
  378. shapecode_0_textured=0
  379. shapecode_0_num_inst=1
  380. shapecode_0_x=0.140
  381. shapecode_0_y=0.130
  382. shapecode_0_rad=0.20388
  383. shapecode_0_ang=0.62830
  384. shapecode_0_tex_ang=0.00000
  385. shapecode_0_tex_zoom=1.17257
  386. shapecode_0_r=1.000
  387. shapecode_0_g=0.000
  388. shapecode_0_b=0.000
  389. shapecode_0_a=1.000
  390. shapecode_0_r2=0.000
  391. shapecode_0_g2=1.000
  392. shapecode_0_b2=0.000
  393. shapecode_0_a2=0.000
  394. shapecode_0_border_r=1.000
  395. shapecode_0_border_g=1.000
  396. shapecode_0_border_b=1.000
  397. shapecode_0_border_a=0.000
  398. shape_0_init1=vx = 0;
  399. shape_0_init2=vy = 0;
  400. shapecode_1_enabled=0
  401. shapecode_1_sides=100
  402. shapecode_1_additive=0
  403. shapecode_1_thickOutline=1
  404. shapecode_1_textured=1
  405. shapecode_1_num_inst=1
  406. shapecode_1_x=0.500
  407. shapecode_1_y=0.500
  408. shapecode_1_rad=0.40271
  409. shapecode_1_ang=0.00000
  410. shapecode_1_tex_ang=0.00000
  411. shapecode_1_tex_zoom=2.23888
  412. shapecode_1_r=1.000
  413. shapecode_1_g=1.000
  414. shapecode_1_b=1.000
  415. shapecode_1_a=1.000
  416. shapecode_1_r2=0.080
  417. shapecode_1_g2=0.000
  418. shapecode_1_b2=0.000
  419. shapecode_1_a2=1.000
  420. shapecode_1_border_r=1.000
  421. shapecode_1_border_g=1.000
  422. shapecode_1_border_b=1.000
  423. shapecode_1_border_a=0.000
  424. shapecode_2_enabled=0
  425. shapecode_2_sides=100
  426. shapecode_2_additive=0
  427. shapecode_2_thickOutline=0
  428. shapecode_2_textured=1
  429. shapecode_2_num_inst=1
  430. shapecode_2_x=0.500
  431. shapecode_2_y=0.500
  432. shapecode_2_rad=1.21525
  433. shapecode_2_ang=0.00000
  434. shapecode_2_tex_ang=2.57611
  435. shapecode_2_tex_zoom=0.55595
  436. shapecode_2_r=1.000
  437. shapecode_2_g=1.000
  438. shapecode_2_b=1.000
  439. shapecode_2_a=1.000
  440. shapecode_2_r2=0.000
  441. shapecode_2_g2=0.000
  442. shapecode_2_b2=0.000
  443. shapecode_2_a2=0.000
  444. shapecode_2_border_r=1.000
  445. shapecode_2_border_g=1.000
  446. shapecode_2_border_b=1.000
  447. shapecode_2_border_a=0.000
  448. shapecode_3_enabled=0
  449. shapecode_3_sides=34
  450. shapecode_3_additive=0
  451. shapecode_3_thickOutline=0
  452. shapecode_3_textured=0
  453. shapecode_3_num_inst=1
  454. shapecode_3_x=0.990
  455. shapecode_3_y=0.990
  456. shapecode_3_rad=0.02558
  457. shapecode_3_ang=0.00000
  458. shapecode_3_tex_ang=0.00000
  459. shapecode_3_tex_zoom=1.00000
  460. shapecode_3_r=0.000
  461. shapecode_3_g=1.000
  462. shapecode_3_b=0.000
  463. shapecode_3_a=1.000
  464. shapecode_3_r2=0.000
  465. shapecode_3_g2=1.000
  466. shapecode_3_b2=0.000
  467. shapecode_3_a2=1.000
  468. shapecode_3_border_r=1.000
  469. shapecode_3_border_g=1.000
  470. shapecode_3_border_b=1.000
  471. shapecode_3_border_a=0.000
  472. per_frame_init_1=x1 = 0;
  473. per_frame_init_2=y1 = 0;
  474. per_frame_1=//q1 = 0;
  475. per_frame_2=v = 0.8;
  476. per_frame_3=j1 = j1*0.95 + sqr(bass*4)*v;
  477. per_frame_4=j2 = j2*0.95 + sqr(mid*4)*v;
  478. per_frame_5=j3 = j3*0.95 + sqr(treb*4)*v;
  479. per_frame_6=
  480. per_frame_7=n = n + j1*0.0052;
  481. per_frame_8=n1 = n1 + j2*0.0052;
  482. per_frame_9=n2 = n2 + j3*0.0052;
  483. per_frame_10=
  484. per_frame_11=
  485. per_frame_12=q12 = n*0.01;
  486. per_frame_13=q13 = n1*0.01;
  487. per_frame_14=q14 = n2*0.01;
  488. per_frame_15=
  489. per_frame_16=k = k*0.99 + sqr(mid_att*2);
  490. per_frame_17=q5 = k*0.00;
  491. per_frame_18=
  492. per_frame_19=zoom = 0.99;
  493. per_frame_20=//warp = 0;
  494. per_frame_21=
  495. per_frame_22=rot = -0.00;
  496. per_frame_23=
  497. per_frame_24=w = -0.46;
  498. per_frame_25=q1 = sin(w);
  499. per_frame_26=q2 = cos(w);
  500. per_frame_27=
  501. per_frame_28=w = n*0.001;
  502. per_frame_29=q3 = sin(w);
  503. per_frame_30=q4 = cos(w);
  504. per_frame_31=q9 = n1*0.004;
  505. per_frame_32=q10 = n2*0.004;
  506. per_frame_33=
  507. per_frame_34=
  508. per_frame_35=vol = bass*8 + mid*4 + treb*2;
  509. per_frame_36=vol = vol*above(vol,17);
  510. per_frame_37=monitor = vol;
  511. per_frame_38=beat = above(vol,res);
  512. per_frame_39=diff = (1-beat)*diff + beat*(vol-res);
  513. per_frame_40=res = beat*(vol+2*diff) + (1-beat)*(res - (diff*0.04 + 0.12)*60/fps);
  514. per_frame_41=res = max(0,res);
  515. per_frame_42=monitor = res;
  516. per_frame_43=
  517. per_frame_44=x = if(beat,rand(60)*0.01 + 0.2,x);
  518. per_frame_45=y = if(beat,rand(60)*0.01 + 0.2,y);
  519. per_frame_46=q21 = x;
  520. per_frame_47=q22 = y;
  521. per_frame_48=
  522. per_frame_49=wave_x = q1;
  523. per_frame_50=wave_y = 1-q2;
  524. per_pixel_1=cx = q21;
  525. per_pixel_2=cy = q22;
  526. per_pixel_3=
  527. per_pixel_4=d = pow(sqrt(sqr(x-cx)+sqr(y-cy)),0.8);
  528. per_pixel_5=r = 0.2;
  529. per_pixel_6=v = 0.2;
  530. per_pixel_7=
  531. per_pixel_8=dx = (x - cx)*v*(d-r);
  532. per_pixel_9=dy = (y - cy)*v*(d-r);
  533. warp_1=`float1 s,c;
  534. warp_2=`
  535. warp_3=`shader_body
  536. warp_4=`{
  537. warp_5=`ret = 0;
  538. warp_6=`
  539. warp_7=`// fern fractal on the red channel
  540. warp_8=`
  541. warp_9=`float2 uv0 = uv.yx*4 -float2(3,0);
  542. warp_10=`float c0 = tex2D(sampler_fc_main, uv0).z; // feeded by the spiral
  543. warp_11=`
  544. warp_12=`float2 uv1 = 0.5 + (uv-0.5)*1.15 + float2(-1,1)*0.05; // main arm
  545. warp_13=`float1 c1 = tex2D(sampler_fc_main, uv1).x;
  546. warp_14=`
  547. warp_15=`float2 uv2 = float2(-1,0) + (float2(-1,1)*uv + float2(1,0) - 0.5)*4; // upper limb
  548. warp_16=`float1 c2 = tex2D(sampler_fc_main, uv2).x;
  549. warp_17=`
  550. warp_18=`float2 uv3 = float2(1,2) + (float2(1,-1)*uv + float2(0,1) - 0.5)*4; // lower limb
  551. warp_19=`float1 c3 = tex2D(sampler_fc_main, uv3).x;
  552. warp_20=`
  553. warp_21=`
  554. warp_22=`ret.x = (c0 + c1 + c2 + c3)*1.075; // composition of the red fractal
  555. warp_23=`
  556. warp_24=`// spiral in the blue channel
  557. warp_25=`
  558. warp_26=`float2 uv4 = float2(-1,0) + (float2(-1,1)*uv + float2(1,0) - 0.5)*4;
  559. warp_27=`float1 c4 = tex2D(sampler_fc_main, uv4).x; // feeded by the fern
  560. warp_28=`
  561. warp_29=`s = q1; // sin(w)
  562. warp_30=`c = q2; // cos(w)
  563. warp_31=`float2 scale = 1.05;
  564. warp_32=`float2 uv5 = (uv-0.5)*aspect.xy;
  565. warp_33=` uv5 = scale*float2( c*uv5.x - s*uv5.y, s*uv5.x + c*uv5.y); // rotation
  566. warp_34=` uv5 = 0.5 + uv5*aspect.zw + float2(-0.03,0.03);
  567. warp_35=`
  568. warp_36=`float1 c5 = tex2D(sampler_fc_main, uv5).z;
  569. warp_37=`
  570. warp_38=`
  571. warp_39=`
  572. warp_40=`ret.z = (c4 + c5)*1.075 - 0.00;
  573. warp_41=`
  574. warp_42=`// mirrored checker in the green channel
  575. warp_43=`
  576. warp_44=`s = q3; // sin(w)
  577. warp_45=`c = q4; // cos(w)
  578. warp_46=`
  579. warp_47=`float2 uv6 = (uv-0.5)*aspect.xy*2;
  580. warp_48=` uv6 = scale*float2( c*uv6.x - s*uv6.y, s*uv6.x + c*uv6.y); // rotation
  581. warp_49=` uv6 = 0.5 + uv6*aspect.zw + float2(q9,q10);
  582. warp_50=`
  583. warp_51=` uv6 = 1.0 - abs( frac( uv6 * 0.5 ) * 2.0 - 1.0 ); // Eo.S' mirror code
  584. warp_52=`
  585. warp_53=`float c6 = tex2D(sampler_fc_main,uv6).z;
  586. warp_54=`float c7 = tex2D(sampler_fc_main,uv6).y;
  587. warp_55=`ret.y = max(c6,c7*0.5);
  588. warp_56=`
  589. warp_57=`}
  590. comp_1=`sampler sampler_manyfish;
  591. comp_2=`shader_body
  592. comp_3=`{
  593. comp_4=` float2 d = texsize.zw*2;
  594. comp_5=` float3 dx = ( GetBlur1(uv+float2(1,0)*d)-GetBlur1(uv-float2(1,0)*d) );
  595. comp_6=` float3 dy = ( GetBlur1(uv+float2(0,1)*d)-GetBlur1(uv-float2(0,1)*d) );
  596. comp_7=`
  597. comp_8=` float2 uv_dz = uv + float2(dy.z,-dx.z)*texsize.zw*64;
  598. comp_9=` float2 uv_dy = uv - float2(dy.z,-dx.z)*texsize.zw*32;
  599. comp_10=`
  600. comp_11=`ret = GetPixel(uv).y*0.2;
  601. comp_12=`ret = lerp(float3(0.2,0.2,0),float3(0.6,0.6,0),GetBlur3(uv_dz).y*8);
  602. comp_13=`ret = lerp(ret,float3(1,1,1),GetBlur1(uv_dz).y*6);
  603. comp_14=`ret = lerp(ret,float3(0,0,0),GetPixel(uv_dz).y*2);
  604. comp_15=`
  605. comp_16=`ret = lerp(ret,float3(0,1,0),GetBlur2(uv).z*1.2);
  606. comp_17=`//ret = lerp(ret,float3(-.02,-4,2),GetPixel(uv).z);
  607. comp_18=`
  608. comp_19=`ret = lerp(ret,float3(1.4,0,0),GetBlur1(uv_dy).x*2);
  609. comp_20=`ret = lerp(ret,0,GetPixel(uv_dy).x*2);
  610. comp_21=`
  611. comp_22=`}
  612. comp_23=`