Skip to content

mixing vertex() and curveVertex() #906

Closed
@shiffman

Description

@shiffman

First, let me say that I don't really know what I'm talking about here. But I noticed today that if you use a call to curveVertex() within beginShape() and endShape(), all the vertices turn into "curved" ones, rather than just an individual vertex, i.e.

screen shot 2015-09-11 at 1 37 22 pm

screen shot 2015-09-11 at 1 37 31 pm

I know there are other aspects at play here in terms of how curveVertex() works, but I'm not sure if the above result is correct?

fill(255);
beginShape();
vertex(30, 10);
curveVertex(85, 20);
vertex(83, 75);
vertex(30, 92);
vertex(50,50);
endShape(CLOSE);

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions