1
0

ORB - Acid Cycle Gas Giant.milk 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380
  1. MILKDROP_PRESET_VERSION=201
  2. PSVERSION=2
  3. PSVERSION_WARP=2
  4. PSVERSION_COMP=2
  5. [preset00]
  6. fRating=4.000000
  7. fGammaAdj=2.000000
  8. fDecay=1.000000
  9. fVideoEchoZoom=0.999600
  10. fVideoEchoAlpha=0.500000
  11. nVideoEchoOrientation=3
  12. nWaveMode=0
  13. bAdditiveWaves=0
  14. bWaveDots=0
  15. bWaveThick=0
  16. bModWaveAlphaByVolume=0
  17. bMaximizeWaveColor=1
  18. bTexWrap=1
  19. bDarkenCenter=0
  20. bRedBlueStereo=0
  21. bBrighten=0
  22. bDarken=0
  23. bSolarize=0
  24. bInvert=1
  25. fWaveAlpha=0.001000
  26. fWaveScale=1.000000
  27. fWaveSmoothing=0.750000
  28. fWaveParam=0.000000
  29. fModWaveAlphaStart=0.750000
  30. fModWaveAlphaEnd=0.950000
  31. fWarpAnimSpeed=1.000000
  32. fWarpScale=0.266718
  33. fZoomExponent=1.000000
  34. fShader=0.000000
  35. zoom=1.160000
  36. rot=-0.040000
  37. cx=0.500000
  38. cy=0.500000
  39. dx=0.000000
  40. dy=0.000000
  41. warp=0.000521
  42. sx=1.000000
  43. sy=1.000000
  44. wave_r=0.000000
  45. wave_g=0.000000
  46. wave_b=0.000000
  47. wave_x=0.500000
  48. wave_y=0.500000
  49. ob_size=0.010000
  50. ob_r=1.000000
  51. ob_g=1.000000
  52. ob_b=1.000000
  53. ob_a=0.000000
  54. ib_size=0.010000
  55. ib_r=0.250000
  56. ib_g=0.250000
  57. ib_b=0.250000
  58. ib_a=0.000000
  59. nMotionVectorsX=12.000000
  60. nMotionVectorsY=9.000000
  61. mv_dx=0.000000
  62. mv_dy=0.000000
  63. mv_l=0.900000
  64. mv_r=1.000000
  65. mv_g=1.000000
  66. mv_b=1.000000
  67. mv_a=0.000000
  68. b1n=0.000000
  69. b2n=0.000000
  70. b3n=0.000000
  71. b1x=1.000000
  72. b2x=1.000000
  73. b3x=1.000000
  74. b1ed=0.250000
  75. wavecode_0_enabled=1
  76. wavecode_0_samples=512
  77. wavecode_0_sep=0
  78. wavecode_0_bSpectrum=0
  79. wavecode_0_bUseDots=0
  80. wavecode_0_bDrawThick=0
  81. wavecode_0_bAdditive=0
  82. wavecode_0_scaling=1.000000
  83. wavecode_0_smoothing=0.500000
  84. wavecode_0_r=1.000000
  85. wavecode_0_g=1.000000
  86. wavecode_0_b=1.000000
  87. wavecode_0_a=0.500000
  88. wave_0_per_point1=//init
  89. wave_0_per_point2=zs = if(below(zs,1),9,zs);
  90. wave_0_per_point3=
  91. wave_0_per_point4=zs = if(above(zs, 1100),1, zs);
  92. wave_0_per_point5=
  93. wave_0_per_point6=speed = bass*0.002;
  94. wave_0_per_point7=
  95. wave_0_per_point8=//sum
  96. wave_0_per_point9=zs = zs + tan(q1*0.015)*speed;
  97. wave_0_per_point10=
  98. wave_0_per_point11=zd = zd + 2;
  99. wave_0_per_point12=
  100. wave_0_per_point13=
  101. wave_0_per_point14=
  102. wave_0_per_point15=//project
  103. wave_0_per_point16=x = 0.5 + 0.1*cos(q1*zs);
  104. wave_0_per_point17=y = 0.5 + 0.1*sin(q1*zs);
  105. wave_0_per_point18=
  106. wave_0_per_point19=r = 0.5 + 0.5*sin(q1*1.2 + x + x);
  107. wave_0_per_point20=g = 0.5 + 0.5*sin(q1*1.5 + x + y);
  108. wave_0_per_point21=b = 0.5 + 0.5*sin(q1*1.36 + y + y);
  109. wavecode_1_enabled=0
  110. wavecode_1_samples=512
  111. wavecode_1_sep=0
  112. wavecode_1_bSpectrum=0
  113. wavecode_1_bUseDots=0
  114. wavecode_1_bDrawThick=1
  115. wavecode_1_bAdditive=0
  116. wavecode_1_scaling=1.000000
  117. wavecode_1_smoothing=0.500000
  118. wavecode_1_r=1.000000
  119. wavecode_1_g=1.000000
  120. wavecode_1_b=1.000000
  121. wavecode_1_a=1.000000
  122. wavecode_2_enabled=0
  123. wavecode_2_samples=512
  124. wavecode_2_sep=0
  125. wavecode_2_bSpectrum=0
  126. wavecode_2_bUseDots=0
  127. wavecode_2_bDrawThick=0
  128. wavecode_2_bAdditive=0
  129. wavecode_2_scaling=1.000000
  130. wavecode_2_smoothing=0.500000
  131. wavecode_2_r=1.000000
  132. wavecode_2_g=1.000000
  133. wavecode_2_b=1.000000
  134. wavecode_2_a=1.000000
  135. wavecode_3_enabled=0
  136. wavecode_3_samples=512
  137. wavecode_3_sep=0
  138. wavecode_3_bSpectrum=0
  139. wavecode_3_bUseDots=0
  140. wavecode_3_bDrawThick=1
  141. wavecode_3_bAdditive=0
  142. wavecode_3_scaling=1.000000
  143. wavecode_3_smoothing=0.500000
  144. wavecode_3_r=1.000000
  145. wavecode_3_g=1.000000
  146. wavecode_3_b=1.000000
  147. wavecode_3_a=1.000000
  148. shapecode_0_enabled=1
  149. shapecode_0_sides=4
  150. shapecode_0_additive=0
  151. shapecode_0_thickOutline=0
  152. shapecode_0_textured=1
  153. shapecode_0_x=0.750000
  154. shapecode_0_y=0.750000
  155. shapecode_0_rad=0.741799
  156. shapecode_0_ang=0.000000
  157. shapecode_0_tex_ang=0.000000
  158. shapecode_0_tex_zoom=0.227462
  159. shapecode_0_r=1.000000
  160. shapecode_0_g=1.000000
  161. shapecode_0_b=1.000000
  162. shapecode_0_a=1.000000
  163. shapecode_0_r2=1.000000
  164. shapecode_0_g2=1.000000
  165. shapecode_0_b2=1.000000
  166. shapecode_0_a2=0.000000
  167. shapecode_0_border_r=0.000000
  168. shapecode_0_border_g=0.000000
  169. shapecode_0_border_b=1.000000
  170. shapecode_0_border_a=0.000000
  171. shape_0_init1=tex_saw = 0.4;
  172. shape_0_per_frame1=ang = q1*0.2;
  173. shape_0_per_frame2=
  174. shape_0_per_frame3=tex_zoom = 0.6;
  175. shapecode_1_enabled=1
  176. shapecode_1_sides=4
  177. shapecode_1_additive=0
  178. shapecode_1_thickOutline=0
  179. shapecode_1_textured=1
  180. shapecode_1_x=0.250000
  181. shapecode_1_y=0.750000
  182. shapecode_1_rad=0.741799
  183. shapecode_1_ang=0.000000
  184. shapecode_1_tex_ang=0.000000
  185. shapecode_1_tex_zoom=0.227462
  186. shapecode_1_r=1.000000
  187. shapecode_1_g=1.000000
  188. shapecode_1_b=1.000000
  189. shapecode_1_a=1.000000
  190. shapecode_1_r2=1.000000
  191. shapecode_1_g2=1.000000
  192. shapecode_1_b2=1.000000
  193. shapecode_1_a2=0.000000
  194. shapecode_1_border_r=0.000000
  195. shapecode_1_border_g=0.000000
  196. shapecode_1_border_b=1.000000
  197. shapecode_1_border_a=0.000000
  198. shape_1_init1=tex_saw = 0.4;
  199. shape_1_per_frame1=ang = q1*0.2;
  200. shape_1_per_frame2=tex_zoom = 0.6;
  201. shapecode_2_enabled=0
  202. shapecode_2_sides=100
  203. shapecode_2_additive=0
  204. shapecode_2_thickOutline=0
  205. shapecode_2_textured=0
  206. shapecode_2_x=0.500000
  207. shapecode_2_y=0.500000
  208. shapecode_2_rad=0.221671
  209. shapecode_2_ang=0.000000
  210. shapecode_2_tex_ang=0.000000
  211. shapecode_2_tex_zoom=1.000000
  212. shapecode_2_r=1.000000
  213. shapecode_2_g=0.000000
  214. shapecode_2_b=0.000000
  215. shapecode_2_a=1.000000
  216. shapecode_2_r2=0.000000
  217. shapecode_2_g2=1.000000
  218. shapecode_2_b2=0.000000
  219. shapecode_2_a2=0.000000
  220. shapecode_2_border_r=1.000000
  221. shapecode_2_border_g=1.000000
  222. shapecode_2_border_b=1.000000
  223. shapecode_2_border_a=1.000000
  224. shape_2_per_frame1=border_r = 0.5 + 0.5*sin(q1*10);
  225. shapecode_3_enabled=1
  226. shapecode_3_sides=100
  227. shapecode_3_additive=0
  228. shapecode_3_thickOutline=0
  229. shapecode_3_textured=0
  230. shapecode_3_x=0.500000
  231. shapecode_3_y=0.500000
  232. shapecode_3_rad=0.100000
  233. shapecode_3_ang=0.000000
  234. shapecode_3_tex_ang=0.000000
  235. shapecode_3_tex_zoom=1.000000
  236. shapecode_3_r=1.000000
  237. shapecode_3_g=1.000000
  238. shapecode_3_b=1.000000
  239. shapecode_3_a=1.000000
  240. shapecode_3_r2=1.000000
  241. shapecode_3_g2=1.000000
  242. shapecode_3_b2=1.000000
  243. shapecode_3_a2=0.000000
  244. shapecode_3_border_r=1.000000
  245. shapecode_3_border_g=1.000000
  246. shapecode_3_border_b=1.000000
  247. shapecode_3_border_a=0.000000
  248. shape_3_per_frame1=a = above(q3,2);
  249. shape_3_per_frame2=a2 = above(q3,2)*0.8;
  250. shape_3_per_frame3=
  251. shape_3_per_frame4=xx = if(above(q3,5),xx,rand(100)*0.01);
  252. shape_3_per_frame5=yy = if(above(q3,5),yy,rand(100)*0.01);
  253. shape_3_per_frame6=radi = if(above(q3,5),radi,rand(100)*0.01);
  254. shape_3_per_frame7=
  255. shape_3_per_frame8=rad = radi;
  256. shape_3_per_frame9=
  257. shape_3_per_frame10=x = xx;
  258. shape_3_per_frame11=y = yy;
  259. shape_3_per_frame12=
  260. shape_3_per_frame13=
  261. shape_3_per_frame14=r = 0.5 + 0.5*sin(q1*1.22) + 0.1;
  262. shape_3_per_frame15=g = 0.4 + 0.4*sin(q1*1.307);
  263. shape_3_per_frame16=b = 0.4 + 0.4*sin(q1*1.959);
  264. shape_3_per_frame17=
  265. shape_3_per_frame18=
  266. shape_3_per_frame19=r2 = 0.5 + 0.5*sin(q1*1.622) + 0.1;
  267. shape_3_per_frame20=g2 = 0.4 + 0.4*sin(q1*1.507);
  268. shape_3_per_frame21=b2 = 0.4 + 0.4*sin(q1*1.6559);
  269. per_frame_init_1=spintime = 0;
  270. per_frame_1=basstime = basstime + bass_att*0.03;
  271. per_frame_2=q1 = basstime;
  272. per_frame_3=vol = pow(bass+mid+treb,2);
  273. per_frame_4=basssum = vol;
  274. per_frame_5=
  275. per_frame_6=basstime = if(below(basstime,465),465,basstime);
  276. per_frame_7=
  277. per_frame_8=stickybit = time%2;
  278. per_frame_9=
  279. per_frame_10=//avg vol
  280. per_frame_11=//buffer 1
  281. per_frame_12=volAvg = volAvg + vol*equal(stickybit,1);
  282. per_frame_13=//number of samples 1 or framerate
  283. per_frame_14=sample1 = sample1 + equal(stickybit,1);
  284. per_frame_15=//buffer 2
  285. per_frame_16=volAvg2 = volAvg2 + vol*equal(stickybit,0);
  286. per_frame_17=//number of samples 2
  287. per_frame_18=sample2 = sample2 + equal(stickybit,0);
  288. per_frame_19=
  289. per_frame_20=//transision
  290. per_frame_21=edge = bnot(equal(bit2,stickybit));
  291. per_frame_22=
  292. per_frame_23=volAvg = volAvg - volAvg*edge*stickybit;
  293. per_frame_24=volAvg2 = volAvg2 - volAvg2*edge*equal(stickybit,0);
  294. per_frame_25=
  295. per_frame_26=sample1 = sample1 - sample1*edge*stickybit;
  296. per_frame_27=sample2 = sample2 - sample2*edge*equal(stickybit,0);
  297. per_frame_28=
  298. per_frame_29=//test vol against avg buffer lvl
  299. per_frame_30=diff = if(equal(stickybit,1), (basssum/(volAvg2/sample2)) , 0);
  300. per_frame_31=diff = if(equal(stickybit,0), (basssum/(volAvg/sample1)), diff);
  301. per_frame_32=
  302. per_frame_33=q3 = diff;
  303. per_frame_34=
  304. per_frame_35=bit2 = time%2;
  305. per_frame_36=
  306. per_frame_37=difftime = difftime + diff*0.03;
  307. per_frame_38=q2 = difftime;
  308. per_frame_39=
  309. per_frame_40=//fix a strange error
  310. per_frame_41=difftime = if(above(difftime,2000),0, difftime);
  311. per_frame_42=
  312. per_frame_43=state = state + above(diff,10);
  313. per_frame_44=spintime = spintime + bass*0.03*if(equal(state%2,1),1,-1);
  314. per_frame_45=q8 = spintime;
  315. per_frame_46=
  316. per_frame_47=state2 = state2 + above(diff,10);
  317. per_frame_48=state2 = if(above(state2,10),1,state2);
  318. per_frame_49=q9 = state2;
  319. per_frame_50=
  320. per_frame_51=monitor = state2;
  321. per_pixel_1=zoom = 1.05 - q3*0.05;
  322. per_pixel_2=rot = sin(rad)*0.01;
  323. per_pixel_3=warp = 2*zoom*rad;
  324. per_pixel_4=
  325. per_pixel_5=
  326. per_pixel_6=//rules
  327. per_pixel_7=fuzzy1 = x;
  328. per_pixel_8=fuzzy3 = x-1;
  329. per_pixel_9=fuzzy2 = y;
  330. per_pixel_10=fuzzy4 = y-1;
  331. per_pixel_11=
  332. per_pixel_12=//activations approx sawtooth with sin curve
  333. per_pixel_13=f1 = sin(q2 - 1.5707);
  334. per_pixel_14=f2 = sin(q2);
  335. per_pixel_15=f3 = sin(q2 + 1.5707);
  336. per_pixel_16=f4 = sin(q2 + 3.14);
  337. per_pixel_17=
  338. per_pixel_18=//take only values above zero
  339. per_pixel_19=f1 = f1*above(f1,0);
  340. per_pixel_20=f2 = f2*above(f2,0);
  341. per_pixel_21=f3 = f3*above(f3,0);
  342. per_pixel_22=f4 = f4*above(f4,0);
  343. per_pixel_23=
  344. per_pixel_24=//sum rule ativations
  345. per_pixel_25=sum_fuzzy = fuzzy1*f1 + fuzzy2*f2 - fuzzy3*f3 - fuzzy4*f4;
  346. per_pixel_26=sum_fuzzy = cos(sum_fuzzy)*1.2;
  347. per_pixel_27=
  348. per_pixel_28=zoom = 1 + sum_fuzzy*0.05;
  349. warp_1=`shader_body
  350. warp_2=`{
  351. warp_3=` // sample previous frame
  352. warp_4=`
  353. warp_5=`
  354. warp_6=` float3 output1 = tex2D( sampler_main, (uv-0.5)*0.99 + 0.5).xyz;
  355. warp_7=` float3 output2 = tex2D( sampler_main, uv).xyz;
  356. warp_8=`
  357. warp_9=` ret = normalize(output1*0.1 + output2*0.9);
  358. warp_10=` // darken (decay) over time
  359. warp_11=` ret *= 1.04; //or try: ret -= 0.004;
  360. warp_12=`}
  361. comp_1=`shader_body
  362. comp_2=`{
  363. comp_3=`
  364. comp_4=` //rotate texture cords
  365. comp_5=` float texRotU2 = (uv[0] - 0.5)*cos(-q8*0.29) + (uv[1] - 0.5)*sin(-q8*0.29);
  366. comp_6=` float texRotv2 = -(uv[0] - 0.5)*sin(-q8*0.29) + (uv[1] - 0.5)*cos(-q8*0.29);
  367. comp_7=`
  368. comp_8=`
  369. comp_9=` float2 uv2 = float2(texRotU2*0.8 +0.5, texRotv2*0.8 + 0.5);
  370. comp_10=`
  371. comp_11=` float2 uv_echo = (uv - 0.5)*1.000*float2(-1,-1) + 0.5;
  372. comp_12=` ret = lerp( tex2D(sampler_main, uv).xyz,
  373. comp_13=` tex2D(sampler_main, uv_echo).xyz,
  374. comp_14=` 0.50
  375. comp_15=` )*0.8;
  376. comp_16=`
  377. comp_17=` ret += tex2D(sampler_main, uv2*q9).xyz*0.2;
  378. comp_18=` ret *= 1.00; //gamma
  379. comp_19=` ret = 1 - ret*(1 - ret)*4; //invert
  380. comp_20=`}