René's URL Explorer Experiment


Title: Camera and projection defaults for Python. by tychedelia · Pull Request #274 · processing/libprocessing · GitHub

Open Graph Title: Camera and projection defaults for Python. by tychedelia · Pull Request #274 · processing/libprocessing

X Title: Camera and projection defaults for Python. by tychedelia · Pull Request #274 · processing/libprocessing

Description: Camera and projection defaults for Python. Adds camera(), perspective() and ortho() as Python globals and makes their arguments optional, so they behave like Processing's. camera() with no arguments puts the default mode_3d() view back. camera(eye, center, up) takes three vectors or nine numbers like Processing perspective() arguments are all optional and default to the mode_3d() view (60 degree fov, canvas aspect, near 1, far ten times the camera distance) if you leave out aspect, it follows the canvas, so resizing the window doesn't stretch things ortho() arguments are optional too and default to the canvas bounds, like Processing's ortho() the mode_3d() numbers live in one ViewDefaults now instead of being worked out inline, so all of these use the same values camera() flushes first, so anything drawn before the call keeps the view it was drawn with The ffi, node and wasm frontends still pass an explicit aspect, so nothing changes for them. Stack created with GitHub Stacks CLI • Give Feedback 💬

Open Graph Description: Camera and projection defaults for Python. Adds camera(), perspective() and ortho() as Python globals and makes their arguments optional, so they behave like Processing's. camera() with no arg...

X Description: Camera and projection defaults for Python. Adds camera(), perspective() and ortho() as Python globals and makes their arguments optional, so they behave like Processing's. camera() with no...

