PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Reaction / Liquid Gradient / Flexi - $0$ - rotating per-pixel tutorial.milk
| 1 | [preset00] |
| 2 | fRating=5.000000 |
| 3 | fGammaAdj=1.000000 |
| 4 | fDecay=1.000000 |
| 5 | fVideoEchoZoom=0.312112 |
| 6 | fVideoEchoAlpha=0.000000 |
| 7 | nVideoEchoOrientation=3 |
| 8 | nEchoWrap_x=0 |
| 9 | nEchoWrap_y=0 |
| 10 | nWaveMode=0 |
| 11 | bAdditiveWaves=0 |
| 12 | bWaveDots=0 |
| 13 | bWaveThick=0 |
| 14 | bModWaveAlphaByVolume=0 |
| 15 | bMaximizeWaveColor=0 |
| 16 | bTexWrap=0 |
| 17 | nWrapMode_x=1 |
| 18 | nWrapMode_y=1 |
| 19 | bDarkenCenter=0 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=0 |
| 22 | bDarken=1 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=0.001000 |
| 26 | fWaveScale=0.010000 |
| 27 | fWaveSmoothing=0.000000 |
| 28 | fWaveParam=0.000000 |
| 29 | fModWaveAlphaStart=1.000000 |
| 30 | fModWaveAlphaEnd=1.000001 |
| 31 | fWarpAnimSpeed=1.000000 |
| 32 | fWarpScale=0.106584 |
| 33 | fZoomExponent=6.227751 |
| 34 | fShader=0.000000 |
| 35 | zoom=1.000000 |
| 36 | rot=0.000000 |
| 37 | cx=0.500000 |
| 38 | cy=0.500000 |
| 39 | dx=0.000000 |
| 40 | dy=0.000000 |
| 41 | warp=0.017426 |
| 42 | sx=1.000000 |
| 43 | sy=1.000000 |
| 44 | wave_r=0.000000 |
| 45 | wave_g=0.000000 |
| 46 | wave_b=0.000000 |
| 47 | wave_x=0.500000 |
| 48 | wave_y=0.500000 |
| 49 | ob_size=0.005000 |
| 50 | ob_r=0.000000 |
| 51 | ob_g=0.000000 |
| 52 | ob_b=0.000000 |
| 53 | ob_a=1.000000 |
| 54 | ib_size=0.000000 |
| 55 | ib_r=0.000000 |
| 56 | ib_g=0.000000 |
| 57 | ib_b=0.000000 |
| 58 | ib_a=1.000000 |
| 59 | nMotionVectorsX=64.000000 |
| 60 | nMotionVectorsY=48.000000 |
| 61 | mv_dx=0.000000 |
| 62 | mv_dy=0.000000 |
| 63 | mv_l=5.000000 |
| 64 | mv_r=1.000000 |
| 65 | mv_g=1.000000 |
| 66 | mv_b=1.000000 |
| 67 | mv_a=0.000000 |
| 68 | wavecode_0_enabled=0 |
| 69 | wavecode_0_samples=512 |
| 70 | wavecode_0_sep=4 |
| 71 | wavecode_0_bSpectrum=0 |
| 72 | wavecode_0_bUseDots=0 |
| 73 | wavecode_0_bDrawThick=1 |
| 74 | wavecode_0_bDrawBack=0 |
| 75 | wavecode_0_bAdditive=0 |
| 76 | wavecode_0_scaling=0.093480 |
| 77 | wavecode_0_smoothing=1.000000 |
| 78 | wavecode_0_r=1.000000 |
| 79 | wavecode_0_g=1.000000 |
| 80 | wavecode_0_b=1.000000 |
| 81 | wavecode_0_a=1.000000 |
| 82 | wave_0_init1=t2 = 0; |
| 83 | wave_0_init2=t3 = 0; |
| 84 | wave_0_init3=t4 = 0; |
| 85 | wave_0_init4=ab = 1; |
| 86 | wave_0_per_frame1=t1 = q1; |
| 87 | wave_0_per_frame2=t2 = q2; |
| 88 | wave_0_per_frame3=t3 = q3; |
| 89 | wave_0_per_frame4=t4 = q4; |
| 90 | wave_0_per_frame5=t5 = q5; |
| 91 | wave_0_per_frame6=t6 = q6; |
| 92 | wave_0_per_point1=s8 = sample*383; |
| 93 | wave_0_per_point2=dir = s8*0.125*3.1415*0.5; |
| 94 | wave_0_per_point3=v = 0.0005; |
| 95 | wave_0_per_point4=t1 = 0;//value1*0.01;//t1*0.97 + value1*v; |
| 96 | wave_0_per_point5=d = 1; |
| 97 | wave_0_per_point6=xx = sin(dir+10*time)*(sample*d+t1); |
| 98 | wave_0_per_point7=yy = cos(dir+10*time)*(sample*d+t1); |
| 99 | wave_0_per_point8=zz = cos(sample*1000+time*5)*0.0;//value2*0.05*sample; |
| 100 | wave_0_per_point9=v = 0.001; |
| 101 | wave_0_per_point10= |
| 102 | wave_0_per_point11=w = 1-(sample-0.5)*t6;//(sample*sin(time*0.3)*0.02-1); |
| 103 | wave_0_per_point12=s1 = sin(t2*w); |
| 104 | wave_0_per_point13=s2 = sin(t3*w); |
| 105 | wave_0_per_point14=s3 = sin(t4*w); |
| 106 | wave_0_per_point15=c1 = cos(t2*w); |
| 107 | wave_0_per_point16=c2 = cos(t3*w); |
| 108 | wave_0_per_point17=c3 = cos(t4*w); |
| 109 | wave_0_per_point18= |
| 110 | wave_0_per_point19=z = (c3*s1*c2 + s3*s2)*xx - (c3*s1*s2-s3*c2)*yy + c3*c1*zz; |
| 111 | wave_0_per_point20=x1 = (c1*c2*xx + c1*s2*yy - s1*zz); |
| 112 | wave_0_per_point21=y1 = ((s3*s1*c2 - c3*s2)*xx + (s3*s1*s2+c3*c2)*yy + s3*c1*zz); |
| 113 | wave_0_per_point22= |
| 114 | wave_0_per_point23=a = 2; |
| 115 | wave_0_per_point24=zoom = 0.5*atan2(a-z,a);//0.5*(1/(z+a)); |
| 116 | wave_0_per_point25=x = 0.5 + zoom*x1; |
| 117 | wave_0_per_point26=y = 0.5 + zoom*y1; |
| 118 | wave_0_per_point27= |
| 119 | wavecode_1_enabled=0 |
| 120 | wavecode_1_samples=484 |
| 121 | wavecode_1_sep=4 |
| 122 | wavecode_1_bSpectrum=0 |
| 123 | wavecode_1_bUseDots=1 |
| 124 | wavecode_1_bDrawThick=1 |
| 125 | wavecode_1_bDrawBack=0 |
| 126 | wavecode_1_bAdditive=0 |
| 127 | wavecode_1_scaling=9.941252 |
| 128 | wavecode_1_smoothing=1.000000 |
| 129 | wavecode_1_r=1.000000 |
| 130 | wavecode_1_g=1.000000 |
| 131 | wavecode_1_b=1.000000 |
| 132 | wavecode_1_a=1.000000 |
| 133 | wave_1_init1=t2 = 0; |
| 134 | wave_1_init2=t3 = 0; |
| 135 | wave_1_init3=t4 = 0; |
| 136 | wave_1_init4=ab = 1; |
| 137 | wave_1_per_frame1=t1 = q1; |
| 138 | wave_1_per_frame2=t2 = q2; |
| 139 | wave_1_per_frame3=t3 = q3; |
| 140 | wave_1_per_frame4=t4 = q4; |
| 141 | wave_1_per_frame5=t5 = q5; |
| 142 | wave_1_per_frame6=t6 = q6; |
| 143 | wave_1_per_point1=s8 = sample*383; |
| 144 | wave_1_per_point2= |
| 145 | wave_1_per_point3=s = 0.25; |
| 146 | wave_1_per_point4=xx = ((sample*(465))%15 - 8)*s*2; |
| 147 | wave_1_per_point5=yy = ((sample*31)%31 - 16)*s; |
| 148 | wave_1_per_point6=zz = value1+sin(time+yy*0.3)*1; |
| 149 | wave_1_per_point7= |
| 150 | wave_1_per_point8=d = sqrt( xx*xx + yy*yy + zz*zz); |
| 151 | wave_1_per_point9=w = 1+d*0.0003*t6;//(sample*sin(time*0.3)*0.02-1); |
| 152 | wave_1_per_point10=s1 = sin(t2*w); |
| 153 | wave_1_per_point11=s2 = sin(t3*w); |
| 154 | wave_1_per_point12=s3 = sin(t4*w); |
| 155 | wave_1_per_point13=c1 = cos(t2*w); |
| 156 | wave_1_per_point14=c2 = cos(t3*w); |
| 157 | wave_1_per_point15=c3 = cos(t4*w); |
| 158 | wave_1_per_point16= |
| 159 | wave_1_per_point17= |
| 160 | wave_1_per_point18=z = (c3*s1*c2 + s3*s2)*xx - (c3*s1*s2-s3*c2)*yy + c3*c1*zz; |
| 161 | wave_1_per_point19=x1 = (c1*c2*xx + c1*s2*yy - s1*zz); |
| 162 | wave_1_per_point20=y1 = ((s3*s1*c2 - c3*s2)*xx + (s3*s1*s2+c3*c2)*yy + s3*c1*zz); |
| 163 | wave_1_per_point21= |
| 164 | wave_1_per_point22=a = 500; |
| 165 | wave_1_per_point23=zoom = 0.05*atan2(a-z,a);//0.5*(1/(z+a)); |
| 166 | wave_1_per_point24=x = 0.5 + zoom*x1; |
| 167 | wave_1_per_point25=y = 0.5 + zoom*y1; |
| 168 | wave_1_per_point26= |
| 169 | wave_1_per_point27=pi3 = 3.1415*2*0.3333; |
| 170 | wave_1_per_point28=t = -z*0.5+t5; |
| 171 | wave_1_per_point29=c = 10; |
| 172 | wave_1_per_point30=r = sin(t)*c; |
| 173 | wave_1_per_point31= |
| 174 | wave_1_per_point32=g = sin(t+pi3)*c; |
| 175 | wave_1_per_point33= |
| 176 | wave_1_per_point34=b = sin(t-pi3)*c; |
| 177 | wave_1_per_point35= |
| 178 | wave_1_per_point36=j = 0.71; |
| 179 | wave_1_per_point37=//r = 0.5+xx*j; |
| 180 | wave_1_per_point38=//g = 0.5+yy*j; |
| 181 | wave_1_per_point39=//b = 0.5+zz*j; |
| 182 | wave_1_per_point40= |
| 183 | wave_1_per_point41=r = if(above(r,1),1,r); |
| 184 | wave_1_per_point42=r = if(below(r,0),0,r); |
| 185 | wave_1_per_point43=g = if(above(g,1),1,g); |
| 186 | wave_1_per_point44=g = if(below(g,0),0,g); |
| 187 | wave_1_per_point45=b = if(above(b,1),1,b); |
| 188 | wave_1_per_point46=b = if(below(b,0),0,b); |
| 189 | wave_1_per_point47= |
| 190 | wave_1_per_point48= |
| 191 | wave_1_per_point49=a = sigmoid(-z,0.25)*1.0+0.0; |
| 192 | wavecode_2_enabled=0 |
| 193 | wavecode_2_samples=484 |
| 194 | wavecode_2_sep=4 |
| 195 | wavecode_2_bSpectrum=0 |
| 196 | wavecode_2_bUseDots=1 |
| 197 | wavecode_2_bDrawThick=1 |
| 198 | wavecode_2_bDrawBack=0 |
| 199 | wavecode_2_bAdditive=0 |
| 200 | wavecode_2_scaling=9.941252 |
| 201 | wavecode_2_smoothing=1.000000 |
| 202 | wavecode_2_r=1.000000 |
| 203 | wavecode_2_g=1.000000 |
| 204 | wavecode_2_b=1.000000 |
| 205 | wavecode_2_a=1.000000 |
| 206 | wave_2_init1=t2 = 0; |
| 207 | wave_2_init2=t3 = 0; |
| 208 | wave_2_init3=t4 = 0; |
| 209 | wave_2_init4=ab = 1; |
| 210 | wave_2_per_frame1=t1 = q1; |
| 211 | wave_2_per_frame2=t2 = q2; |
| 212 | wave_2_per_frame3=t3 = q3; |
| 213 | wave_2_per_frame4=t4 = q4; |
| 214 | wave_2_per_frame5=t5 = q5; |
| 215 | wave_2_per_frame6=t6 = q6; |
| 216 | wave_2_per_point1=s8 = sample*383; |
| 217 | wave_2_per_point2= |
| 218 | wave_2_per_point3=s = 0.25; |
| 219 | wave_2_per_point4=xx = ((sample*(465))%15 - 8)*s*2; |
| 220 | wave_2_per_point5=zz = ((sample*31)%31 - 16)*s; |
| 221 | wave_2_per_point6=yy = value1+sin(time +xx*0.3)*1; |
| 222 | wave_2_per_point7= |
| 223 | wave_2_per_point8=d = sqrt( xx*xx + yy*yy + zz*zz); |
| 224 | wave_2_per_point9=w = 1+d*0.0003*t6;//(sample*sin(time*0.3)*0.02-1); |
| 225 | wave_2_per_point10=s1 = sin(t2*w); |
| 226 | wave_2_per_point11=s2 = sin(t3*w); |
| 227 | wave_2_per_point12=s3 = sin(t4*w); |
| 228 | wave_2_per_point13=c1 = cos(t2*w); |
| 229 | wave_2_per_point14=c2 = cos(t3*w); |
| 230 | wave_2_per_point15=c3 = cos(t4*w); |
| 231 | wave_2_per_point16= |
| 232 | wave_2_per_point17= |
| 233 | wave_2_per_point18=z = (c3*s1*c2 + s3*s2)*xx - (c3*s1*s2-s3*c2)*yy + c3*c1*zz; |
| 234 | wave_2_per_point19=x1 = (c1*c2*xx + c1*s2*yy - s1*zz); |
| 235 | wave_2_per_point20=y1 = ((s3*s1*c2 - c3*s2)*xx + (s3*s1*s2+c3*c2)*yy + s3*c1*zz); |
| 236 | wave_2_per_point21= |
| 237 | wave_2_per_point22=a = 500; |
| 238 | wave_2_per_point23=zoom = 0.05*atan2(a-z,a);//0.5*(1/(z+a)); |
| 239 | wave_2_per_point24=x = 0.5 + zoom*x1; |
| 240 | wave_2_per_point25=y = 0.5 + zoom*y1; |
| 241 | wave_2_per_point26= |
| 242 | wave_2_per_point27=pi3 = 3.1415*2*0.3333; |
| 243 | wave_2_per_point28=t = -z*0.5+t5; |
| 244 | wave_2_per_point29=c = 10; |
| 245 | wave_2_per_point30=r = sin(t)*c; |
| 246 | wave_2_per_point31= |
| 247 | wave_2_per_point32=g = sin(t+pi3)*c; |
| 248 | wave_2_per_point33= |
| 249 | wave_2_per_point34=b = sin(t-pi3)*c; |
| 250 | wave_2_per_point35= |
| 251 | wave_2_per_point36=j = 0.71; |
| 252 | wave_2_per_point37=//r = 0.5+xx*j; |
| 253 | wave_2_per_point38=//g = 0.5+yy*j; |
| 254 | wave_2_per_point39=//b = 0.5+zz*j; |
| 255 | wave_2_per_point40= |
| 256 | wave_2_per_point41=r = if(above(r,1),1,r); |
| 257 | wave_2_per_point42=r = if(below(r,0),0,r); |
| 258 | wave_2_per_point43=g = if(above(g,1),1,g); |
| 259 | wave_2_per_point44=g = if(below(g,0),0,g); |
| 260 | wave_2_per_point45=b = if(above(b,1),1,b); |
| 261 | wave_2_per_point46=b = if(below(b,0),0,b); |
| 262 | wave_2_per_point47= |
| 263 | wave_2_per_point48= |
| 264 | wave_2_per_point49=a = sigmoid(-z,0.25)*1.0+0.0; |
| 265 | wavecode_3_enabled=0 |
| 266 | wavecode_3_samples=484 |
| 267 | wavecode_3_sep=4 |
| 268 | wavecode_3_bSpectrum=0 |
| 269 | wavecode_3_bUseDots=1 |
| 270 | wavecode_3_bDrawThick=1 |
| 271 | wavecode_3_bDrawBack=0 |
| 272 | wavecode_3_bAdditive=0 |
| 273 | wavecode_3_scaling=9.941252 |
| 274 | wavecode_3_smoothing=1.000000 |
| 275 | wavecode_3_r=1.000000 |
| 276 | wavecode_3_g=1.000000 |
| 277 | wavecode_3_b=1.000000 |
| 278 | wavecode_3_a=1.000000 |
| 279 | wave_3_init1=t2 = 0; |
| 280 | wave_3_init2=t3 = 0; |
| 281 | wave_3_init3=t4 = 0; |
| 282 | wave_3_init4=ab = 1; |
| 283 | wave_3_per_frame1=t1 = q1; |
| 284 | wave_3_per_frame2=t2 = q2; |
| 285 | wave_3_per_frame3=t3 = q3; |
| 286 | wave_3_per_frame4=t4 = q4; |
| 287 | wave_3_per_frame5=t5 = q5; |
| 288 | wave_3_per_frame6=t6 = q6; |
| 289 | wave_3_per_point1=s8 = sample*383; |
| 290 | wave_3_per_point2= |
| 291 | wave_3_per_point3=s = 0.25; |
| 292 | wave_3_per_point4=yy = ((sample*(465))%15 - 8)*s*2; |
| 293 | wave_3_per_point5=zz = ((sample*31)%31 - 16)*s; |
| 294 | wave_3_per_point6=xx = value1+ sin(time+yy*0.3)*1; |
| 295 | wave_3_per_point7= |
| 296 | wave_3_per_point8=d = sqrt( xx*xx + yy*yy + zz*zz); |
| 297 | wave_3_per_point9=w = 1+d*0.0003*t6;//(sample*sin(time*0.3)*0.02-1); |
| 298 | wave_3_per_point10=s1 = sin(t2*w); |
| 299 | wave_3_per_point11=s2 = sin(t3*w); |
| 300 | wave_3_per_point12=s3 = sin(t4*w); |
| 301 | wave_3_per_point13=c1 = cos(t2*w); |
| 302 | wave_3_per_point14=c2 = cos(t3*w); |
| 303 | wave_3_per_point15=c3 = cos(t4*w); |
| 304 | wave_3_per_point16= |
| 305 | wave_3_per_point17= |
| 306 | wave_3_per_point18=z = (c3*s1*c2 + s3*s2)*xx - (c3*s1*s2-s3*c2)*yy + c3*c1*zz; |
| 307 | wave_3_per_point19=x1 = (c1*c2*xx + c1*s2*yy - s1*zz); |
| 308 | wave_3_per_point20=y1 = ((s3*s1*c2 - c3*s2)*xx + (s3*s1*s2+c3*c2)*yy + s3*c1*zz); |
| 309 | wave_3_per_point21= |
| 310 | wave_3_per_point22=a = 500; |
| 311 | wave_3_per_point23=zoom = 0.05*atan2(a-z,a);//0.5*(1/(z+a)); |
| 312 | wave_3_per_point24=x = 0.5 + zoom*x1; |
| 313 | wave_3_per_point25=y = 0.5 + zoom*y1; |
| 314 | wave_3_per_point26= |
| 315 | wave_3_per_point27=pi3 = 3.1415*2*0.3333; |
| 316 | wave_3_per_point28=t = -z*0.5+t5; |
| 317 | wave_3_per_point29=c = 10; |
| 318 | wave_3_per_point30=r = sin(t)*c; |
| 319 | wave_3_per_point31= |
| 320 | wave_3_per_point32=g = sin(t+pi3)*c; |
| 321 | wave_3_per_point33= |
| 322 | wave_3_per_point34=b = sin(t-pi3)*c; |
| 323 | wave_3_per_point35= |
| 324 | wave_3_per_point36=j = 0.71; |
| 325 | wave_3_per_point37=//r = 0.5+xx*j; |
| 326 | wave_3_per_point38=//g = 0.5+yy*j; |
| 327 | wave_3_per_point39=//b = 0.5+zz*j; |
| 328 | wave_3_per_point40= |
| 329 | wave_3_per_point41=r = if(above(r,1),1,r); |
| 330 | wave_3_per_point42=r = if(below(r,0),0,r); |
| 331 | wave_3_per_point43=g = if(above(g,1),1,g); |
| 332 | wave_3_per_point44=g = if(below(g,0),0,g); |
| 333 | wave_3_per_point45=b = if(above(b,1),1,b); |
| 334 | wave_3_per_point46=b = if(below(b,0),0,b); |
| 335 | wave_3_per_point47= |
| 336 | wave_3_per_point48= |
| 337 | wave_3_per_point49=a = sigmoid(-z,0.25)*1.0+0.0; |
| 338 | wavecode_4_enabled=0 |
| 339 | wavecode_4_samples=512 |
| 340 | wavecode_4_sep=0 |
| 341 | wavecode_4_bSpectrum=0 |
| 342 | wavecode_4_bUseDots=0 |
| 343 | wavecode_4_bDrawThick=0 |
| 344 | wavecode_4_bDrawBack=0 |
| 345 | wavecode_4_bAdditive=0 |
| 346 | wavecode_4_scaling=1.000000 |
| 347 | wavecode_4_smoothing=0.500000 |
| 348 | wavecode_4_r=1.000000 |
| 349 | wavecode_4_g=1.000000 |
| 350 | wavecode_4_b=1.000000 |
| 351 | wavecode_4_a=1.000000 |
| 352 | shapecode_0_enabled=0 |
| 353 | shapecode_0_sides=100 |
| 354 | shapecode_0_additive=0 |
| 355 | shapecode_0_bDrawBack=0 |
| 356 | shapecode_0_thickOutline=1 |
| 357 | shapecode_0_x_wrap_mode=0 |
| 358 | shapecode_0_y_wrap_mode=0 |
| 359 | shapecode_0_textured=1 |
| 360 | shapecode_0_tex_capture=1 |
| 361 | shapecode_0_tex_cx=0.500000 |
| 362 | shapecode_0_tex_cy=0.500000 |
| 363 | shapecode_0_x=0.500000 |
| 364 | shapecode_0_y=0.500000 |
| 365 | shapecode_0_rad=0.166108 |
| 366 | shapecode_0_ang=0.000000 |
| 367 | shapecode_0_tex_ang=0.000000 |
| 368 | shapecode_0_tex_zoom=21.858635 |
| 369 | shapecode_0_r=1.000000 |
| 370 | shapecode_0_g=1.000000 |
| 371 | shapecode_0_b=1.000000 |
| 372 | shapecode_0_a=0.500000 |
| 373 | shapecode_0_r2=1.000000 |
| 374 | shapecode_0_g2=1.000000 |
| 375 | shapecode_0_b2=1.000000 |
| 376 | shapecode_0_a2=0.000000 |
| 377 | shapecode_0_border_r=1.000000 |
| 378 | shapecode_0_border_g=1.000000 |
| 379 | shapecode_0_border_b=1.000000 |
| 380 | shapecode_0_border_a=0.000000 |
| 381 | shape_0_init1=vx = 0; |
| 382 | shape_0_init2=vy = 0; |
| 383 | shapecode_1_enabled=0 |
| 384 | shapecode_1_sides=100 |
| 385 | shapecode_1_additive=0 |
| 386 | shapecode_1_bDrawBack=0 |
| 387 | shapecode_1_thickOutline=0 |
| 388 | shapecode_1_x_wrap_mode=0 |
| 389 | shapecode_1_y_wrap_mode=0 |
| 390 | shapecode_1_textured=1 |
| 391 | shapecode_1_tex_capture=1 |
| 392 | shapecode_1_tex_cx=0.500000 |
| 393 | shapecode_1_tex_cy=0.500000 |
| 394 | shapecode_1_x=0.500000 |
| 395 | shapecode_1_y=0.500000 |
| 396 | shapecode_1_rad=1.998628 |
| 397 | shapecode_1_ang=0.000000 |
| 398 | shapecode_1_tex_ang=0.000000 |
| 399 | shapecode_1_tex_zoom=0.498314 |
| 400 | shapecode_1_r=1.000000 |
| 401 | shapecode_1_g=1.000000 |
| 402 | shapecode_1_b=1.000000 |
| 403 | shapecode_1_a=1.000000 |
| 404 | shapecode_1_r2=0.080001 |
| 405 | shapecode_1_g2=0.000000 |
| 406 | shapecode_1_b2=0.000000 |
| 407 | shapecode_1_a2=0.000000 |
| 408 | shapecode_1_border_r=1.000000 |
| 409 | shapecode_1_border_g=1.000000 |
| 410 | shapecode_1_border_b=1.000000 |
| 411 | shapecode_1_border_a=0.100000 |
| 412 | shapecode_2_enabled=0 |
| 413 | shapecode_2_sides=100 |
| 414 | shapecode_2_additive=0 |
| 415 | shapecode_2_bDrawBack=0 |
| 416 | shapecode_2_thickOutline=0 |
| 417 | shapecode_2_x_wrap_mode=0 |
| 418 | shapecode_2_y_wrap_mode=0 |
| 419 | shapecode_2_textured=1 |
| 420 | shapecode_2_tex_capture=1 |
| 421 | shapecode_2_tex_cx=0.500000 |
| 422 | shapecode_2_tex_cy=0.500000 |
| 423 | shapecode_2_x=0.500000 |
| 424 | shapecode_2_y=0.500000 |
| 425 | shapecode_2_rad=1.215245 |
| 426 | shapecode_2_ang=0.000000 |
| 427 | shapecode_2_tex_ang=2.576107 |
| 428 | shapecode_2_tex_zoom=0.555954 |
| 429 | shapecode_2_r=1.000000 |
| 430 | shapecode_2_g=1.000000 |
| 431 | shapecode_2_b=1.000000 |
| 432 | shapecode_2_a=1.000000 |
| 433 | shapecode_2_r2=0.000000 |
| 434 | shapecode_2_g2=0.000000 |
| 435 | shapecode_2_b2=0.000000 |
| 436 | shapecode_2_a2=0.000000 |
| 437 | shapecode_2_border_r=1.000000 |
| 438 | shapecode_2_border_g=1.000000 |
| 439 | shapecode_2_border_b=1.000000 |
| 440 | shapecode_2_border_a=0.000000 |
| 441 | shapecode_3_enabled=0 |
| 442 | shapecode_3_sides=4 |
| 443 | shapecode_3_additive=0 |
| 444 | shapecode_3_bDrawBack=0 |
| 445 | shapecode_3_thickOutline=0 |
| 446 | shapecode_3_x_wrap_mode=0 |
| 447 | shapecode_3_y_wrap_mode=0 |
| 448 | shapecode_3_textured=0 |
| 449 | shapecode_3_tex_capture=1 |
| 450 | shapecode_3_tex_cx=0.500000 |
| 451 | shapecode_3_tex_cy=0.500000 |
| 452 | shapecode_3_x=0.500000 |
| 453 | shapecode_3_y=0.500000 |
| 454 | shapecode_3_rad=0.100000 |
| 455 | shapecode_3_ang=0.000000 |
| 456 | shapecode_3_tex_ang=0.000000 |
| 457 | shapecode_3_tex_zoom=1.000000 |
| 458 | shapecode_3_r=1.000000 |
| 459 | shapecode_3_g=0.000000 |
| 460 | shapecode_3_b=0.000000 |
| 461 | shapecode_3_a=1.000000 |
| 462 | shapecode_3_r2=0.000000 |
| 463 | shapecode_3_g2=1.000000 |
| 464 | shapecode_3_b2=0.000000 |
| 465 | shapecode_3_a2=0.000000 |
| 466 | shapecode_3_border_r=1.000000 |
| 467 | shapecode_3_border_g=1.000000 |
| 468 | shapecode_3_border_b=1.000000 |
| 469 | shapecode_3_border_a=0.100000 |
| 470 | shapecode_4_enabled=0 |
| 471 | shapecode_4_sides=4 |
| 472 | shapecode_4_additive=0 |
| 473 | shapecode_4_bDrawBack=0 |
| 474 | shapecode_4_thickOutline=0 |
| 475 | shapecode_4_x_wrap_mode=0 |
| 476 | shapecode_4_y_wrap_mode=0 |
| 477 | shapecode_4_textured=0 |
| 478 | shapecode_4_tex_capture=1 |
| 479 | shapecode_4_tex_cx=0.500000 |
| 480 | shapecode_4_tex_cy=0.500000 |
| 481 | shapecode_4_x=0.500000 |
| 482 | shapecode_4_y=0.500000 |
| 483 | shapecode_4_rad=0.100000 |
| 484 | shapecode_4_ang=0.000000 |
| 485 | shapecode_4_tex_ang=0.000000 |
| 486 | shapecode_4_tex_zoom=1.000000 |
| 487 | shapecode_4_r=1.000000 |
| 488 | shapecode_4_g=0.000000 |
| 489 | shapecode_4_b=0.000000 |
| 490 | shapecode_4_a=1.000000 |
| 491 | shapecode_4_r2=0.000000 |
| 492 | shapecode_4_g2=1.000000 |
| 493 | shapecode_4_b2=0.000000 |
| 494 | shapecode_4_a2=0.000000 |
| 495 | shapecode_4_border_r=1.000000 |
| 496 | shapecode_4_border_g=1.000000 |
| 497 | shapecode_4_border_b=1.000000 |
| 498 | shapecode_4_border_a=0.100000 |
| 499 | per_frame_init_1=x1 = 0; |
| 500 | per_frame_init_2=y1 = 0; |
| 501 | per_frame_1=bb = bb*0.99 + bass*0.02; |
| 502 | per_frame_2=mm = mm*0.99 + mid*0.02; |
| 503 | per_frame_3=tt = tt*0.99 + treb*0.02; |
| 504 | per_frame_4=q1 = bb;//q1 - 0.25; |
| 505 | per_frame_5=q2 = mm;//q2 - 0.248; |
| 506 | per_frame_6=q3 = tt;//q3 - 0.25; |
| 507 | per_frame_7= |
| 508 | per_frame_8=mx = max(max(q1,q2),q3); |
| 509 | per_frame_9=mn = min(min(q1,q2),q3); |
| 510 | per_frame_10= |
| 511 | per_frame_11=ob_r = (q1-mn)/(mx-mn); |
| 512 | per_frame_12=ob_g = (q2-mn)/(mx-mn); |
| 513 | per_frame_13=ob_b = (q3-mn)/(mx-mn); |
| 514 | per_frame_14= |
| 515 | per_frame_15=zoom = 0.999; |
| 516 | per_frame_16= |
| 517 | per_pixel_1=w= -time*0.3; // direction (0: left; asin(1): top; (+/-)2*asin(1): right; -asin(1): bottom) |
| 518 | per_pixel_2= |
| 519 | per_pixel_3=// variables for my mushroom movement |
| 520 | per_pixel_4= t = time*2; // the velocity of the rise of the caps |
| 521 | per_pixel_5= v = .2; // "heaviness"factor [0.1: smooth and nice, 10: heavily oversteered - see my maggot ridden sliced pane] |
| 522 | per_pixel_6= n = 30; // density, play to find out :-P [usually 10..80] ( also fun to make it a function on the rad-value or so) |
| 523 | per_pixel_7=// end of "my" vars |
| 524 | per_pixel_8= |
| 525 | per_pixel_9=X2 = x-0.5; // needed to rotate around center |
| 526 | per_pixel_10=Y2 = y-0.5; // (if you add a strong shift, it may appear not turning around the center, but find out yourself) |
| 527 | per_pixel_11= |
| 528 | per_pixel_12=X1 = sin(w)*X2 -cos(w)*Y2; // these 2 lines first rotate the x/y pane |
| 529 | per_pixel_13=Y1 = cos(w)*X2 +sin(w)*Y2; |
| 530 | per_pixel_14= |
| 531 | per_pixel_15=x = X1; // so you can use x and y as usually below |
| 532 | per_pixel_16=y = Y1; |
| 533 | per_pixel_17= |
| 534 | per_pixel_18= dx1 = 0.01*(cos((-x+y)*n+t) + sin((x+y)*n+t)); // these are the 2 lines for my mushroom-movement ;-) |
| 535 | per_pixel_19= dy1 = 0.01*(cos((x-y)*n-t) + sin((-x-y)*n-t)); // insert here your dx/dy-code-to-rotate (but remember the shifting: center is @ 0,0) |
| 536 | per_pixel_20= |
| 537 | per_pixel_21=dx2 = sin(-w)*dx1 - cos(-w)*dy1; // and finally the dx/dy pane is rotated to match the x/y pane |
| 538 | per_pixel_22=dy2 = cos(-w)*dx1 + sin(-w)*dy1; |
| 539 | per_pixel_23= |
| 540 | per_pixel_24=dx = v*dx2; |
| 541 | per_pixel_25=dy = v*dy2; |