Discover the best of the web!
Learn more about Digg by taking the tour.
Control 3D Cube with webcam, Minority Report Style
incubator.quasimondo.com — Controll the rotation of this 3D cube with your movements infront of your webcam! AMAZING!
- 871 diggs
- digg it
- ckoerner, on 10/12/2007, -1/+2Pretty Neat.
- MrC539, on 10/12/2007, -3/+6Hah, that's pretty cool. I bet they set up the site to upload the images that the webcam takes to their servers, though :-P
- sedition, on 10/12/2007, -3/+2Exactly my cynical thought as well.. anyone actually try it?
- ThinkBox, on 10/12/2007, -10/+1My guess is Java does it for you on its PC, actually, that sound pretty stupid to think that it is live webcam traffic uploading then coming back... that is poor code if it is (it isnt)
- kiddailey, on 10/12/2007, -0/+10It's using Flash's built-in support for web cams and using actionscript (Flash programming language) to determine how to manipulate the cube. In other words, everything is running in your own browser once the Flash file is loaded. And it doesn't appear to be doing anything with the stream -- there's no network traffic once the page is done loading. Besides, why would it? Nothing says "boring" like a bunch of video of hands waving in front of the camera ;)
- Agret, on 10/12/2007, -3/+2ThinkBox what they are saying is they think this uploads pics of you to the webserver so they can spy on their users :P
- Quasimondo, on 10/12/2007, -0/+9Well, I have built this thing and you have to trust me on this, but I definitely do not download your camera stream to my server. Why should I want to do this anyway?
- NumbCore, on 10/12/2007, -5/+7I might have to hook up my webcam and try this.
- ThinkBox, on 10/12/2007, -9/+10Ya think??
- EviLiu, on 10/12/2007, -1/+4It works pretty well.
- awfulshot, on 10/12/2007, -4/+6if i only had a webcam..
- muyuu, on 10/12/2007, -1/+1Actually, webcam makers can be very interested in standarizing webcam as an extra input source.
- Amplix, on 10/12/2007, -1/+5Works well with the MacBook, thats kinda neat.
- lo0ol, on 10/12/2007, -0/+3Strange. Couldn't get it to work with the integrated iSight in the PPC iMac. Would have liked to give it a shot. :|
- ThinkBox, on 10/12/2007, -0/+11Settings, click webcam, then select the input
- ani-pockdotnet, on 10/12/2007, -0/+9right click on the flash, go to settings, and specify video source is firewire
thinkbox beat me by ONE second - DenLadeSide, on 10/12/2007, -1/+3Works on my iMac G5 w iSight integrated...
These cameras seem ver' naaice.... but can anyone confirm the wikipedia statement claiming that the Intel iMacs have a much higher resolution? ... or is it just software?
*grrr* ... thought I was 1st to reply ;-) - linz, on 10/12/2007, -0/+5For those itching to use their webcam to control "stuff" :
http://www.freeverse.com/tsg/
("eyeToy" for your mac/pc)
- Flyboy4, on 10/12/2007, -1/+2reminds me of the stupid eyetoy games for the ps2. still pretty cool ;)
- EmileVictor, on 10/12/2007, -1/+2Does anyone know of a .fla file that will do this for you?
- chadu, on 10/12/2007, -0/+1here is the reference for the object: http://www.macromedia.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary119.html
you'll also need the new Flash 8 getPixel methods to write a simple computer vision
write it yourself... not that crazy difficult. get a 3-d cube fla form one of the bazillion sites out there and tie the spinning of it to the movement in your webcam.
Grant Skinner is also doing some great webcam stuff with Flash: http://www.gskinner.com/blog/archives/2005/11/flash_8_webcam_1.html - Quasimondo, on 10/12/2007, -0/+0Well - this is not rocket science, but it is not as easy as you describe it. "tie the spinning of it to the movement in your webcam." - that's the whole point of this demo. But if you know how it works please tell me how you would go about this. But don't even think about the Camera.motionLevel property.
- chadu, on 10/12/2007, -1/+0Quasimondo, wasn't trying to trivalize your work. Just was pointing out that with a bit of research it could be done.
Working with stuff like Director or Processing there is a great webcam library (Was called Myron or something like that) that does edge detection/blob detection to determine movement areas... Does such a library exist for Flash yet?
Would probably start out with something like that to find the movement path and then tie an inertial rotation to a 3-d cube (built with the matrix transform in Flash 8 or a hacked fake one from the many exampels out there in the many flash repositories)
Was not disparaging you, was simply pointing out that maybe the original poster should try it themselves.
- chadu, on 10/12/2007, -0/+1here is the reference for the object: http://www.macromedia.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary119.html
- sporkwitch, on 10/12/2007, -0/+1Doesn't seem to want to activate my webcam :( oh well, so much for trying it out. I can say that stuff like this isn't overly difficult, as it's integrated in the software with most higher end logitech webcams (even complete avatars that have limited ability to mimic facial movement, not just what way you're facing, but actually track blinking and raising eyebrows).
- ani-pockdotnet, on 10/12/2007, -0/+3Has anyone got this to work with an external iSight?
Nevermind, got it to work. Just righ click, go to settings and specify source of video- skinfitz, on 10/12/2007, -0/+1Are you seeing 'iSight' in your video source list or are you using Firewire Video?
- manchld, on 10/12/2007, -7/+2I need a webcam :[
- ThinkBox, on 10/12/2007, -14/+2Digg doesn't care... really we don't so either shut up, or just digg all the other comments that say the exact same thing.
- NeilM, on 10/12/2007, -0/+5Remember, don't register an e-mail address at this website. Siteadvisor shows spammy e-mails proceeding e-mail registration. Source: http://www.siteadvisor.com/sites/quasimondo.com?safe
- dvgraphics, on 10/12/2007, -1/+2Thats pretty fun! Works with my ext. iSight.
- PyroOnASwing, on 10/12/2007, -1/+3if you do have a webcam you should deffinatly try this.
im thinking its pretty awesome to be able to do this. does anyone know of anything else that can do this type of thing? - PezFr33k, on 10/12/2007, -1/+6If you don't want to run in on their servers, you can download this directly.
http://incubator.quasimondo.com/flash/camcube.swf
And then run it on your own local webserver if you want.
Works well on my powerbook + iSight, as long as the source is set to firewire.- skinfitz, on 10/12/2007, -0/+1For iSight I had to also under privacy settings choose to allow access to the camera / mic.
- zforrester, on 10/12/2007, -1/+2AWESOME, sooo cool... Maybe even cooler then soundstream
- RamMasterRay, on 10/12/2007, -0/+1 Soundstream looks cool but there is no windows version. If you have a mac though it's worth your time to play with it. http://www.pcheese.net/software/soundstream/
- Wheemer, on 10/12/2007, -7/+8The cube morphs into something else if you try this while naked.
The use of different body parts can produce amazing results.
Be sure to try this and post your findings here. - daRoach, on 10/12/2007, -3/+9Does it predict murder?
- kalphegor, on 10/12/2007, -0/+1only if you kill a plant in front of the webcam
- fletchowns, on 10/12/2007, -10/+2I remember playing a basketball game that came with my intel webcam that was a lot more interesting than this...
And that was like 6 years ago.- RamMasterRay, on 10/12/2007, -2/+11I've already seen everything and I want to die.
- Lewisham, on 10/12/2007, -1/+4@RamMasterRay
That is the single greatest digg comment ever.
- Tobey, on 10/12/2007, -1/+2Pretty cool. I didn't expect it to be so accurate.
- swanson, on 10/12/2007, -0/+1my webcam is a bit crap so the cube sort of flies about in all directions, but its pretty cool.
- rspence, on 10/12/2007, -0/+11I'm pretty sure we'll see a video collage of idiots waving their hands around infront of their computers on YouTube in the very near future.
- captnkurt, on 10/12/2007, -0/+1I knew they had an ulterior motive when I saw video of my own hands at www.upsleeve.com.
- Ikioi, on 10/12/2007, -0/+1I've tried it, and it still leaves much to be desired, but it is a great proof of concept. This would be the kind of control I would want for an XGL enabled linux desktop with its 6 sided cube. Have a webcam that watches you "grab" the side of your screen, and spin it.
- Phoenixfury, on 10/12/2007, -0/+1I turned on my webcam's face tracking capability. That was pretty cool! I had better control of moving the cube with my head than I did with my hand. If I turned my head left, the cube turned left.. If I turned my head right, the cube turned right.. If I looked up or down, the cube turned up or down.That was pretty neato!
- reticular, on 10/12/2007, -0/+0care to upload the source, quasimondo?
- Quasimondo, on 10/12/2007, -0/+0Not as such. As you hopefully know I'm usually pretty open with my sources, but I'm also a freelancer and have to pay my rent. So if someone wants to use this technique in a commercial project - I am for hire. And if you want to use it in a non-commercial or artistic project - send me an email with what you have in mind and there's a good chance I'll send it to you.
But of course a decompiler will always be the cheapest way.
- Quasimondo, on 10/12/2007, -0/+0Not as such. As you hopefully know I'm usually pretty open with my sources, but I'm also a freelancer and have to pay my rent. So if someone wants to use this technique in a commercial project - I am for hire. And if you want to use it in a non-commercial or artistic project - send me an email with what you have in mind and there's a good chance I'll send it to you.
- carorion, on 10/12/2007, -1/+0This is freaking awsome!
- fusioned, on 10/12/2007, -0/+1After I set it to "USB" camera, my G5 iMac's built-in iSight worked just fine and this was insanely cool. A totally awesome thing people should try out. I'd love to see more fun stuff done with this technology.
- nerdler, on 10/12/2007, -4/+2Welcome to 1996. I swear, you guys are impressed by some of the dumbest *****. Ooh! Shiny!
- EmileVictor, on 10/12/2007, -1/+1That was a good comment.
- CosmicJustice, on 10/12/2007, -0/+1Why is this interesting? Logitech has shipped these type games with it's cameras for years.
- ElectricGrandpa, on 10/12/2007, -0/+1Well first of all, it's on the web... It's neat.
- Schug, on 10/12/2007, -0/+0I don't have a webcam. Does anyone have a video?
- shinynew, on 10/12/2007, -0/+1"var messageToLurkers = "Copyright 2006 Mario Klingemann. So you use a decompiler to understand how this works? This code is not up for free grabs - if you want to use it ask me first. My email adress is mario@quasimondo.com and - surprise, surprise: I am writing ActionScript for a living. You don't think that you will get away with selling this to a client without me finding out one day, don't you?";"
- elvenassassin, on 10/12/2007, -0/+0THAT SO TOTALLY ROCKS!!!
- somon90, on 10/12/2007, -0/+0you know, the cube in minorety report was real software to
- siaukia, on 10/12/2007, -0/+0does this webcam script http://www.oneduasan.com/manmeng/fun/cammover.html works as good as mario's 1? or his one is way better?
- omgcthulhu, on 10/12/2007, -0/+0Quite strange and very....very doubtful, ahh?
- pinok45, on 03/03/2008, -0/+0Hi gays, very interesting topic. Thanks so much
http://www.youpharmaguide.biz/
http://www.youpharmaguide.biz/pharmacy/viagra.html
http://www.youpharmaguide.biz/pharmacy/cialis.html
http://www.youpharmaguide.biz/pharmacy/viagra_soft ...
http://www.youpharmaguide.biz/pharmacy/cialis_soft ... - olgeorg, on 03/03/2008, -0/+0Hi gays, very interesting topic. Thanks so much http://pharmacy-for-you.stimulhosting.com
- ukraine19, on 05/21/2008, -0/+0проститутки киева http://escort-models.kiev.ua/ интим услуги kiev escort http://escort-models.kiev.ua/en-index.html ukraine escort проститутки http://escort-models.kiev.ua/Prostitutki-Kieva.eve ... киева секс знакомства http://escort-models.kiev.ua/Ceks-znakomstva-Kieva ... знакомства для секса шлюхи киева http://escort-models.kiev.ua/SHlyuhi-Kieva.-Blyadi ... бляди киев интим услуги киева http://escort-models.kiev.ua/Intim-dosug-Kieva.eve ... интим киев секс по телефону http://escort-models.kiev.ua/sex-by-phone.html секс по мобильному телефону http://escort-models.kiev.ua/escort-map.html http://escort-models.kiev.ua/en-escort-map.html проститутки киева http://sexbomb.com.ua/ секс, интим знакомства kiev escort http://sexbomb.com.ua/en-index.html kiev escort services http://sexbomb.com.ua/escort-map.html http://sexbomb.com.ua/en-escort-map.html проститутки харькова http://escort.kharkov.ua/ харьков проститутки escort kharkov http://escort.kharkov.ua/en-index.html kharkov escort http://escort.kharkov.ua/en-escort-map.html http://escort.kharkov.ua/escort-map.html
- maximkas, on 06/03/2008, -0/+0girls in uniforms http://girlsinuniform.pornlivenews.com/
Digg is coming to a city (and computer) near you! Check out all the details on our