GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — docs(Vector): clarify 3-component nature of vectors in 2D usage by yuvrajnode · Pull Request #9027 · processing/p5.js

Conversation

@yuvrajnode

@yuvrajnode yuvrajnode commented Jul 30, 2026

Copy link
Copy Markdown

Changes

This PR improves the documentation for p5.Vector.fromAngle() to clarify that p5.Vector objects internally store three components [x, y, z], even when used in a 2D context.

Key updates:

  • Added a note to fromAngle explaining the internal [x, y, z] storage and that z is set to 0 for 2D consistency.
  • Updated @example comments to explicitly mention that the z component is 0 in the output.
  • Improved the description of the second example to specify it creates a vector with a defined length.

These changes help developers understand why they might see a third component when printing vectors and ensures consistency in how vector behavior is described across the library.

PR Checklist

  • npm run lint passes
  • Inline reference is included / updated
  • Unit tests are included / updated (not applicable for documentation-only changes)

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
skools-here and others added 30 commits July 18, 2025 20:03
@skools-here
Changing URL which was leading to somewhere else
784665d
@allcontributors
docs: update README.md [skip ci]
192c116
@allcontributors
docs: update .all-contributorsrc [skip ci]
bdec6c2
@allcontributors
docs: update README.md [skip ci]
4355fe9
@allcontributors
docs: update .all-contributorsrc [skip ci]
a1cb7af
@ksen0
Merge pull request processing#7976 from skools-here/Changing-Url
ef1238d
Changing URL which comes when user is not in WEBGL mode
@ksen0
Merge pull request processing#7982 from processing/all-contributors/a…
509d2b9
…dd-mudit06mah

docs: add mudit06mah as a contributor for doc
@ksen0
Merge branch 'main' into all-contributors/add-skools-here
10a7333
@shawdm
Fix parameter documentation for bezierPoint
3d63026
@allcontributors
docs: update README.md [skip ci]
5ea3151
@allcontributors
docs: update .all-contributorsrc [skip ci]
5094d47
@davepagurek
Merge pull request processing#7990 from processing/all-contributors/a…
310afae
…dd-acgillette

docs: add acgillette as a contributor for code
@shawdm
Fix parameter documentation for curvePoint
c96fe1a
@davepagurek
Merge pull request processing#7987 from shawdm/fix-bezierPoint-docs
ef2f4e6
Fix parameter documentation for bezierPoint
@allcontributors
docs: update README.md [skip ci]
8adfce0
@allcontributors
docs: update .all-contributorsrc [skip ci]
806a62b
@davepagurek
Merge pull request processing#7991 from processing/all-contributors/a…
0223963
…dd-shawdm

docs: add shawdm as a contributor for doc
@davepagurek
Bring 2.0 stroke ordering fixes to 1.x
174d716
@davepagurek
Merge pull request processing#7996 from davepagurek/fix/strokes-behin…
1f68fb0
…d-objects

Bring 2.0 stroke ordering fixes to 1.x
@ksen0
Merge pull request processing#7977 from processing/all-contributors/a…
2775901
…dd-skools-here

docs: add skools-here as a contributor for code
@ericrav
remove incorrect mouseX/mouseY docs regarding WEBGL mode
018dd9b
fixes processing#8002
@perminder-17
Merge pull request processing#8004 from ericrav/patch-1
f8519b1
Remove incorrect mouseX/mouseY docs regarding WEBGL mode
@allcontributors
docs: update README.md [skip ci]
0e01867
@allcontributors
docs: update .all-contributorsrc [skip ci]
73ee9d8
@perminder-17
Merge pull request processing#8007 from processing/all-contributors/a…
9a652fa
…dd-ericrav

docs: add ericrav as a contributor for doc
@ksen0
1.11.10-rc.0
ee282a7
@harishbit
Code block texturemode() fix
943c6d3
@davepagurek
Merge pull request processing#8011 from abuharish02/texturemode-code-…
c1029f1
…block

