René's URL Explorer Experiment


Title: Python input events and sketch folder asset root. by tychedelia · Pull Request #272 · processing/libprocessing · GitHub

Open Graph Title: Python input events and sketch folder asset root. by tychedelia · Pull Request #272 · processing/libprocessing

X Title: Python input events and sketch folder asset root. by tychedelia · Pull Request #272 · processing/libprocessing

Description: Bunch of Python input cleanup to get closer to how Processing/py5 do it, plus an asset root change that kept biting me while porting examples. callbacks can take an event now, e.g. def mouse_pressed(e) or def key_pressed(e). the no-arg versions still work, we just check the signature MouseEvent has x, y, button, wheel and KeyEvent has key, key_code added mouse_clicked, key_typed and window_resized dropped the mouse_wheel global since it clashed with the callback of the same name, use e.wheel instead window_x / window_y are just normal globals now instead of the special-cased lookup more key constants (F13-F25, numpad, lock keys, right-hand modifiers) key code conversion was copy-pasted across pyo3, ffi and wasm, moved it into processing_input so there's one copy Also the asset root is now the sketch folder itself instead of /assets, so load_image("data/pic.png") just works like it does in Processing.

Open Graph Description: Bunch of Python input cleanup to get closer to how Processing/py5 do it, plus an asset root change that kept biting me while porting examples. callbacks can take an event now, e.g. def mouse_press...

