PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Hypnotic / Polar Static / Flexi - alien complex 02.milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=3 |
| 3 | PSVERSION_WARP=3 |
| 4 | PSVERSION_COMP=3 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=1.900 |
| 8 | fDecay=0.980 |
| 9 | fVideoEchoZoom=1.169 |
| 10 | fVideoEchoAlpha=0.000 |
| 11 | nVideoEchoOrientation=0 |
| 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=0 |
| 25 | fWaveAlpha=0.001 |
| 26 | fWaveScale=0.243 |
| 27 | fWaveSmoothing=0.000 |
| 28 | fWaveParam=0.000 |
| 29 | fModWaveAlphaStart=0.750 |
| 30 | fModWaveAlphaEnd=0.950 |
| 31 | fWarpAnimSpeed=30.965 |
| 32 | fWarpScale=2.572 |
| 33 | fZoomExponent=2.00672 |
| 34 | fShader=0.000 |
| 35 | zoom=1.00901 |
| 36 | rot=0.00000 |
| 37 | cx=0.500 |
| 38 | cy=0.500 |
| 39 | dx=0.00000 |
| 40 | dy=0.00000 |
| 41 | warp=0.00054 |
| 42 | sx=1.00000 |
| 43 | sy=1.00000 |
| 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.010 |
| 50 | ob_r=0.000 |
| 51 | ob_g=0.000 |
| 52 | ob_b=0.000 |
| 53 | ob_a=0.000 |
| 54 | ib_size=0.010 |
| 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=0.500 |
| 64 | mv_r=0.000 |
| 65 | mv_g=0.000 |
| 66 | mv_b=0.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=0 |
| 79 | wavecode_0_bUseDots=0 |
| 80 | wavecode_0_bDrawThick=1 |
| 81 | wavecode_0_bAdditive=1 |
| 82 | wavecode_0_scaling=2.02310 |
| 83 | wavecode_0_smoothing=0.00000 |
| 84 | wavecode_0_r=0.000 |
| 85 | wavecode_0_g=1.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=cl = 0; |
| 92 | wave_0_per_point1=tt3 = tt3*0.6 + (value1)*1; |
| 93 | wave_0_per_point2=tt2 = tt2*0.7 + tt3*0.2; |
| 94 | wave_0_per_point3=tt1 = tt1*0.8 + tt2*0.1; |
| 95 | wave_0_per_point4=d = d*0.9 + tt1*0.2; |
| 96 | wave_0_per_point5= |
| 97 | wave_0_per_point6=y = 0.5 + d*sample*(1-sample)*6; |
| 98 | wave_0_per_point7=x = -0.05 + sample*1.1; |
| 99 | wavecode_1_enabled=0 |
| 100 | wavecode_1_samples=512 |
| 101 | wavecode_1_sep=0 |
| 102 | wavecode_1_bSpectrum=0 |
| 103 | wavecode_1_bUseDots=0 |
| 104 | wavecode_1_bDrawThick=1 |
| 105 | wavecode_1_bAdditive=0 |
| 106 | wavecode_1_scaling=1.00000 |
| 107 | wavecode_1_smoothing=0.50000 |
| 108 | wavecode_1_r=1.000 |
| 109 | wavecode_1_g=1.000 |
| 110 | wavecode_1_b=1.000 |
| 111 | wavecode_1_a=1.000 |
| 112 | wavecode_2_enabled=0 |
| 113 | wavecode_2_samples=512 |
| 114 | wavecode_2_sep=0 |
| 115 | wavecode_2_bSpectrum=0 |
| 116 | wavecode_2_bUseDots=0 |
| 117 | wavecode_2_bDrawThick=0 |
| 118 | wavecode_2_bAdditive=0 |
| 119 | wavecode_2_scaling=1.00000 |
| 120 | wavecode_2_smoothing=0.50000 |
| 121 | wavecode_2_r=1.000 |
| 122 | wavecode_2_g=1.000 |
| 123 | wavecode_2_b=1.000 |
| 124 | wavecode_2_a=1.000 |
| 125 | wavecode_3_enabled=0 |
| 126 | wavecode_3_samples=512 |
| 127 | wavecode_3_sep=0 |
| 128 | wavecode_3_bSpectrum=0 |
| 129 | wavecode_3_bUseDots=0 |
| 130 | wavecode_3_bDrawThick=1 |
| 131 | wavecode_3_bAdditive=0 |
| 132 | wavecode_3_scaling=1.00000 |
| 133 | wavecode_3_smoothing=0.50000 |
| 134 | wavecode_3_r=1.000 |
| 135 | wavecode_3_g=1.000 |
| 136 | wavecode_3_b=1.000 |
| 137 | wavecode_3_a=1.000 |
| 138 | shapecode_0_enabled=0 |
| 139 | shapecode_0_sides=4 |
| 140 | shapecode_0_additive=0 |
| 141 | shapecode_0_thickOutline=0 |
| 142 | shapecode_0_textured=1 |
| 143 | shapecode_0_num_inst=1 |
| 144 | shapecode_0_x=0.750 |
| 145 | shapecode_0_y=0.750 |
| 146 | shapecode_0_rad=0.74180 |
| 147 | shapecode_0_ang=0.00000 |
| 148 | shapecode_0_tex_ang=0.00000 |
| 149 | shapecode_0_tex_zoom=0.22746 |
| 150 | shapecode_0_r=1.000 |
| 151 | shapecode_0_g=1.000 |
| 152 | shapecode_0_b=1.000 |
| 153 | shapecode_0_a=1.000 |
| 154 | shapecode_0_r2=1.000 |
| 155 | shapecode_0_g2=1.000 |
| 156 | shapecode_0_b2=1.000 |
| 157 | shapecode_0_a2=0.000 |
| 158 | shapecode_0_border_r=0.000 |
| 159 | shapecode_0_border_g=0.000 |
| 160 | shapecode_0_border_b=1.000 |
| 161 | shapecode_0_border_a=0.000 |
| 162 | shape_0_init1=tex_saw = 0.4; |
| 163 | shape_0_per_frame1=ang = q1*0.2; |
| 164 | shape_0_per_frame2= |
| 165 | shape_0_per_frame3=tex_capture = above(q3,2); |
| 166 | shape_0_per_frame4=tex_zoom = 0.6; |
| 167 | shapecode_1_enabled=0 |
| 168 | shapecode_1_sides=4 |
| 169 | shapecode_1_additive=0 |
| 170 | shapecode_1_thickOutline=0 |
| 171 | shapecode_1_textured=1 |
| 172 | shapecode_1_num_inst=1 |
| 173 | shapecode_1_x=0.250 |
| 174 | shapecode_1_y=0.750 |
| 175 | shapecode_1_rad=0.74180 |
| 176 | shapecode_1_ang=0.00000 |
| 177 | shapecode_1_tex_ang=0.00000 |
| 178 | shapecode_1_tex_zoom=0.22746 |
| 179 | shapecode_1_r=1.000 |
| 180 | shapecode_1_g=1.000 |
| 181 | shapecode_1_b=1.000 |
| 182 | shapecode_1_a=1.000 |
| 183 | shapecode_1_r2=1.000 |
| 184 | shapecode_1_g2=1.000 |
| 185 | shapecode_1_b2=1.000 |
| 186 | shapecode_1_a2=0.000 |
| 187 | shapecode_1_border_r=0.000 |
| 188 | shapecode_1_border_g=0.000 |
| 189 | shapecode_1_border_b=1.000 |
| 190 | shapecode_1_border_a=0.000 |
| 191 | shape_1_init1=tex_saw = 0.4; |
| 192 | shape_1_per_frame1=ang = q1*0.2; |
| 193 | shape_1_per_frame2=//x = 0.5 + 0.2*sin(q2); |
| 194 | shape_1_per_frame3=//y = 0.5 + (0.3*sin(q2)); |
| 195 | shape_1_per_frame4= |
| 196 | shape_1_per_frame5=tex_capture = above(q3,2); |
| 197 | shape_1_per_frame6=tex_zoom = 0.6; |
| 198 | shapecode_2_enabled=0 |
| 199 | shapecode_2_sides=100 |
| 200 | shapecode_2_additive=0 |
| 201 | shapecode_2_thickOutline=0 |
| 202 | shapecode_2_textured=0 |
| 203 | shapecode_2_num_inst=1 |
| 204 | shapecode_2_x=0.500 |
| 205 | shapecode_2_y=0.500 |
| 206 | shapecode_2_rad=0.22167 |
| 207 | shapecode_2_ang=0.00000 |
| 208 | shapecode_2_tex_ang=0.00000 |
| 209 | shapecode_2_tex_zoom=1.00000 |
| 210 | shapecode_2_r=1.000 |
| 211 | shapecode_2_g=0.000 |
| 212 | shapecode_2_b=0.000 |
| 213 | shapecode_2_a=1.000 |
| 214 | shapecode_2_r2=0.000 |
| 215 | shapecode_2_g2=1.000 |
| 216 | shapecode_2_b2=0.000 |
| 217 | shapecode_2_a2=0.000 |
| 218 | shapecode_2_border_r=1.000 |
| 219 | shapecode_2_border_g=1.000 |
| 220 | shapecode_2_border_b=1.000 |
| 221 | shapecode_2_border_a=1.000 |
| 222 | shape_2_per_frame1=border_r = 0.5 + 0.5*sin(q1*10); |
| 223 | shapecode_3_enabled=1 |
| 224 | shapecode_3_sides=100 |
| 225 | shapecode_3_additive=0 |
| 226 | shapecode_3_thickOutline=0 |
| 227 | shapecode_3_textured=0 |
| 228 | shapecode_3_num_inst=1 |
| 229 | shapecode_3_x=0.500 |
| 230 | shapecode_3_y=0.500 |
| 231 | shapecode_3_rad=0.10000 |
| 232 | shapecode_3_ang=0.00000 |
| 233 | shapecode_3_tex_ang=0.00000 |
| 234 | shapecode_3_tex_zoom=1.00000 |
| 235 | shapecode_3_r=1.000 |
| 236 | shapecode_3_g=1.000 |
| 237 | shapecode_3_b=1.000 |
| 238 | shapecode_3_a=1.000 |
| 239 | shapecode_3_r2=1.000 |
| 240 | shapecode_3_g2=1.000 |
| 241 | shapecode_3_b2=1.000 |
| 242 | shapecode_3_a2=0.000 |
| 243 | shapecode_3_border_r=1.000 |
| 244 | shapecode_3_border_g=1.000 |
| 245 | shapecode_3_border_b=1.000 |
| 246 | shapecode_3_border_a=0.000 |
| 247 | shape_3_per_frame1=a = above(q3,2); |
| 248 | shape_3_per_frame2=a2 = above(q3,2)*0.8; |
| 249 | shape_3_per_frame3= |
| 250 | shape_3_per_frame4=xx = if(above(q3,6),xx,rand(100)*0.01); |
| 251 | shape_3_per_frame5=yy = if(above(q3,6),yy,rand(100)*0.01); |
| 252 | shape_3_per_frame6=radi = if(above(q3,5),radi,rand(100)*0.01); |
| 253 | shape_3_per_frame7= |
| 254 | shape_3_per_frame8=rad = radi; |
| 255 | shape_3_per_frame9= |
| 256 | shape_3_per_frame10=x = xx; |
| 257 | shape_3_per_frame11=y = yy; |
| 258 | shape_3_per_frame12= |
| 259 | shape_3_per_frame13= |
| 260 | shape_3_per_frame14=r = 0.5 + 0.5*sin(q1*1.22) + 0.1; |
| 261 | shape_3_per_frame15=g = 0.4 + 0.4*sin(q1*1.307); |
| 262 | shape_3_per_frame16=b = 0.4 + 0.4*sin(q1*1.959); |
| 263 | shape_3_per_frame17= |
| 264 | shape_3_per_frame18= |
| 265 | shape_3_per_frame19=r2 = 0.5 + 0.5*sin(q1*1.622) + 0.1; |
| 266 | shape_3_per_frame20=g2 = 0.4 + 0.4*sin(q1*1.507); |
| 267 | shape_3_per_frame21=b2 = 0.4 + 0.4*sin(q1*1.6559); |
| 268 | per_frame_1=zoom = 1.01; |
| 269 | per_frame_2= |
| 270 | per_frame_3=q1 = time*0.01; |
| 271 | warp_1=`shader_body |
| 272 | warp_2=`{ |
| 273 | warp_3=`//uv = uv_orig; |
| 274 | warp_4=`ret.z = GetPixel(uv).z*0; |
| 275 | warp_5=` |
| 276 | warp_6=` float pixelDistance = 4; |
| 277 | warp_7=` float motionStrength = 4; |
| 278 | warp_8=` |
| 279 | warp_9=` float diffusionFactor = 1; |
| 280 | warp_10=` float decay = -0.014; |
| 281 | warp_11=` |
| 282 | warp_12=` float2 uv_y = lerp(uv_orig,uv,0); |
| 283 | warp_13=` float2 dither_uv = uv_orig*texsize.xy*texsize_noise_lq.zw*diffusionFactor; |
| 284 | warp_14=` |
| 285 | warp_15=` float2 d = texsize.zw*pixelDistance; |
| 286 | warp_16=` float1 dx = ( 2*GetBlur1(uv_y + float2(1,0)*d) - 2*GetBlur1(uv_y-float2(1,0)*d) ).y*0.5; |
| 287 | warp_17=` float1 dy = ( 2*GetBlur1(uv_y + float2(0,1)*d) - 2*GetBlur1(uv_y-float2(0,1)*d) ).y*0.5; |
| 288 | warp_18=` |
| 289 | warp_19=` float2 my_uv = uv_y + float2(dx,dy)*texsize.zw*motionStrength; |
| 290 | warp_20=` |
| 291 | warp_21=` ret.y = tex2D( sampler_fw_main, saturate(my_uv)).y; |
| 292 | warp_22=` |
| 293 | warp_23=` ret.y += (2*ret - 2*GetBlur1(uv_y)).y*0.0125 + decay; |
| 294 | warp_24=` |
| 295 | warp_25=` |
| 296 | warp_26=` ret.y += (tex2D(sampler_noise_lq, dither_uv).y-0.5)*0.02; |
| 297 | warp_27=` |
| 298 | warp_28=` dx = ( 2*GetBlur1(uv_y + float2(1,0)*d) - 2*GetBlur1(uv_y-float2(1,0)*d) ).x*0.5; |
| 299 | warp_29=` dy = ( 2*GetBlur1(uv_y + float2(0,1)*d) - 2*GetBlur1(uv_y-float2(0,1)*d) ).x*0.5; |
| 300 | warp_30=` |
| 301 | warp_31=` my_uv = uv - float2(dx,dy)*texsize.zw*motionStrength; |
| 302 | warp_32=` |
| 303 | warp_33=`ret.x = GetPixel(my_uv).x - ret.y*0.01 + 0.004; |
| 304 | warp_34=`ret.x += (tex2D(sampler_noise_lq, dither_uv).x-0.5)*0.01 + ret.z*0.14; |
| 305 | warp_35=`} |
| 306 | comp_1=`float2 uvo, factorA, factorB, product, numerator, denominator, fraction; |
| 307 | comp_2=`shader_body |
| 308 | comp_3=`{ |
| 309 | comp_4=`uvo = 0.5 + (uv-0.5)*float2(0.9,1.1); |
| 310 | comp_5=`factorA = uv-float2(1-0.5,0.5); |
| 311 | comp_6=`factorB = float2(0,1024); |
| 312 | comp_7=`product = float2( factorA.x*factorB.x - factorA.y*factorB.y, factorA.x*factorB.y + factorA.y*factorB.x); |
| 313 | comp_8=`numerator = float2(1,0); |
| 314 | comp_9=`denominator = product; |
| 315 | comp_10=`fraction = float2( numerator.x*denominator.x + numerator.y*denominator.y, // the fractions real part |
| 316 | comp_11=` numerator.y*denominator.x - numerator.x*denominator.y)/ // the fractions imaginary part |
| 317 | comp_12=` (denominator.x*denominator.x + denominator.y*denominator.y); |
| 318 | comp_13=`uv = fraction.yx*float2(-1,1)*64; |
| 319 | comp_14=`uv = lerp(0.5 + (uvo-0.5)*2,uv+0.5,0.5); |
| 320 | comp_15=`uv = 0.5 + (1.0 - abs( frac( uv * 0.5 ) * 2 - 1.0 )-0.5); // Eo.S. mirror code with cutted borders |
| 321 | comp_16=` |
| 322 | comp_17=` float2 d = texsize.zw*4; |
| 323 | comp_18=` float3 dx = ( 2*GetBlur1(uv+float2(1,0)*d)-2*GetBlur1(uv-float2(1,0)*d) )*0.5; |
| 324 | comp_19=` float3 dy = ( 2*GetBlur1(uv+float2(0,1)*d)-2*GetBlur1(uv-float2(0,1)*d) )*0.5; |
| 325 | comp_20=` |
| 326 | comp_21=`float2 uv_x = uv - float2(dx.y,dy.y)*texsize.zw*128; |
| 327 | comp_22=`ret = GetBlur2(uv_x).x*saturate(1-GetPixel(uv).y)*pow(hue_shader.yxz,8)*3; |
| 328 | comp_23=`ret = lerp(ret,pow(hue_shader.yzx,8)*1.4,GetPixel(uv_x).x*0.8 + GetBlur1(uv_x).x); |
| 329 | comp_24=`ret = lerp(ret,1,pow(hue_shader,8)*GetPixel(saturate(uv - float2(dx.z,dy.z)*2*0)).y*1.2); |
| 330 | comp_25=`ret *= saturate(1-GetPixel(uv).z); |
| 331 | comp_26=`} |