Education/Projects/ProcessingForTheWeb/PVector: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
 
Line 6: Line 6:


*Note: Functional but not completed as of Oct 23rd 2009
*Note: Functional but not completed as of Oct 23rd 2009
**Note: Completed as of Nov 20th 2009


<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.