Stroke is shaking when rotates
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 35/100
- Issue-Typ
- Bug
- Klarheit
- Muss geklärt werden
- Aktivitätsstatus
- Veraltet
- Tech-Stack
- java
- Bereich
- computer-graphics
Rechercherichtung
Beginne damit, die bereitgestellten setup()- und draw()-Snippets in Processing 4.5.2 unter Windows mit frameRate 60 auszuführen, und vergleiche dann den rotierenden Bogen mit und ohne rotate(). Reproduziere das Zittern der Kontur, während die gefüllte Form stabil bleibt. Als erledigt gilt die Aufgabe, wenn der rotierende Bogen in den bereitgestellten Beispielen ohne sichtbares Zittern der Kontur gerendert wird.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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
- Vorherrschende Sprache
- Java
- Sterne
- 497
- Forks
- 183
- Ø Merge
- 4 Std. 39 Min.
- Gemergte PRs (30 T.)
- 3
Beitragsleitfaden
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus processing/processing4
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 64/100
processing/processing4#1554 · 1 Kommentar ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
processing/processing4#1515 · 1 Reaktion ·
-
bug
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 55/100
processing/processing4#1573 ·
-
startup error Offen
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 25/100
processing/processing4#1569 · 7 Kommentare ·
-
Binaries under bin directory lack executable permissions for the snap and .deb packages for Linux Offenbug
processing/processing4#1567 · 3 Kommentare · 1 Reaktion · 1 zugewiesene Person ·
Alle Issues in processing/processing4
Ähnliche Issues
-
certification
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 80/100
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
-
[BUG] ECR GetAuthorizationToken returns a proxyEndpoint for the default region, not the request's Offenbug ecr
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
-
Needs: Triage Type: Feature request
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
AntennaPod/AntennaPod#8794 ·
-
agentic-workflows
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
github/copilot-sdk#2760 ·