Sean Breheny wrote: > > At 03:51 PM 11/5/98 -0800, you wrote: > >I'm not sure (I haven't tried it in other words), but I believe the y=y-1 > >statement should be part of the ELSE block that is computing 'switch = > >switch + 4 * (x - y) + 10'. If you look at Andy's code, that line (i.e. > >the y=y-1 line) is indented to the same level. > > BINGO! Thanks Scott, that was the problem. I should have been more careful > when editing that code. The circle it produces is a bit rough, with a large > step size between pixels. I guess that could be changed with some editing > of the code. I really need to take a look at it to see how exactly it > works, when I get some time (yeah, right ) Bytecraft has a nifty routine that breaks the t values up into a smallish lookup table with the slopes rather than the values. It is extremely short. I can't copy it to the list though, because the routine is not mine to copy. -- Friendly Regards /"\ \ / Tjaart van der Walt X ASCII RIBBON CAMPAIGN mailto:tjaart@wasp.co.za / \ AGAINST HTML MAIL |--------------------------------------------------| | WASP International | |R&D Engineer : GSM peripheral services development| |--------------------------------------------------| |SMS mailto: tjaart@sms.wasp.co.za (160 chars max)| | http://www.wasp.co.za/~tjaart/index.html | |Voice: +27-(0)11-622-8686 Fax: +27-(0)11-622-8973| | WGS-84 : 26¡10.52'S 28¡06.19'E | |--------------------------------------------------|