Skip to content

direction()

mkraska edited this page Aug 3, 2022 · 4 revisions

returns a direction vector for objects which have a direction or false otherwise.

Helper function for Feedback for Free Body Diagrams

Source

Tryout Space

In order to try code snippets in jsfiddle,

  1. copy the code from the wiki page to the clipboard
  2. follow the link for the JSXGraph version you want to try
  3. Replace the code in the HTML section (contents of <p hidden id="init">) with the content of the clipboard
Clone this wiki locally