why I can't get a perfect circle by defining the corner radius of a box as half of its width?

oatoat
edited December 2013 in Programming Questions

May I ask why i can't get a perfect circle using the following code? Does this mean the "radius" of the corner is not strictly the radius of a circle? If that's the case, then what's this "radius" referring to?

Screen Shot 2013-12-15 at 4.30.48 pm

background(0);
rectMode(CENTER);
rect(50,50, 100,100, 50);

Answers

Sign In or Register to comment.