Title: Missing math constants `THIRD_PI`, `DEG_TO_RAD`, `RAD_TO_DEG` · Issue #202 · processing/libprocessing · GitHub
Open Graph Title: Missing math constants `THIRD_PI`, `DEG_TO_RAD`, `RAD_TO_DEG` · Issue #202 · processing/libprocessing
X Title: Missing math constants `THIRD_PI`, `DEG_TO_RAD`, `RAD_TO_DEG` · Issue #202 · processing/libprocessing
Description: Following up on #138 which added PI, TWO_PI, HALF_PI, QUARTER_PI, TAU, Processing also sets the following math constants: THIRD_PI DEG_TO_RAD RAD_TO_DEG I wasn't aware of these when I wrote #128, so shoutout to GoToLoop for bringing this...
Open Graph Description: Following up on #138 which added PI, TWO_PI, HALF_PI, QUARTER_PI, TAU, Processing also sets the following math constants: THIRD_PI DEG_TO_RAD RAD_TO_DEG I wasn't aware of these when I wrote #128, s...
X Description: Following up on #138 which added PI, TWO_PI, HALF_PI, QUARTER_PI, TAU, Processing also sets the following math constants: THIRD_PI DEG_TO_RAD RAD_TO_DEG I wasn't aware of these when I wrote #12...
Opengraph URL: https://github.com/processing/libprocessing/issues/202
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Missing math constants `THIRD_PI`, `DEG_TO_RAD`, `RAD_TO_DEG`","articleBody":"Following up on #138 which added `PI`, `TWO_PI`, `HALF_PI`, `QUARTER_PI`, `TAU`, Processing also sets the following math constants:\n\n- [`THIRD_PI`](https://processing.github.io/processing4-javadocs/constant-values.html#processing.core.PConstants.THIRD_PI)\n- [`DEG_TO_RAD`](https://processing.github.io/processing4-javadocs/constant-values.html#processing.core.PConstants.DEG_TO_RAD)\n- [`RAD_TO_DEG`](https://processing.github.io/processing4-javadocs/constant-values.html#processing.core.PConstants.RAD_TO_DEG) \n\nI wasn't aware of these when I wrote #128, so shoutout to GoToLoop for [bringing this up](https://discourse.processing.org/t/why-are-there-individual-keywords-for-different-multiples-of/48519/5?u=processingorg) on the forum.\n\n**Side note:** the full list of Processing's constants can be found in the Javadoc:\n- Documentation: https://processing.github.io/processing4-javadocs/processing/core/PConstants.html\n- Values: https://processing.github.io/processing4-javadocs/constant-values.html#processing.core.PConstants","author":{"url":"https://github.com/SableRaf","@type":"Person","name":"SableRaf"},"datePublished":"2026-07-14T11:11:31.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/202/libprocessing/issues/202"}
| 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:0536b63e-c403-8643-e074-dfa83e5c74a1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C5E4:2EB4B1:18BC39F:22C97FD:6A5FAF9B |
| html-safe-nonce | 22d5daa41872bce08c80594f455744caefcaad27730fdb675699cdba6ca3f0d3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNUU0OjJFQjRCMToxOEJDMzlGOjIyQzk3RkQ6NkE1RkFGOUIiLCJ2aXNpdG9yX2lkIjoiNDc2NTc3MTc5ODc3MTkwNDQxMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 932d401e747192b9b4a017753f2f2aa381a5958b600140b0d34c53146c3d07b3 |
| hovercard-subject-tag | issue:4882486227 |
| 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/202/issue_layout |
| twitter:image | https://opengraph.githubassets.com/11d6a39bc7f127f203927b3aa54d3ea6c457ce6d98f395a31fa5d9beb6177869/processing/libprocessing/issues/202 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/11d6a39bc7f127f203927b3aa54d3ea6c457ce6d98f395a31fa5d9beb6177869/processing/libprocessing/issues/202 |
| og:image:alt | Following up on #138 which added PI, TWO_PI, HALF_PI, QUARTER_PI, TAU, Processing also sets the following math constants: THIRD_PI DEG_TO_RAD RAD_TO_DEG I wasn't aware of these when I wrote #128, s... |
| 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 | 1ec7085bd7214c509393537f93bc21c48856549e31538b70bdb3cc4df7eb5f70 |
| 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 | b0ff0ab699186747983f122c82d4ebc71a1c22b4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width