René's URL Explorer Experiment


Title: `mouse_x` / `mouse_y` not clamped to window bounds · Issue #142 · processing/libprocessing · GitHub

Open Graph Title: `mouse_x` / `mouse_y` not clamped to window bounds · Issue #142 · processing/libprocessing

X Title: `mouse_x` / `mouse_y` not clamped to window bounds · Issue #142 · processing/libprocessing

Description: In Processing, mouseX and mouseY are always clamped to the sketch window. In mewnala, they can take values outside the window, all relative to the top-left of the window within the display. Steps to reproduce Processing void setup(){ siz...

Open Graph Description: In Processing, mouseX and mouseY are always clamped to the sketch window. In mewnala, they can take values outside the window, all relative to the top-left of the window within the display. Steps t...

X Description: In Processing, mouseX and mouseY are always clamped to the sketch window. In mewnala, they can take values outside the window, all relative to the top-left of the window within the display. Steps t...

Opengraph URL: https://github.com/processing/libprocessing/issues/142

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`mouse_x` / `mouse_y` not clamped to window bounds","articleBody":"In Processing, `mouseX` and `mouseY` are always clamped to the sketch window. \n\nIn mewnala, they can take values outside the window, all relative to the top-left of the window within the display.\n\n### Steps to reproduce\n\n#### Processing\n\n```java\nvoid setup(){\n  size(200,200);\n}\n\nvoid draw(){\n  println(\"mouseX:\" + mouseX + \" mouseY: \" + mouseY);\n}\n```\n\nValues stay within `[0, width]` and `[0, height]`\n\n#### mewnala\n\n```python\nfrom mewnala import *\n\ndef setup():\n    size(200, 200)\n\ndef draw():\n    print(\"mouse_x: \" + str(mouse_x) + \" mouse_y: \" + str(mouse_y))\n\nrun()\n```\n\nExample output:\n\n```\nmouse_x: -764.0 mouse_y: -279.0\nmouse_x: 963.98 mouse_y: 837.98\n```\n\n### Expected behavior\n`mouse_x` and `mouse_y` should be clamped to `[0, width]` and `[0, height]` to match Processing.\n\n### Screenshots\n\n\u003cimg width=\"500\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/6458a7f7-a614-4bf6-8680-f9ea12e94424\" /\u003e\n\n---\n\n\u003cimg width=\"500\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/67f617cb-fc06-43fe-9635-28d8d63ee549\" /\u003e\n\n---\n\n\u003cimg width=\"500\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/761c933b-76ea-4180-a4a1-1b6ca1b506f4\" /\u003e","author":{"url":"https://github.com/SableRaf","@type":"Person","name":"SableRaf"},"datePublished":"2026-04-25T13:13:54.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/142/libprocessing/issues/142"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:70d4a037-1518-846f-8716-51e026df86df
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE69E:F3F3:ED00F0:153261D:6A5F8A4F
html-safe-nonce9dbaff84f9ab777bf01b92048108d27347b5ae81558a8745afafe9a890c61445
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNjlFOkYzRjM6RUQwMEYwOjE1MzI2MUQ6NkE1RjhBNEYiLCJ2aXNpdG9yX2lkIjoiNjM4Nzc1MTc3OTkwMTA4MjE5MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac07d3a1bf29f6935f205a2a64cdb3a432b036e64b7b76c9ee41c06cf366a1e44e
hovercard-subject-tagissue:4328181854
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/processing/libprocessing/142/issue_layout
twitter:imagehttps://opengraph.githubassets.com/7cb8b308a4604e1c4d63b290105b2ae035ffad0405a12659c7b8a1c7dc9224f4/processing/libprocessing/issues/142
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7cb8b308a4604e1c4d63b290105b2ae035ffad0405a12659c7b8a1c7dc9224f4/processing/libprocessing/issues/142
og:image:altIn Processing, mouseX and mouseY are always clamped to the sketch window. In mewnala, they can take values outside the window, all relative to the top-left of the window within the display. Steps t...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameSableRaf
hostnamegithub.com
expected-hostnamegithub.com
None05a5a04783bf869edc9d6ffbeac22f1152a11abce708ff1bf649457a9b96836a
turbo-cache-controlno-preview
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
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseebe18dcab12b14d87b778dc32f6b70e7a6910911
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/processing/libprocessing/issues/142#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fprocessing%2Flibprocessing%2Fissues%2F142
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fprocessing%2Flibprocessing%2Fissues%2F142
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=processing%2Flibprocessing
Reloadhttps://github.com/processing/libprocessing/issues/142
Reloadhttps://github.com/processing/libprocessing/issues/142
Reloadhttps://github.com/processing/libprocessing/issues/142
Please reload this pagehttps://github.com/processing/libprocessing/issues/142
processing https://github.com/processing
libprocessinghttps://github.com/processing/libprocessing
Notifications https://github.com/login?return_to=%2Fprocessing%2Flibprocessing
Fork 12 https://github.com/login?return_to=%2Fprocessing%2Flibprocessing
Star 56 https://github.com/login?return_to=%2Fprocessing%2Flibprocessing
Code https://github.com/processing/libprocessing
Issues 68 https://github.com/processing/libprocessing/issues
Pull requests 2 https://github.com/processing/libprocessing/pulls
Actions https://github.com/processing/libprocessing/actions
Projects https://github.com/processing/libprocessing/projects
Wiki https://github.com/processing/libprocessing/wiki
Security and quality 0 https://github.com/processing/libprocessing/security
Insights https://github.com/processing/libprocessing/pulse
Code https://github.com/processing/libprocessing
Issues https://github.com/processing/libprocessing/issues
Pull requests https://github.com/processing/libprocessing/pulls
Actions https://github.com/processing/libprocessing/actions
Projects https://github.com/processing/libprocessing/projects
Wiki https://github.com/processing/libprocessing/wiki
Security and quality https://github.com/processing/libprocessing/security
Insights https://github.com/processing/libprocessing/pulse
#144https://github.com/processing/libprocessing/pull/144
mouse_x / mouse_y not clamped to window boundshttps://github.com/processing/libprocessing/issues/142#top
#144https://github.com/processing/libprocessing/pull/144
https://github.com/SableRaf
SableRafhttps://github.com/SableRaf
on Apr 25, 2026https://github.com/processing/libprocessing/issues/142#issue-4328181854
https://private-user-images.githubusercontent.com/290261/583769793-6458a7f7-a614-4bf6-8680-f9ea12e94424.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODQ2NDY1MjMsIm5iZiI6MTc4NDY0NjIyMywicGF0aCI6Ii8yOTAyNjEvNTgzNzY5NzkzLTY0NThhN2Y3LWE2MTQtNGJmNi04NjgwLWY5ZWExMmU5NDQyNC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYwNzIxJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MDcyMVQxNTAzNDNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT03ODE0ODhlZTUxZDNlMTNiMTJiZDZjMDFlN2YzNjg4MDMzOTgwY2Y5M2NlYWM0ODVjZGNkYjg1YTE0MzVlYTM4JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZyZXNwb25zZS1jb250ZW50LXR5cGU9aW1hZ2UlMkZwbmcifQ.HQ6jwNljyOI0Ehxwc5A0d_Wd8Y_K9yPJQQ_WwlKHGfc
https://private-user-images.githubusercontent.com/290261/583769723-67f617cb-fc06-43fe-9635-28d8d63ee549.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZX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MtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MDcyMVQxNTAzNDNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0xZjM3M2U1NGFmYmM1NWQxY2IxMmE2NGZjOTdhMjQyMmI0MmRkMTJkZjMzMTU5NGFlYmZmMWQ1YTJiNTlhMGFjJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZyZXNwb25zZS1jb250ZW50LXR5cGU9aW1hZ2UlMkZwbmcifQ.G9k-cnW8TJAKl-OKYwknDU77m-wnn_Es70TmxSmsS4w
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

Viewport: width=device-width


URLs of crawlers that visited me.