PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Sparkle / Explosions / ougiel - enough.milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=3 |
| 3 | PSVERSION_WARP=3 |
| 4 | PSVERSION_COMP=2 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=1.000 |
| 8 | fDecay=1.000 |
| 9 | fVideoEchoZoom=1.000 |
| 10 | fVideoEchoAlpha=0.500 |
| 11 | nVideoEchoOrientation=1 |
| 12 | nWaveMode=0 |
| 13 | bAdditiveWaves=0 |
| 14 | bWaveDots=0 |
| 15 | bWaveThick=0 |
| 16 | bModWaveAlphaByVolume=0 |
| 17 | bMaximizeWaveColor=1 |
| 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=1.000 |
| 27 | fWaveSmoothing=0.750 |
| 28 | fWaveParam=0.000 |
| 29 | fModWaveAlphaStart=0.750 |
| 30 | fModWaveAlphaEnd=0.950 |
| 31 | fWarpAnimSpeed=1.000 |
| 32 | fWarpScale=1.000 |
| 33 | fZoomExponent=0.99817 |
| 34 | fShader=0.000 |
| 35 | zoom=0.98001 |
| 36 | rot=0.00000 |
| 37 | cx=0.440 |
| 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=1.000 |
| 45 | wave_g=1.000 |
| 46 | wave_b=1.000 |
| 47 | wave_x=0.500 |
| 48 | wave_y=0.500 |
| 49 | ob_size=0.000 |
| 50 | ob_r=0.000 |
| 51 | ob_g=0.000 |
| 52 | ob_b=0.000 |
| 53 | ob_a=0.000 |
| 54 | ib_size=0.000 |
| 55 | ib_r=0.500 |
| 56 | ib_g=0.500 |
| 57 | ib_b=0.500 |
| 58 | ib_a=0.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=0 |
| 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.00000 |
| 83 | wavecode_0_smoothing=0.50000 |
| 84 | wavecode_0_r=1.000 |
| 85 | wavecode_0_g=1.000 |
| 86 | wavecode_0_b=1.000 |
| 87 | wavecode_0_a=1.000 |
| 88 | wavecode_1_enabled=0 |
| 89 | wavecode_1_samples=512 |
| 90 | wavecode_1_sep=0 |
| 91 | wavecode_1_bSpectrum=0 |
| 92 | wavecode_1_bUseDots=0 |
| 93 | wavecode_1_bDrawThick=0 |
| 94 | wavecode_1_bAdditive=0 |
| 95 | wavecode_1_scaling=1.00000 |
| 96 | wavecode_1_smoothing=0.50000 |
| 97 | wavecode_1_r=1.000 |
| 98 | wavecode_1_g=1.000 |
| 99 | wavecode_1_b=1.000 |
| 100 | wavecode_1_a=1.000 |
| 101 | wavecode_2_enabled=0 |
| 102 | wavecode_2_samples=512 |
| 103 | wavecode_2_sep=0 |
| 104 | wavecode_2_bSpectrum=0 |
| 105 | wavecode_2_bUseDots=0 |
| 106 | wavecode_2_bDrawThick=0 |
| 107 | wavecode_2_bAdditive=0 |
| 108 | wavecode_2_scaling=1.00000 |
| 109 | wavecode_2_smoothing=0.50000 |
| 110 | wavecode_2_r=1.000 |
| 111 | wavecode_2_g=1.000 |
| 112 | wavecode_2_b=1.000 |
| 113 | wavecode_2_a=1.000 |
| 114 | wavecode_3_enabled=0 |
| 115 | wavecode_3_samples=512 |
| 116 | wavecode_3_sep=0 |
| 117 | wavecode_3_bSpectrum=0 |
| 118 | wavecode_3_bUseDots=0 |
| 119 | wavecode_3_bDrawThick=0 |
| 120 | wavecode_3_bAdditive=0 |
| 121 | wavecode_3_scaling=1.00000 |
| 122 | wavecode_3_smoothing=0.50000 |
| 123 | wavecode_3_r=1.000 |
| 124 | wavecode_3_g=1.000 |
| 125 | wavecode_3_b=1.000 |
| 126 | wavecode_3_a=1.000 |
| 127 | shapecode_0_enabled=1 |
| 128 | shapecode_0_sides=32 |
| 129 | shapecode_0_additive=1 |
| 130 | shapecode_0_thickOutline=1 |
| 131 | shapecode_0_textured=0 |
| 132 | shapecode_0_num_inst=33 |
| 133 | shapecode_0_x=0.500 |
| 134 | shapecode_0_y=0.500 |
| 135 | shapecode_0_rad=0.10000 |
| 136 | shapecode_0_ang=0.00000 |
| 137 | shapecode_0_tex_ang=0.00000 |
| 138 | shapecode_0_tex_zoom=1.00000 |
| 139 | shapecode_0_r=0.000 |
| 140 | shapecode_0_g=0.500 |
| 141 | shapecode_0_b=0.000 |
| 142 | shapecode_0_a=1.000 |
| 143 | shapecode_0_r2=0.000 |
| 144 | shapecode_0_g2=0.500 |
| 145 | shapecode_0_b2=0.000 |
| 146 | shapecode_0_a2=0.000 |
| 147 | shapecode_0_border_r=1.000 |
| 148 | shapecode_0_border_g=1.000 |
| 149 | shapecode_0_border_b=1.000 |
| 150 | shapecode_0_border_a=0.000 |
| 151 | shape_0_per_frame1=trans = int(rand(int(q30)))/5+instance-instance; |
| 152 | shape_0_per_frame2=trans2 = int(rand(int(q30)))/5+instance-instance; |
| 153 | shape_0_per_frame3=trans3 = int(rand(int(q30)))/5+instance-instance; |
| 154 | shape_0_per_frame4=a = trans; |
| 155 | shape_0_per_frame5= |
| 156 | shape_0_per_frame6=x = .5 + int(rand(15))*0.01*bass_att*if(equal(int(rand(2)),1),1,-1)+instance-instance; |
| 157 | shape_0_per_frame7=y = .5 + int(rand(15))*0.01*bass_att*if(equal(int(rand(2)),1),1,-1)+instance-instance; |
| 158 | shape_0_per_frame8=rad = .09 + int(rand(int(q30)))/15+instance-instance; |
| 159 | shape_0_per_frame9=r=int(rand(q3))*.1+instance-instance; |
| 160 | shape_0_per_frame10=g=int(rand(q3))*.1+instance-instance; |
| 161 | shape_0_per_frame11=b=int(rand(q3))*.1+instance-instance; |
| 162 | shape_0_per_frame12=r2=int(rand(q3))*.1+instance-instance; |
| 163 | shape_0_per_frame13=g2=int(rand(q3))*.1+instance-instance; |
| 164 | shape_0_per_frame14=b2=int(rand(q3))*.1+instance-instance; |
| 165 | shape_0_per_frame15=border_r=int(rand(q3))*.1+instance-instance; |
| 166 | shape_0_per_frame16=border_g=int(rand(q3))*.1+instance-instance; |
| 167 | shape_0_per_frame17=border_b=int(rand(q3))*.1+instance-instance; |
| 168 | shapecode_1_enabled=1 |
| 169 | shapecode_1_sides=32 |
| 170 | shapecode_1_additive=0 |
| 171 | shapecode_1_thickOutline=1 |
| 172 | shapecode_1_textured=1 |
| 173 | shapecode_1_num_inst=7 |
| 174 | shapecode_1_x=0.500 |
| 175 | shapecode_1_y=0.500 |
| 176 | shapecode_1_rad=0.10000 |
| 177 | shapecode_1_ang=0.00000 |
| 178 | shapecode_1_tex_ang=0.00000 |
| 179 | shapecode_1_tex_zoom=1.00000 |
| 180 | shapecode_1_r=0.000 |
| 181 | shapecode_1_g=0.000 |
| 182 | shapecode_1_b=0.500 |
| 183 | shapecode_1_a=1.000 |
| 184 | shapecode_1_r2=0.000 |
| 185 | shapecode_1_g2=0.000 |
| 186 | shapecode_1_b2=0.500 |
| 187 | shapecode_1_a2=0.000 |
| 188 | shapecode_1_border_r=1.000 |
| 189 | shapecode_1_border_g=1.000 |
| 190 | shapecode_1_border_b=1.000 |
| 191 | shapecode_1_border_a=0.000 |
| 192 | shape_1_per_frame1=trans = int(rand(int(q30)))/5+instance-instance; |
| 193 | shape_1_per_frame2=trans2 = int(rand(int(q30)))/5+instance-instance; |
| 194 | shape_1_per_frame3=trans3 = int(rand(int(q30)))/5+instance-instance; |
| 195 | shape_1_per_frame4=a = trans; |
| 196 | shape_1_per_frame5= |
| 197 | shape_1_per_frame6=x = .5 + int(rand(15))*0.01*mid_att*if(equal(int(rand(2)),1),1,-1)+instance-instance; |
| 198 | shape_1_per_frame7=y = .5 + int(rand(15))*0.01*mid_att*if(equal(int(rand(2)),1),1,-1)+instance-instance; |
| 199 | shape_1_per_frame8=rad = .09 + int(rand(int(q30)))/15+instance-instance; |
| 200 | shape_1_per_frame9=r=int(rand(q3))*.1+instance-instance; |
| 201 | shape_1_per_frame10=g=int(rand(q3))*.1+instance-instance; |
| 202 | shape_1_per_frame11=b=int(rand(q3))*.1+instance-instance; |
| 203 | shape_1_per_frame12=r2=int(rand(q3))*.1+instance-instance; |
| 204 | shape_1_per_frame13=g2=int(rand(q3))*.1+instance-instance; |
| 205 | shape_1_per_frame14=b2=int(rand(q3))*.1+instance-instance; |
| 206 | shape_1_per_frame15=border_r=int(rand(q3))*.1+instance-instance; |
| 207 | shape_1_per_frame16=border_g=int(rand(q3))*.1+instance-instance; |
| 208 | shape_1_per_frame17=border_b=int(rand(q3))*.1+instance-instance; |
| 209 | shape_1_per_frame18= |
| 210 | shapecode_2_enabled=1 |
| 211 | shapecode_2_sides=32 |
| 212 | shapecode_2_additive=0 |
| 213 | shapecode_2_thickOutline=1 |
| 214 | shapecode_2_textured=0 |
| 215 | shapecode_2_num_inst=33 |
| 216 | shapecode_2_x=0.500 |
| 217 | shapecode_2_y=0.500 |
| 218 | shapecode_2_rad=0.10000 |
| 219 | shapecode_2_ang=0.00000 |
| 220 | shapecode_2_tex_ang=0.00000 |
| 221 | shapecode_2_tex_zoom=1.00000 |
| 222 | shapecode_2_r=0.500 |
| 223 | shapecode_2_g=0.000 |
| 224 | shapecode_2_b=0.000 |
| 225 | shapecode_2_a=1.000 |
| 226 | shapecode_2_r2=0.500 |
| 227 | shapecode_2_g2=0.000 |
| 228 | shapecode_2_b2=0.000 |
| 229 | shapecode_2_a2=0.000 |
| 230 | shapecode_2_border_r=1.000 |
| 231 | shapecode_2_border_g=1.000 |
| 232 | shapecode_2_border_b=1.000 |
| 233 | shapecode_2_border_a=0.000 |
| 234 | shape_2_per_frame1=trans = int(rand(int(q30)))/5+instance-instance; |
| 235 | shape_2_per_frame2=trans2 = int(rand(int(q30)))/5+instance-instance; |
| 236 | shape_2_per_frame3=trans3 = int(rand(int(q30)))/5+instance-instance; |
| 237 | shape_2_per_frame4=a = trans; |
| 238 | shape_2_per_frame5= |
| 239 | shape_2_per_frame6=x = .5 + int(rand(15))*0.01*treb_att*if(equal(int(rand(2)),1),1,-1)+instance-instance; |
| 240 | shape_2_per_frame7=y = .5 + int(rand(15))*0.01*treb_att*if(equal(int(rand(2)),1),1,-1)+instance-instance; |
| 241 | shape_2_per_frame8=rad = .09 + int(rand(int(q30)))/15+instance-instance; |
| 242 | shape_2_per_frame9=r=int(rand(q3))*.1+instance-instance; |
| 243 | shape_2_per_frame10=g=int(rand(q3))*.1+instance-instance; |
| 244 | shape_2_per_frame11=b=int(rand(q3))*.1+instance-instance; |
| 245 | shape_2_per_frame12=r2=int(rand(q3))*.1+instance-instance; |
| 246 | shape_2_per_frame13=g2=int(rand(q3))*.1+instance-instance; |
| 247 | shape_2_per_frame14=b2=int(rand(q3))*.1+instance-instance; |
| 248 | shape_2_per_frame15=border_r=int(rand(q3))*.1+instance-instance; |
| 249 | shape_2_per_frame16=border_g=int(rand(q3))*.1+instance-instance; |
| 250 | shape_2_per_frame17=border_b=int(rand(q3))*.1+instance-instance; |
| 251 | shape_2_per_frame18= |
| 252 | shapecode_3_enabled=0 |
| 253 | shapecode_3_sides=4 |
| 254 | shapecode_3_additive=0 |
| 255 | shapecode_3_thickOutline=0 |
| 256 | shapecode_3_textured=0 |
| 257 | shapecode_3_num_inst=1 |
| 258 | shapecode_3_x=0.500 |
| 259 | shapecode_3_y=0.500 |
| 260 | shapecode_3_rad=0.10000 |
| 261 | shapecode_3_ang=0.00000 |
| 262 | shapecode_3_tex_ang=0.00000 |
| 263 | shapecode_3_tex_zoom=1.00000 |
| 264 | shapecode_3_r=1.000 |
| 265 | shapecode_3_g=0.000 |
| 266 | shapecode_3_b=0.000 |
| 267 | shapecode_3_a=1.000 |
| 268 | shapecode_3_r2=0.000 |
| 269 | shapecode_3_g2=1.000 |
| 270 | shapecode_3_b2=0.000 |
| 271 | shapecode_3_a2=0.000 |
| 272 | shapecode_3_border_r=1.000 |
| 273 | shapecode_3_border_g=1.000 |
| 274 | shapecode_3_border_b=1.000 |
| 275 | shapecode_3_border_a=0.100 |
| 276 | per_frame_1=warp=0; |
| 277 | per_frame_2=old_bass_flop=bass_flop; |
| 278 | per_frame_3=old_treb_flop=treb_flop; |
| 279 | per_frame_4=old_mid_flop=mid_flop; |
| 280 | per_frame_5=chaos=.9+.1*sin(pulse); |
| 281 | per_frame_6=entropy=if(bnot(entropy),2,if(above(pulse,pulse_cap-entropy*10),1+int(rand(6)),entropy)); |
| 282 | per_frame_7=bass_thresh = above(bass_att,bass_thresh)*2 + (1-above(bass_att,bass_thresh))*((bass_thresh-1.3)*chaos+1.3); |
| 283 | per_frame_8=bass_flop=abs(bass_flop-equal(bass_thresh,2)); |
| 284 | per_frame_9=treb_thresh=above(treb_att,treb_thresh)*2 + (1-above(treb_att,treb_thresh))*((treb_thresh-1.3)*chaos+1.3); |
| 285 | per_frame_10=treb_flop=abs(treb_flop-equal(treb_thresh,2)); |
| 286 | per_frame_11=mid_thresh=above(mid_att,mid_thresh)*2 + (1-above(mid_att,mid_thresh))*((mid_thresh-1.3)*chaos+1.3); |
| 287 | per_frame_12=mid_flop=abs(mid_flop-equal(mid_thresh,2)); |
| 288 | per_frame_13=bass_changed=bnot(equal(old_bass_flop,bass_flop)); |
| 289 | per_frame_14=mid_changed=bnot(equal(old_mid_flop,mid_flop)); |
| 290 | per_frame_15=treb_changed=bnot(equal(old_treb_flop,treb_flop)); |
| 291 | per_frame_16=pulse_cap=entropy*5000; |
| 292 | per_frame_17=pulse=if(above(abs(pulse),pulse_cap),0-pulse_cap,pulse+entropy*bor(bor(bass_changed*bnot(treb_changed),treb_changed*bnot(bass_changed))*bnot(mid_changed),mid_changed)+(mid+bass+treb)/3); |
| 293 | per_frame_18=q3=sin(pulse); |
| 294 | per_frame_19=effect_1=1+1*bass_flop*above(q3,0); |
| 295 | per_frame_20=effect_2=1+2*treb_flop*below(q3,0); |
| 296 | per_frame_21=effect_3=1+4*mid_flop*above(q3,0); |
| 297 | per_frame_22=effect_4=1+6*mid_flop*below(q3,0); |
| 298 | per_frame_23=effect_5=1+10*treb_flop*above(q3,0); |
| 299 | per_frame_24=effect_6=1+12*bass_flop*below(q3,0); |
| 300 | per_frame_25=q1=effect_1*effect_2*effect_3*effect_4*effect_5*effect_6; |
| 301 | per_frame_26=q2=time*q1*entropy*chaos*.002; |
| 302 | per_frame_27=q4=sin(q2*.02); |
| 303 | per_frame_28=q5=if(above(q4,0),entropy,2+q1%7); |
| 304 | per_frame_29=wave_r=if(treb_flop,abs(.5*q4),if(bass_flop,.5+.5*q4,1)); |
| 305 | per_frame_30=wave_g=if(treb_changed,0,if(mid_changed,0,.49)); |
| 306 | per_frame_31=wave_b=if(treb_flop,.8+.2*q4,bass_changed*mid_changed); |
| 307 | per_frame_32=zoom=if(above(q3,0),if(above(q4,0),zoom,zoom+.1*q4),zoom+.2*sin(time/3)); |
| 308 | per_frame_33=cx=.5+.2*q3; |
| 309 | per_frame_34=cy=.5+.2*q4; |
| 310 | per_frame_35=wave_x=cy; |
| 311 | per_frame_36=wave_y=cx; |
| 312 | per_frame_37=ob_r=if(bass_flop,treb_flop,wave_g); |
| 313 | per_frame_38=ob_b=if(treb_flop,wave_r,wave_b); |
| 314 | per_frame_39=ob_g=if(mid_flop,wave_g,wave_b); |
| 315 | per_frame_40=ob_a=.07+.05*q2; |
| 316 | per_frame_41=ob_size=.01+.009*q4; |
| 317 | per_frame_42=ib_r=ib_r+.5*sin(time*.04*entropy); |
| 318 | per_frame_43=ib_b=ib_b+.5*sin(time*.03*entropy); |
| 319 | per_frame_44=ib_g=ib_g+.5*sin(time*.02*entropy); |
| 320 | per_frame_45=ib_a=.07+.05*q3*q4; |
| 321 | per_frame_46=ib_size=.01+.009*q3; |
| 322 | per_frame_47=vol=bass+treb+mid; |
| 323 | per_frame_48=q30=vol*2; |
| 324 | per_frame_49=q3=vol*4; |
| 325 | per_pixel_1=g1=sin(q2+time*q5*.01); |
| 326 | per_pixel_2=g2=sin(q2+time*q5*.02); |
| 327 | per_pixel_3=g3=sin(q2+time*q5*.03); |
| 328 | per_pixel_4=x_shift=if(bnot(q1%22),(pow(x,q5)+x*g1*q5+sqr(g1)),g1); |
| 329 | per_pixel_5=y_shift=if(bnot(q1%55),(pow(y,q5)+y*g2*q5+sqr(g2)),g2); |
| 330 | per_pixel_6=r_shift=if(bnot(q1%39),(pow(rad,q5)+rad*g3*q5+sqr(g3)),g3); |
| 331 | per_pixel_7=funk=x_shift*y_shift*r_shift; |
| 332 | per_pixel_8=zoom=zoom+cos(rad*10*sin(time))*abs(1-zoom); |
| 333 | per_pixel_9=dy=sin(funk)*g1*.1+cos(pow(funk,q5))*.07; |
| 334 | per_pixel_10=dx=if(bnot(q1%2),sin(funk),sin(pow(funk,q5)))*g2*.1; |
| 335 | per_pixel_11=rot=if(above(sin(q2+time*q5*.025),0),g2*rad,min(q3,dy)*g3*-dx*q5/2); |
| 336 | warp_1=`shader_body |
| 337 | warp_2=`{ |
| 338 | warp_3=` |
| 339 | warp_4=` |
| 340 | warp_5=`float error = 0.5; // maximum random pixel offset |
| 341 | warp_6=`float diffusion = 0.006; // dither strength |
| 342 | warp_7=`float fadeout = -0.0006; // may be minor 1/256 due to the error diffusion dither; |
| 343 | warp_8=` |
| 344 | warp_9=`float2 dither_uv = uv_orig*texsize.xy*texsize_noise_lq.zw*1.5 + rand_frame.xy; |
| 345 | warp_10=`float magic = lum(GetPixel(lerp(uv_orig,uv, 4))) - lum(GetBlur2(lerp(uv_orig,uv,-12))); |
| 346 | warp_11=`uv = lerp(uv_orig,uv, magic*12 ) + (tex2D(sampler_noise_lq, dither_uv)-0.5)*texsize.zw*error; |
| 347 | warp_12=`ret = GetPixel(uv)+(tex2D(sampler_noise_lq, dither_uv)-0.5)*diffusion + fadeout; |
| 348 | warp_13=` |
| 349 | warp_14=`} |
| 350 | comp_1=`shader_body |
| 351 | comp_2=`{float str=0.2; |
| 352 | comp_3=`//ret=tex2D(sampler_main,uv).zyx; |
| 353 | comp_4=`ret=GetPixel(uv); |
| 354 | comp_5=`float2 newuv; |
| 355 | comp_6=`float3 m[3]; |
| 356 | comp_7=`m[0]=GetPixel(uv-(0.5-ret.xy)*str); |
| 357 | comp_8=`m[1]=GetPixel(uv-(0.5-ret.yz)*str); |
| 358 | comp_9=`m[2]=GetPixel(uv-(0.5-ret.xz)*str); |
| 359 | comp_10=`//ret=float3(lum(m[0]),lum(m[1]),lum(m[2])); |
| 360 | comp_11=`ret=(m[0]*m[1]*m[2])*1.1; |
| 361 | comp_12=`ret=ret*GetBlur2(uv); |
| 362 | comp_13=`} |