Opengraph URL: https://github.com/processing/libprocessing/pull/274

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.4

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:dc9d07df-1df2-e5e4-f37b-d3443c28d161
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idEB82:2BB16:3FE82E:5346CE:6B061A4F
html-safe-nonceb5e35282ac6f40afc6b2ebe615978d975b5dc852a38a4a1334abf36880f4966b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQjgyOjJCQjE2OjNGRTgyRTo1MzQ2Q0U6NkIwNjFBNEYiLCJ2aXNpdG9yX2lkIjoiNjkwMTQ1MjY2MTkwNTAzNzkwNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaca07d31a979e95524e9095ddda2a198ef487eab5b92848f36dc748c837189284e
hovercard-subject-tagpull_request:5288190119
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/processing/libprocessing/pull/274/files
twitter:imagehttps://avatars.githubusercontent.com/u/10366310?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/10366310?s=400&v=4
og:image:altCamera and projection defaults for Python. Adds camera(), perspective() and ortho() as Python globals and makes their arguments optional, so they behave like Processing's. camera() with no arg...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None97d4714e567728e1f85f88b0cf68c89f0f8a3dc41e8869af7aeb8195ad990374
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/processing/libprocessing git https://github.com/processing/libprocessing.git
octolytics-dimension-user_id1617169
octolytics-dimension-user_loginprocessing
octolytics-dimension-repository_id1101329545
octolytics-dimension-repository_nwoprocessing/libprocessing
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1101329545
octolytics-dimension-repository_network_root_nwoprocessing/libprocessing
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release866f202ebf7ac5aff8f633417d9fd8a53818a977
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/processing/libprocessing/pull/274/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fprocessing%2Flibprocessing%2Fpull%2F274%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fprocessing%2Flibprocessing%2Fpull%2F274%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=processing%2Flibprocessing
Reloadhttps://github.com/processing/libprocessing/pull/274/files
Reloadhttps://github.com/processing/libprocessing/pull/274/files
Reloadhttps://github.com/processing/libprocessing/pull/274/files
processinghttps://github.com/processing
libprocessinghttps://github.com/processing/libprocessing
Codehttps://github.com/processing/libprocessing
Issues67 (67)https://github.com/processing/libprocessing/issues
Pull requests10 (10)https://github.com/processing/libprocessing/pulls
Actionshttps://github.com/processing/libprocessing/actions
Projectshttps://github.com/processing/libprocessing/projects
Wikihttps://github.com/processing/libprocessing/wiki
Security and qualityhttps://github.com/processing/libprocessing/security
Insightshttps://github.com/processing/libprocessing/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fprocessing%2Flibprocessing%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fprocessing%2Flibprocessing%2Fissues%2Fnew%2Fchoose
catilachttps://github.com/catilac
mainhttps://github.com/processing/libprocessing/tree/main
py-camerahttps://github.com/processing/libprocessing/tree/py-camera
Conversation 1 https://github.com/processing/libprocessing/pull/274
Commits 1 https://github.com/processing/libprocessing/pull/274/commits
Checks 5 https://github.com/processing/libprocessing/pull/274/checks
Files changed https://github.com/processing/libprocessing/pull/274/files
Please reload this pagehttps://github.com/processing/libprocessing/pull/274/files
Camera and projection defaults for Python. https://github.com/processing/libprocessing/pull/274/files#top
Show all changes 1 commit https://github.com/processing/libprocessing/pull/274/files
6a7f3b5 Camera and projection defaults for Python. tychedelia Nov 12, 2026 https://github.com/processing/libprocessing/pull/274/commits/6a7f3b5df1a2e994d106446b5c969f8df5aad5c7
Clear filters https://github.com/processing/libprocessing/pull/274/files
Please reload this pagehttps://github.com/processing/libprocessing/pull/274/files
Please reload this pagehttps://github.com/processing/libprocessing/pull/274/files
lib.rs https://github.com/processing/libprocessing/pull/274/files#diff-0c768253ad3c8c71da78e15fe59b798eeedad6c26c4912c9e32f64e60ae704b9
lib.rs https://github.com/processing/libprocessing/pull/274/files#diff-7b7a09fd2facc492458771ddbff41782dce86f9817544bb5da9595aa41624b06
graphics.rs https://github.com/processing/libprocessing/pull/274/files#diff-5e646152af1601f4260e98e1ca6b71ba58553e0507e4d0ebc4eb72bbe2bd27a2
lib.rs https://github.com/processing/libprocessing/pull/274/files#diff-1ec2585043fa3ad733b06c34ed1af0c9938bdca17c75f4066e5e8fadecfc540c
gltf.rs https://github.com/processing/libprocessing/pull/274/files#diff-922e307e5325530b31a486a141e3f0107335a80ec4c50899f0322f8da16fccfe
graphics.rs https://github.com/processing/libprocessing/pull/274/files#diff-e2cd693c3c9b99e41cf96c4943ae2064d4d5fa5f929be4fcdbcdc71f5f49f910
lib.rs https://github.com/processing/libprocessing/pull/274/files#diff-3a676e70510cf46e1ceca32379dff6cb444fc4c05c436b673adc97312aa9e2f4
lib.rs https://github.com/processing/libprocessing/pull/274/files#diff-edd9544a814bc52933adfc1334102e224a5090e5a6c68664eb0163434a93c653
crates/processing_ffi/src/lib.rshttps://github.com/processing/libprocessing/pull/274/files#diff-0c768253ad3c8c71da78e15fe59b798eeedad6c26c4912c9e32f64e60ae704b9
View file https://github.com/processing/libprocessing/blob/6a7f3b5df1a2e994d106446b5c969f8df5aad5c7/crates/processing_ffi/src/lib.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/processing/libprocessing/pull/274/{{ revealButtonHref }}
https://github.com/processing/libprocessing/pull/274/files#diff-0c768253ad3c8c71da78e15fe59b798eeedad6c26c4912c9e32f64e60ae704b9
https://github.com/processing/libprocessing/pull/274/files#diff-0c768253ad3c8c71da78e15fe59b798eeedad6c26c4912c9e32f64e60ae704b9
crates/processing_node/src/lib.rshttps://github.com/processing/libprocessing/pull/274/files#diff-7b7a09fd2facc492458771ddbff41782dce86f9817544bb5da9595aa41624b06
View file https://github.com/processing/libprocessing/blob/6a7f3b5df1a2e994d106446b5c969f8df5aad5c7/crates/processing_node/src/lib.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/processing/libprocessing/pull/274/{{ revealButtonHref }}
https://github.com/processing/libprocessing/pull/274/files#diff-7b7a09fd2facc492458771ddbff41782dce86f9817544bb5da9595aa41624b06
https://github.com/processing/libprocessing/pull/274/files#diff-7b7a09fd2facc492458771ddbff41782dce86f9817544bb5da9595aa41624b06
crates/processing_pyo3/src/graphics.rshttps://github.com/processing/libprocessing/pull/274/files#diff-5e646152af1601f4260e98e1ca6b71ba58553e0507e4d0ebc4eb72bbe2bd27a2
View file https://github.com/processing/libprocessing/blob/6a7f3b5df1a2e994d106446b5c969f8df5aad5c7/crates/processing_pyo3/src/graphics.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/processing/libprocessing/pull/274/{{ revealButtonHref }}
https://github.com/processing/libprocessing/pull/274/files#diff-5e646152af1601f4260e98e1ca6b71ba58553e0507e4d0ebc4eb72bbe2bd27a2
https://github.com/processing/libprocessing/pull/274/files#diff-5e646152af1601f4260e98e1ca6b71ba58553e0507e4d0ebc4eb72bbe2bd27a2
https://github.com/processing/libprocessing/pull/274/files#diff-5e646152af1601f4260e98e1ca6b71ba58553e0507e4d0ebc4eb72bbe2bd27a2
https://github.com/processing/libprocessing/pull/274/files#diff-5e646152af1601f4260e98e1ca6b71ba58553e0507e4d0ebc4eb72bbe2bd27a2
crates/processing_pyo3/src/lib.rshttps://github.com/processing/libprocessing/pull/274/files#diff-1ec2585043fa3ad733b06c34ed1af0c9938bdca17c75f4066e5e8fadecfc540c
View file https://github.com/processing/libprocessing/blob/6a7f3b5df1a2e994d106446b5c969f8df5aad5c7/crates/processing_pyo3/src/lib.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/processing/libprocessing/pull/274/{{ revealButtonHref }}
https://github.com/processing/libprocessing/pull/274/files#diff-1ec2585043fa3ad733b06c34ed1af0c9938bdca17c75f4066e5e8fadecfc540c
https://github.com/processing/libprocessing/pull/274/files#diff-1ec2585043fa3ad733b06c34ed1af0c9938bdca17c75f4066e5e8fadecfc540c
crates/processing_render/src/gltf.rshttps://github.com/processing/libprocessing/pull/274/files#diff-922e307e5325530b31a486a141e3f0107335a80ec4c50899f0322f8da16fccfe
View file https://github.com/processing/libprocessing/blob/6a7f3b5df1a2e994d106446b5c969f8df5aad5c7/crates/processing_render/src/gltf.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/processing/libprocessing/pull/274/{{ revealButtonHref }}
https://github.com/processing/libprocessing/pull/274/files#diff-922e307e5325530b31a486a141e3f0107335a80ec4c50899f0322f8da16fccfe
https://github.com/processing/libprocessing/pull/274/files#diff-922e307e5325530b31a486a141e3f0107335a80ec4c50899f0322f8da16fccfe
crates/processing_render/src/graphics.rshttps://github.com/processing/libprocessing/pull/274/files#diff-e2cd693c3c9b99e41cf96c4943ae2064d4d5fa5f929be4fcdbcdc71f5f49f910
View file https://github.com/processing/libprocessing/blob/6a7f3b5df1a2e994d106446b5c969f8df5aad5c7/crates/processing_render/src/graphics.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/processing/libprocessing/pull/274/{{ revealButtonHref }}
https://github.com/processing/libprocessing/pull/274/files#diff-e2cd693c3c9b99e41cf96c4943ae2064d4d5fa5f929be4fcdbcdc71f5f49f910
https://github.com/processing/libprocessing/pull/274/files#diff-e2cd693c3c9b99e41cf96c4943ae2064d4d5fa5f929be4fcdbcdc71f5f49f910
https://github.com/processing/libprocessing/pull/274/files#diff-e2cd693c3c9b99e41cf96c4943ae2064d4d5fa5f929be4fcdbcdc71f5f49f910
https://github.com/processing/libprocessing/pull/274/files#diff-e2cd693c3c9b99e41cf96c4943ae2064d4d5fa5f929be4fcdbcdc71f5f49f910
https://github.com/processing/libprocessing/pull/274/files#diff-e2cd693c3c9b99e41cf96c4943ae2064d4d5fa5f929be4fcdbcdc71f5f49f910
crates/processing_render/src/lib.rshttps://github.com/processing/libprocessing/pull/274/files#diff-3a676e70510cf46e1ceca32379dff6cb444fc4c05c436b673adc97312aa9e2f4
View file https://github.com/processing/libprocessing/blob/6a7f3b5df1a2e994d106446b5c969f8df5aad5c7/crates/processing_render/src/lib.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/processing/libprocessing/pull/274/{{ revealButtonHref }}
https://github.com/processing/libprocessing/pull/274/files#diff-3a676e70510cf46e1ceca32379dff6cb444fc4c05c436b673adc97312aa9e2f4
https://github.com/processing/libprocessing/pull/274/files#diff-3a676e70510cf46e1ceca32379dff6cb444fc4c05c436b673adc97312aa9e2f4
https://github.com/processing/libprocessing/pull/274/files#diff-3a676e70510cf46e1ceca32379dff6cb444fc4c05c436b673adc97312aa9e2f4
https://github.com/processing/libprocessing/pull/274/files#diff-3a676e70510cf46e1ceca32379dff6cb444fc4c05c436b673adc97312aa9e2f4
crates/processing_wasm/src/lib.rshttps://github.com/processing/libprocessing/pull/274/files#diff-edd9544a814bc52933adfc1334102e224a5090e5a6c68664eb0163434a93c653
View file https://github.com/processing/libprocessing/blob/6a7f3b5df1a2e994d106446b5c969f8df5aad5c7/crates/processing_wasm/src/lib.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/processing/libprocessing/pull/274/{{ revealButtonHref }}
https://github.com/processing/libprocessing/pull/274/files#diff-edd9544a814bc52933adfc1334102e224a5090e5a6c68664eb0163434a93c653
https://github.com/processing/libprocessing/pull/274/files#diff-edd9544a814bc52933adfc1334102e224a5090e5a6c68664eb0163434a93c653
Please reload this pagehttps://github.com/processing/libprocessing/pull/274/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.