Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void setup() {
- size(150, 150, P2D);
- }
- void draw() {
- translate(width/2, height/2);
- noFill();
- stroke(255);
- arc(0, 0, 100, 100, -HALF_PI, HALF_PI);
- noFill();
- stroke(0);
- beginShape();
- vertex(0, -50);
- bezierVertex(30, -50, 50, -30, 50, 0);
- vertex(50, 0);
- bezierVertex(50, 30, 30, 50, 0, 50);
- endShape(CLOSE);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement