Education/Projects/ProcessingForTheWeb/PVector: Difference between revisions
< Education | Projects | ProcessingForTheWeb
| (5 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
__TOC__ | |||
== Summary == | == Summary == | ||
PVector is an object used in Processing. It is being transported to it's counterpart Processing.js. The object has the ability to store x, y and z coordinate attributes while using the functions built into it. More information can be found in it's original reference: [http://processing.org/reference/PVector.html here] | PVector is an object used in Processing. It is being transported to it's counterpart Processing.js. The object has the ability to store x, y and z coordinate attributes while using the functions built into it. More information can be found in it's original reference: [http://processing.org/reference/PVector.html here] | ||
*Note: | *Note: Functional but not completed as of Oct 23rd 2009 | ||
**Note: Completed as of Nov 20th 2009 | |||
<br> | <br> | ||
== Functions == | == Functions == | ||
| Line 17: | Line 20: | ||
|- | |- | ||
| [https://wiki.mozilla.org/index.php?title=Education/Projects/ProcessingForTheWeb/PVector/set set()] | | [https://wiki.mozilla.org/index.php?title=Education/Projects/ProcessingForTheWeb/PVector/set set()] | ||
| | | Functional. | ||
|- | |- | ||
| get() | | [https://wiki.mozilla.org/index.php?title=Education/Projects/ProcessingForTheWeb/PVector/get get()] | ||
| | | Functional. | ||
|- | |- | ||
| mag() | | [https://wiki.mozilla.org/index.php?title=Education/Projects/ProcessingForTheWeb/PVector/mag mag()] | ||
| | | Functional. | ||
|- | |- | ||
| add() | | [https://wiki.mozilla.org/index.php?title=Education/Projects/ProcessingForTheWeb/PVector/add add()] | ||
| | | Functional. | ||
|- | |- | ||
| sub() | | [https://wiki.mozilla.org/index.php?title=Education/Projects/ProcessingForTheWeb/PVector/sub sub()] | ||
| | | Functional. | ||
|- | |- | ||
| mult() | | [https://wiki.mozilla.org/index.php?title=Education/Projects/ProcessingForTheWeb/PVector/mult mult()] | ||
| | | Functional. | ||
|- | |- | ||
| div() | | [https://wiki.mozilla.org/index.php?title=Education/Projects/ProcessingForTheWeb/PVector/div div()] | ||
| | | Functional. | ||
|- | |- | ||
| dist() | | [https://wiki.mozilla.org/index.php?title=Education/Projects/ProcessingForTheWeb/PVector/dist dist()] | ||
| | | Functional. | ||
|- | |- | ||
| dot() | | [https://wiki.mozilla.org/index.php?title=Education/Projects/ProcessingForTheWeb/PVector/dot dot()] | ||
| | | Functional. | ||
|- | |- | ||
| cross() | | [https://wiki.mozilla.org/index.php?title=Education/Projects/ProcessingForTheWeb/PVector/cross cross()] | ||
| | | Functional. | ||
|- | |- | ||
| normalize() | | [https://wiki.mozilla.org/index.php?title=Education/Projects/ProcessingForTheWeb/PVector/normalize normalize()] | ||
| | | Functional. | ||
|- | |- | ||
| limit() | | [https://wiki.mozilla.org/index.php?title=Education/Projects/ProcessingForTheWeb/PVector/limit limit()] | ||
| | | Functional. | ||
|- | |- | ||
| angleBetween() | | [https://wiki.mozilla.org/index.php?title=Education/Projects/ProcessingForTheWeb/PVector/angleBetween angleBetween()] | ||
| | | Functional. | ||
|- | |- | ||
| array() | | [https://wiki.mozilla.org/index.php?title=Education/Projects/ProcessingForTheWeb/PVector/array array()] | ||
| | | Functional. | ||
|} | |} | ||
<br> | <br> | ||
Latest revision as of 08:14, 30 November 2009
Summary
PVector is an object used in Processing. It is being transported to it's counterpart Processing.js. The object has the ability to store x, y and z coordinate attributes while using the functions built into it. More information can be found in it's original reference: here
- Note: Functional but not completed as of Oct 23rd 2009
- Note: Completed as of Nov 20th 2009
Functions
The object comes with the following functions:
| Function | Status |
|---|---|
| set() | Functional. |
| get() | Functional. |
| mag() | Functional. |
| add() | Functional. |
| sub() | Functional. |
| mult() | Functional. |
| div() | Functional. |
| dist() | Functional. |
| dot() | Functional. |
| cross() | Functional. |
| normalize() | Functional. |
| limit() | Functional. |
| angleBetween() | Functional. |
| array() | Functional. |