Saturday, September 25, 2010

Click Robot

I came across many games in Internet which wanted to measure my mouse clicking abilities and. So I decided to write a bot which can click at the given coordinate endlessly. The code is in Java. I have also explained the code in comments where ever required.
-------------------------------------------

// Automatic Click Bot in JAVA by Sriram.A.S. (sriramdasty7@gmail.com)
import java.awt.Robot;
import java.awt.event.InputEvent;
class mouse extends Robot
{
int i;
public mouse() throws Exception
{
i=1;
}
public static void main(String ar[]) throws Exception
{
mouse robot=new mouse();
/* This is the coordinate that i want to click. Change the x,y value where you want to click on the screen */
robot.mouseMove(403,580);
while(true)
{
//First i press mouse
robot.mousePress(InputEvent.BUTTON1_MASK);
//Then i release it
robot.mouseRelease(InputEvent.BUTTON1_MASK);
/* This i counter is just for safety, if you use an infinite loop, the program mich not stop and it will keep on clicking, so i stop clicking after 1200 times */
robot.i++;
if(robot.i==1200)
break;
}
}
}

-------------------------------------------

You can use this code for clicking a x,y coordinate on your screen infinitely!!

Saturday, September 11, 2010

Augmented Reality using Unity 3D

Here are two demos of Augmented Reality using Unity 3D

Unity 3D and Hand Vu ::
http://www.youtube.com/watch?v=-GxykrIB3yM

Unity 3D and FaceAPI ::
http://www.youtube.com/watch?v=yN_YEnDs2uk

Please bare with me guys, im making the tutorials, it might take some time since im a bit busy, but definitely i will post complete tutorials ASAP! Till then, if you want any code snips regarding this, you can leave a comment here

NetworkCam

I made a small software in .NET that will capture live webcam and broadcast it in network. The nice thing about this is, there is no client software required, you can view the stream directly in any web browser application....

Requires .NET 3.5 or above

Please test it and post your reviews here.

Download Link:
http://www.megaupload.com/?d=LD2EJ2MG

Mirror 1:
http://www.esnips.com/doc/3d46dc1c-fdf0-4070-a64f-4f978a50fecf/NetworkCam_FREE