Skip to content

Commit

Permalink
DroidStopMotion is now called DroidTimeLapse
Browse files Browse the repository at this point in the history
  • Loading branch information
jaimeiniesta committed Sep 6, 2010
1 parent 74f6116 commit 5a746d8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
DroidStopMotion
DroidTimeLapse
===============

Tiny little script to shot photos on android devices at a specified interval.
Tiny little script to shoot photos on android devices at a specified interval.

What is DroidStopMotion?
What is DroidTimeLapse?
------------------------

It's a little ruby script that will let you automate the process of taking photos from
Expand All @@ -12,17 +12,17 @@ an android device (say, a mobile phone with a camera) at a constant rate.
What is it good for?
--------------------

In my case, I wanted to experiment with stop-motion. I have an android phone but all software
I could find for this was oriented to character animation, not to take hundreds or thousands of photos
on an automated way.
In my case, I wanted to experiment with time lapse videos. I have an android phone but all software
I could find for this was oriented to character animation on stop motion style, not to take hundreds
or thousands of photos on an automated way.

My first project was capturing sunrise from inside the living room of our flat, so I made this little script
and let it take a photo per minute while we were sleeping. And <a href="http://www.vimeo.com/14711046">this is the result</a>.

How do I install it?
--------------------

I'll put some instructions here soon, but all you need is an android phone, install SL4A, JRuby, and the script (droidstopmotion.rb) inside your sl4a/scripts folder.
I'll put some instructions here soon, but all you need is an android phone, install SL4A, JRuby, and the script (droidtimelapse.rb) inside your sl4a/scripts folder.

More instructions coming soonish. Meanwhile you can check <a href="http://leone.panopticdev.com/2010/08/turn-your-android-phone-into-remote-spy.html">this tutorial</a>.

Expand Down
6 changes: 3 additions & 3 deletions droidstopmotion.rb → droidtimelapse.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
##########################################################################
# DroidStopMotion
# DroidTimeLapse
# A tiny little script to take photos from android on a specified interval
##########################################################################

Expand All @@ -9,7 +9,7 @@

# Ask user for instructions
# Welcome screen
puts "### DroidStopMotion ###\n"
puts "### DroidTimeLapse ###\n"

# Number of seconds to wait after each picture
puts "How many seconds should I wait after each photo?"
Expand All @@ -33,7 +33,7 @@
counter = 0
NUM_PICTURES.times do
puts "Taking picture #{counter += 1}..."
snapshot_path = File.join APP_DIR, "droidstopmotion/albums/#{album_name}/#{Time.now.strftime('%Y%m%d_%H%M%S')}.jpg"
snapshot_path = File.join APP_DIR, "droidtimelapse/albums/#{album_name}/#{Time.now.strftime('%Y%m%d_%H%M%S')}.jpg"
DROID.cameraCapturePicture snapshot_path

puts "#{NUM_PICTURES - counter} pictures remaining. Sleeping #{WAIT} seconds..."
Expand Down

0 comments on commit 5a746d8

Please sign in to comment.