tethers

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

Meta Data
dependencies ()
unused_keys ('title',)
unknown_keys ('files',)
files ['', './windings.js']
filepath_exists True
path tethers
filepath tethers.js
clean_files ('./windings.js',)

  • ClassDeclaration
    class comments:
    files: ./windings.js
    Given a parent, bind a range of points by distance position. Call _step_ when visual updates are required. this.point = new Point(200, 200, 100) let cp = this.point.tethers.add({ x: 100, y: 50}) Step: this.point.tethers.step() Render: this.point.pen.indicator(ctx, {color: '#336600'}) this.point.tethers.points.pen.fill(ctx, '#33DDAA')
    • constructor

      constructor

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

      add

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

      onTipDragStart

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

      onTipDragMove

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

      onTipDragEnd

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

      generate

      (
      pointData
      )
      from class_name
      dict_keys(['kind', 'word', 'static', 'computed', 'is_symbol', 'value', 'type', 'comments', 'pos'])
      Generate, store and return a new controller point
    • method

      push

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

      step

      (
      rotation
      )
      from class_name
      dict_keys(['kind', 'word', 'static', 'computed', 'is_symbol', 'value', 'type', 'comments', 'pos'])
      Unless the user is in control, Move any control point to the correct location,
    dict_keys(['kind', 'word', 'parentName', 'type', 'body', 'comments', 'pos'])
  • ExpressionStatement

    :

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