|
Author |
Topic: smooth circles? (Read 330 times) |
|
roland_g
|
smooth circles?
« on: Jan 5th, 2005, 6:17pm » |
|
How can you make circles appear more smooth? I am obviously too dumb to get them look right. Code: void setup (){ size (500,500); background(#280915); } void loop (){ smooth(); noStroke(); fill(#940B35); ellipseMode(CENTER_DIAMETER); ellipse(height/2,width/2, 60, 60); } |
|
|
« Last Edit: Jan 5th, 2005, 6:22pm by roland_g » |
|
|
|
|
bsr
|
Re: smooth circles?
« Reply #1 on: Jan 5th, 2005, 7:59pm » |
|
that code is continually overwriting whats gone before, that's why it looks so ugly, try this: Code: size (500,500); background(#280915); smooth(); noStroke(); fill(#940B35); ellipseMode(CENTER_DIAMETER); ellipse(height/2,width/2, 60, 60); |
|
|
« Last Edit: Jan 5th, 2005, 8:00pm by bsr » |
|
http://hippocamp.net
|
|
|
bsr
|
Re: smooth circles?
« Reply #2 on: Jan 6th, 2005, 12:58pm » |
|
or put a background refresh in the loop: Code: void setup (){ size (500,500); background(#280915); } void loop (){ background(#280915); smooth(); noStroke(); fill(#940B35); ellipseMode(CENTER_DIAMETER); ellipse(height/2,width/2, 60, 60); } |
|
|
http://hippocamp.net
|
|
|
roland_g
|
Re: smooth circles?
« Reply #3 on: Jan 14th, 2005, 5:46pm » |
|
thanks bsr
|
|
|
|
|