Pumpkini

←back to posts

Pumpkini

20th December 2014

This drawing was made using Processing by one of our Year 3 students in our half term workshop in October 2014.

show code

void setup() {
size(500, 500);
background(100,2,80);
}
void draw() {
fill(255,150,13);
ellipse(250,250,234,200);
fill(0);
triangle(250,270,230,290,270,290);
triangle(290,270,270,290,310,290);
triangle(210,270,190,290,230,290);
triangle(210,200,190,220,230,220);
triangle(290,200,270,220,250,220);
fill(0,255,0);
rect(235,140,20,20);
}