Title: rounded rectangle performance in P2D / P3D is extremely poor when stroke is used · Issue #1566 · processing/processing4 · GitHub
Open Graph Title: rounded rectangle performance in P2D / P3D is extremely poor when stroke is used · Issue #1566 · processing/processing4
X Title: rounded rectangle performance in P2D / P3D is extremely poor when stroke is used · Issue #1566 · processing/processing4
Description: MacBook Air M3 Processing 4.5.6 (but also older versions apply) This runs at around 8.5 fps. void setup() { size(800, 800, P2D); frameRate(999); } void draw() { background(0); int cols = 16; int rows = 16; float margin = 50; float gap = ...
Open Graph Description: MacBook Air M3 Processing 4.5.6 (but also older versions apply) This runs at around 8.5 fps. void setup() { size(800, 800, P2D); frameRate(999); } void draw() { background(0); int cols = 16; int ro...
X Description: MacBook Air M3 Processing 4.5.6 (but also older versions apply) This runs at around 8.5 fps. void setup() { size(800, 800, P2D); frameRate(999); } void draw() { background(0); int cols = 16; int ro...
Opengraph URL: https://github.com/processing/processing4/issues/1566
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"rounded rectangle performance in P2D / P3D is extremely poor when stroke is used","articleBody":"\u003cimg width=\"912\" height=\"940\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/7c124940-3131-4881-b104-c6bd2f33cfc8\" />\n\nMacBook Air M3\nProcessing 4.5.6 (but also older versions apply)\n\nThis runs at around 8.5 fps.\n\n```java\nvoid setup() {\n size(800, 800, P2D);\n frameRate(999);\n}\n\nvoid draw() {\n background(0);\n\n int cols = 16;\n int rows = 16;\n float margin = 50;\n float gap = 10;\n\n float rectW = (width - margin * 2 - gap * (cols - 1)) / cols;\n float rectH = (height - margin * 2 - gap * (rows - 1)) / rows;\n\n fill(255, 220, 0);\n stroke(255);\n strokeWeight(2);\n \n for (int y = 0; y \u003c rows; y++) {\n for (int x = 0; x \u003c cols; x++) {\n float px = margin + x * (rectW + gap);\n float py = margin + y * (rectH + gap);\n\n rect(px, py, rectW, rectH, 10);\n }\n }\n\n println(frameRate);\n}\n```","author":{"url":"https://github.com/clankill3r","@type":"Person","name":"clankill3r"},"datePublished":"2026-08-23T12:01:40Z","url":"https://github.com/processing/processing4/issues/1566"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:d6100f7f-3827-912b-910a-8149d67084fb |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A4D4:AB5AE:10FC02:16E532:6B05F795 |
| html-safe-nonce | 4c3b219b1590a0ac087e6fb98d184763814c997b5a2a218aeefe99f0f0f778e2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNEQ0OkFCNUFFOjEwRkMwMjoxNkU1MzI6NkIwNUY3OTUiLCJ2aXNpdG9yX2lkIjoiMjU4MzgzMTA1NDA5NjEzNjA4NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 5b1dc5855dae8319946a5b9aa200df130fa5e7e23dbefebe9f4874ebd918ce19 |
| hovercard-subject-tag | issue:5226776550 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/processing/processing4/1566/issue_layout |
| twitter:image | https://opengraph.githubassets.com/724424838a2b39c0003bd3103606f0bc6f588be4953674f6a78ffb78b2ef3592/processing/processing4/issues/1566 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/724424838a2b39c0003bd3103606f0bc6f588be4953674f6a78ffb78b2ef3592/processing/processing4/issues/1566 |
| og:image:alt | MacBook Air M3 Processing 4.5.6 (but also older versions apply) This runs at around 8.5 fps. void setup() { size(800, 800, P2D); frameRate(999); } void draw() { background(0); int cols = 16; int ro... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | clankill3r |
| hostname | github.com |
| expected-hostname | github.com |
| None | c214754a6652274794ed4e054a7b71be999d69843f103ba54893001d45010ece |
| turbo-cache-control | no-preview |
| go-import | github.com/processing/processing4 git https://github.com/processing/processing4.git |
| octolytics-dimension-user_id | 1617169 |
| octolytics-dimension-user_login | processing |
| octolytics-dimension-repository_id | 844382769 |
| octolytics-dimension-repository_nwo | processing/processing4 |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 844382769 |
| octolytics-dimension-repository_network_root_nwo | processing/processing4 |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7d164a4e71eb333b2b17fd5b17e18efb7855505c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width