Fix: Corrected code block formatting for textureMode()
@allcontributors
docs: update README.md [skip ci]
252a7d6
@allcontributors
docs: update .all-contributorsrc [skip ci]
c2e3107
skyyash and others added 28 commits January 10, 2026 10:34
@skyyash
fix p5js forum broken link
d34e91f
@skyyash
fix discord link
fdd3dce
@perminder-17
Update contributor_docs/contributor_guidelines.md
673f6ab
@perminder-17
Merge pull request processing#8399 from skyash-dev/docs/fix-broken-links
5e66753
Docs/fix broken links
@allcontributors
docs: update CONTRIBUTORS.md [skip ci]
3985827
@allcontributors
docs: update .all-contributorsrc [skip ci]
89a649d
@davepagurek
Merge pull request processing#8403 from processing/all-contributors/a…
d6977de
…dd-rakesh2OO5

docs: add rakesh2OO5 as a contributor for code
@skyyash
Suppress stroke warnings during buildGeometry
7d741e7
@ksen0
1.11.12-rc.0
f977cf0
@allcontributors
docs: update CONTRIBUTORS.md [skip ci]
f124d62
@allcontributors
docs: update .all-contributorsrc [skip ci]
c026a99
@perminder-17
Merge pull request processing#8425 from processing/all-contributors/a…
ab31fd1
…dd-doradocodes

docs: add doradocodes as a contributor for review
@allcontributors
docs: update CONTRIBUTORS.md [skip ci]
e415896
@allcontributors
docs: update .all-contributorsrc [skip ci]
af6c625
@perminder-17
Merge pull request processing#8427 from processing/all-contributors/a…
792d176
…dd-Nwakaego-Ego

docs: add Nwakaego-Ego as a contributor for review
@allcontributors
docs: update CONTRIBUTORS.md [skip ci]
07ab667
@allcontributors
docs: update .all-contributorsrc [skip ci]
71a43d4
@davepagurek
Merge pull request processing#8432 from processing/all-contributors/a…
a95338e
…dd-vietnguyen2358

docs: add vietnguyen2358 as a contributor for code
@ksen0
Merge pull request processing#8373 from coseeian/mermaid
8cbb98e
feat: add accTitle/accDescr to class diagram in WebGL architecture doc
@allcontributors
docs: update CONTRIBUTORS.md [skip ci]
3095f02
@allcontributors
docs: update .all-contributorsrc [skip ci]
f86ffbc
@davepagurek
Merge pull request processing#8433 from processing/all-contributors/a…
9ced70d
…dd-shuklaaryan367-byte

docs: add shuklaaryan367-byte as a contributor for code
@davepagurek
Merge pull request processing#8411 from skyash-dev/fix/suppress-strok…
c0513a3
…e-warning-buildGeometry

Suppress stroke warnings during buildGeometry
@ksen0
Add Nwakaego-Ego and doradocodes to stewards.yml
c09a6dc
Adding @Nwakaego-Ego and @doradocodes as stewards for the website! They participated in last year's [GSoC program](https://medium.com/@ProcessingOrg/google-summer-of-code-2025-wrap-up-and-mentor-summit-d1e565e9fe1f) and will take on responding to incoming issues and helping to review PRs.
@ksen0
Merge pull request processing#8460 from processing/ksen0-patch-2
493e807
Add Nwakaego-Ego and doradocodes to stewards.yml
@ksen0 @github-actions
Update README table from stewards.yml
5e78516
@ksen0
Merge pull request processing#8461 from processing/update-readme-table
8e81743
chore: update README table from stewards.yml
@yuvrajnode
docs(Vector): clarify 3-component nature of vectors in 2D usage
8d46989
@Ayush4958

Ayush4958 commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

@yuvrajnode
This PR has issue relating to the commits and more
Pls resolve it, then it can be reviewed

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@yuvrajnode yuvrajnode closed this Aug 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

20 participants

@yuvrajnode @Ayush4958 @skools-here @ksen0 @shawdm @davepagurek @ericrav @perminder-17 @harishbit @awood0727 @AlzaAlzaki76 @NalinDalal @nitin-rajpoot @hxrshxz @yogan @MannuVilasara @RishiAhuja @SableRaf @nivanovvv @menacingly-coded
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.