Thread: Tips&Tricks in AVS View Single Post 13th March 2003, 07:20 #44 shreyas_potnis Major Dude   Join Date: Jan 2003 Location: Mumbai, India Posts: 787 Tips and Tricks 2 Tuggummi started the first one, but that was long ago. I am sure there will be many new tricks (and Tips). Just post them here, Here's one: when the amount of ssc's is quite large then cramp all of these into one.: eg: code:init: n=1000;a1=1/(499-1);vrem=n/10;pi=acos(-1);tpi=acos(-1)*2 point: cp=bnot(cp);cn=cn+1;i1=i1+a1;colc=bnot(equal(cn,501)); trans=above(cn,500);v1=if(bnot(cn%vrem),v,v1+abs(v/10)); d=if(cp,1+v1*0.2,.98);th=t+i1*tpi; outx=sin(th)*d*r;outy=cos(th)*d*r; inx=bnot(cp)*sin(th)*.3;iny=bnot(cp)*cos(th)*.3; x=if(trans,outx,inx)+ox;y=if(trans,outy,iny)+oy; red=colc;green=colc*.5;blue=0; frame: fr=fr+.01;t=t+ti*.1;ti=ti*.8;r=.4;cn=0;i1=0;ox=sin(fr)/2;oy=cos(fr)/2 beat: ti=1;r=.5;hu=rand(618)*.01;fr=fr+sin(t*hu) the trick is to draw everything in one ssc and then blacken out the point connecting the two objects. then use a maximum or addictive blend to hide the trick http://home.iitb.ac*****~shreyaspotnis  