-
-
Notifications
You must be signed in to change notification settings - Fork 158
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Most appropriate sub-area of Processing 4?
Other (specify if possible)
Processing version
4.5.2
Operating system
windows
Bug description
Stroke is shaking when rotates. Only stroke does that, not the filled shape itself.
void draw(){
noFill();
stroke(0, 150, 255); // Blue color
strokeWeight(4);
rotate(radians(angle));
arc(0, 0, 150, 150, 0, PI + HALF_PI);
}
Steps to reproduce this
-
set frameRate to 60
-
run code:
void draw(){
noFill();
stroke(0, 150, 255); // Blue color
strokeWeight(4);
rotate(radians(angle));
arc(x, y, 150, 150, 0, PI + HALF_PI);
}
OR
void draw(){
noFill();
stroke(0, 150, 255); // Blue color
strokeWeight(4);
//rotate(radians(angle));
arc(x, y, 150, 150, radians(angle), PI + HALF_PI + radians(angle));
}
- observe shaking of the rotating arc
snippet
float angle = 0;
void setup() {
size(400, 200);
frameRate(60);
}
void draw() {
background(30);
pushMatrix();
translate(width/2, height/2);
noFill();
stroke(0, 150, 255);
strokeWeight(4);
rotate(radians(angle));
arc(0, 0, 150, 150, 0, PI + HALF_PI);
popMatrix();
angle += 5;
}Additional context
No response
Would you like to work on the issue?
No, I’m just reporting the issue
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working