compass.js

<script src="./point_src/compass.js"></script>

Meta Data
filepath_exists True
path compass.js
filepath compass.js
clean_files ()

  • ExpressionStatement

    :

    dict_keys(['type', 'expression', 'pos'])
  • VariableDeclaration
    const

    TAU

  • VariableDeclaration
    const

    RIGHT

    =
    0
  • VariableDeclaration
    const

    DOWN

  • VariableDeclaration
    const

    LEFT

  • VariableDeclaration
    const

    UP

  • VariableDeclaration
    const

    RIGHT_DEG

    =
    CallExpression
  • VariableDeclaration
    const

    DOWN_DEG

    =
    CallExpression
  • VariableDeclaration
    const

    LEFT_DEG

    =
    CallExpression
  • VariableDeclaration
    const

    UP_DEG

    =
    CallExpression
  • ClassDeclaration
    class comments:
    • constructor

      constructor

      (
      setup = {}
      )
      from class_name
      dict_keys(['kind', 'word', 'static', 'computed', 'is_symbol', 'value', 'type', 'comments', 'pos'])
    • method

      setDeg

      (
      )
      from class_name
      dict_keys(['kind', 'word', 'static', 'computed', 'is_symbol', 'value', 'type', 'comments', 'pos'])
    • method

      setRad

      (
      )
      from class_name
      dict_keys(['kind', 'word', 'static', 'computed', 'is_symbol', 'value', 'type', 'comments', 'pos'])
    • method

      degrees

      (
      )
      from class_name
      dict_keys(['kind', 'word', 'static', 'computed', 'is_symbol', 'value', 'type', 'comments', 'pos'])
    • get

      rad

      (
      )
      from class_name
      dict_keys(['kind', 'word', 'static', 'computed', 'is_symbol', 'value', 'type', 'comments', 'pos'])
    • method

      get

      (
      v
      )
      from class_name
      dict_keys(['kind', 'word', 'static', 'computed', 'is_symbol', 'value', 'type', 'comments', 'pos'])
    • get

      right

      (
      )
      from class_name
      dict_keys(['kind', 'word', 'static', 'computed', 'is_symbol', 'value', 'type', 'comments', 'pos'])
    • get

      down

      (
      )
      from class_name
      dict_keys(['kind', 'word', 'static', 'computed', 'is_symbol', 'value', 'type', 'comments', 'pos'])
    • get

      left

      (
      )
      from class_name
      dict_keys(['kind', 'word', 'static', 'computed', 'is_symbol', 'value', 'type', 'comments', 'pos'])
    • get

      up

      (
      )
      from class_name
      dict_keys(['kind', 'word', 'static', 'computed', 'is_symbol', 'value', 'type', 'comments', 'pos'])
    • method

      conv

      (
      v
      )
      from class_name
      dict_keys(['kind', 'word', 'static', 'computed', 'is_symbol', 'value', 'type', 'comments', 'pos'])
    dict_keys(['kind', 'word', 'parentName', 'type', 'body', 'comments', 'pos'])
  • FunctionDeclaration
    function

    radiansToDegrees

    (
    radians
    )
    dict_keys(['kind', 'word', 'generator', 'expression', 'async', 'params', 'id', 'pos', 'type'])
  • VariableDeclaration
    const

    radiansToTau

    =
    function ( radians )
    let radians = Math.PI; // 1/2 TAU console.log(radiansToTau(radians)); // Outputs: 0.5
  • VariableDeclaration
    const

    degToRad

    =
    function ( value )
  • FunctionDeclaration
    function

    projectFrom

    (
    origin , distance = undefined , rotation = undefined
    )
    dict_keys(['kind', 'word', 'generator', 'expression', 'async', 'params', 'id', 'pos', 'type'])
  • ExpressionStatement

    :

    dict_keys(['type', 'expression', 'pos'])
  • ExpressionStatement

    :

    dict_keys(['type', 'expression', 'pos'])