Skip to content

Possibility for variable-width strokes? #28

Description

@KTRosenberg

Would it be at all possible to extend the line rendering to support per-point stroke widths? I'd like to be able to draw using the Apple pencil and modulate the thickness of the curves continuously. Currently, nanovg applies a single width per-stroke, with no transitions possible. (The same goes for color.)

How might I be able to write this extension myself, since I realize it's not supported in the original?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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