cone
Project and render a point-owned cone shape.
Object.assign(point.cone.settings, {
distance: 200,
container: stage.dimensions
})
let cone = point.cone.renderData()
point.cone.fill(ctx, cone)
point.cone.renderOutline(ctx, cone)
Reusable settings helpers in this file can also be used directly when the class wrapper is not needed.
Meta Data
| filepath_exists | True |
| path | cone |
| filepath | cone.js |
| clean_files | () |
-
ClassDeclarationclass
PointCone
extends Noneclass comments:Apply changes for the persistent info
-
dict_keys(['kind', 'word', 'static', 'computed', 'is_symbol', 'value', 'type', 'comments', 'pos'])
A full positive curve follows the matching circular arc passing through the edge points, then interpolates beyond that centerline.
ExpressionStatement:
dict_keys(['type', 'expression', 'pos'])ExpressionStatement:
dict_keys(['type', 'expression', 'pos'])
, fillColor: 'rebeccapurple'