René's URL Explorer Experiment


Title: PVector angleBetween returns 0 when x and y of either parameter are both 0 · Issue #1544 · processing/processing4 · GitHub

Open Graph Title: PVector angleBetween returns 0 when x and y of either parameter are both 0 · Issue #1544 · processing/processing4

X Title: PVector angleBetween returns 0 when x and y of either parameter are both 0 · Issue #1544 · processing/processing4

Description: I found an existing report describing similar behavior with 3D PVectors (processing/processing#2045), but it appears the same problem affects 2D PVectors as well. When either the start or end PVector is (0,0) the output of angleBetween()...

Open Graph Description: I found an existing report describing similar behavior with 3D PVectors (processing/processing#2045), but it appears the same problem affects 2D PVectors as well. When either the start or end PVect...

X Description: I found an existing report describing similar behavior with 3D PVectors (processing/processing#2045), but it appears the same problem affects 2D PVectors as well. When either the start or end PVect...

Opengraph URL: https://github.com/processing/processing4/issues/1544

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"PVector angleBetween returns 0 when x and y of either parameter are both 0","articleBody":"I found an existing report describing similar behavior with 3D PVectors (https://github.com/processing/processing/issues/2045), but it appears the same problem affects 2D PVectors as well.\n\nWhen either the start or end `PVector` is `(0,0)` the output of `angleBetween()` is always 0.\n\nI'm not particularly experienced with Processing, so it's entirely possible that I'm misunderstanding something or using the API incorrectly. I tend to pick it up every few months for small projects and then promptly forget most of what I learned.\n\nThat said, I've spent some time testing this behavior and looking into the implementation, and based on what I found, I would not expect the angle to be 0 in the cases I tested.\n\nEdit: I forgot to add, I'm using processing 4.5.2\n\n\u003cimg width=\"894\" height=\"621\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/1c5918f6-e319-461d-afa5-101fedfb2cab\" />","author":{"url":"https://github.com/WolfyD","@type":"Person","name":"WolfyD"},"datePublished":"2026-07-01T16:49:12Z","url":"https://github.com/processing/processing4/issues/1544"}

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/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:3d131cc1-800d-c954-d9cc-f3ad07b562e2
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idABE2:5C450:EDAFE:149582:6B05F789
html-safe-nonce89d6f99c9c4d6e66659f0bff1a3c3e858936d591d71ee75b6d76e072adc9a0a5
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQkUyOjVDNDUwOkVEQUZFOjE0OTU4Mjo2QjA1Rjc4OSIsInZpc2l0b3JfaWQiOiI2MDk0Mjg0OTc4NjEzMTAzNDYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac11cda387cc44699bd852ba05ea44c0ac15f61cf0226b9901c959e883c583707f
hovercard-subject-tagissue:4893957096
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/processing4/1544/issue_layout
twitter:imagehttps://opengraph.githubassets.com/d83d9e2c77bad22f94f915f1f61abb3cbeddd2a5c69a8009a4527b94c02e1cfb/processing/processing4/issues/1544
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d83d9e2c77bad22f94f915f1f61abb3cbeddd2a5c69a8009a4527b94c02e1cfb/processing/processing4/issues/1544
og:image:altI found an existing report describing similar behavior with 3D PVectors (processing/processing#2045), but it appears the same problem affects 2D PVectors as well. When either the start or end PVect...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameWolfyD
hostnamegithub.com
expected-hostnamegithub.com
Nonec214754a6652274794ed4e054a7b71be999d69843f103ba54893001d45010ece
turbo-cache-controlno-preview
go-importgithub.com/processing/processing4 git https://github.com/processing/processing4.git
octolytics-dimension-user_id1617169
octolytics-dimension-user_loginprocessing
octolytics-dimension-repository_id844382769
octolytics-dimension-repository_nwoprocessing/processing4
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id844382769
octolytics-dimension-repository_network_root_nwoprocessing/processing4
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
release7d164a4e71eb333b2b17fd5b17e18efb7855505c
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/processing/processing4/issues/1544#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fprocessing%2Fprocessing4%2Fissues%2F1544
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%2Fprocessing4%2Fissues%2F1544
Sign uphttps://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%2Fprocessing4
Reloadhttps://github.com/processing/processing4/issues/1544
Reloadhttps://github.com/processing/processing4/issues/1544
Reloadhttps://github.com/processing/processing4/issues/1544
processinghttps://github.com/processing
processing4https://github.com/processing/processing4
Codehttps://github.com/processing/processing4
Issues265 (265)https://github.com/processing/processing4/issues
Pull requests22 (22)https://github.com/processing/processing4/pulls
Actionshttps://github.com/processing/processing4/actions
Projectshttps://github.com/processing/processing4/projects
Wikihttps://github.com/processing/processing4/wiki
Security and qualityhttps://github.com/processing/processing4/security
Insightshttps://github.com/processing/processing4/insights
https://github.com/processing/processing4
New issuehttps://github.com/login?return_to=https://github.com/processing/processing4/issues/1544
New issuehttps://github.com/login?return_to=https://github.com/processing/processing4/issues/1544
PVector angleBetween returns 0 when x and y of either parameter are both 0https://github.com/processing/processing4/issues/1544#top
https://github.com/WolfyD
WolfyDhttps://github.com/WolfyD
on Jul 1, 2026https://github.com/processing/processing4/issues/1544#issue-4893957096
processing/processing#2045https://github.com/processing/processing/issues/2045
https://private-user-images.githubusercontent.com/6439157/615880716-1c5918f6-e319-461d-afa5-101fedfb2cab.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTU1NTM0NjIsIm5iZiI6MTc5NTU1MzE2MiwicGF0aCI6Ii82NDM5MTU3LzYxNTg4MDcxNi0xYzU5MThmNi1lMzE5LTQ2MWQtYWZhNS0xMDFmZWRmYjJjYWIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MTEyNCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjExMjRUMjA0NjAyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ODJkNzhmZjVlZWE3M2Q3MjQ1ODkzOWE5NWEzYzEwMGI1OTg0ZmUwOWUzNTBhZDFjN2QxMWViMWI3ZDcxYTZjMCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.Mi4ef4ubUeWm0EKsqtee6NYXwSPjM6iM_828jcHUAwY
SableRafhttps://github.com/SableRaf
processing/processinghttps://github.com/processing/processing
on Jul 15, 2026https://github.com/processing/processing4/issues/1544#event-28023951076
Sign up for freehttps://github.com/signup?return_to=https://github.com/processing/processing4/issues/1544
Sign in to commenthttps://github.com/login?return_to=https://github.com/processing/processing4/issues/1544
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-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.