Tuesday, July 11, 2006

camMover v.3 Move the cube with your hand!

Screenshots


The Thing
[ View the Demo here ]
[ Download the Source ]
(You need a webcam and flash player 8 or newer to view it properly)

////////////////////////////////////////////////
//////////// CREDITS AND SALUTES ///////////////
// 3D CUBE Script by Kirupa, www.kirupa.com //
// Webcam Detection Script by betaruce.com :) //
// Inspired from Quasimondo's Minority Cube. //
////////////////////////////////////////////////

CamMover Prototype Version 0.3 ( 11st July 2006)

+++++Using the Script++++++++++++++++++++++++++++++
Basically the video attached on the stage are for
reference only, which you can remove it, but if you
notice, i've offset the BitmapData outside of the stage
which it replicates the Orangebutton's position.
Same goes as well for the Orange square, you can hide it
using _visible = 0 or setting the alpha to 0.

And if you look closely as well, there is one green tiny
dot appeared running around the video, you can also
hide it from appearing with setting the alpha/visible.

+++++Author's Note+++++++++++++++++++++++++++++++++
Currently i'm still working on different navigation
or interaction possiblity with this webcam input.
There are still lots of bugs to fix at the moment
but I guess it's way better than the first prototype
i produced which taken the example from Guy Watson's
fla file, which is way heavier and laggy even on a
3.0ghz machine, and it would crash whenever it runs
for a long time. But it has not been tested on this file
yet. Let me know if this file also crash on a long run.

There are basically around 3 type of different interaction
until this moment.
1. Scrolling through a picture gallery
2. Control a 3D cube (which you'll be able to select one of it)
3. Drawing with your body + sound

But of course most of it only uses 1-point interaction,
I'm looking forward on implementing a two point interaction
so it would be possible to use 'zoom-in/out' or 'rotating'
the canvas in the future. But if you know of any solution.
Let me know about it ya. Thanks a lot.

Drop me a comment on what you think if you decide to
use it on your project. And i would be glad to see how
far it would go to.

p.s. - reason i'm doing this? I think by sharing this would make the community better, especially
when OSflash is promoting on how to make the flash community better.

p.s.s. - but ONE serious note here ya, if you knew anyone that misuse this source for their own commercial use, without noticing me and give credit back, let me know i'll sue that person off until the end of this world. :D


Copyright (c) 2006 ManMeng.net. Some Rights Reserved.

3 comments:

Anonymous said...

cool research, but there might be problem that need to overcome. i tried to interact with the webcam and stil don get it how the cube rotated. navigation use hand is very tiring. but it's good exercise thought. lol. people rather use mouse to scroll on the navigation.
what about trying to detect human eyes location? the ai itself with possible detect where you read and where you wan to go. this is a big possibility that hard to program in ai.
anyway, nice work. cheers!

m said...

regards there,

i guess maybe i didn't really make it quite clear for user in this moment on how does the box moved by the hand movement 'technically' because this is rather an experiment in looking breaking out from the normal mouse/keyboard interaction.

About the tiring part, i guess when the monitor is facing rigth in front of you, it would be, but by projecting the image on a flat surface, floor for example, maybe putting it that way might solve the problem, but of course as i say, experimental at the moment, eye location? good location, but I guess a lot of tweaking has to be done in order to achieve the correct 'sensivitivy'

thanks again for the valuable input,

Salutes,
ManMeng

Anonymous said...

your cube is cool and like the idea of interacting with movement, i have have been researching into this field and found a cool link ....

http://www.protozoo.com/?p=178

i am no good at action script but would really like how to make this work.....maybe you could play with the source and explain how this works ?