PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Reaction / Growth / Waltra - Fast Distance.milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=3 |
| 3 | PSVERSION_WARP=2 |
| 4 | PSVERSION_COMP=3 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=1.980 |
| 8 | fDecay=0.500 |
| 9 | fVideoEchoZoom=1.000 |
| 10 | fVideoEchoAlpha=0.500 |
| 11 | nVideoEchoOrientation=3 |
| 12 | nWaveMode=4 |
| 13 | bAdditiveWaves=1 |
| 14 | bWaveDots=0 |
| 15 | bWaveThick=0 |
| 16 | bModWaveAlphaByVolume=1 |
| 17 | bMaximizeWaveColor=0 |
| 18 | bTexWrap=1 |
| 19 | bDarkenCenter=1 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=0 |
| 22 | bDarken=1 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=0.001 |
| 26 | fWaveScale=2.107 |
| 27 | fWaveSmoothing=0.000 |
| 28 | fWaveParam=-0.220 |
| 29 | fModWaveAlphaStart=0.810 |
| 30 | fModWaveAlphaEnd=1.400 |
| 31 | fWarpAnimSpeed=0.442 |
| 32 | fWarpScale=0.498 |
| 33 | fZoomExponent=1.00000 |
| 34 | fShader=0.000 |
| 35 | zoom=0.99990 |
| 36 | rot=0.00000 |
| 37 | cx=0.500 |
| 38 | cy=0.500 |
| 39 | dx=0.00000 |
| 40 | dy=0.00000 |
| 41 | warp=0.01000 |
| 42 | sx=0.99990 |
| 43 | sy=1.00000 |
| 44 | wave_r=0.600 |
| 45 | wave_g=0.500 |
| 46 | wave_b=0.000 |
| 47 | wave_x=0.500 |
| 48 | wave_y=0.500 |
| 49 | ob_size=0.000 |
| 50 | ob_r=1.000 |
| 51 | ob_g=1.000 |
| 52 | ob_b=1.000 |
| 53 | ob_a=0.050 |
| 54 | ib_size=0.260 |
| 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=1.850 |
| 64 | mv_r=0.500 |
| 65 | mv_g=0.500 |
| 66 | mv_b=0.500 |
| 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=1 |
| 76 | wavecode_0_samples=512 |
| 77 | wavecode_0_sep=256 |
| 78 | wavecode_0_bSpectrum=1 |
| 79 | wavecode_0_bUseDots=0 |
| 80 | wavecode_0_bDrawThick=0 |
| 81 | wavecode_0_bAdditive=0 |
| 82 | wavecode_0_scaling=1.00000 |
| 83 | wavecode_0_smoothing=0.80000 |
| 84 | wavecode_0_r=1.000 |
| 85 | wavecode_0_g=1.000 |
| 86 | wavecode_0_b=1.000 |
| 87 | wavecode_0_a=0.040 |
| 88 | wave_0_per_point1=sw = (1-sw)*above(sample,0); |
| 89 | wave_0_per_point2= |
| 90 | wave_0_per_point3=osa = sample*above(sample,0); |
| 91 | wave_0_per_point4= |
| 92 | wave_0_per_point5=mod = pow(value1*2,2)*sign(value1)*.5; |
| 93 | wave_0_per_point6= |
| 94 | wave_0_per_point7=mod = value1; |
| 95 | wave_0_per_point8=mod = mod*sw; |
| 96 | wave_0_per_point9= |
| 97 | wave_0_per_point10=y = if(sw,osa,sample*.5+.25); |
| 98 | wave_0_per_point11=y = sample*.5+.25; |
| 99 | wave_0_per_point12=y = (y-0.5)/(q32) + 0.5; |
| 100 | wave_0_per_point13=x = 1 - mod*.5; |
| 101 | wave_0_per_point14= |
| 102 | wave_0_per_point15=osa = sample; |
| 103 | wave_0_per_point16= |
| 104 | wave_0_per_point17=mo = 3.7 + mod*6 + q1; |
| 105 | wave_0_per_point18= |
| 106 | wave_0_per_point19=r = .5 + sin(q23*.9 +mo)*.5; |
| 107 | wave_0_per_point20=g = .5 + sin(q23*.89+mo + 1.5472)*.5; |
| 108 | wave_0_per_point21=b = .5 + sin(q23*.88+mo + 2.8944)*.5; |
| 109 | wave_0_per_point22= |
| 110 | wave_0_per_point23=//a = 3 - abs(mod)*12; |
| 111 | wave_0_per_point24=//a = 3-sw; |
| 112 | wave_0_per_point25=//a = max(0,min(a,1)); |
| 113 | wavecode_1_enabled=1 |
| 114 | wavecode_1_samples=512 |
| 115 | wavecode_1_sep=256 |
| 116 | wavecode_1_bSpectrum=1 |
| 117 | wavecode_1_bUseDots=0 |
| 118 | wavecode_1_bDrawThick=0 |
| 119 | wavecode_1_bAdditive=0 |
| 120 | wavecode_1_scaling=1.00000 |
| 121 | wavecode_1_smoothing=0.80000 |
| 122 | wavecode_1_r=1.000 |
| 123 | wavecode_1_g=1.000 |
| 124 | wavecode_1_b=1.000 |
| 125 | wavecode_1_a=0.040 |
| 126 | wave_1_per_point1=sw = (1-sw)*below(sample,1); |
| 127 | wave_1_per_point2= |
| 128 | wave_1_per_point3=osa = sample*above(sample,0); |
| 129 | wave_1_per_point4= |
| 130 | wave_1_per_point5=mod = pow(value2*2,2)*sign(value2)*.5; |
| 131 | wave_1_per_point6= |
| 132 | wave_1_per_point7=mod = value2; |
| 133 | wave_1_per_point8=mod = mod*sw; |
| 134 | wave_1_per_point9= |
| 135 | wave_1_per_point10=y = if(sw,osa,sample*.5+.25); |
| 136 | wave_1_per_point11=y = sample*.5+.25; |
| 137 | wave_1_per_point12=y = (y-0.5)/(q32) + 0.5; |
| 138 | wave_1_per_point13=x = 0+ mod*.5; |
| 139 | wave_1_per_point14= |
| 140 | wave_1_per_point15=osa = sample; |
| 141 | wave_1_per_point16= |
| 142 | wave_1_per_point17=mo = 3.7 + mod*6 + q1; |
| 143 | wave_1_per_point18= |
| 144 | wave_1_per_point19=r = .5 + sin(q23*.95+mo)*.5; |
| 145 | wave_1_per_point20=g = .5 + sin(q23*.96+mo + 1.5472)*.5; |
| 146 | wave_1_per_point21=b = .5 + sin(q23*.97+mo + 2.8944)*.5; |
| 147 | wave_1_per_point22= |
| 148 | wave_1_per_point23=//a = 3 - abs(mod)*12; |
| 149 | wave_1_per_point24=//a = 3-sw; |
| 150 | wave_1_per_point25=//a = max(0,min(a,1)); |
| 151 | wavecode_2_enabled=0 |
| 152 | wavecode_2_samples=512 |
| 153 | wavecode_2_sep=0 |
| 154 | wavecode_2_bSpectrum=0 |
| 155 | wavecode_2_bUseDots=0 |
| 156 | wavecode_2_bDrawThick=1 |
| 157 | wavecode_2_bAdditive=0 |
| 158 | wavecode_2_scaling=0.89152 |
| 159 | wavecode_2_smoothing=0.82000 |
| 160 | wavecode_2_r=1.000 |
| 161 | wavecode_2_g=1.000 |
| 162 | wavecode_2_b=1.000 |
| 163 | wavecode_2_a=0.100 |
| 164 | wavecode_3_enabled=0 |
| 165 | wavecode_3_samples=512 |
| 166 | wavecode_3_sep=0 |
| 167 | wavecode_3_bSpectrum=1 |
| 168 | wavecode_3_bUseDots=1 |
| 169 | wavecode_3_bDrawThick=0 |
| 170 | wavecode_3_bAdditive=0 |
| 171 | wavecode_3_scaling=1.00000 |
| 172 | wavecode_3_smoothing=0.50000 |
| 173 | wavecode_3_r=1.000 |
| 174 | wavecode_3_g=1.000 |
| 175 | wavecode_3_b=1.000 |
| 176 | wavecode_3_a=1.000 |
| 177 | shapecode_0_enabled=1 |
| 178 | shapecode_0_sides=16 |
| 179 | shapecode_0_additive=0 |
| 180 | shapecode_0_thickOutline=0 |
| 181 | shapecode_0_textured=1 |
| 182 | shapecode_0_num_inst=5 |
| 183 | shapecode_0_x=0.730 |
| 184 | shapecode_0_y=0.500 |
| 185 | shapecode_0_rad=0.29466 |
| 186 | shapecode_0_ang=0.00000 |
| 187 | shapecode_0_tex_ang=0.00000 |
| 188 | shapecode_0_tex_zoom=2.79176 |
| 189 | shapecode_0_r=0.700 |
| 190 | shapecode_0_g=0.700 |
| 191 | shapecode_0_b=1.000 |
| 192 | shapecode_0_a=1.000 |
| 193 | shapecode_0_r2=0.000 |
| 194 | shapecode_0_g2=0.000 |
| 195 | shapecode_0_b2=0.000 |
| 196 | shapecode_0_a2=0.000 |
| 197 | shapecode_0_border_r=1.000 |
| 198 | shapecode_0_border_g=1.000 |
| 199 | shapecode_0_border_b=0.000 |
| 200 | shapecode_0_border_a=0.000 |
| 201 | shape_0_per_frame1=trig = q25; |
| 202 | shape_0_per_frame2=a = trig*min(bass+treb,1); a2 = trig*0; |
| 203 | shape_0_per_frame3=//a = min(bass+treb-1,1); |
| 204 | shape_0_per_frame4=x0 = x0 *bnot(trig) + trig*int(rand(100))/100; |
| 205 | shape_0_per_frame5=y0 = y0 *bnot(trig) + trig*int(rand(100))/100; |
| 206 | shape_0_per_frame6= |
| 207 | shape_0_per_frame7= |
| 208 | shape_0_per_frame8=k1 = instance/num_inst*6.28; |
| 209 | shape_0_per_frame9=ampl = .1*q22+.1; |
| 210 | shape_0_per_frame10= |
| 211 | shape_0_per_frame11= |
| 212 | shape_0_per_frame12=x0 = .5 +q15*ampl *cos(k1+q17); y0 = .5+ q16*ampl*sin(k1+q17); |
| 213 | shape_0_per_frame13= |
| 214 | shape_0_per_frame14= |
| 215 | shape_0_per_frame15=tex_ang = int(rand(20))/3; |
| 216 | shape_0_per_frame16=//tex_ang = time; |
| 217 | shape_0_per_frame17=rad = .1 + int(rand(8))/12; |
| 218 | shape_0_per_frame18= |
| 219 | shape_0_per_frame19=x = x0; y = y0; |
| 220 | shape_0_per_frame20=r = .7+.3*sin(time/12); |
| 221 | shape_0_per_frame21=b = .7+.3*sin(time/15); |
| 222 | shape_0_per_frame22=g = .7+.3*sin(time/8); |
| 223 | shape_0_per_frame23=r2 = r; b2 = b; g2 = g; |
| 224 | shapecode_1_enabled=1 |
| 225 | shapecode_1_sides=32 |
| 226 | shapecode_1_additive=0 |
| 227 | shapecode_1_thickOutline=0 |
| 228 | shapecode_1_textured=0 |
| 229 | shapecode_1_num_inst=37 |
| 230 | shapecode_1_x=0.500 |
| 231 | shapecode_1_y=0.500 |
| 232 | shapecode_1_rad=0.03640 |
| 233 | shapecode_1_ang=0.81681 |
| 234 | shapecode_1_tex_ang=0.37699 |
| 235 | shapecode_1_tex_zoom=1.02841 |
| 236 | shapecode_1_r=1.000 |
| 237 | shapecode_1_g=1.000 |
| 238 | shapecode_1_b=1.000 |
| 239 | shapecode_1_a=0.050 |
| 240 | shapecode_1_r2=1.000 |
| 241 | shapecode_1_g2=1.000 |
| 242 | shapecode_1_b2=1.000 |
| 243 | shapecode_1_a2=0.000 |
| 244 | shapecode_1_border_r=1.000 |
| 245 | shapecode_1_border_g=1.000 |
| 246 | shapecode_1_border_b=1.000 |
| 247 | shapecode_1_border_a=0.000 |
| 248 | shape_1_per_frame1=k1 = instance/num_inst*6.28; |
| 249 | shape_1_per_frame2=tmp = q17/32+time*.1; |
| 250 | shape_1_per_frame3=trel = tmp-int(tmp); |
| 251 | shape_1_per_frame4= |
| 252 | shape_1_per_frame5=yes = above(sin(time/9.5),0); |
| 253 | shape_1_per_frame6= |
| 254 | shape_1_per_frame7=bright = 6*q2*q2*yes+.1*min(q8,1); |
| 255 | shape_1_per_frame8=border_a = bright; |
| 256 | shape_1_per_frame9= |
| 257 | shape_1_per_frame10=tmp = 2*sin(time/12)-1; |
| 258 | shape_1_per_frame11=a = .5*yes*pow(2,-18*abs(k1-6.28*trel)) * above(tmp,0)*tmp*tmp; |
| 259 | shape_1_per_frame12=ampl = .1; |
| 260 | shape_1_per_frame13=rad = .02+.0*sin(k1*4+time); |
| 261 | shape_1_per_frame14=x = .5 +q15*ampl *cos(k1+q17); y = .5+ q16*ampl*sin(k1+q17); |
| 262 | shape_1_per_frame15= |
| 263 | shape_1_per_frame16=r0 = sin(time/7); |
| 264 | shape_1_per_frame17=g0 = sin(time/5); |
| 265 | shape_1_per_frame18=b0 = sin(time/9); |
| 266 | shape_1_per_frame19= |
| 267 | shape_1_per_frame20=border_r = .8 + .2*r0; |
| 268 | shape_1_per_frame21=border_g = .8 + .2*g0; |
| 269 | shape_1_per_frame22=border_b = .8 + .2*b0; |
| 270 | shape_1_per_frame23= |
| 271 | shape_1_per_frame24= |
| 272 | shape_1_per_frame25=//r = .5*r0; g = .5*g0; b = 0.5*b0; ; |
| 273 | shape_1_per_frame26= |
| 274 | shape_1_per_frame27=//r2 = 0; g2 = 0; b2 = 0; |
| 275 | shape_1_per_frame28= |
| 276 | shape_1_per_frame29=a2 = 0; |
| 277 | shape_1_per_frame30= |
| 278 | shapecode_2_enabled=1 |
| 279 | shapecode_2_sides=32 |
| 280 | shapecode_2_additive=1 |
| 281 | shapecode_2_thickOutline=1 |
| 282 | shapecode_2_textured=0 |
| 283 | shapecode_2_num_inst=33 |
| 284 | shapecode_2_x=0.500 |
| 285 | shapecode_2_y=0.500 |
| 286 | shapecode_2_rad=0.10000 |
| 287 | shapecode_2_ang=0.00000 |
| 288 | shapecode_2_tex_ang=0.00000 |
| 289 | shapecode_2_tex_zoom=1.00000 |
| 290 | shapecode_2_r=0.000 |
| 291 | shapecode_2_g=0.500 |
| 292 | shapecode_2_b=0.000 |
| 293 | shapecode_2_a=1.000 |
| 294 | shapecode_2_r2=0.000 |
| 295 | shapecode_2_g2=0.500 |
| 296 | shapecode_2_b2=0.000 |
| 297 | shapecode_2_a2=0.000 |
| 298 | shapecode_2_border_r=1.000 |
| 299 | shapecode_2_border_g=1.000 |
| 300 | shapecode_2_border_b=1.000 |
| 301 | shapecode_2_border_a=0.000 |
| 302 | shape_2_per_frame1=trans = int(rand(int(q1)))/5+instance-instance; |
| 303 | shape_2_per_frame2=trans2 = int(rand(int(q1)))/5+instance-instance; |
| 304 | shape_2_per_frame3=trans3 = int(rand(int(q1)))/5+instance-instance; |
| 305 | shape_2_per_frame4=a = trans; |
| 306 | shape_2_per_frame5= |
| 307 | shape_2_per_frame6=x = (sin(q23)+1.57)*.3 + int(rand(15))*0.01*bass_att*if(equal(int(rand(2)),1),1,-1)+instance-instance; |
| 308 | shape_2_per_frame7=y = (cos(q23)+1.57)*.3 + int(rand(15))*0.01*bass_att*if(equal(int(rand(2)),1),1,-1)+instance-instance; |
| 309 | shape_2_per_frame8=rad = .09 + int(rand(int(q1)))/15+instance-instance; |
| 310 | shape_2_per_frame9=r=int(rand(q1))*.1+instance-instance; |
| 311 | shape_2_per_frame10=g=int(rand(q1))*.1+instance-instance; |
| 312 | shape_2_per_frame11=b=int(rand(q1))*.1+instance-instance; |
| 313 | shape_2_per_frame12=r2=int(rand(q1))*.1+instance-instance; |
| 314 | shape_2_per_frame13=g2=int(rand(q1))*.1+instance-instance; |
| 315 | shape_2_per_frame14=b2=int(rand(q1))*.1+instance-instance; |
| 316 | shape_2_per_frame15=border_r=int(rand(q1))*.1+instance-instance; |
| 317 | shape_2_per_frame16=border_g=int(rand(q1))*.1+instance-instance; |
| 318 | shape_2_per_frame17=border_b=int(rand(q1))*.1+instance-instance; |
| 319 | shapecode_3_enabled=1 |
| 320 | shapecode_3_sides=32 |
| 321 | shapecode_3_additive=0 |
| 322 | shapecode_3_thickOutline=1 |
| 323 | shapecode_3_textured=1 |
| 324 | shapecode_3_num_inst=7 |
| 325 | shapecode_3_x=0.500 |
| 326 | shapecode_3_y=0.500 |
| 327 | shapecode_3_rad=0.10000 |
| 328 | shapecode_3_ang=0.00000 |
| 329 | shapecode_3_tex_ang=0.00000 |
| 330 | shapecode_3_tex_zoom=1.00000 |
| 331 | shapecode_3_r=0.000 |
| 332 | shapecode_3_g=0.000 |
| 333 | shapecode_3_b=0.500 |
| 334 | shapecode_3_a=1.000 |
| 335 | shapecode_3_r2=0.000 |
| 336 | shapecode_3_g2=0.000 |
| 337 | shapecode_3_b2=0.500 |
| 338 | shapecode_3_a2=0.000 |
| 339 | shapecode_3_border_r=1.000 |
| 340 | shapecode_3_border_g=1.000 |
| 341 | shapecode_3_border_b=1.000 |
| 342 | shapecode_3_border_a=0.000 |
| 343 | shape_3_per_frame1=trans = int(rand(int(q1)))/15+instance-instance; |
| 344 | shape_3_per_frame2=trans2 = int(rand(int(q1)))/15+instance-instance; |
| 345 | shape_3_per_frame3=trans3 = int(rand(int(q1)))/15+instance-instance; |
| 346 | shape_3_per_frame4=a = trans; |
| 347 | shape_3_per_frame5= |
| 348 | shape_3_per_frame6=x = (sin(q23)+1.57)*.3 + int(rand(15))*0.01*mid_att*if(equal(int(rand(2)),1),1,-1)+instance-instance; |
| 349 | shape_3_per_frame7=y = (cos(q23)+1.57)*.3 + int(rand(15))*0.01*mid_att*if(equal(int(rand(2)),1),1,-1)+instance-instance; |
| 350 | shape_3_per_frame8=rad = .09 + int(rand(int(q1)))/15+instance-instance; |
| 351 | shape_3_per_frame9=r=int(rand(q1))*.1+instance-instance; |
| 352 | shape_3_per_frame10=g=int(rand(q1))*.1+instance-instance; |
| 353 | shape_3_per_frame11=b=int(rand(q1))*.1+instance-instance; |
| 354 | shape_3_per_frame12=r2=int(rand(q1))*.1+instance-instance; |
| 355 | shape_3_per_frame13=g2=int(rand(q1))*.1+instance-instance; |
| 356 | shape_3_per_frame14=b2=int(rand(q1))*.1+instance-instance; |
| 357 | shape_3_per_frame15=border_r=int(rand(q1))*.1+instance-instance; |
| 358 | shape_3_per_frame16=border_g=int(rand(q1))*.1+instance-instance; |
| 359 | shape_3_per_frame17=border_b=int(rand(q1))*.1+instance-instance; |
| 360 | shape_3_per_frame18= |
| 361 | per_frame_init_1=index = int(rand(32)); |
| 362 | per_frame_init_2=index2 = int(rand(32)); |
| 363 | per_frame_1=chng=sin(time*.5); |
| 364 | per_frame_2=cthr=.9999; |
| 365 | per_frame_3=mq21=if(above(chng,cthr),rand(3),mq21); |
| 366 | per_frame_4=mq22=if(above(chng,cthr),rand(3),mq22); |
| 367 | per_frame_5=mq23=if(above(chng,cthr),rand(3),mq23); |
| 368 | per_frame_6=mq24=if(above(chng,cthr),rand(2),mq24); |
| 369 | per_frame_7=mq25=if(above(chng,cthr),rand(2),mq25); |
| 370 | per_frame_8=mq26=if(above(chng,cthr),rand(2),mq26); |
| 371 | per_frame_9=mq27=if(above(chng,cthr),rand(1),mq27); |
| 372 | per_frame_10=mq28=if(above(chng,cthr),rand(1),mq28); |
| 373 | per_frame_11=mq29=if(above(chng,cthr),rand(1)*.3,mq29); |
| 374 | per_frame_12=mq31=if(above(chng,cthr),rand(1)*.3,mq31); |
| 375 | per_frame_13=monitor=chng; |
| 376 | per_frame_14=q21=mq21;q22=mq22;q23=mq23;q24=mq24;q25=mq25;q26=mq26; |
| 377 | per_frame_15=q27=mq27;q28=mq28;q29=mq29;q31=mq31; |
| 378 | per_frame_16= |
| 379 | per_frame_17=monitor=mq1; |
| 380 | per_frame_18=vol=bass+treb+mid; |
| 381 | per_frame_19=atime=atime+vol; |
| 382 | per_frame_20=q11=.4+sin(atime*.006 )*.4; |
| 383 | per_frame_21=q12=.4+cos(atime*.00613828348)*.4; |
| 384 | per_frame_22=q13=.4+sin(atime*.00598593455)*.4; |
| 385 | per_frame_23=monitor=q13; |
| 386 | per_frame_24=q4=sin(atime*.03); |
| 387 | per_frame_25=q5=cos(atime*.030383824); |
| 388 | per_frame_26=q6=tan(atime*.029384834); |
| 389 | per_frame_27= |
| 390 | per_frame_28=dec_med = pow (0.7, 30/fps); |
| 391 | per_frame_29=dec_slow = pow (0.9, 30/fps); |
| 392 | per_frame_30=beat = max (max (bass, mid), treb); |
| 393 | per_frame_31=avg = avg*dec_slow + beat*(1-dec_slow); |
| 394 | per_frame_32=is_beat = above(beat, -.5+avg+peak) * above (time, t0+.1); |
| 395 | per_frame_33=t0 = is_beat*time + (1-is_beat)*t0; |
| 396 | per_frame_34=peak = is_beat * beat + (1-is_beat)*peak*dec_med; |
| 397 | per_frame_35=index = (index + is_beat) %64; |
| 398 | per_frame_36=index2 = (index2 + is_beat*bnot(index))%4; |
| 399 | per_frame_37= |
| 400 | per_frame_38=q20 = avg; |
| 401 | per_frame_39=q21 = beat; |
| 402 | per_frame_40=q22 = peak; |
| 403 | per_frame_41=q24 = is_beat; |
| 404 | per_frame_42=q29 = 2 * (index2%2-.5); |
| 405 | per_frame_43=q25 = min(1,q22/2); |
| 406 | per_frame_44= |
| 407 | per_frame_45=k1 = is_beat*equal(index%4,0); |
| 408 | per_frame_46=p1 = k1*(p1+1) + (1-k1)*p1; |
| 409 | per_frame_47=p2 = dec_med * p2+ (1-dec_med)*p1; |
| 410 | per_frame_48=rott = p2 * 3.1416/4; |
| 411 | per_frame_49=q1 = cos(rott); |
| 412 | per_frame_50=q2 = sin(rott); |
| 413 | per_frame_51=q3 = -q2; |
| 414 | per_frame_52=q4 = q1; |
| 415 | per_frame_53= |
| 416 | per_frame_54=q26 = (8+index2*8); |
| 417 | per_frame_55=q27 = index; |
| 418 | per_frame_56=q28 = index2; |
| 419 | per_frame_57= |
| 420 | per_frame_58= |
| 421 | per_frame_59=trot = index*6.28/4; |
| 422 | per_frame_60=q5 = cos(trot); |
| 423 | per_frame_61=q6 = sin(trot); |
| 424 | per_frame_62=q7 = -q6; |
| 425 | per_frame_63=q8 = q5; |
| 426 | per_frame_64= |
| 427 | per_frame_65=q29= sin(time/4); |
| 428 | per_frame_66=wave_mystery = q29/2; |
| 429 | per_frame_67= |
| 430 | per_frame_68=q30 = .03*(index%32)/32; |
| 431 | per_frame_69= |
| 432 | per_frame_70=monitor = q30; |
| 433 | per_pixel_1=zoom = 1. +.02*rad; |
| 434 | warp_1=`shader_body |
| 435 | warp_2=`{ |
| 436 | warp_3=` ret = tex2D( sampler_main, uv ).xyz; |
| 437 | warp_4=` |
| 438 | warp_5=` // ERROR DIFFUSION DITHER - looks great |
| 439 | warp_6=` float2 dither_uv = uv_orig*texsize.xy*texsize_noise_lq.zw + rand_frame.xy; |
| 440 | warp_7=` ret += (tex2D(sampler_noise_lq, dither_uv).xyz-0.5)/256.0*3; |
| 441 | warp_8=` |
| 442 | warp_9=` // darken over time |
| 443 | warp_10=` //ret -= 0.004; |
| 444 | warp_11=` //ret *= 0.99; |
| 445 | warp_12=` //ret *= 0.97 + 0.03*saturate( length(uv - uv_orig)*200 ); // center only |
| 446 | warp_13=` ret = frac(ret - 0.005); |
| 447 | warp_14=`} |
| 448 | warp_15=` |
| 449 | comp_1=`shader_body |
| 450 | comp_2=`{ |
| 451 | comp_3=` |
| 452 | comp_4=` |
| 453 | comp_5=` |
| 454 | comp_6=`float2 uva = uv; |
| 455 | comp_7=`float2 uvb = float2(1-uv.x,uv.y); |
| 456 | comp_8=` |
| 457 | comp_9=`ret = tex2D(sampler_main, uva).x + tex2D(sampler_main, uvb).x; |
| 458 | comp_10=` |
| 459 | comp_11=`float3 blurs = GetBlur1(uva).x + GetBlur3(uva).x; |
| 460 | comp_12=`blurs += GetBlur1(uvb).x + GetBlur3(uvb).x; |
| 461 | comp_13=` |
| 462 | comp_14=` |
| 463 | comp_15=`float2 uv3 = (uv-.5)*(1-GetBlur1(uv).zzz)+.5; |
| 464 | comp_16=`ret += saturate(pow(tex2D(sampler_main, uv3).zzz,.5)*(1-ret.x*2)), |
| 465 | comp_17=`ret += saturate(pow(GetBlur1(uv3).zzz,.5)*(1-ret.x*2)), |
| 466 | comp_18=` |
| 467 | comp_19=` |
| 468 | comp_20=`ret = lerp ( |
| 469 | comp_21=`blurs, |
| 470 | comp_22=`ret, |
| 471 | comp_23=`pow(ret,1)); |
| 472 | comp_24=` |
| 473 | comp_25=`ret = pow(ret,float3(5,1,.5)); |
| 474 | comp_26=` |
| 475 | comp_27=`ret += pow(tex2D(sampler_main, float2(uv.x,1-uv.y)).yyy+tex2D(sampler_main, 1-uv).yyy,float3(.6,.95,5)); |
| 476 | comp_28=`float4 noise9 = tex3D(sampler_noisevol_hq, |
| 477 | comp_29=` ((uv3.xyy*q28 |
| 478 | comp_30=` )*texsize.xyy*texsize_noisevol_hq.zww |
| 479 | comp_31=` ).xyz* |
| 480 | comp_32=` float3(1,1,0)*0.05 + |
| 481 | comp_33=` time*float3(0,0,1)*q31 |
| 482 | comp_34=` ); |
| 483 | comp_35=`if(ret.x> q26*q13 && ret.x<= q23*q11 )ret.z -= (noise9).x*.5; |
| 484 | comp_36=`if(ret.y> q25*q11 && ret.y<= q22*q12 )ret.x -= (noise9).y*.5; |
| 485 | comp_37=`if(ret.z> q24*q12 && ret.z<= q21*q13 )ret.y -= (noise9).z*.5; |
| 486 | comp_38=` |
| 487 | comp_39=`ret-=slow_roam_sin*roam_cos.zxy*.5; |
| 488 | comp_40=` |
| 489 | comp_41=`} |