Title: 3d rendering Issue: · Issue #182 · vpython/glowscript · GitHub
Open Graph Title: 3d rendering Issue: · Issue #182 · vpython/glowscript
X Title: 3d rendering Issue: · Issue #182 · vpython/glowscript
Description: Intent: We are trying only to display 3d objects with their default parameters Output: But it only showing a black screen after execution. System: Linux operating system: Fedora Linux 39 (Workstation Edition), browser: Firefox version 12...
Open Graph Description: Intent: We are trying only to display 3d objects with their default parameters Output: But it only showing a black screen after execution. System: Linux operating system: Fedora Linux 39 (Workstati...
X Description: Intent: We are trying only to display 3d objects with their default parameters Output: But it only showing a black screen after execution. System: Linux operating system: Fedora Linux 39 (Workstati...
Opengraph URL: https://github.com/vpython/glowscript/issues/182
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"3d rendering Issue:","articleBody":"Intent: We are trying only to display 3d objects with their default parameters\r\nOutput: But it only showing a black screen after execution.\r\n\r\nSystem: Linux operating system: Fedora Linux 39 (Workstation Edition), browser: Firefox version 120\r\n\r\n```python\r\nfrom vpython import *\r\nfrom sys import exit\r\n\r\ndef menu():\r\n print('1. Curve')\r\n print('2. Sphere')\r\n print('3. Cone')\r\n print('4. Arrow')\r\n print('5. Rings')\r\n print('6. Cylinder')\r\n\r\nch = \"y\"\r\nwhile ch != \"n\":\r\n scene = canvas()\r\n menu()\r\n\r\n choice = int(input('Enter choice: '))\r\n if choice == 1:\r\n curve()\r\n elif choice == 2:\r\n sphere()\r\n elif choice == 3:\r\n cone()\r\n elif choice == 4:\r\n arrow()\r\n elif choice == 5:\r\n ring()\r\n elif choice == 6:\r\n cylinder()\r\n else:\r\n print('Invalid choice')\r\n\r\n ch = input('Do you want to continue (y/n)? ').lower()\r\n scene.delete()\r\n\r\nexit()\r\n\r\n```\r\nTried to resolve this issue: By passing some parameters, by redrawing the screen, updating the screen etc.","author":{"url":"https://github.com/ramayanbindas","@type":"Person","name":"ramayanbindas"},"datePublished":"2024-02-21T13:41:33.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":9},"url":"https://github.com/182/glowscript/issues/182"}
| 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:e6d022fc-9e7a-af85-93ca-ae1876f1751d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8E62:30A418:183DAF0:1F154F2:6975BECA |
| html-safe-nonce | 83d5b6a26a80f079df3d39a93e567afb201019507ce647051a11dbd49fc5466c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RTYyOjMwQTQxODoxODNEQUYwOjFGMTU0RjI6Njk3NUJFQ0EiLCJ2aXNpdG9yX2lkIjoiMjE0OTIxMTMxNjI4ODA1ODM0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | d6df5664ec9d5bf2fb2bc29b99ec0494d371d9551a9072cf062e726e8fdc3412 |
| hovercard-subject-tag | issue:2146790238 |
| 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/vpython/glowscript/182/issue_layout |
| twitter:image | https://opengraph.githubassets.com/702b8c969030dd151e4063eb973a2b2a047f09ed1e99083f7435bdf2f4348028/vpython/glowscript/issues/182 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/702b8c969030dd151e4063eb973a2b2a047f09ed1e99083f7435bdf2f4348028/vpython/glowscript/issues/182 |
| og:image:alt | Intent: We are trying only to display 3d objects with their default parameters Output: But it only showing a black screen after execution. System: Linux operating system: Fedora Linux 39 (Workstati... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ramayanbindas |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4a4bf5f4e28041a9d2e5c107d7d20b78b4294ba261cab243b28167c16a623a1f |
| turbo-cache-control | no-preview |
| go-import | github.com/vpython/glowscript git https://github.com/vpython/glowscript.git |
| octolytics-dimension-user_id | 1280757 |
| octolytics-dimension-user_login | vpython |
| octolytics-dimension-repository_id | 187905631 |
| octolytics-dimension-repository_nwo | vpython/glowscript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 187905631 |
| octolytics-dimension-repository_network_root_nwo | vpython/glowscript |
| 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 | 488b30e96dfd057fbbe44c6665ccbc030b729dde |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width