Nullsoft AVS Preset 0.2xt Whacko AVS V - WaterCube ------------------------------------------------ I don't think I need to tell you what this preset is about... a single DM Cube! By cleverly combining my earlier box and tunnels DMs I managed to create this one. The texture on the cube is the result of a water filter which is moved around shortly on-beat. Normally this results in flashing black/white patterns, but if you use it in short bursts, it can result in really cool 'cow' patterns. The background is a simple color-gradient (done through a superscope) to spice it up a bit. ------------------------------------------------ UnConeD / Steven Wittens [ steven@acko.net - www.acko.net ] (If you wish to use this preset partially or whole in your own presets or packs, you may do so provided that a clear credit message is included in your preset, along with my contact information.)þÿÿÿî€$€€ $…»pc=bor(equal(md,0),equal(md,3)); x=if(pc,sin(getosc(i*.5,0,0)*2*3.1415)+if(kp,(rand(3)-1)*.2,0),0); y=if(pc,sin(getosc(i*.5+.5,0,0)*2*3.1415)+if(kp,(rand(3)-1)*.2,0),0); pc=equal(md,1); x=if(pc,cos(i*6.28)*mv2,x); y=if(pc,sin(i*6.28)*mv2,y); pc=equal(md,2); mv3_=(i*mv3)%(mv3+1)/mv3;m3_=rand(10)*.1; x=if(pc,cos(mv3_*6.28)*m3_,x); y=if(pc,sin(mv3_*6.28)*m3_,y); pc=equal(md,3); x=if(pc,i*2-1,x); y=if(pc,getosc(i,0,0)*.5,y);ht=t-0.05;n=getspec(0,.1,0)*50;kp=if(n,0,1);n=if(kp,10,n);iw=2/w;ih=2/h;mv2=-.5+getspec(0,.1,0);x=0;y=0;7x=rand(7);md=if(x,md,rand(4));mv3=if(x,mv3,rand(5)+3); n=0;md=0;ÿÿÿ ( €$´«x=0;y=i*.1-.05; red=pow((sin(t+ro+i*2*rf)*.4+.4)*ci, 1.3); green=pow((sin(t+go+i*2*gf)*.4+.4)*(ci*.8+.2), 1.3); blue=pow((sin(t+bo+i*2*bf)*.4+.4)*(ci*.5+.5)+.05, 1.3);Qt=t-0.05;aa=aa*0.7;ro=ro*.8+rot*.2;go=go*.8+got*.2;bo=bo*.8+bot*.2;ci=ci*.95+.01xaa=0.0;rot=rand(100)/100*6.28;got=rand(100)/100*6.28;bot=rand(100)/100*6.28;ci=1;rf=rand(4)+1;gf=rand(4)+1;bf=rand(4)+1n=30;ro=0;go=2.0;bo=4.0;rot=0;( €$·®y=0;x=i*.1-.05; red=pow((sin(t+ro+i*2*rf)*.4+.4)*ci*1.2, 1.3); green=pow((sin(t+go+i*2*gf)*.4+.4)*(ci+.05)*1.2, 1.3); blue=pow((sin(t+bo+i*2*bf)*.4+.4)*(ci+.1)*1.2, 1.3);Qt=t-0.05;aa=aa*0.7;ro=ro*.8+rot*.2;go=go*.8+got*.2;bo=bo*.8+bot*.2;ci=ci*.95+.01xaa=0.0;rot=rand(100)/100*6.28;got=rand(100)/100*6.28;bot=rand(100)/100*6.28;ci=1;rf=rand(4)+1;gf=rand(4)+1;bf=rand(4)+1n=30;ro=0;go=2.0;bo=4.0;rot=0;-ÿx=x*.02;y=y*.02 ,+‘Iy=y*af; dx1=x*cz-y*sz; dy1=x*sz+y*cz; dy2=dy1*cx-1.2*sx; dz2=dy1*sx+1.2*cx; dx3=dx1*cy-dz2*sy; dz3=dx1*sy+dz2*cy; k1=((oz-if(above(dz3,0),1,-1))/dz3)*2; k1=if(below(k1,0),-1000,k1); k2=((oy-if(above(dy2,0),1,-1))/dy2)*2; k2=if(below(k2,0),-1000,k2); k3=((ox-if(above(dx3,0),1,-1))/dx3)*2; k3=if(below(k3,0),-1000,k3); k=max(max(k1,k2),k3); ix=-ox+dx3*k;iy=-oy+dy2*k;iz=-oz+dz3*k; kw=equal(k,-100);alpha=if(kw,0,1); x=if(equal(k,k3),iy-oy,ix-ox)*.45; y=if(equal(k,k1),iy-oy,iz-oz)*.45; d=max(abs(x),abs(y)); alpha=if(bor(above(k,10),below(k,0)),0,1.8-sqr(d+.5)); Ât=t+0.39;pt=pt+0.39; ox=sin(pt*.1231);oy=sin(pt*.1);oz=cos(pt*.0913); ol=-bt*.5+3/sqrt(sqr(ox)+sqr(oy)+sqr(oz)); ox=ox*ol;oy=oy*ol;oz=oz*ol; rxo=sin(t*.0373)*cos(t*0.0563)*sin(cos(t*.0631))*.5; ryo=sin(t*.0511)*cos(t*0.071)*sin(cos(t*.0415))*.5; ry=-atan2(ox,oz)+ryo; rx=-atan2(oy,sqrt(sqr(ox)+sqr(oz)))+rxo; rz=sin(t*.053)*cos(t*.117)*sin(cos(t*.0651)); cx=cos(rx);sx=sin(rx);cy=cos(ry);sy=sin(ry);cz=cos(rz);sz=sin(rz); bt=bt*.9;af=h/w -pt=pt+50*max(0,getspec(0,.1,0)*3-1.5); bt=1(t=0;rx=1.57;ry=1.57;rx=0;ry=0;pt=0;bt=0