tethers-vec
Meta Data
| dependencies | () |
| unused_keys | ('title',) |
| unknown_keys | ('files',) |
| files | ['', './windings.js'] |
| filepath_exists | True |
| path | tethers-vec |
| filepath | tethers-vec.js |
| clean_files | ('./windings.js',) |
-
VariableDeclaration
-
ClassDeclarationclass
PointTethers
extends Noneclass comments: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')ExpressionStatement:
dict_keys(['type', 'expression', 'pos'])