|
Author |
Topic: filled ellipse overlapping stroked ellipse (Read 1052 times) |
|
kevinP
|
filled ellipse overlapping stroked ellipse
« on: May 13th, 2004, 12:52am » |
|
Hi, I think this is probably already noted, but just in case not... Code: void draw() { size(200, 200); ellipseMode(CENTER_DIAMETER); rectMode(CENTER_DIAMETER); translate(width/2, width/2); noFill(); smooth(); stroke(33,33,33); ellipse(0,0, 76,76); // smaller circle/square should hide underlying ellipse noStroke(); fill(200,200,0); translate(38, 0); ellipse(0,0, 30,30); translate(-38, 38); rect(0,0, 30,30); } |
| [Hmmm... I thought this was related to smooth(), but now I have another instance where it makes no difference whether I use smooth() or not.] Alpha 0068, Linux -K
|
« Last Edit: May 13th, 2004, 1:26am by kevinP » |
|
Kevin Pfeiffer
|
|
|
|