X Description: Bunch of Python input cleanup to get closer to how Processing/py5 do it, plus an asset root change that kept biting me while porting examples. callbacks can take an event now, e.g. def mouse_press...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.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:9e9372a7-5eb1-cd60-bae5-121dd91e5d9f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id81DA:2A9AB5:4005E1:53923B:6B061A50
html-safe-nonce5654943afaf2defd1162ddba734a45439748fd9b06abc2e81a8d78799dd34b3d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MURBOjJBOUFCNTo0MDA1RTE6NTM5MjNCOjZCMDYxQTUwIiwidmlzaXRvcl9pZCI6IjQ1NjU0MzIzNjIwNjYxMjMzNDQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac0175fafb2745ab56114073714f3c0d3833495a51d43d27b5ec25e12609062e90
hovercard-subject-tagpull_request:5288189487
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/272/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:altBunch of Python input cleanup to get closer to how Processing/py5 do it, plus an asset root change that kept biting me while porting examples. callbacks can take an event now, e.g. def mouse_press...
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/272/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fprocessing%2Flibprocessing%2Fpull%2F272%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%2F272%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/272/files
Reloadhttps://github.com/processing/libprocessing/pull/272/files
Reloadhttps://github.com/processing/libprocessing/pull/272/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
tychedeliahttps://github.com/tychedelia
mainhttps://github.com/processing/libprocessing/tree/main
py-inputhttps://github.com/processing/libprocessing/tree/py-input
Conversation 1 https://github.com/processing/libprocessing/pull/272
Commits 2 https://github.com/processing/libprocessing/pull/272/commits
Checks 5 https://github.com/processing/libprocessing/pull/272/checks
Files changed https://github.com/processing/libprocessing/pull/272/files
Please reload this pagehttps://github.com/processing/libprocessing/pull/272/files
Python input events and sketch folder asset root. https://github.com/processing/libprocessing/pull/272/files#top
Show all changes 2 commits https://github.com/processing/libprocessing/pull/272/files
111d8bc Python input events and sketch folder asset root. tychedelia Nov 12, 2026 https://github.com/processing/libprocessing/pull/272/commits/111d8bc8dc616cfec4c57b38c33ecd57ff2042d2
2410678 Merge remote-tracking branch 'origin/main' into HEAD tychedelia Nov 23, 2026 https://github.com/processing/libprocessing/pull/272/commits/241067892fe237f1c1a7018eb8d56be9e64a63ef
Clear filters https://github.com/processing/libprocessing/pull/272/files
Please reload this pagehttps://github.com/processing/libprocessing/pull/272/files
Please reload this pagehttps://github.com/processing/libprocessing/pull/272/files
constants.rs https://github.com/processing/libprocessing/pull/272/files#diff-8cfa7fa4a8125fce40bd070ded3f733762323930f7f00e72c2be7e937486959a
lib.rs https://github.com/processing/libprocessing/pull/272/files#diff-0c768253ad3c8c71da78e15fe59b798eeedad6c26c4912c9e32f64e60ae704b9
keys.rs https://github.com/processing/libprocessing/pull/272/files#diff-d04cc5755683c48dbd32d592ccc11a65813ed9e4c3e7c64424ece0c6e5fdcf83
lib.rs https://github.com/processing/libprocessing/pull/272/files#diff-09eba0285bcbbd6969e1536a84c286b24672576258df6c26b755a00509bbbad9
__init__.py https://github.com/processing/libprocessing/pull/272/files#diff-75429f74197b7d44c82a788fdf77a4132978f06a3e4aa8bf97a152c903dbe758
constants.rs https://github.com/processing/libprocessing/pull/272/files#diff-2ca21283e75f380f75ee78781ccbb6d7ee295eec2b976f7c5abcce7965775c98
graphics.rs https://github.com/processing/libprocessing/pull/272/files#diff-5e646152af1601f4260e98e1ca6b71ba58553e0507e4d0ebc4eb72bbe2bd27a2
input.rs https://github.com/processing/libprocessing/pull/272/files#diff-00678f2a0d04dd7517e55f1bead99cf6c23322ea3e6da54f05d85f01a9f13f6a
lib.rs https://github.com/processing/libprocessing/pull/272/files#diff-1ec2585043fa3ad733b06c34ed1af0c9938bdca17c75f4066e5e8fadecfc540c
surface.rs https://github.com/processing/libprocessing/pull/272/files#diff-537c8e2f60e13e6097206bee32b250dfa931799cd8197b9b4765019ea5c67712
lib.rs https://github.com/processing/libprocessing/pull/272/files#diff-edd9544a814bc52933adfc1334102e224a5090e5a6c68664eb0163434a93c653
crates/processing_core/src/constants.rshttps://github.com/processing/libprocessing/pull/272/files#diff-8cfa7fa4a8125fce40bd070ded3f733762323930f7f00e72c2be7e937486959a
View file https://github.com/processing/libprocessing/blob/241067892fe237f1c1a7018eb8d56be9e64a63ef/crates/processing_core/src/constants.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/processing/libprocessing/pull/272/{{ revealButtonHref }}
https://github.com/processing/libprocessing/pull/272/files#diff-8cfa7fa4a8125fce40bd070ded3f733762323930f7f00e72c2be7e937486959a
https://github.com/processing/libprocessing/pull/272/files#diff-8cfa7fa4a8125fce40bd070ded3f733762323930f7f00e72c2be7e937486959a
https://github.com/processing/libprocessing/pull/272/files#diff-8cfa7fa4a8125fce40bd070ded3f733762323930f7f00e72c2be7e937486959a
crates/processing_ffi/src/lib.rshttps://github.com/processing/libprocessing/pull/272/files#diff-0c768253ad3c8c71da78e15fe59b798eeedad6c26c4912c9e32f64e60ae704b9
View file https://github.com/processing/libprocessing/blob/241067892fe237f1c1a7018eb8d56be9e64a63ef/crates/processing_ffi/src/lib.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/processing/libprocessing/pull/272/{{ revealButtonHref }}
https://github.com/processing/libprocessing/pull/272/files#diff-0c768253ad3c8c71da78e15fe59b798eeedad6c26c4912c9e32f64e60ae704b9
https://github.com/processing/libprocessing/pull/272/files#diff-0c768253ad3c8c71da78e15fe59b798eeedad6c26c4912c9e32f64e60ae704b9
https://github.com/processing/libprocessing/pull/272/files#diff-0c768253ad3c8c71da78e15fe59b798eeedad6c26c4912c9e32f64e60ae704b9
https://github.com/processing/libprocessing/pull/272/files#diff-0c768253ad3c8c71da78e15fe59b798eeedad6c26c4912c9e32f64e60ae704b9
Please reload this pagehttps://github.com/processing/libprocessing/pull/272/files
Please reload this pagehttps://github.com/processing/libprocessing/pull/272/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.