2010年10月14日 星期四

HW05

Image match

http://140.136.150.78/IM2010/HW05/applet/

依此方法即可達到image match的功能  p.225

int front = int(random(1, 10)); // Select the front card
int back = int(random(1, 10)); // Select the back card
PImage imgFront = loadImage(front + "f.jpg");
PImage imgBack = loadImage(back + "b.jpg");
image(imgFront, 0, 0);
image(imgBack, 60, 0);

我畫的front



我畫的back

沒有留言:

張貼留言