PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Waveform / Wire Circular / total hackville.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.000 |
| 8 | fDecay=0.950 |
| 9 | fVideoEchoZoom=0.672 |
| 10 | fVideoEchoAlpha=0.000 |
| 11 | nVideoEchoOrientation=1 |
| 12 | nWaveMode=0 |
| 13 | bAdditiveWaves=1 |
| 14 | bWaveDots=0 |
| 15 | bWaveThick=0 |
| 16 | bModWaveAlphaByVolume=1 |
| 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.009 |
| 26 | fWaveScale=2.713 |
| 27 | fWaveSmoothing=0.000 |
| 28 | fWaveParam=0.000 |
| 29 | fModWaveAlphaStart=1.200 |
| 30 | fModWaveAlphaEnd=1.200 |
| 31 | fWarpAnimSpeed=1.000 |
| 32 | fWarpScale=2.853 |
| 33 | fZoomExponent=1.00000 |
| 34 | fShader=0.000 |
| 35 | zoom=1.03100 |
| 36 | rot=0.00000 |
| 37 | cx=0.500 |
| 38 | cy=0.500 |
| 39 | dx=0.00000 |
| 40 | dy=0.00000 |
| 41 | warp=1.19646 |
| 42 | sx=1.00000 |
| 43 | sy=1.00000 |
| 44 | wave_r=0.440 |
| 45 | wave_g=0.400 |
| 46 | wave_b=1.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=44.160 |
| 60 | nMotionVectorsY=33.600 |
| 61 | mv_dx=0.000 |
| 62 | mv_dy=0.000 |
| 63 | mv_l=0.500 |
| 64 | mv_r=1.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=4 |
| 78 | wavecode_0_bSpectrum=1 |
| 79 | wavecode_0_bUseDots=0 |
| 80 | wavecode_0_bDrawThick=0 |
| 81 | wavecode_0_bAdditive=1 |
| 82 | wavecode_0_scaling=100.00000 |
| 83 | wavecode_0_smoothing=0.00000 |
| 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 | wave_0_init1=t2 = 0; |
| 89 | wave_0_init2=t3 = 0; |
| 90 | wave_0_init3=t4 = 0; |
| 91 | wave_0_init4=ab = 1; |
| 92 | wave_0_per_point1=xx = if(equal(sample,0),q3,xx); |
| 93 | wave_0_per_point2=yy = if(equal(sample,0),q4,yy); |
| 94 | wave_0_per_point3= |
| 95 | wave_0_per_point4= |
| 96 | wave_0_per_point5=dx = xx*(1-xx)-q5*xx*yy/(xx+q6); |
| 97 | wave_0_per_point6=dy = q7*yy*(1-yy/xx); |
| 98 | wave_0_per_point7= |
| 99 | wave_0_per_point8=x = xx; |
| 100 | wave_0_per_point9=y = yy; |
| 101 | wave_0_per_point10= |
| 102 | wave_0_per_point11=xx = xx+dx*0.2; |
| 103 | wave_0_per_point12=yy = yy+dy*0.2; |
| 104 | wave_0_per_point13= |
| 105 | wave_0_per_point14=x = 0.5+(x-0.5)/q1 + dy*value1*0.01; |
| 106 | wave_0_per_point15=y = 0.5+(y-0.5)/q2 - dx*value1*0.01; |
| 107 | wavecode_1_enabled=0 |
| 108 | wavecode_1_samples=512 |
| 109 | wavecode_1_sep=0 |
| 110 | wavecode_1_bSpectrum=0 |
| 111 | wavecode_1_bUseDots=0 |
| 112 | wavecode_1_bDrawThick=0 |
| 113 | wavecode_1_bAdditive=0 |
| 114 | wavecode_1_scaling=1.00000 |
| 115 | wavecode_1_smoothing=0.50000 |
| 116 | wavecode_1_r=1.000 |
| 117 | wavecode_1_g=1.000 |
| 118 | wavecode_1_b=1.000 |
| 119 | wavecode_1_a=1.000 |
| 120 | wave_1_per_point1=xx1 = if(equal(sample,0),q11,xx1); |
| 121 | wave_1_per_point2=yy1 = if(equal(sample,0),q12,yy1); |
| 122 | wave_1_per_point3=zz1 = if(equal(sample,0),q13,zz1); |
| 123 | wave_1_per_point4= |
| 124 | wave_1_per_point5=dx1 = q14*(yy1-xx1); |
| 125 | wave_1_per_point6=dy1 = xx1*(q15-zz1)-yy1; |
| 126 | wave_1_per_point7=dz1 = xx1*yy1-q16*zz1; |
| 127 | wave_1_per_point8=xx1 = xx1 + q17*dx1; |
| 128 | wave_1_per_point9=yy1 = yy1 + q17*dy1; |
| 129 | wave_1_per_point10=zz1 = zz1 + q17*dz1; |
| 130 | wave_1_per_point11= |
| 131 | wave_1_per_point12=my_x = xx1*0.02; |
| 132 | wave_1_per_point13=my_y = yy1*0.02; |
| 133 | wave_1_per_point14=my_z = zz1*0.02; |
| 134 | wave_1_per_point15= |
| 135 | wave_1_per_point16=x = 0.5 + my_x; |
| 136 | wave_1_per_point17=y = 0.5 + my_y; |
| 137 | wavecode_2_enabled=0 |
| 138 | wavecode_2_samples=512 |
| 139 | wavecode_2_sep=0 |
| 140 | wavecode_2_bSpectrum=0 |
| 141 | wavecode_2_bUseDots=0 |
| 142 | wavecode_2_bDrawThick=0 |
| 143 | wavecode_2_bAdditive=0 |
| 144 | wavecode_2_scaling=1.00000 |
| 145 | wavecode_2_smoothing=0.50000 |
| 146 | wavecode_2_r=1.000 |
| 147 | wavecode_2_g=1.000 |
| 148 | wavecode_2_b=1.000 |
| 149 | wavecode_2_a=1.000 |
| 150 | wavecode_3_enabled=0 |
| 151 | wavecode_3_samples=512 |
| 152 | wavecode_3_sep=0 |
| 153 | wavecode_3_bSpectrum=0 |
| 154 | wavecode_3_bUseDots=0 |
| 155 | wavecode_3_bDrawThick=0 |
| 156 | wavecode_3_bAdditive=0 |
| 157 | wavecode_3_scaling=1.00000 |
| 158 | wavecode_3_smoothing=0.50000 |
| 159 | wavecode_3_r=1.000 |
| 160 | wavecode_3_g=1.000 |
| 161 | wavecode_3_b=1.000 |
| 162 | wavecode_3_a=1.000 |
| 163 | shapecode_0_enabled=0 |
| 164 | shapecode_0_sides=3 |
| 165 | shapecode_0_additive=1 |
| 166 | shapecode_0_thickOutline=0 |
| 167 | shapecode_0_textured=0 |
| 168 | shapecode_0_num_inst=1 |
| 169 | shapecode_0_x=0.670 |
| 170 | shapecode_0_y=0.530 |
| 171 | shapecode_0_rad=0.17457 |
| 172 | shapecode_0_ang=0.25133 |
| 173 | shapecode_0_tex_ang=3.14159 |
| 174 | shapecode_0_tex_zoom=0.99979 |
| 175 | shapecode_0_r=1.000 |
| 176 | shapecode_0_g=1.000 |
| 177 | shapecode_0_b=1.000 |
| 178 | shapecode_0_a=1.000 |
| 179 | shapecode_0_r2=1.000 |
| 180 | shapecode_0_g2=1.000 |
| 181 | shapecode_0_b2=1.000 |
| 182 | shapecode_0_a2=1.000 |
| 183 | shapecode_0_border_r=1.000 |
| 184 | shapecode_0_border_g=0.500 |
| 185 | shapecode_0_border_b=0.150 |
| 186 | shapecode_0_border_a=0.000 |
| 187 | shapecode_1_enabled=0 |
| 188 | shapecode_1_sides=23 |
| 189 | shapecode_1_additive=1 |
| 190 | shapecode_1_thickOutline=0 |
| 191 | shapecode_1_textured=0 |
| 192 | shapecode_1_num_inst=817 |
| 193 | shapecode_1_x=0.500 |
| 194 | shapecode_1_y=0.500 |
| 195 | shapecode_1_rad=0.02798 |
| 196 | shapecode_1_ang=0.00000 |
| 197 | shapecode_1_tex_ang=3.14159 |
| 198 | shapecode_1_tex_zoom=0.99979 |
| 199 | shapecode_1_r=1.000 |
| 200 | shapecode_1_g=1.000 |
| 201 | shapecode_1_b=1.000 |
| 202 | shapecode_1_a=0.410 |
| 203 | shapecode_1_r2=1.000 |
| 204 | shapecode_1_g2=1.000 |
| 205 | shapecode_1_b2=1.000 |
| 206 | shapecode_1_a2=0.000 |
| 207 | shapecode_1_border_r=1.000 |
| 208 | shapecode_1_border_g=1.000 |
| 209 | shapecode_1_border_b=1.000 |
| 210 | shapecode_1_border_a=0.000 |
| 211 | shapecode_2_enabled=0 |
| 212 | shapecode_2_sides=100 |
| 213 | shapecode_2_additive=0 |
| 214 | shapecode_2_thickOutline=0 |
| 215 | shapecode_2_textured=1 |
| 216 | shapecode_2_num_inst=1 |
| 217 | shapecode_2_x=0.900 |
| 218 | shapecode_2_y=0.500 |
| 219 | shapecode_2_rad=0.10000 |
| 220 | shapecode_2_ang=0.00000 |
| 221 | shapecode_2_tex_ang=0.00000 |
| 222 | shapecode_2_tex_zoom=1.00000 |
| 223 | shapecode_2_r=1.000 |
| 224 | shapecode_2_g=1.000 |
| 225 | shapecode_2_b=1.000 |
| 226 | shapecode_2_a=1.000 |
| 227 | shapecode_2_r2=1.000 |
| 228 | shapecode_2_g2=1.000 |
| 229 | shapecode_2_b2=1.000 |
| 230 | shapecode_2_a2=1.000 |
| 231 | shapecode_2_border_r=1.000 |
| 232 | shapecode_2_border_g=1.000 |
| 233 | shapecode_2_border_b=1.000 |
| 234 | shapecode_2_border_a=0.100 |
| 235 | shape_2_per_frame1=x = sin(time) * .4 + .5; |
| 236 | shape_2_per_frame2= |
| 237 | shape_2_per_frame3= |
| 238 | shape_2_per_frame4=pow( (bass*.15),2); |
| 239 | shapecode_3_enabled=0 |
| 240 | shapecode_3_sides=36 |
| 241 | shapecode_3_additive=1 |
| 242 | shapecode_3_thickOutline=0 |
| 243 | shapecode_3_textured=0 |
| 244 | shapecode_3_num_inst=1 |
| 245 | shapecode_3_x=0.500 |
| 246 | shapecode_3_y=0.500 |
| 247 | shapecode_3_rad=0.81623 |
| 248 | shapecode_3_ang=0.00000 |
| 249 | shapecode_3_tex_ang=0.00000 |
| 250 | shapecode_3_tex_zoom=1.00000 |
| 251 | shapecode_3_r=0.000 |
| 252 | shapecode_3_g=0.040 |
| 253 | shapecode_3_b=0.000 |
| 254 | shapecode_3_a=1.000 |
| 255 | shapecode_3_r2=0.000 |
| 256 | shapecode_3_g2=0.000 |
| 257 | shapecode_3_b2=0.000 |
| 258 | shapecode_3_a2=0.000 |
| 259 | shapecode_3_border_r=1.000 |
| 260 | shapecode_3_border_g=1.000 |
| 261 | shapecode_3_border_b=1.000 |
| 262 | shapecode_3_border_a=0.000 |
| 263 | shape_3_per_frame1=x = 1-q1; |
| 264 | shape_3_per_frame2=y = q2; |
| 265 | shape_3_per_frame3=x = 0.5 + (x - 0.5)*0.25; |
| 266 | shape_3_per_frame4=y = 0.5 + (y - 0.5)*0.25; |
| 267 | per_frame_1=wave_r = wave_r + 0.300*( 0.60*sin(0.933*time) + 0.40*sin(1.045*time) ); |
| 268 | per_frame_2=wave_g = wave_g + 0.300*( 0.60*sin(0.900*time) + 0.40*sin(0.956*time) ); |
| 269 | per_frame_3=wave_b = wave_b + 0.300*( 0.60*sin(0.910*time) + 0.40*sin(0.920*time) ); |
| 270 | per_frame_4=zoom = zoom + 0.013*( 0.60*sin(0.339*time) + 0.40*sin(0.276*time) ); |
| 271 | per_frame_5=rot = rot + 0.040*( 0.60*sin(0.381*time) + 0.40*sin(0.579*time) ); |
| 272 | per_frame_6=decay = decay - 0.01*below(frame%2,1); |
| 273 | per_pixel_1=zoom=zoom+0.04*sin(ang*5+time*2.3); |
| 274 | warp_1=`shader_body |
| 275 | warp_2=`{ |
| 276 | warp_3=` // sample previous frame |
| 277 | warp_4=` ret = tex2D( sampler_pw_main, uv ).xyz; |
| 278 | warp_5=` |
| 279 | warp_6=` float n; |
| 280 | warp_7=` float2 d = texsize.zw*1; |
| 281 | warp_8=` n = saturate(tex2D(sampler_pw_main, uv+d*float2( 1, 1)).x*999); |
| 282 | warp_9=` n += saturate(tex2D(sampler_pw_main, uv+d*float2( 1, 0)).x*999); |
| 283 | warp_10=` n += saturate(tex2D(sampler_pw_main, uv+d*float2( 1,-1)).x*999); |
| 284 | warp_11=` n += saturate(tex2D(sampler_pw_main, uv+d*float2( 0, 1)).x*999); |
| 285 | warp_12=` n += saturate(tex2D(sampler_pw_main, uv+d*float2( 0,-1)).x*999); |
| 286 | warp_13=` n += saturate(tex2D(sampler_pw_main, uv+d*float2(-1, 1)).x*999); |
| 287 | warp_14=` n += saturate(tex2D(sampler_pw_main, uv+d*float2(-1, 0)).x*999); |
| 288 | warp_15=` n += saturate(tex2D(sampler_pw_main, uv+d*float2(-1,-1)).x*999); |
| 289 | warp_16=` |
| 290 | warp_17=` if (n < 1.5) |
| 291 | warp_18=` ret = 0; |
| 292 | warp_19=` if (n > 3.5) |
| 293 | warp_20=` ret = 0; |
| 294 | warp_21=` if (ret.x < 0.1 && abs(n-3) < 0.5) |
| 295 | warp_22=` ret = 1; |
| 296 | warp_23=` |
| 297 | warp_24=`ret-=roam_sin*roam_cos.wzy; |
| 298 | warp_25=` // darken (decay) over time |
| 299 | warp_26=` ret = (ret - 0.016)*0.985; |
| 300 | warp_27=`} |
| 301 | comp_1=`shader_body |
| 302 | comp_2=`{ |
| 303 | comp_3=` float2 uv2; |
| 304 | comp_4=` |
| 305 | comp_5=` // the weights of the 4 height value frequencies: |
| 306 | comp_6=` float4 c = float4(1,0,0,0); |
| 307 | comp_7=` |
| 308 | comp_8=` uv2 = uv + float2(1,0)*texsize.zw; |
| 309 | comp_9=` float gx1 = GetPixel(uv2).x*c.x + GetBlur1(uv2).x*c.y + GetBlur2(uv2).x*c.z + GetBlur3(uv2).x*c.w; |
| 310 | comp_10=` uv2 = uv + float2(-1,0)*texsize.zw; |
| 311 | comp_11=` float gx2 = GetPixel(uv2).x*c.x + GetBlur1(uv2).x*c.y + GetBlur2(uv2).x*c.z + GetBlur3(uv2).x*c.w; |
| 312 | comp_12=` |
| 313 | comp_13=` uv2 = uv + float2(0,1)*texsize.zw; |
| 314 | comp_14=` float gy1 = GetPixel(uv2).x*c.x + GetBlur1(uv2).x*c.y + GetBlur2(uv2).x*c.z + GetBlur3(uv2).x*c.w; |
| 315 | comp_15=` uv2 = uv + float2(0,-1)*texsize.zw; |
| 316 | comp_16=` float gy2 = GetPixel(uv2).x*c.x + GetBlur1(uv2).x*c.y + GetBlur2(uv2).x*c.z + GetBlur3(uv2).x*c.w; |
| 317 | comp_17=` |
| 318 | comp_18=` // compute gradient vector: |
| 319 | comp_19=` float3 g = normalize(float3(gx1-gx2, gy1-gy2, 0.08)); |
| 320 | comp_20=` |
| 321 | comp_21=` // hacked default lighting from it: |
| 322 | comp_22=` float3 dir1 = normalize(float3(0.3,-0.13,0.05)); |
| 323 | comp_23=` //float3 col1 = float3(1.3,0.9,0.6)*1.5; |
| 324 | comp_24=` float3 a = tex2D(sampler_main, (uv-0.5)*0.4+0.5); |
| 325 | comp_25=` float3 col1 = pow(a.xyz, a.yzx*2-1); |
| 326 | comp_26=` ret = col1 * saturate(dot(g,dir1)); |
| 327 | comp_27=` ret /= pow(hue_shader,5.1); |
| 328 | comp_28=`ret=1-ret; |
| 329 | comp_29=`ret-=roam_sin*roam_cos.wzy; |
| 330 | comp_30=` |
| 331 | comp_31=`} |