I'm trying to make a circle w/ blurred edges. I've been able to make some pretty funky shapes, but
can't quite get it there, with my remedial geometry......what I wouldd like is, a solid center that fades off
around the edges......
thanks in advance
ck
(
w = SCWindow("spirit-london", Rect(200,20,1000,1000)).front;
w.view.background = "" class="Apple-style-span" color="#0026AD">Color.new255(20, 1,0);
w.drawHook = {
200.do{|i|
var r;
r = Rect(200-(i/8),250-(i/8), (160-(i/8)), (160-(i/8)));
Color.new255(222-(i*(222/100)),184-(i*(184/100)),135-(i*(135/100))).set;
Pen.fillOval(r);
};
};
w.front;
CmdPeriod.doOnce({ w.close });
)
_______________________________________________
sc-users mailing list