Title: ShapeElementList only supports 170 num_segments? Too little · Issue #2794 · pythonarcade/arcade · GitHub
Open Graph Title: ShapeElementList only supports 170 num_segments? Too little · Issue #2794 · pythonarcade/arcade
X Title: ShapeElementList only supports 170 num_segments? Too little · Issue #2794 · pythonarcade/arcade
Description: Problem ShapeElementList, as an efficient method for drawing batches, only supports 170 num_segments, which is too few or there may be some bugs. Source code example This is the official code for create_ellipse_filled, num_segments is a ...
Open Graph Description: Problem ShapeElementList, as an efficient method for drawing batches, only supports 170 num_segments, which is too few or there may be some bugs. Source code example This is the official code for c...
X Description: Problem ShapeElementList, as an efficient method for drawing batches, only supports 170 num_segments, which is too few or there may be some bugs. Source code example This is the official code for c...
Opengraph URL: https://github.com/pythonarcade/arcade/issues/2794
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ShapeElementList only supports 170 num_segments? Too little","articleBody":"### Problem\nShapeElementList, as an efficient method for drawing batches, only supports 170 **num_segments**, which is too few or there may be some bugs.\n\n### Source code example\nThis is the official code for create_ellipse_filled, **num_segments** is a important argument, no problem.\n```\ndef create_ellipse_filled(\n center_x: float,\n center_y: float,\n width: float,\n height: float,\n color: RGBA255,\n tilt_angle: float = 0,\n num_segments: int = 128,\n) -\u003e Shape:\n\n Args:\n center_x: X position of the center of the ellipse\n center_y: Y position of the center of the ellipse\n width: Width of the ellipse\n height: Height of the ellipse\n color: A color such as a :py:class:`~arcade.types.Color`\n tilt_angle: Angle to tilt the ellipse\n num_segments: Number of segments to use to draw the ellipse\n```\n### Problem occurred\nBut, if **num_segments\u003e170**, ShapeElementList (ellipse_list) will disappear, **ShapeElementList.draw()** will draw nothing\nAs shown in the following code:\n```\nellipse_list = ShapeElementList()\nellipse = create_ellipse_filled(0, 0, 500, 500, arcade.color.SPANISH_VIOLET, 0, num_segments=170)\nellipse_list.append(ellipse)\nellipse_list.draw() # if num_segments\u003e170, ShapeElementList will disappear\n```\n### Analyze\nRepeated experiments have yielded the number 170, which is a very strange number. This should be a bug, theoretically ShapeElementList should accommodate a much larger quantity of **num_segments** than this 170.\n\n\n","author":{"url":"https://github.com/philox12358","@type":"Person","name":"philox12358"},"datePublished":"2025-11-12T08:21:46.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/2794/arcade/issues/2794"}
| 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:28f91a25-8b16-74c5-adc0-9a1276cb52a0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8588:564B0:1A8CA42:24F6F42:6969287F |
| html-safe-nonce | 760b8996a3859b52a5bbf3583d0d82cb9eeef7dae3205180a56825d99779711a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NTg4OjU2NEIwOjFBOENBNDI6MjRGNkY0Mjo2OTY5Mjg3RiIsInZpc2l0b3JfaWQiOiIxNDQ3OTg0Nzg0NjUyOTcwMTExIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | e47851d140dbae9fddd3548748373730a49bc99032569d773231fb3785ef99e1 |
| hovercard-subject-tag | issue:3615482234 |
| 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/pythonarcade/arcade/2794/issue_layout |
| twitter:image | https://opengraph.githubassets.com/77b612fbd24a23dcac63ecbe3553a96fc8e16b761e2a19aae3ce8f18fd330042/pythonarcade/arcade/issues/2794 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/77b612fbd24a23dcac63ecbe3553a96fc8e16b761e2a19aae3ce8f18fd330042/pythonarcade/arcade/issues/2794 |
| og:image:alt | Problem ShapeElementList, as an efficient method for drawing batches, only supports 170 num_segments, which is too few or there may be some bugs. Source code example This is the official code for c... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | philox12358 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 54182691a21263b584d2e600b758e081b0ff1d10ffc0d2eefa51cf754b43b51d |
| turbo-cache-control | no-preview |
| go-import | github.com/pythonarcade/arcade git https://github.com/pythonarcade/arcade.git |
| octolytics-dimension-user_id | 39569439 |
| octolytics-dimension-user_login | pythonarcade |
| octolytics-dimension-repository_id | 49003082 |
| octolytics-dimension-repository_nwo | pythonarcade/arcade |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49003082 |
| octolytics-dimension-repository_network_root_nwo | pythonarcade/arcade |
| 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 | d69ac0477df0f87da03b8b06cebd187012d7a930 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width