PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Dancer / Lasers / 186.milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=2 |
| 3 | PSVERSION_WARP=2 |
| 4 | PSVERSION_COMP=2 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=1.700 |
| 8 | fDecay=0.960 |
| 9 | fVideoEchoZoom=1.000 |
| 10 | fVideoEchoAlpha=0.500 |
| 11 | nVideoEchoOrientation=3 |
| 12 | nWaveMode=7 |
| 13 | bAdditiveWaves=1 |
| 14 | bWaveDots=0 |
| 15 | bWaveThick=0 |
| 16 | bModWaveAlphaByVolume=1 |
| 17 | bMaximizeWaveColor=0 |
| 18 | bTexWrap=1 |
| 19 | bDarkenCenter=0 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=0 |
| 22 | bDarken=1 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=0.001 |
| 26 | fWaveScale=1.286 |
| 27 | fWaveSmoothing=0.630 |
| 28 | fWaveParam=0.000 |
| 29 | fModWaveAlphaStart=0.710 |
| 30 | fModWaveAlphaEnd=1.300 |
| 31 | fWarpAnimSpeed=1.000 |
| 32 | fWarpScale=1.331 |
| 33 | fZoomExponent=1.00000 |
| 34 | fShader=0.000 |
| 35 | zoom=0.99951 |
| 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=1.00000 |
| 43 | sy=1.00000 |
| 44 | wave_r=0.650 |
| 45 | wave_g=0.650 |
| 46 | wave_b=0.650 |
| 47 | wave_x=0.500 |
| 48 | wave_y=0.500 |
| 49 | ob_size=0.000 |
| 50 | ob_r=0.010 |
| 51 | ob_g=0.000 |
| 52 | ob_b=0.000 |
| 53 | ob_a=1.000 |
| 54 | ib_size=0.005 |
| 55 | ib_r=0.250 |
| 56 | ib_g=0.000 |
| 57 | ib_b=0.000 |
| 58 | ib_a=1.000 |
| 59 | nMotionVectorsX=12.000 |
| 60 | nMotionVectorsY=9.000 |
| 61 | mv_dx=0.000 |
| 62 | mv_dy=0.000 |
| 63 | mv_l=0.900 |
| 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.250 |
| 75 | wavecode_0_enabled=1 |
| 76 | wavecode_0_samples=512 |
| 77 | wavecode_0_sep=0 |
| 78 | wavecode_0_bSpectrum=1 |
| 79 | wavecode_0_bUseDots=0 |
| 80 | wavecode_0_bDrawThick=0 |
| 81 | wavecode_0_bAdditive=1 |
| 82 | wavecode_0_scaling=1.00000 |
| 83 | wavecode_0_smoothing=0.50000 |
| 84 | wavecode_0_r=0.000 |
| 85 | wavecode_0_g=0.000 |
| 86 | wavecode_0_b=0.000 |
| 87 | wavecode_0_a=0.030 |
| 88 | wave_0_per_point1=r = .6 + .4*sin(time); |
| 89 | wave_0_per_point2=g = .4 + .4*sin(time + 2.094); |
| 90 | wave_0_per_point3=b = .4 + .4*sin(time + 4.188); |
| 91 | wave_0_per_point4= |
| 92 | wave_0_per_point5=sw = 1-sw; |
| 93 | wave_0_per_point6= |
| 94 | wave_0_per_point7=mx = equal(int(q2)%2,0); |
| 95 | wave_0_per_point8=mx = abs(mx - (q2 - int(q2))); |
| 96 | wave_0_per_point9=my = .5 + (.5 - mx); |
| 97 | wave_0_per_point10= |
| 98 | wave_0_per_point11= |
| 99 | wave_0_per_point12=x = mx + value1*(1-2*sw); |
| 100 | wave_0_per_point13=y = my + value2*(1-2*sw); |
| 101 | wave_0_per_point14= |
| 102 | wavecode_1_enabled=1 |
| 103 | wavecode_1_samples=512 |
| 104 | wavecode_1_sep=0 |
| 105 | wavecode_1_bSpectrum=1 |
| 106 | wavecode_1_bUseDots=0 |
| 107 | wavecode_1_bDrawThick=0 |
| 108 | wavecode_1_bAdditive=1 |
| 109 | wavecode_1_scaling=1.00000 |
| 110 | wavecode_1_smoothing=0.50000 |
| 111 | wavecode_1_r=0.000 |
| 112 | wavecode_1_g=0.000 |
| 113 | wavecode_1_b=0.000 |
| 114 | wavecode_1_a=0.030 |
| 115 | wave_1_per_point1=g = .6 + .4*sin(time); |
| 116 | wave_1_per_point2=b = .4 + .4*sin(time + 2.094); |
| 117 | wave_1_per_point3=r = .4 + .4*sin(time + 4.188); |
| 118 | wave_1_per_point4= |
| 119 | wave_1_per_point5=sw = 1-sw; |
| 120 | wave_1_per_point6= |
| 121 | wave_1_per_point7=mx = equal(int(q3)%2,0); |
| 122 | wave_1_per_point8=mx = abs(mx - (q3 - int(q3))); |
| 123 | wave_1_per_point9=my = .5 + (.5 - mx); |
| 124 | wave_1_per_point10= |
| 125 | wave_1_per_point11= |
| 126 | wave_1_per_point12=x = mx + value1*(1-2*sw); |
| 127 | wave_1_per_point13=y = my + value2*(1-2*sw); |
| 128 | wave_1_per_point14= |
| 129 | wavecode_2_enabled=1 |
| 130 | wavecode_2_samples=512 |
| 131 | wavecode_2_sep=0 |
| 132 | wavecode_2_bSpectrum=1 |
| 133 | wavecode_2_bUseDots=0 |
| 134 | wavecode_2_bDrawThick=0 |
| 135 | wavecode_2_bAdditive=1 |
| 136 | wavecode_2_scaling=1.00000 |
| 137 | wavecode_2_smoothing=0.50000 |
| 138 | wavecode_2_r=0.000 |
| 139 | wavecode_2_g=0.000 |
| 140 | wavecode_2_b=0.000 |
| 141 | wavecode_2_a=0.030 |
| 142 | wave_2_per_point1=b = .6 + .4*sin(time); |
| 143 | wave_2_per_point2=r = .4 + .4*sin(time + 2.094); |
| 144 | wave_2_per_point3=g = .4 + .4*sin(time + 4.188); |
| 145 | wave_2_per_point4= |
| 146 | wave_2_per_point5=sw = 1-sw; |
| 147 | wave_2_per_point6= |
| 148 | wave_2_per_point7=mx = equal(int(q4)%2,0); |
| 149 | wave_2_per_point8=mx = abs(mx - (q4 - int(q4))); |
| 150 | wave_2_per_point9=my = .5 + (.5 - mx); |
| 151 | wave_2_per_point10= |
| 152 | wave_2_per_point11= |
| 153 | wave_2_per_point12=x = mx + value1*(1-2*sw); |
| 154 | wave_2_per_point13=y = my + value2*(1-2*sw); |
| 155 | wave_2_per_point14= |
| 156 | wavecode_3_enabled=0 |
| 157 | wavecode_3_samples=512 |
| 158 | wavecode_3_sep=0 |
| 159 | wavecode_3_bSpectrum=0 |
| 160 | wavecode_3_bUseDots=1 |
| 161 | wavecode_3_bDrawThick=0 |
| 162 | wavecode_3_bAdditive=0 |
| 163 | wavecode_3_scaling=1.00000 |
| 164 | wavecode_3_smoothing=0.50000 |
| 165 | wavecode_3_r=1.000 |
| 166 | wavecode_3_g=1.000 |
| 167 | wavecode_3_b=1.000 |
| 168 | wavecode_3_a=1.000 |
| 169 | wave_3_per_point1=x = rand(1001)*.001; |
| 170 | wave_3_per_point2=y = rand(1001)*.001; |
| 171 | shapecode_0_enabled=0 |
| 172 | shapecode_0_sides=34 |
| 173 | shapecode_0_additive=0 |
| 174 | shapecode_0_thickOutline=0 |
| 175 | shapecode_0_textured=1 |
| 176 | shapecode_0_num_inst=1 |
| 177 | shapecode_0_x=0.000 |
| 178 | shapecode_0_y=0.000 |
| 179 | shapecode_0_rad=1.32910 |
| 180 | shapecode_0_ang=0.00000 |
| 181 | shapecode_0_tex_ang=1.57080 |
| 182 | shapecode_0_tex_zoom=1.00000 |
| 183 | shapecode_0_r=1.000 |
| 184 | shapecode_0_g=1.000 |
| 185 | shapecode_0_b=1.000 |
| 186 | shapecode_0_a=1.000 |
| 187 | shapecode_0_r2=1.000 |
| 188 | shapecode_0_g2=1.000 |
| 189 | shapecode_0_b2=1.000 |
| 190 | shapecode_0_a2=0.000 |
| 191 | shapecode_0_border_r=1.000 |
| 192 | shapecode_0_border_g=1.000 |
| 193 | shapecode_0_border_b=1.000 |
| 194 | shapecode_0_border_a=0.000 |
| 195 | shapecode_1_enabled=0 |
| 196 | shapecode_1_sides=4 |
| 197 | shapecode_1_additive=0 |
| 198 | shapecode_1_thickOutline=0 |
| 199 | shapecode_1_textured=0 |
| 200 | shapecode_1_num_inst=1 |
| 201 | shapecode_1_x=0.500 |
| 202 | shapecode_1_y=0.500 |
| 203 | shapecode_1_rad=0.10000 |
| 204 | shapecode_1_ang=0.00000 |
| 205 | shapecode_1_tex_ang=0.00000 |
| 206 | shapecode_1_tex_zoom=1.00000 |
| 207 | shapecode_1_r=1.000 |
| 208 | shapecode_1_g=0.000 |
| 209 | shapecode_1_b=0.000 |
| 210 | shapecode_1_a=1.000 |
| 211 | shapecode_1_r2=0.000 |
| 212 | shapecode_1_g2=1.000 |
| 213 | shapecode_1_b2=0.000 |
| 214 | shapecode_1_a2=0.000 |
| 215 | shapecode_1_border_r=1.000 |
| 216 | shapecode_1_border_g=1.000 |
| 217 | shapecode_1_border_b=1.000 |
| 218 | shapecode_1_border_a=0.100 |
| 219 | shapecode_2_enabled=0 |
| 220 | shapecode_2_sides=4 |
| 221 | shapecode_2_additive=0 |
| 222 | shapecode_2_thickOutline=0 |
| 223 | shapecode_2_textured=0 |
| 224 | shapecode_2_num_inst=1 |
| 225 | shapecode_2_x=0.500 |
| 226 | shapecode_2_y=0.500 |
| 227 | shapecode_2_rad=0.10000 |
| 228 | shapecode_2_ang=0.00000 |
| 229 | shapecode_2_tex_ang=0.00000 |
| 230 | shapecode_2_tex_zoom=1.00000 |
| 231 | shapecode_2_r=1.000 |
| 232 | shapecode_2_g=0.000 |
| 233 | shapecode_2_b=0.000 |
| 234 | shapecode_2_a=1.000 |
| 235 | shapecode_2_r2=0.000 |
| 236 | shapecode_2_g2=1.000 |
| 237 | shapecode_2_b2=0.000 |
| 238 | shapecode_2_a2=0.000 |
| 239 | shapecode_2_border_r=1.000 |
| 240 | shapecode_2_border_g=1.000 |
| 241 | shapecode_2_border_b=1.000 |
| 242 | shapecode_2_border_a=0.100 |
| 243 | shapecode_3_enabled=0 |
| 244 | shapecode_3_sides=4 |
| 245 | shapecode_3_additive=0 |
| 246 | shapecode_3_thickOutline=0 |
| 247 | shapecode_3_textured=0 |
| 248 | shapecode_3_num_inst=1 |
| 249 | shapecode_3_x=0.500 |
| 250 | shapecode_3_y=0.500 |
| 251 | shapecode_3_rad=0.10000 |
| 252 | shapecode_3_ang=0.00000 |
| 253 | shapecode_3_tex_ang=0.00000 |
| 254 | shapecode_3_tex_zoom=1.00000 |
| 255 | shapecode_3_r=1.000 |
| 256 | shapecode_3_g=0.000 |
| 257 | shapecode_3_b=0.000 |
| 258 | shapecode_3_a=1.000 |
| 259 | shapecode_3_r2=0.000 |
| 260 | shapecode_3_g2=1.000 |
| 261 | shapecode_3_b2=0.000 |
| 262 | shapecode_3_a2=0.000 |
| 263 | shapecode_3_border_r=1.000 |
| 264 | shapecode_3_border_g=1.000 |
| 265 | shapecode_3_border_b=1.000 |
| 266 | shapecode_3_border_a=0.100 |
| 267 | per_frame_1=wave_a = 0; |
| 268 | per_frame_2= |
| 269 | per_frame_3= |
| 270 | per_frame_4= |
| 271 | per_frame_5=//Thanks to Zylot for rainbow generator |
| 272 | per_frame_6=counter1 = if(equal(counter2,1),if(equal(counter1,1),0,counter1+.2),1); |
| 273 | per_frame_7=counter2 = if(equal(counter1,1),if(equal(counter2,1),0,counter2+.2),1); |
| 274 | per_frame_8=cdelay1 = if(equal(cdelay2,1),1,if(equal(colorcounter%2,1),if(equal(counter1,1),2 ,0), if(equal(counter2,1),2,0))); |
| 275 | per_frame_9=cdelay2 = if(equal(cdelay1,2),1,0); |
| 276 | per_frame_10=colorcounter = if(above(colorcounter,7),0,if(equal(cdelay1,1),colorcounter+1,colorcounter)); |
| 277 | per_frame_11=ib_r = .5*if(equal(colorcounter,1),1, if(equal(colorcounter,2),1, if(equal(colorcounter,3),1, if(equal(colorcounter,4),sin(counter2+2.1), if(equal(colorcounter,5),0, if(equal(colorcounter,6),0,sin(counter1))))))); |
| 278 | per_frame_12=q1=ib_r; |
| 279 | per_frame_13=q2=ib_g; |
| 280 | per_frame_14=q3=ib_b; |
| 281 | per_frame_15= |
| 282 | per_frame_16= |
| 283 | per_frame_17= |
| 284 | per_frame_18=decay =1; |
| 285 | per_frame_19= |
| 286 | per_frame_20= |
| 287 | per_frame_21=//echo_orient=((bass_att+mid_att+treb_att)/3)*3; |
| 288 | per_frame_22=//solarize=above(0.5,bass) |
| 289 | per_frame_23=//darken=above(0.4,treb); |
| 290 | per_frame_24= |
| 291 | per_frame_25=musictime=musictime+(mid*mid*mid)*0.02*(75/fps); |
| 292 | per_frame_26= |
| 293 | per_frame_27=xpos=cos(musictime*0.6)*0.6; |
| 294 | per_frame_28=ypos=sin(musictime*0.4)*0.6; |
| 295 | per_frame_29=q4=xpos; |
| 296 | per_frame_30=//q5=ypos |
| 297 | per_frame_31=q5=-0.37; |
| 298 | per_frame_32= |
| 299 | per_pixel_1=//flip= (-2 * above(sin(time),-0.9) )+1; |
| 300 | per_pixel_2=//var=(bass+mid+treb)/3; |
| 301 | per_pixel_3=//rot=((ang&rad/rad)/(var*20))/10; |
| 302 | per_pixel_4=//sx=.99-(var*0.01); |
| 303 | per_pixel_5=//cx=var*0.1*(ang/12); |
| 304 | per_pixel_6=//sy=sx; |
| 305 | per_pixel_7= |
| 306 | per_pixel_8=//zoom=-1; |
| 307 | per_pixel_9=sx=-1+(bass*0.2); |
| 308 | per_pixel_10=sy=-1-(treb*0.2); |
| 309 | per_pixel_11= |
| 310 | per_pixel_12=cx=0.5+q4; |
| 311 | per_pixel_13=cy=0.5-q5; |
| 312 | per_pixel_14=rd=sqrt( sqr( (x-0.5-q4)*2) + sqr( (y-0.5+q5)*1.5 ) ); |
| 313 | per_pixel_15=//zm=(1.1-(rd/4)); |
| 314 | per_pixel_16=zm=1; |
| 315 | per_pixel_17= |
| 316 | per_pixel_18=ag=atan( (y-0.5+q5)/(x-0.5-q4) ); |
| 317 | per_pixel_19=star=sin(ag*6+time)*((2-rd)-ag)/5; |
| 318 | per_pixel_20=zm=zm+star/20; |
| 319 | per_pixel_21=sx=zm*rd; |
| 320 | per_pixel_22=sy=zm*rd; |
| 321 | per_pixel_23=//rot=above(rd,0.7)*(rd-0.7)*sin(time*0.3) |
| 322 | warp_1=`shader_body |
| 323 | warp_2=`{ |
| 324 | warp_3=` |
| 325 | warp_4=`//Geiss's Motion Blur |
| 326 | warp_5=` |
| 327 | warp_6=` // sample previous frame |
| 328 | warp_7=` ret = tex2D( sampler_main, uv ).xyz; |
| 329 | warp_8=` |
| 330 | warp_9=` // this vector points exactly one pixel, in the direction of motion |
| 331 | warp_10=` float2 v = normalize(uv-uv_orig)*texsize.zw; |
| 332 | warp_11=` |
| 333 | warp_12=` float3 s; |
| 334 | warp_13=` ret = max(ret, tex2D(sampler_main, uv+v)*0.97); |
| 335 | warp_14=` ret = max(ret, tex2D(sampler_main, uv-v)*0.97); |
| 336 | warp_15=` ret = max(ret, tex2D(sampler_main, uv+v*2)*0.90); |
| 337 | warp_16=` ret = max(ret, tex2D(sampler_main, uv-v*2)*0.90); |
| 338 | warp_17=` |
| 339 | warp_18=` // darken over time |
| 340 | warp_19=` ret *= 0.95; |
| 341 | warp_20=` |
| 342 | warp_21=` // add noise |
| 343 | warp_22=` //float2 uv_noise = uv*texsize_noise_lq.zw*texsize.xy + rand_frame.xy; |
| 344 | warp_23=` //ret += (tex2D(sampler_noise_lq, uv_noise)*2-1)*0.02; |
| 345 | warp_24=`} |
| 346 | comp_1=`shader_body |
| 347 | comp_2=`{ |
| 348 | comp_3=` |
| 349 | comp_4=` |
| 350 | comp_5=` float2 uv_echo2 = (uv - 0.5)*1.000*float2(-1,1) + 0.5; |
| 351 | comp_6=` float3 ret3 = tex2D(sampler_main, uv).xyz*+saturate(GetBlur2(uv)*2.8 - 0.13); |
| 352 | comp_7=` float3 ret4 = tex2D(sampler_main, uv_echo2).xyz*+saturate(GetBlur2(uv_echo2)*2.8 - 0.13); |
| 353 | comp_8=` ret3 = lerp(ret3,ret4,.5); |
| 354 | comp_9=` ret3 *= ret3; //darken |
| 355 | comp_10=` ret3 *= float3(.9,1.6,2.3); |
| 356 | comp_11=` ret3 *= 2; //gamma |
| 357 | comp_12=` //ret3 = pow(ret3,1-ret3); |
| 358 | comp_13=` |
| 359 | comp_14=` |
| 360 | comp_15=`uv =(6+2*sin(q1))*uv-sin(q1); |
| 361 | comp_16=`float2 m = floor(frac(uv*0.5)*2); |
| 362 | comp_17=`uv = frac(uv)*(1-m) + (m)*frac(1-uv); |
| 363 | comp_18=` uv = float2(rad,uv_orig.y); |
| 364 | comp_19=` |
| 365 | comp_20=` |
| 366 | comp_21=` float2 uv_echo = (uv - 0.5)*1.000*float2(-1,-1) + 0.5; |
| 367 | comp_22=`// ret = tex2D(sampler_main, uv).xyz*+saturate(GetBlur2(uv)*2.8 - 0.13); |
| 368 | comp_23=` float3 ret2 = tex2D(sampler_main, uv_echo).xyz*+saturate(GetBlur2(uv_echo)*2.8 - 0.13); |
| 369 | comp_24=`// ret = lerp(ret,ret2,.5); |
| 370 | comp_25=`// ret *= ret; //darken |
| 371 | comp_26=` ret *= float3(.9,1.6,2.3); |
| 372 | comp_27=` ret *= 3; //gamma |
| 373 | comp_28=` //ret -= lum(ret3); |
| 374 | comp_29=` //ret *= 2; |
| 375 | comp_30=` //ret = pow(ret,5); |
| 376 | comp_31=` //ret = ret; |
| 377 | comp_32=` ret = lerp(ret3.xyz,ret.zxy,.25); |
| 378 | comp_33=`} |