From: "MichaƂ S." Date: 2012-08-26T05:01:54+09:00 Subject: Re: Webcam as a light sensor. I found this http://rubydoc.info/gems/camcapture/0.3.0/frames but I can't install it. Typing "gem install rb_webcam" in RubyGems Package Manager didn't work. "You also did not write what this has to do with ruby." I just need method to check if light is on or off. Simple binary state. I found one website controlled by flicking your light switch and I wanted to make a game which use this feature. For example - game like VVVVVVV where if light is on - gravity is applied to floor and if there is dark - gravity is applied to ceiling. I'm pretty sure it can be made easier in Flash or something, but it would be too much effort to learning whole new language and/or graphic/sound library (I'm using ruby with GOSU now). -- Posted via http://www.ruby-forum.com/.