猹妹学p 发表于 2013-9-14 11:36:19

既然你们都这么能,那谁来给我解答一下拿processing画图到底是图个啥?!

海外时差科技盲党,这学期选了一个processing,上来就教我们画图,刚上完一节课,作业让自己拿新学会的那几个图形画个画。
我不想为难自己,就搜了个pucca的图画。然后我就越弄越不能理解了。随便拿个画图软件画这个pucca估计10分钟就都可以搞定,拿processing我彻底折腾了快半天,还要算坐标,算这算那的。你们到底谁能告我,为什么要拿processing画图?!这是彻底把简单的事给搞复杂了吧?!


给你们看看我搞了半天的成果。自己都想抽自己大嘴巴。呜呜呜呜。

size(600,800);
background(245,228,161);




//chopstick right

smooth();
stroke(75,46,17);
strokeJoin(ROUND);
strokeWeight(2);
fill(124,78,32);
quad(90,60,110,60,80,379,75,378);

smooth();
stroke(232,205,178);
strokeWeight(3);
line(91,75,109,75);
line(91,81,109,81);


//chopstick left
smooth();
stroke(75,46,17);
strokeJoin(ROUND);
strokeWeight(2);
fill(124,78,32);
quad(10,30,30,17,205,286,200,289);

smooth();
stroke(232,205,178);
strokeWeight(3);
line(22,42,38,31);
line(26,46,42,35);

//viber
smooth();
stroke(54,32,10);
strokeCap(SQUARE);
strokeWeight(3);
line(196,230,203,240);
line(210,232,216,243);






//shadow
smooth();
noStroke();
fill(155,148,148,75);
ellipse(300,570,180,50);



//hair ball
smooth();
noStroke();
fill(0);
ellipse(230,340,75,70);

ellipse(370,340,75,70);

//hair cute
smooth();
noStroke();
fill(219,2,93);
ellipse(370,340,75,8);
ellipse(230,340,75,8);

//head
smooth();
fill(0);
ellipse(width/2,height/2,200,150);

//face
fill(255,236,219);
ellipse(width/2,410,170,120);

//body
smooth();
stroke(0);
strokeWeight(5);
strokeJoin(ROUND);
fill(162,8,8);
quad(265,475,335,475,355,560,245,560);

//cloth botton
smooth();
stroke(0);
strokeWeight(3);
strokeCap(ROUND);
line(300,475,310,495);
line(310,495,325,510);

smooth();
stroke(0);
strokeWeight(3);
line(298,483,310,483);
line(300,488,312,488);
line(318,496,307,500);




//hand small
//left
smooth();
stroke(0);
strokeWeight(3);
fill(255,236,219);
ellipse(213,535,35,35);

smooth();
stroke(0);
strokeWeight(3);
fill(255,236,219);
ellipse(385,535,35,35);


//hand big
//left
smooth();
stroke(0);
strokeWeight(5);
strokeJoin(ROUND);
fill(162,8,8);
quad(265,475,190,520,240,555,245,550);

//right
smooth();
stroke(0);
strokeWeight(5);
strokeJoin(ROUND);
fill(162,8,8);
quad(335,475,410,520,360,555,355,550);

//legs
//left
smooth();
noStroke();
fill(0);
ellipse(267,560,50,60);

smooth();
noStroke();
fill(0);
ellipse(333,560,50,60);

//mouse
smooth();
stroke(0);
strokeWeight(2);
fill(255);
ellipse(width/2,445,110,30);

//teeth line
smooth();
stroke(0);
strokeWeight(2);
line(300,430,300,460);

//left line
line(273,432,273,458);

//right line
line(327,432,327,458);

//eyes
smooth();
stroke(0);
strokeWeight(5);
//left
line(273,410,240,405);
//right
line(327,410,360,405);

//face point
smooth();
noStroke();
fill(222,116,173);
ellipse(240,430,15,15);

ellipse(360,430,15,15);









zhaokbk 发表于 2013-9-14 20:24:45

图片已经很好了

bacon6581 发表于 2013-9-15 06:40:04

牛掰,能画这么复杂的!

ubuntu 发表于 2013-9-18 08:24:27

楼主,真能耐啊

ubuntu 发表于 2013-9-18 08:28:13

画图显然不是她的优势;processing可以用来做互动作品,可以结合单片机及传感器,进行人机交互

laji3865689 发表于 2013-9-20 00:23:18

画图软件画出来的图案怎么和人互动?没错,你可以photoshop+java或者一个flash搞定,但要实现那么复杂的互动,processsing更容易做到。
另外,选Processing是你自己的事情,和我们能不能有什么关系?

likunyang 发表于 2013-9-23 15:09:54

Processing到底是做什么用的啊?搞不清楚
有啥好玩的地方吗?

yangfanconan 发表于 2013-9-25 21:07:37

首先,但就processing这个版块而言,本论坛并不是大牛云集的地方,大家都是兴趣所向,互相讨论学习而已 。
第二点,processing主要目的是数字设计,并不是传统意义上的画图。当然也属于画图的一个分支,但并不能说processing就是画图的。
第三点,很多学艺术出身的,对编程多少会感觉有些烦躁,这很正常,就像让一个程序员画油画一样。各有所长,所以希望你明白,万事开头难,processing并不是万能的,但至少它的存在,证明了它在某方面是被信赖的。

gytzzss 发表于 2014-12-2 16:09:12

zhaokbk 发表于 2013-9-14 20:24 static/image/common/back.gif
图片已经很好了

真好   向你学习~~~~
页: [1]
查看完整版本: 既然你们都这么能,那谁来给我解答一下拿processing画图到底是图个啥?!