Skip to content

Instantly share code, notes, and snippets.

@lisajamhoury
Created September 11, 2015 01:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lisajamhoury/e50542889c53610a7f46 to your computer and use it in GitHub Desktop.
Save lisajamhoury/e50542889c53610a7f46 to your computer and use it in GitHub Desktop.
function setup() {
createCanvas(1024, 700);
background(0, 128, 255);
}
function draw() {
//gray fill
fill(144);
// strokeWeight(0);
//fin behind body
arc(400, 460, 80, 120, HALF_PI, PI);
//body
ellipse(400, 400, 500, 200);
//bottom of tail arc
arc(575, 247, 400, 450, 0, HALF_PI);
//bottom fin
arc(450, 475, 80, 120, HALF_PI, PI);
//nose
ellipse(140,390,50,175);
//head
quad(140,300,140,480,350,500,350,300);
//blue reverse fill for top of tail
fill(0, 128, 255);
//top of tail arc
arc(575, 217, 400, 220, 0, HALF_PI);
//gray fill
fill(144);
//circle in tail
// ellipse(775, 230, 20, 30);
//tail left fin
arc(775, 200, 250, 90, 0, PI+QUARTER_PI);
//eye
strokeWeight(10);
point(250,425);
//erase internal strokes
strokeWeight(0);
rect(343,303,10,195);
rect(137,303,10,175);
fill(0,128,255);
ellipse(150,465,200,8);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment