Title: NameError: name 'frame_rate' is not defined · Issue #199 · processing/libprocessing · GitHub
Open Graph Title: NameError: name 'frame_rate' is not defined · Issue #199 · processing/libprocessing
X Title: NameError: name 'frame_rate' is not defined · Issue #199 · processing/libprocessing
Description: Found while porting Basics / Structure / SetupDraw (see processing/processing-examples-mewnala#110) Code """ Setup and Draw. The code inside the draw() function runs continuously from top to bottom until the program is stopped. """ from ...
Open Graph Description: Found while porting Basics / Structure / SetupDraw (see processing/processing-examples-mewnala#110) Code """ Setup and Draw. The code inside the draw() function runs continuously from top to bottom...
X Description: Found while porting Basics / Structure / SetupDraw (see processing/processing-examples-mewnala#110) Code """ Setup and Draw. The code inside the draw() function runs continuously fro...
Opengraph URL: https://github.com/processing/libprocessing/issues/199
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"NameError: name 'frame_rate' is not defined","articleBody":"Found while porting `Basics` / `Structure` / `SetupDraw` (see https://github.com/processing/processing-examples-mewnala/issues/110)\n\n### Code\n\n```python\n\"\"\"\nSetup and Draw.\n\nThe code inside the draw() function runs continuously\nfrom top to bottom until the program is stopped.\n\"\"\"\nfrom mewnala import *\ny = 100\n\n\ndef setup():\n \"\"\"\n The statements in the setup() function\n execute once when the program begins\n \"\"\"\n size(640, 360) # Size must be the first statement\n stroke(255) # Set line drawing color to white\n frame_rate(30)\n\n\ndef draw():\n \"\"\"\n The statements in draw() are executed until the\n program is stopped. Each statement is executed in\n sequence and after the last line is read, the first\n line is executed again.\n \"\"\"\n global y\n background(0) # Set the background to black\n y = y - 1\n if y \u003c 0:\n y = height\n\n line(0, y, width, y)\nrun()\n\n```","author":{"url":"https://github.com/SableRaf","@type":"Person","name":"SableRaf"},"datePublished":"2026-07-13T17:29:10.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/199/libprocessing/issues/199"}
| 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:b2e6ae2b-fa76-1675-3565-0e895c31b921 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CD68:11682C:3357E45:43D681A:6A5D105D |
| html-safe-nonce | f120388d097a0578ab69b8c7f006aaf1ff57284f6c1dcb15ebac2d3e0ee127c0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRDY4OjExNjgyQzozMzU3RTQ1OjQzRDY4MUE6NkE1RDEwNUQiLCJ2aXNpdG9yX2lkIjoiMjYxNDI0ODgyNDIyNDE1Nzc4OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 659592548a9b332cc84ba3077e927095b009806ac6ad27c4434c4349a1d08c57 |
| hovercard-subject-tag | issue:4876059627 |
| 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/libprocessing/199/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b3ce707e53dd113026e789a82173a322631f504c0c207f152a91379dfc779409/processing/libprocessing/issues/199 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b3ce707e53dd113026e789a82173a322631f504c0c207f152a91379dfc779409/processing/libprocessing/issues/199 |
| og:image:alt | Found while porting Basics / Structure / SetupDraw (see processing/processing-examples-mewnala#110) Code """ Setup and Draw. The code inside the draw() function runs continuously from top to bottom... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | SableRaf |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| turbo-cache-control | no-preview |
| go-import | github.com/processing/libprocessing git https://github.com/processing/libprocessing.git |
| octolytics-dimension-user_id | 1617169 |
| octolytics-dimension-user_login | processing |
| octolytics-dimension-repository_id | 1101329545 |
| octolytics-dimension-repository_nwo | processing/libprocessing |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1101329545 |
| octolytics-dimension-repository_network_root_nwo | processing/libprocessing |
| 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 | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width