2007年6月25日 星期一

Progress

Dear all,

Sorry that I have finished less then 70% of the project, and attached PDF is my progress until now, please kindly have a look and provide any comments. Sorry again that I will not join the meeting tomorrow that I want to make the mobile phone detector at home.

Progress PDF

Many thanks and Regards,
Ming

Meeting

Dear guys,

after few weeks development, i hope you have around 70% finish of your project, is time for us to meet up to see the progress.

Let's meet tomorrow at 7pm, venue is 1705.

Keith

2007年6月20日 星期三

How to use a webcam to capture the vister's position as the cursor controlled by mouse

hello, Keith,

As discussed last meeting, in my installation, i will use a webcam to capture the vister's position as the cursor controlled by mouse (the moving of mouse will become the moving of vister). Is there any ways to achieve that in processing? Can you suggest some ways for me to do that? Thanks.

Below is my source code about how to move the mouse to change the position and size of each image.

/**
* Moving the mouse changes the position and size of each image.
*/

void setup()
{
size(750, 750);
noStroke();
}

void draw()
{
background(255,255,255);



PImage b;
b = loadImage("er.gif");
image(b, width/1.1-mouseX, height/3, ((height-mouseY)/2)-100, ((height-mouseY)/2)-100);

PImage c;
c = loadImage("bu.gif");
image(c, mouseY/2, width/2-120, mouseX/2+10, mouseX/2+10);

PImage a;
a = loadImage("he.gif");
image(a, mouseX/2, height/3+120, mouseY/2+10, mouseY/2+10);

PImage d;
d = loadImage("tong.gif");
image(d, width/2.5, height-mouseY, ((height-mouseX)/2)+10, ((height-mouseX)/2)+10);

PImage e;
e = loadImage("junzi.gif");
image(e, width/2, height-mouseX, ((height-mouseX)/2)+10, ((height-mouseX)/2)+10);

}

2007年6月12日 星期二

hello, Keith,

As discussed last meeting, in my installation, i will use a webcam to capture the vister's position as the cursor controlled by mouse (the moving of mouse will become the moving of vister). Is there any ways to achieve that in processing? Can you suggest some ways for me to do that? Thanks.

Below is my source code about how to move the mouse to change the position and size of each image.

/**
* Moving the mouse changes the position and size of each image.
*/

void setup()
{
size(750, 750);
noStroke();
}

void draw()
{
background(255,255,255);



PImage b;
b = loadImage("er.gif");
image(b, width/1.1-mouseX, height/3, ((height-mouseY)/2)-100, ((height-mouseY)/2)-100);

PImage c;
c = loadImage("bu.gif");
image(c, mouseY/2, width/2-120, mouseX/2+10, mouseX/2+10);

PImage a;
a = loadImage("he.gif");
image(a, mouseX/2, height/3+120, mouseY/2+10, mouseY/2+10);

PImage d;
d = loadImage("tong.gif");
image(d, width/2.5, height-mouseY, ((height-mouseX)/2)+10, ((height-mouseX)/2)+10);

PImage e;
e = loadImage("junzi.gif");
image(e, width/2, height-mouseX, ((height-mouseX)/2)+10, ((height-mouseX)/2)+10);

}

GPS data acquiring method

Mobile processing may be a bit difficult for you at this stage as it need you to setup many things like Wireless toolkits, etc.

You do it in Processing!

The step should be:
First, connect your bluetooth GPS device to your computer. The GPS device should be communicate with computer via COM port.

In processing, communicating with COM port is simple:
http://www.processing.org/reference/libraries/serial/index.html
It has good example. After you can connect GPS, you can then communicate with GPS and receive the data.

You no need to "request" the GPS to send you data, but it will keep sending you data. What you need to do is just analysis the data, and get the useful data.

Here is the link:
http://www.tigoe.net/pcomp/code/archives/processing/000766.shtml
It show you how to analysis the GPS data.

The GPS data format is NMEA 0183. It is one of the standard of GPS data. But there are different kind of format even in NMEA 0183: GGA, RMC, RMB.

This example is using GGA.

This example is very cool that even show which one is latitude and longitude .

You can get the whole data format here:
http://www.kh-gps.de/nmea-faq.htm

2007年6月11日 星期一

Processing

Hi Keith

I got a blue tooth GPS receiver, i downloaded processing and mobile processing, do you know which one should i use, when i use mobile processing, it ask to "location the wireless toolkit" what it means??

BTW, do you have any example which about blueTooth works in processing?

thxthx

Chris

2007年6月9日 星期六

大處落墨論壇

Hi Decky,

i think you should join this:
http://www.hkdesigncentre.org/activities/red07/TC/culture11.asp

大處落墨論壇

各對書法及傳意設計有興趣者,有機會於論壇中大談最炙熱的中國書法話題,並與眾參加者深入探討有關中國書法的講題。

會議詳情
日期︰ 2007年6月11日(星期一)
時間︰ 下午6時半至11時
地點︰ 香港九龍塘達之路七十二號創新中心地下
費用︰ 全免

2007年6月4日 星期一

Talk in MSN

Keith,

would u mind give me you msn again?
or u can add me: alanlam2303@gmail.com.
Many THX!!!