

int i,xx,yy,R=100;
erase(0,0,0,1);
for(i=0;i<360;i++)
{
    xx=cos(degtorad(i))*R;
    yy=sin(degtorad(i))*R;
    setpen(255,255,255,0,1);
    putpixel(width/2+xx,height/2+yy);
}


 and I can't deny it is a circle, and what about just one curve line ? Is it possible to draw solid ?
 and I can't deny it is a circle, and what about just one curve line ? Is it possible to draw solid ?

int i, xx, yy, R = 100;
erase(0, 0, 0, 1);
for (i = 0; i < 360; i ++)
{
    xx = cos(degtorad(i)) * R;
    yy = sin(degtorad(i)) * R;
    setpen(255, 255, 255, 0.5, 4);
    putpixel(width / 2 + xx, height / 2 + yy);
}
for (i = 0; i < 360; i ++)
{
    xx = cos(degtorad(i)) * R;
    yy = sin(degtorad(i)) * R;
    setpen(255, 255, 255, 0, 2);
    putpixel(width / 2 + xx, height / 2 + yy);
}

 circling.zip
 circling.zip

jimmynewguy wrote:Kall's brother





jimmynewguy wrote:yea, you were in this discussion bee!
viewtopic.php?f=5&t=4600&hilit=counting+a+circle+path&start=15










 
   
   !
 !





Users browsing this forum: No registered users and 1 guest