Skip to content

textToPoints() to allow 2D Array of points within paths for separating letters #4086

Closed
@ffd8

Description

@ffd8

Nature of issue?

  • Existing feature enhancement

Most appropriate sub-area of p5.js?

  • Typography

Which platform were you using when you encountered this?

  • Desktop/Laptop

Feature enhancement details:

Preparing my first p5.js pull request, so making an issue first.

This will extend textToPoints() to allow the return of a 2D Array, [paths][points], since as a single array of points, there will always be a line drawn between the letters if placed within a begin/endShape().

Figured the smoothest way to implement this, is adding it as an option when calling the function, and imagined that option to be separatePaths : true.

Code is already done.. just have to read up on Docs for contributing and happy for feedback on PR.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Completed

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions