0
点赞
收藏
分享

微信扫一扫

Learning Processing Zoog

穆熙沐 2022-06-27 阅读 67
// Learning Processing
// Daniel Shiffman
// http://www.learningprocessing.com

// Example 1-5: Zoog
size(640,360);
background(255);
ellipseMode(CENTER);
rectMode(CENTER);


// Body
stroke(0);
fill(150);
rect(320,190,20,100);

// Head
fill(255);
ellipse(320,160,60,60);

// Eyes
fill(0);
ellipse(301,160,16,32);
ellipse(339,160,16,32);

// Legs
stroke(0);
line(310,240,300,250);
line(330,240,340,250);

Learning Processing Zoog_大数据

 

// Learning Processing
// Daniel Shiffman
// http://www.learningprocessing.com

// Example 1-5: Zoog
size(640,360);
background(255);
ellipseMode(CENTER);
rectMode(CENTER);


// Body
stroke(0);
fill(150);
rect(320,190,20,100);

// Head
fill(255);
ellipse(320,160,60,60);

// Eyes
fill(0);
ellipse(301,160,16,32);
ellipse(339,160,16,32);


// mouth
fill(0);
stroke(255, 0, 0);
ellipse(320,180,10,5);

// Legs
stroke(0);
strokeWeight(3);
line(310,240,300,250);
line(330,240,340,250);

Learning Processing Zoog_大数据_02

 


举报

相关推荐

0 条评论