noya-app/noya

Render control points

Closed this issue · 0 comments

In point editing mode, we should render control points for points with curve mode: Mirrored, Asymmetric, Disconnected.

image

Implementation

This will probably be entirely in EditablePath.tsx.

const points = layer.points.map(

We can start by updating this .map to return the parsedCurvePoints, then create 2 .map's where we render canvas elements: one for curveFrom and one for curveTo.

Note: we have no way to select a control point yet, so we don't need to consider the selected state.