Created
June 28, 2017 04:43
-
-
Save koji/cad27e67fba8164182b19fb48e5dc7b2 to your computer and use it in GitHub Desktop.
vertex
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
size( 500, 500 ); | |
background(255); | |
noStroke(); | |
beginShape(); | |
fill(0); | |
vertex( 100, 100 ); | |
bezierVertex(100,100,150,200,90,300); | |
endShape(); | |
beginShape(); | |
fill(0); | |
vertex( 50, 100 ); | |
bezierVertex(50,100, 0,200, 60,300); | |
endShape(); | |
beginShape(); | |
fill(255,255,0); | |
vertex(50,100); | |
vertex(60,300); | |
vertex(90,300); | |
vertex(100,100); | |
endShape(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment