[algogeeks] Re: a better way to draw circle using curses

2006-03-18 Thread SPX2
you can always do sumthin like this for i=1 to 360 degrees ,i++ (or i+=0.5 for better precision) draw point at point.x=sin(i)*radius point.y=cos(i)*radius for better drawing you could also choose some adjacent points to the current point.. --~--~-~--~

[algogeeks] Re: a better way to draw circle using curses

2006-03-15 Thread DaVinci
shalinmangar wrote: > Haven't had a look at your code, but IMHO you can get a lot of help if > you look up some circle drawing algos from any Graphics textbook. Yes,Thanks.I had found where the problem is. --~--~-~--~~~---~--~~ You received this message because

[algogeeks] Re: a better way to draw circle using curses

2006-03-14 Thread shalinmangar
Haven't had a look at your code, but IMHO you can get a lot of help if you look up some circle drawing algos from any Graphics textbook. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To po