Open main menu

CDOT Wiki β

Changes

FSOSS 2010/processing.js/vectors

281 bytes added, 22:09, 27 October 2010
no edit summary
<b>Operations</b><br />
<br /><b>Addition</b><ul> <li>Addtwo vectors geometrically by adding head to tail</bli> <li> Add two vectors algebraically by adding their components [3, 3] + [1, 2] = [4, 5]<br /li> <li>PVector.add(PVector)</li></ul> <b>Scale</b> <ul> <li>Scale a vector geometrically by stretching or shrinking</li> <li>Scale a vector algebraically by multiplying all components by a scalar value [1,3] * 2 = [2, 6]<br /li> <li>PVector.mult(float)</li></ul>
1
edit