|
Vector2D is an open-source Macromedia Flash Actionscript class for performing vector operations in two dimensions. Since calculations related to physics often involve vectors, this class should ease the development of simple physical behaviors and run-time simulations. As a result of the similarity between Actionscript 1.0 and ECMAScript, the Actionscript 1.0 version of
|
 |
Vector2D can be trivially ported to other ECMA-262 compliant languages. An Actionscript 2.0 version is also provided. Some demonstrations and usage examples can be found on this page as well. For a thorough explanation of vectors and their use in physics, there is a very nicely written free physics book available for download.
|