
did find this in the avs but don't understand the names..
£ colorcode;
dy=(py-oy);
k=max(0,.03-dy*.3);l=max(0,dy*.1+.03);
vg=(red*2+.08);vb=(red*1.5+k*2);vr=(red*2.5+l*2);
d=min(1,max(0,((sqr(hx-hcx)+sqr(hy-hcy))-hip*2.7+1)));
vvr=hur+d*(hvr-hur);
vvg=hug+d*(hvg-hug);
vvb=hub+d*(hvb-hub);
red=vr*vvr+vg*vvg+vb*vvb;
green=vr*vvb+vg*vvr+vb*vvg;
blue=vr*vvg+vg*vvb+vb*vvr;
gx=if(below(gx,g-1),gx+1,0);
gy=if(equal(gx,0),gy+1,gy);
skip=below(red+green+blue,0);