Indicate rotation direction for `PVector::rotate()`

Open Beginner friendly
#359 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Stale
Domain
documentation

Research direction

Start with the affected PVector::rotate() reference page at https://processing.org/reference/PVector_rotate_.html and review its current description. Done means the page explicitly states that positive angles rotate 2D vectors anticlockwise, using the proposed wording or an equivalent clarification.

Written by the indexing model from the issue text.

Description

Issue description

Indicate the direction that the vector will be rotated in, in order to avoid any ambiguity.

URL(s) of affected page(s)

https://processing.org/reference/PVector_rotate_.html

Proposed fix

Rotates a vector anticlockwise by the specified angle (2D vectors only), while maintaining the same magnitude.

Or add a sentence "Positive angles will rotate the vector anticlockwise."

Dominant language
MDX
Stars
90
Forks
122
Avg merge
1h 43m
Merged PRs (30d)
3

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from processing/processing-website

All issues in processing/processing-website

Similar issues

More Documentation issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.