rope

<script src="./point_src/rope"></script>

The rope provides constraints through vertlet chain solutions.

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

  • ClassDeclaration
    class comments:
    0: this.mouse.point
    • property

      gravity

      = 0.35
      from class_name
      dict_keys(['kind', 'word', 'computed', 'static', 'value', 'type', 'pos'])
    • constructor

      constructor

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

      getPinIndicies

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

      applyPhysics

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

      applyPhysics2

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

      solveConstraints1

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

      solveConstraints2

      (
      points , segmentLength , iterations = 5
      )
      from class_name
      dict_keys(['kind', 'word', 'static', 'computed', 'is_symbol', 'value', 'type', 'comments', 'pos'])
      0: this.mouse.point
    • method

      pin

      (
      index , point
      )
      from class_name
      dict_keys(['kind', 'word', 'static', 'computed', 'is_symbol', 'value', 'type', 'comments', 'pos'])
      pin an internal index item, to the XY given.
    • method

      getPins

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

      solveConstraints3

      (
      points , segmentLength , iterations = 5
      )
      from class_name
      dict_keys(['kind', 'word', 'static', 'computed', 'is_symbol', 'value', 'type', 'comments', 'pos'])
      prevent NaN
    dict_keys(['kind', 'word', 'parentName', 'type', 'body', 'comments', 'pos'])