Hi Marc, I'm trying to duplicate what Felipe did months ago with Graphics32. See attached image. I have now implemented Wu's anti-aliased line drawing algorithm in fpGUI and wanted to recreate that example. :-)
My spirals seem to be way to big or lob sided (one side expands more than the other). I'll try what you said and report back. Thanks, - Graeme - On 02/12/2007, Marc Weustink <[EMAIL PROTECTED]> wrote: > > Bitmap.Canvas.LineTo( > Round(X + Cos(Theta) * Theta), > Round(Y + Sin(Theta) * Theta) > ): > > (or do I miss something here ?) > > No that you only get a spiral with max radius = 15 here. If yo want to > draw it in a 100x100 box, with x,y as center: > > Bitmap.Canvas.LineTo( > Round(X + Cos(Theta) * Theta * 50 / 15), > Round(Y + Sin(Theta) * Theta * 50 / 15) > ): > > > Marc
<<attachment: Screenshot_3.png>>
