Skip to content

commands is not defined #4

@IanVS

Description

@IanVS

This line:

const { type: prevType, coords: prevCoords } = commands[i - 1]
is failing with commands is not defined when I do:

const path = 'm314.1 990c-65.3-135.9-30.5-213.8 19.7-287.1 55-80.3 69.1-159.9 69.1-159.9s43.2 56.2 25.9 144c76.3-85 90.8-220.4 79.2-272.2 172.6 120.6 246.4 381.7 147 575.2 528.6-299.1 131.5-746.6 62.4-797.1 23 50.4 27.4 135.8-19.1 177.2-78.9-298.8-273.8-360.1-273.8-360.1 23 154.1-83.5 322.7-186.3 448.6-3.6-61.5-7.4-103.9-39.8-162.7-7.3 111.6-92.6 202.6-115.7 314.5-31.3 151.5 23.5 262.4 231.4 379.6z';
const circPath = // Make a circle path with `circlePath`.
interpolatePath(circPath, path);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions