FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Bugs
   Software Bugs
(Moderator: fry)
   Weird 69 ellipse bug
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: Weird 69 ellipse bug  (Read 446 times)
skloopy

WWW
Weird 69 ellipse bug
« on: Apr 29th, 2004, 8:50am »

Okay this is going to sound nitpicky but it matters to me so wahahaha!
 
If you are running a sketch and are drawing an ellipse and everything is fine and P5 is using the quick&pretty ellipse drawing routine, and then you draw a line with alpha, BAM! The ellipse switches to segmented mode forever. it doesn't matter if you're still drawing the line.
 
I made this little example
 
Code:
int frame;
 
void setup()
{
  size(100,100);
}
 
void loop()
{
  background(0);
  
  if(mousePressed) {
    stroke(255,128);
    line(0,0,width,height);
  }
  
  noStroke();
  fill(255);
  ellipseMode(CENTER_DIAMETER);
  ellipse(mouseX,sin(frame/1000.0)*50+50,50,50);
  
  frame++;
}
« Last Edit: Apr 29th, 2004, 8:50am by skloopy »  
fry


WWW
Re: Weird 69 ellipse bug
« Reply #1 on: Apr 29th, 2004, 6:08pm »

very very odd.. at first i thought it had to do with the 2D/3D auto-sensing stuff.. but it looks like it might instead have to do with how the zbuffer works. very weird. or maybe that stroke() isn't getting turned off. hmm.
 
Pages: 1 

« Previous topic | Next topic »