Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 602 Bytes

README.md

File metadata and controls

13 lines (8 loc) · 602 Bytes

MacRuby-Timelapse

MacRuby hack to take an iSight photo every 10s.

The iSight capture code was copied from Watson1978's gist. I was starting to try to make it more Ruby-like than Cocoa, but I just wanted to start building my LEGO, so this got the job done.

This assumes there is a directory called output under the current directory and outputs files named like YYYY-MM-DDTHH-MM-SS.jpg (since HFS+ doesn't allow ":" in file names).

To run, just type: ./time_lapse.rb

Just press CTRL-C when you want to stop taking pictures.