AlgoSim
Homepage | Screenshots | Gallery of Visualisation | User's Guide | Function Reference | Download | FAQ | Support | Bugs and Solutions | Donate

Reference: drawArrow3

drawArrow3(v) draws the arrow of the vector pointing from the origin to v ∈ R^3 in the current 3D visualization window.

drawArrow3(a, b) draws the arrow between the points a ∈ R^3 and b ∈ R^3.

drawArrow3(a, b, s) draws the arrow between the points a ∈ R^3 and b ∈ R^3 using the style (CSS) s.

Example: drawArrow3(❨0, 0, 0❩, ❨3, 5, 5❩, "line−colour:red; triangle−colour:red")